3Com 3031 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto 3Com 3031. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónico3Com 3031 vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual 3Com 3031 você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual 3Com 3031, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual 3Com 3031 deve conte:
- dados técnicos do dispositivo 3Com 3031
- nome do fabricante e ano de fabricação do dispositivo 3Com 3031
- instruções de utilização, regulação e manutenção do dispositivo 3Com 3031
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque 3Com 3031 não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos 3Com 3031 e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço 3Com na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas 3Com 3031, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo 3Com 3031, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual 3Com 3031. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    http://www.3com.com/ 3Com Router Command Refer ence Guide 3Com Router 3000 DSL Family 3Com Router 5000 Family 3Com Router 6000 Family Part No. 10014369 Published June 2004[...]

  • Página 2

    3Com Corporation 350 Campus Drive Marlbor ough, MA 01752-3064 Copyright © 2004, 3Com Corporation. All rights reserved. No part of this documentation may be repr oduced in any form or by any means or used to make any derivative work (such as translation, transformati on, or adaptati on) without written permissi on from 3Com Corporation. 3Com Corpor[...]

  • Página 3

    C ONTENTS A BOUT T HIS G UIDE Conventions 7 Related Docum entation 8 1 C ONFIGURATION C OMMANDS Basic Configuration Commands 9 2 S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS debugging 23 Information Pr ocessing Commands 3 1 System Operating Manageme nt Commands - AR46 Series 48 File Management Commands 5 5 F TP Server Configuration Comman ds 65[...]

  • Página 4

    Fundamental Logical Interface Config uration Commands 227 Logic-Channel Interface 229 Configuration Command of Virtual T emplate and Virtual Access Interface 230 MP-gr oup Interface Configuration Command 232 Virtual Ethernet Interface Configuration Comman d 234 Configuration Comman d of Loopback Interface and Null Interf ace 236 4 L INK L AYER P RO[...]

  • Página 5

    7 M ULTICAST C OMMON C ONFIGURATION C OMMANDS Multicast Common Configuratio n Comm ands 687 IGMP Configuration Commands 697 PIM Configuration Comman ds 708 MSDP Configuration Commands 725 MBGP Multicast Extension Configu ration Commands 740 Multicast Static Route Configu ration Commands 753 8 MPLS B ASIC C ONFIGURATION C OMMANDS Basic Configuratio [...]

  • Página 6

    [...]

  • Página 7

    Convention s 7 A BOUT T HIS G UIDE This guide describes the 3Com ® Router Commands as implemeted through the Command Line Interface (CLI) of the router . This guide is intended for the system or network administrator who is responsible for configuring, using, and managing the routers. It assumes a working knowledge of wide area network (W AN) oper[...]

  • Página 8

    8 C HAPTER : A BOUT T HIS G UIDE Related Documentation The following manuals offer additional information necessary f or managing your 3Com Router: ■ 3Com Router 3000 DSL, 3Com Router 5000, and 3Com Router 6000 Family Installation Gu ides — Provides detailed descriptio ns of each of t he individual router families and specific i nfo rmation on [...]

  • Página 9

    1 C ONFIGURATION C OMMANDS This chapter describes how to use th e followin g commands: Basic Configur at io n Co mma nd s ■ Clock Summer T imes ■ clock datetime ■ clock timezone ■ command-privilege ■ display clipboar d ■ display clock ■ display history-command ■ display version ■ header3Com ■ hotkey ■ language-mode ■ lock ?[...]

  • Página 10

    10 C HAPTER 1: C ONFIGUR ATION C OMMANDS Parameter zone_name: Name of t he summer time, which is a ch aracter string of 1 to 32 characters. absolute : Only sets the summer tim e of some year. recurring : Sets the summer time of every year starting from some year. HH:MM:SS: Time (hour/minute/second ). YYYY/MM/DD: Date (year/month/day). Description ?[...]

  • Página 11

    Basic Configur ati o n Co mma nd s 11 Example Set the current system time to 10:20:55 2 003/04/05 . < 3Com> clock datetime 10:20:55 2003/04/ 05 clock timezone Syntax clock timezone zone_name { add | minus } HH:MM:SS undo clock timezone Vie w User view Parameter zone_name: Timezone name, which is a st ring of 1 to 32 characters. add: Adds the [...]

  • Página 12

    12 C HAPTER 1: C ONFIGUR ATION C OMMANDS 4 Interface view : I nclude ether net (FE), gigabi tethernet (GE), serial (serial interface), ce1 (cE1 interface), ce3 (E3 interface), ct1 (cT1 interface), atm (A TM interface), pos (POS interface), virtual -template (virtual interface template), virtual-ethern et (virtual Ethernet inte rface), loopback (Loo[...]

  • Página 13

    Basic Configur ati o n Co mma nd s 13 Example Display the contents of clipboar d. <3Com> display clipboard -----------------clipboard ------------ ----- ip route 10.1.0.0 255.0.0.0 eth 0 display clock Syntax display clock Vie w Any view Parameter None Description Using the display clock command, you can display the clock status and the config[...]

  • Página 14

    14 C HAPTER 1: C ONFIGUR ATION C OMMANDS show interface e 1/0/0 c in e 1/0/0 display version Syntax display version View Any view Parameter None Description Using the display version command, you can browse system version information. Through viewing system ve rsion information, you will learn about the softwar e version in use, rack type and the i[...]

  • Página 15

    Basic Configur ati o n Co mma nd s 15 text : Content of g reeting information. Description Using the header command, yo u can set the greeting information to be displayed. Using the undo header command, you can remove the pr eset greeting information. When a user is logging on to a router via a terminal line, the router prompts related information [...]

  • Página 16

    16 C HAPTER 1: C ONFIGUR ATION C OMMANDS Description Using the hotkey command, you can corr elate a comma nd line with a hotkey . Using the undo hotkey command, you can re cover the de fault value of the system. By default, CTRL_G , CTRL_L and CT RL_O correspond to the following commands respectively: display current-configuration (dis play current[...]

  • Página 17

    Basic Configur ati o n Co mma nd s 17 ESC_< Specify the beginning of clipbo ard. ESC_> Specify the end of clipboard. language-mode Syntax language-mode { chinese | english } Vie w User view Parameter None Description Using the language-mode command, yo u can switch between differ ent languag e modes of command line interface. By default, the [...]

  • Página 18

    18 C HAPTER 1: C ONFIGUR ATION C OMMANDS <3Com> lock Password: Again: quit Syntax quit View Any view Parameter None Description Using the qui t command, you can quit fr om the active view to a lower -level view (if the active view is user view , you will exit the system). Views fall into three levels that are, in ascending or der: ■ User vi[...]

  • Página 19

    Basic Configur ati o n Co mma nd s 19 The operation of this command will re nder the network unusable for a short period of time. So it should be used wi th caution. Be fore rebooting the Route r , remember to save the configuration file if necessary , Example Reboot the device. <3Com> reboot System will reboot! Continue?[Y/N] return Syntax r[...]

  • Página 20

    20 C HAPTER 1: C ONFIGUR ATION C OMMANDS ■ Access: Include the network diagnosis tool commands ( ping , tracert ), commands for accessing an exter nal device from local device (i ncluding T elnet client, SSH clie nt, RLOGIN), etc. Commands of this level cannot perform configuration file saving op eration. ■ Monitor: Commands used for system mai[...]

  • Página 21

    Basic Configur ati o n Co mma nd s 21 password : Content of password. A simple text pa ssword is a consecutive character string with the length no more than 16, su ch as 1234 567. A cipher text password has 24 characters in length, and is in the format of "_(TT8F]Y5SQ=^Q`MAF4<1!!". Description Using the super password command, you can[...]

  • Página 22

    22 C HAPTER 1: C ONFIGUR ATION C OMMANDS Description Using the system -v iew command, you can enter syst e m view from curr ent user view . For the related command, see quit , ret ur n . Example <3Com> system-view Enter system view , return use r view with Ctrl+Z. [3Com][...]

  • Página 23

    2 System Maintenance & Management Commands Add Chapter introduction her e. This info rmatio n should ONL Y be about what the chapter contains. Network T est T ool Commands debugging Syntax debugging { all | module-name [ debug-option1 ] [ debug-option2 ] …} undo debugging { all | module-name [ debug-option1 ] [ debug-o ption 2 ] … } Vie w U[...]

  • Página 24

    24 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Example Enable IP packet debugging. display debugging Syntax display debugging [ interfa ce interface-type inter fac e-number] [ module-name ] View Any view Parameter module-name: Module name. interface-type: Interface type. interface-number: Interface number . Description Using the di[...]

  • Página 25

    debugging 25 In case failur es occur to the system, lots of information needs to be collected for the convenience of isolating th e problems. However , it is rather difficult for you to collect all the information at a time as ther e a re ma ny display commands involved. In this case, you can use the display di agnostic-in formation command to coll[...]

  • Página 26

    26 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS ------------------ display memory ------------------ Slice Memory Usage: Block Size 32 Free 960 Used 60134 Total 61094 Block Size 64 Free 275 Used 29356 Total 29631 Block Size 128 Free 9 Used 5882 Total 5891 Block Size 256 Free 8 Used 1664 Total 1672 Block Size 512 Free 1 Used 120 Tota[...]

  • Página 27

    debugging 27 0 packets input, 0 bytes, 0 no buf fers 0 packets output, 0 bytes, 0 no buf fers 0 input errors, 0 CRC, 0 frame erro rs 0 overrunners, 0 aborted sequences, 0 input no buffers DCD=DOWN DTR=DOWN DSR=DOWN RTS=DOWN CTS=DOWN ping Syntax ping [ -a X.X.X.X | -c count | -d | -h ttl_v alue | -i { interface-type interface-number } | ip | -n | - [...]

  • Página 28

    28 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS vpn-instance vpn-insta nce-n ame: Sets th e vpn-instance name of MPLS V PN to specify the VPN attribute configured in th is ping command, that is, name of the associated vpn-instance created at the local. host: Domain name or IP ad dress of destination host. ip: IP protocol is used. De[...]

  • Página 29

    debugging 29 If the network transmission is slow , y ou can appropriately prolong the timeout time waiting for reply . For related command, see tracert. Example Check the reachability of th e host at 202.38.160.244. <3Com> ping 202.38.160.244 ping 202.38.160.244 : 56 data bytes , p ress CTRL-C to break Reply from 202.38.160.244 : bytes=56 se [...]

  • Página 30

    30 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS tracert Syntax tracert [ -a X.X.X.X | -f first_TTL | -m max_ TTL | -p port | -q nqueries | vpn-instance vpn-instance-name | -w timeout ] * host Vie w Any view Parameter -a: Specifies source IP address of the tra cert packets, which is in the format of X.X.X.X and must be the address of[...]

  • Página 31

    Information Processing Commands 31 The tracert command is executed following this procedure: The system first sends a packet with TTL as 1 a n d the first hop returns an ICMP error message indicating that the packet cannot be transmitted due to TTL timeout. and then the system transmits the packet again with TTL being set to 2 and the second hop re[...]

  • Página 32

    32 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Ta b l e 1 Channel names and their associat ed channel numbers Description Using the display channel command, y ou can display the contents of an information channel. This command displays the setting states of all channels when executed without any para meter . Example Display the con[...]

  • Página 33

    Information Processing Commands 33 Information Center: enabled Log host: Console: channel number : 0, channel nam e : console Monitor: channel number : 1, channel nam e : monitor SNMP Agent: channel number : 5, channel nam e : snmpagent Log buffer: enabled,max buffer size 1024, c urrent buffer size 256, current messages 89, channel number : 4 , cha[...]

  • Página 34

    34 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS By default, executing display logbuffer without any parameter displays all the information in the logbuffer . If the number of informat ion entries in the current logging buffer is smaller than the specified size-val ue, logging information of the actual entries will be displayed. For [...]

  • Página 35

    Information Processing Commands 35 If the number of information entries in the current trapbuffer is smaller than the specified sizeval, the actual number of traps will be displayed. For related commands, see info-center en able, info-center trapbuffer , and display info-center . Example Display trapbuffer information. <3Com> display trapbuff[...]

  • Página 36

    36 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Example Name Channel 0 as "execconsole". [ 3Com] info-center channel 0 name execconsole info-center console channel Syntax info-center console channel { channel-number | channel-name } undo info-center con sole channel View System view Parameter channel-number: Chan nel numbe[...]

  • Página 37

    Information Processing Commands 37 Description Using the info-center enable command, y ou can enable the info -center . Using the undo info-center enable co mmand, you can disable the info-center . By default, the info-center has been enabled. Only when the info-center has been enabled w ill the system output informatio n to the loghost and the con[...]

  • Página 38

    38 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS By setting channel number after enabling logbuffer , yo u can specify information outbound direction.. For related commands, see info-center enable, display info-center , and dis play info-center logbuffer . Example Enable the router to send information to the logbuffer and set the log[...]

  • Página 39

    Information Processing Commands 39 Only when the information center has been enabled can this command become effec tive. By setting the IP address of loghost, you can specify the information outbou nd direction. Y ou can set up to 4 loghosts. For related command, see info-cente r enable, and display info-center . Example Enable the router to send i[...]

  • Página 40

    40 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS info-center monitor channel Syntax info-center monitor channel { channel-number | channel-name } undo info-center mon itor channel View System view Parameter channel-number : Channel number ranging 0 to 9. That is, the system has 10 channels. channel-n ame: Channel name. Description Us[...]

  • Página 41

    Information Processing Commands 41 Description Using the info-center snmp channel command, you can set the info rmation channel for snmp. Using the undo info-c enter snmp channel co mmand, you can cancel the current configuration. By default, channel 5 is used. For the related command, see di splay snmp-agent statistics. Example Set snmp informatio[...]

  • Página 42

    42 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Ta b l e 2 Definition of information level *: Indicate multiple choices can be selected. At least one choice must be selected and all the choices can be selected at most. Description Using the info-center source command, you can add recor ds to an information channel. Using the undo in[...]

  • Página 43

    Information Processing Commands 43 Example Enable the output of log information of the IP module in th e snmp channel and the allowed highest level of the ou tput information is emerg ence. [3Com] info-center source ip channel sn mpagent log level emergence # Remove the setting of the cmd module in the snmp channel. [3Com] undo info-center source c[...]

  • Página 44

    44 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS View System view Parameter channel: Sets the channel for outputting information to the trapbuffer . channel-number : Channel numb er ranging 0 to 9 . That is, system has 10 chann els. channel-n ame: Channel name. size: Sets trapbuffer size. buffersize: Size of the trapbuf fer (t he inf[...]

  • Página 45

    Information Processing Commands 45 Example <3Com> reset logbuffer reset trapbuffer Syntax rese t trapbuf fer Vie w System view Parameter None Description Using the reset trapbuf fer command, you can clear information in the trapbuffer . Example <3Com> reset trapbuffer service modem-callback Syntax service modem-callback undo service mod[...]

  • Página 46

    46 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS View User view Parameter None Description Using the terminal debugging command, you can enable the terminal debugg ing display function. Using the undo terminal debugging comman d, you can disable the function. By default, terminal display is disabled. For related command, see debuggin[...]

  • Página 47

    Information Processing Commands 47 undo terminal monitor Vie w User view Parameter None Description Using the terminal mo nitor command, you can enable terminals to display the debugging /loggin g/trapping information se nt by the info-center . Using the un do terminal monitor comma nd, you can disable terminals to display the debugging/logging/tra[...]

  • Página 48

    48 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Example Disable the trapping inform ation display function. <3Com> terminal trapping Sy stem Operating Management Commands - AR46 Series boot bootldr Syntax boot bootldr fi lename View System view Parameter filename: File name of the booting software package. Description Using th[...]

  • Página 49

    System Operating Management Commands - AR46 Series 49 Example Display the stor ed alarms. <3Com> display alarm urgent Alarm ID Slot Date Time Para1 Para2 2 11 00/04/01 23:55:18 2 24 2 10 00/04/01 23:55:18 1 24 0 12 00/04/04 10:00:14 0 1 display bootvar Syntax display bootvar Vie w Any view Parameter None Description Using the display bootvar [...]

  • Página 50

    50 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS GET 3 TEMPERATUREPOINT VALUE SUCCE SSFULLY environment information: Temperature information: local CurrentTemperature LowLim it HighLimit (deg c ) (deg c ) (deg c ) RPU 34 0 80 VENT 31 0 80 display device Syntax display device slot-number View Any view Parameter slot-number: Slot numbe[...]

  • Página 51

    System Operating Management Commands - AR46 Series 51 Description Using the display schedule reboot command, you can check the configuration of related parameters of the r outer schedule reboot terminal service. For the related command, see r eboot, schedu le reboot at, schedule reboot delay , undo schedule reboot. Example Display the configuration[...]

  • Página 52

    52 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Parameter None Description Using the reset alarm urgent command, you can clear all the stored alarms. Example Clear the all t he stored alarms. <3Com> reset alarm urgent reset slot Syntax reset slot slot-number View User view Parameter slot-number: The number of the slot to be re[...]

  • Página 53

    System Operating Management Commands - AR46 Series 53 Description Using the schedule reboot at command, you can enable the timing re boot function of the router and set th e specific reboot time and date. By default, the timing reboot router function is disabled. If the schedule reboot at command se ts specified date parameters, which repr esents a[...]

  • Página 54

    54 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Description Using the schedule reboot delay comma nd, you can enable the timing reboot router function and set the waiting time. By default, the timing reboot ro uter function is disabled. T wo formats can be used to set the waitin g delay of timing re boot router , namely the format o[...]

  • Página 55

    File Managem e nt Co mma nds 55 Example Upgrade the pico-code on line, given the file name of the upgrade soft ware package is filename. [3Com] upgrade pico-code filename undo schedule reboot Synt ax undo schedule reboot Vie w User view Parameter None Description Using the undo schedule reboot command, you can cancel the parameter configuration of [...]

  • Página 56

    56 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Example Modify the current operating path of the router to test. <3Com> cd test <3Com> pwd flash:/test clear Syntax clear filename View User view Parameter filename: Name of file to be deleted. Description Using the clear co mmand, you can delete all files fr om the recycle[...]

  • Página 57

    File Managem e nt Co mma nds 57 Example <3Com>pwd Slave#flash: <3Com> dir Directory of flash:/ -rwxrwxrwx 1 noone nogroup 43167 42 Oct 10 2002 10:10:10 system drwxrwxrwx 1 noone nogroup - Jan 01 2001 10:47:14 buckup -rwxrwxrwx 1 noone nogroup 16 Jan 02 2001 08:53:52 private-data.t -rwxrwxrwx 1 noone nogroup 625 Jan 02 2001 08:54:01 vrpc[...]

  • Página 58

    58 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS If the unreserved parameter is seleted in us ing the delete comma nd, the target file cannot be restored. The dir command do es no t disp lay the inf o rm at io n of deleted files. However , by using the dir /all command, the infor mation of all files under the directory , including de[...]

  • Página 59

    File Managem e nt Co mma nds 59 -rwxrwxrwx 1 noone nogroup 43167 42 Oct 10 2002 10:10:10 system -rwxrwxrwx 1 noone nogroup 16 Jan 01 1970 00:00:57 private-data.t xt -rwxrwxrwx 1 noone nogroup 3 51 Jan 01 1970 00:01:03 vrpcfg.txt 7672832 bytes total (3351552 bytes free ) execute Syntax execute filename Vie w System view Parameter filename: Name of t[...]

  • Página 60

    60 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Description Using the file prompt command, you ca n modify the prompt mode of file operation of the router . By default, the prom pt mode is alert. When the prompting mode of file operation is set to quiet, for the possible data loss due to user oper ation (e.g., deleting a file), the [...]

  • Página 61

    File Managem e nt Co mma nds 61 Description Using the mkdir command, you can create a dir ectory under the specified directory in the specified storage device. The name of the directory to be cr eated cannot be the same with the names of other directories or files under the specified directory . Example Crea te a directory dd. <3Com> mkdir dd[...]

  • Página 62

    62 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Parameter filename_source: Name of the sour ce file. filename_dest: Name of the destination file. Description Using the move command, you can move a file. If the name of the target file is the same with the name of an existing directory , the target file will be moved into the dir e ct[...]

  • Página 63

    File Managem e nt Co mma nds 63 Description Using the pwd command, you can display the current path. If the current path has not been set, the operation will fail. Example Display the curr ent path. <3Com> pwd flash:/test rename Syntax rename filename_source filename_dest Vie w User view Parameter filename_source: Name of the sour ce file. fi[...]

  • Página 64

    64 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS reset recycle-bin Syntax reset r ecycle-bin filename Vie w User view Parameter filename: Name of the file to be deleted. Description Using the reset r ecycle-bin co mmand, you can de lete a file fr om the r ecycle bin permanently . This command supports "*" wildcard. The dele[...]

  • Página 65

    FTP Server Configuration Commands 65 <3Com> dir Directory of * 0 -rw- 595 Jul 12 2001 20:1 3:19 vrpcfg.txt 6477 KBytes total (5944 KBytes free) undelete Syntax undelete filename Vie w User view Parameter filename: Name of the file to be restor ed. Description Using the undelete command, yo u can restor e a deleted file. If the name of the fil[...]

  • Página 66

    66 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Parameter None Description Using the display ft p-server command, y ou can disp lay the parameters of the current F TP server . After the F TP parameters are configured, th is command can be used to display the configuratio n results. Example Display the F TP pa ra meters configured. &[...]

  • Página 67

    FTP Server Configuration Commands 67 f tp server enable Syntax ftp server enable undo ftp server Vie w System view Parameter None Description Using the ftp server enable co mmand, you can enable the F TP ser ver and allow the login of F TP users. Using the undo ftp se rver command, you can disable the F TP server and the login of F TP users. By def[...]

  • Página 68

    68 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Example Set the connection timeout to 36 minutes. [3Com] ftp timeout 36 f tp update Syntax ftp update { fast | normal } undo ftp update{ fast | normal } View System view Parameter fast: Fast upgrading mode. normal: Normal upgrading mode. Description Using the ftp update comman d, you c[...]

  • Página 69

    FTP client module commands 69 F TP client module commands ascii Syntax ascii Vie w F TP client view Parameter None Description Using the ascii command, you can set the transmission data type to ASCII. By default, the data type is set to ASCII. Example Set the transmission data type to ASCII. [ftp] ascii 200 Type set to A. binary Syntax binary Vie w[...]

  • Página 70

    70 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS View F TP client view Parameter None Description Using the bye command, you can disconnect with remote F TP server and exit to user view . Example T erminate the connection with remote F TP server and exit to user view . [ftp] bye <3Com> cd Syntax cd pathname Vie w F TP client vi[...]

  • Página 71

    FTP client module commands 71 Description Using the cdup command, you can chan ge the operating path to the upper dir ectory . This command is used to exit current dir ectory and retur n to an upper directory . Example Change the operating p ath to an upper directory . [ftp] cdup close Syntax close Vie w F TP client view Parameter None Description [...]

  • Página 72

    72 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Description Using the debugging command, you can en able the debugging. Using the undo debugging command, you can disable the debugging. By default, the debug ging of F TP client commands is disabled. Example Enable the debugging. [ftp] debugging delete Syntax delete remotefile View F [...]

  • Página 73

    FTP client module commands 73 Example Query temp.c and save the query result in temp1. [ftp] dir temp.c temp1 disconnect Syntax disconnect Vie w F TP client view Parameter None Description Using the disconnect command, you can terminate the connection with the remote F TP server and still keep in F TP client view . This command will terminate both [...]

  • Página 74

    74 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS <3Com> ftp 1.1.1.1 get Syntax get r emotefile [ localfile ] View F TP client view Parameter localfile: Local file name. remotefile: File name on the remote F TP server . Description Using the get command, you can download remote files and save them locally . By default, if the lo[...]

  • Página 75

    FTP client module commands 75 Vie w F TP client view Parameter remotefile: Remote file queried. localfile: Local f ile name saved. Description Using the ls command, you can query a specified file. By default, all the files will be displayed when there is no parameter . Example Query t emp.c. [ftp] ls temp.c mkdir Syntax mkdir pathn am e Vie w F TP [...]

  • Página 76

    76 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS port: Port number of the remote F TP server . Description Using the open command, you can establis h control connection with the remote FT P s e r v e r. Example Establish F TP connection with the F TP server of the hos t 10.110 .3.1. [ftp] open 10.110.3.1 pa s s iv e Syntax passive un[...]

  • Página 77

    FTP client module commands 77 Description Using the put command, you can upload a local file to the remote F TP server . If no file name on the remote server is spec ified, this command w ill consider that it is the same with that of the local file. Example Upload local file temp.c to the remote F TP server and save it as temp1.c. [ftp] put temp.c [...]

  • Página 78

    78 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Example T erminate the connection with the remote F TP server and exit to use r view . [ftp] quit <3Com> remotehelp Syntax remotehelp [ pr otocol-command ] View F TP client view Parameter protocol-command: F TP command. Description Using the remote help command, you c a n display[...]

  • Página 79

    TFTP Configuration Commands 79 Vie w F TP client view Parameter username: Logon user name. password: Logon password. Description Using the user command, you can register F TP user . Example Log on F TP server with the user name tom and the password bjhw . [ftp] user tom bjhw verbose Syntax verbose undo verbose Vie w F TP client view Parameter None [...]

  • Página 80

    80 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS View User view Parameter p_address: IP address of TF TP server . source-filename: Sour ce file name. destination-filename: De stination file name. get: Downloads files. put: Uploads files. Description Using the tftp command, you can upload file s to a TF TP server or downloads files to[...]

  • Página 81

    Configurati on Fi l es M a nag em ent Commands 81 Example Set the number of ACL pe rmitting th e ac cess to the TF TP Server to 1. [3Com] tftp-server acl 1 Configuration Files Management Commands display current-configuration Sy ntax display current-configuration [ cont roller | interface interface-type [ interface-number ] | configuration [ rip | [...]

  • Página 82

    82 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Description Using the display current-configuration command, yo u can display the current configurations of router . The current configuration pa rameters that take the de fault values will not be displayed. After finishing a set of configuratio ns, the user can execute the display cur[...]

  • Página 83

    Configurati on Fi l es M a nag em ent Commands 83 # return display saved-configuration Syntax display saved- configurat ion Vie w Any view Parameter None Description Using the display saved-configuration comm and, you can d isplay the saved router configurations, that is, the configurations th at the router will apply the next time it is booted. Fo[...]

  • Página 84

    84 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS display this Syntax display this View Any view Parameter None Description Using the display this command , you can display the cur rent configurations under this view . Example Display the current configuration of the view in question. <3Com> display this # sysname 3Com # tcp win[...]

  • Página 85

    Configurati on Fi l es M a nag em ent Commands 85 Example Erase the saved router configuration. <3Com> reset saved-configuration This will erase the configuration in th e device. The Router configurations will be erase d to reconfigure! Are you sure?[Y/N]y save Syntax save[file-name ] Vie w User view Parameter file-name: Filename, whose exten[...]

  • Página 86

    86 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS 3Com Routers support online Bo otROM upgrade. Y ou can upgrade the BootROM online by extracting the BootROM program from the upgrade softwar e package and writing it into the BootROM. When executing this command, you sh ould make sure that the upgrade software package (named bootromful[...]

  • Página 87

    User Interface Configuration Commands 87 authentication-mode Sy ntax authentication-mode { local | passw ord | scheme { list | default } } authentication-mode none Vie w User interface view Parameter local: Performs local da tabase authentication. password: Performs local password authentication. scheme: Performs AAA authorization authentication. d[...]

  • Página 88

    88 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Description Using the auto-execute command command, you can set a command to be automatically executed. Using the und o auto-execute co mmand command, you can disable the automatic execution of the command. By default, command auto -execution is disab led. Y ou should be aware of the f[...]

  • Página 89

    User Interface Configuration Commands 89 6: Six da ta bits. 7: Seven data bits. 8: Eight data bits. Description Using the databits command, you can set us er interface data bit. Using the undo databits command, you can restor e the default data bit setting. By defaul t, data bit is set to 8. The configura tion can take effect only when the serial i[...]

  • Página 90

    90 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Vie w Any view Parameter type-name: Name of user interface type. number: Number of user interface. Description Using the display us er -inte rface command, you can disp lay the details of user interface . Example Display information of user interface 0. <3Com> display user-interf[...]

  • Página 91

    User Interface Configuration Commands 91 * 0 CON 000:00:00 * 1 VTY 000:00:0910.110.101.39dd Where, *: T erminal line in use. UI: The first numb er and the se cond number are respectively the abs olute number and relative number of user interface. Username: Display the name of the user using this user -interface, namely the usern ame that the user u[...]

  • Página 92

    92 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS free user-interface Syntax free user -interface [type- name ] number Vie w User view Parameter type-name: User interface type. number: Absolute/Relativ e user interface number . Description Using the free user -interface number comm and, you can clear the user interface with the number[...]

  • Página 93

    User Interface Configuration Commands 93 idle-timeout Syntax idle-timeout minutes [ seconds ] undo idle-timeout Vie w User interface view Parameter minutes: Number of minut es, in the range of 0 t o 35791. seconds: Number of seconds, in the range of 0 to 59. Description Using the idle-timeout command, you can set time in terval for timed disconnect[...]

  • Página 94

    94 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS When executed without any paramete rs, th e modem command enables both incomi ng an d outgoing call s. When executed without any paramete rs, th e undo modem command disables both incoming and outgoing calls. This command is only available for the AUX interface and other asynchronous i[...]

  • Página 95

    User Interface Configuration Commands 95 Vie w User interface view Parameter seconds: T i meo ut time in the range of 1 to 60 seconds. Description Using the modem timer answer command, you can set the timeout time waiting for the carrier signal after the off-hook action for setting up an inbou nd connection. Using the undo modem timer answer comman[...]

  • Página 96

    96 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Example Set the transmission check bit on AUX interface to o dd parity . [3Com-ui-aux0] parity odd redirect Syntax red i rec t undo redirect View User interface view Parameter None Description Using the redir ect command, you can set the redirection function, which is only valid for th[...]

  • Página 97

    User Interface Configuration Commands 97 Description Using the screen-length command, you can set the number of rows displayed in one screen at the terminal. Using the undo screen-length command, you can restor e the number of rows in a terminal screen to 24. By default, the number of rows in one screen is 24. screen-length 0 indicates to disable t[...]

  • Página 98

    98 C HAPTER 2: S YSTEM M AINTENANCE & M ANAGEMENT C OMMANDS Vie w User interface view Parameter simple: Plain text password. cipher: Encrypted password. password: If password form is set to si mple, the parameter password must be in plain text. If the password form is set to cipher , the password can be either in encrypted text or in p lain tex[...]

  • Página 99

    User Interface Configuration Commands 99 Vie w User interface view Parameter None Description Using the shell command, you can enable te rminal services on a user interface. Using the undo shell command, you can remove the current setting. By default, the termin al services are enabled on all the user interfaces. Some constraints are put on the und[...]

  • Página 100

    100 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS The transmission rates supported by as ynchronous serial interfaces include: ■ 300bps ■ 600bps ■ 1200bps ■ 4800bps ■ 9600bps ■ 19200bps ■ 38400bps ■ 57600bps ■ 115200bps Example Set the transmission rate of the user interface to 19200bps. [3Com-ui-vty0] speed 19200 [...]

  • Página 101

    User Interface Configuration Commands 101 3.1.23 user privilege Synt ax user priv i lege lev el level undo user privilege level Vie w User interface view Parameter level: Command level in the range of 0 to 3. Description Using the user privilege command, you can configure the command accessing level commensurate with the users accessing the system [...]

  • Página 102

    102 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS Parameter type-keyword: T ype name of user -interface. user -int erface-number: The first user -interface to be configured. ending- user -interface-nu mber: The last user -interface to be configured. Description Using the user -interface comm and, you can enter the singl e-user inter[...]

  • Página 103

    debugging ntp-service 103 Parameter access: NTP access control debugging. adjustment: NTP clock adjustment debugging. all: All the NTP information debugging. authentication: NTP identificati on authentication debugging. event: NTP event debugging. filter: NTP filter information debugging. packet: NTP packet debugging. parameter: NTP clock parameter[...]

  • Página 104

    104 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS By default, the status of all th e sessions maintained by the local device NTP is displayed. The command without parameter verbose will display the brief information of all the sessions maintained by the local device NTP . The command with parameter verbose w ill display the detailed[...]

  • Página 105

    debugging ntp-service 105 display ntp-service trace Syntax display ntp-service trace [ X.X.X.X ] Vie w Any view Parameter X.X.X.X: The IP address of the NTP server functioning as th e refer ence clock source. Description Using the display ntp-service trace co mmand, you can display the summary information of each NTP time server from the loc al dev[...]

  • Página 106

    106 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS Vie w System view Parameter query: Query author ity is limited. synchronization: Only the server is permitted to access. server: Allows the server to perform access and query . peer: Absolute access. acl-number: IP address access list number in the range of 1 to 99. Description Using[...]

  • Página 107

    debugging ntp-service 107 Parameter None Description Using the ntp-service authenti cation enable command, you can set NTP-service ID au thentication . Using the undo ntp-service authentication enab le command, you can remove NTP-service ID authentication. By default, no ID authentication is set. Example Enable NTP ID authenticatio n. [3Com] ntp-se[...]

  • Página 108

    108 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS undo ntp-service broadcast-client Vie w Interface view Parameter None Description Using the ntp-service b roadcast-client command, you can configure the NTP broadcast client mode. Using the undo nt p-service broadcast-client command, you can remove the NTP br oadcast client mode. By [...]

  • Página 109

    debugging ntp-service 109 Description Using the ntp-service broadcast-server command, you can configure NTP broadcast server mode. Using the undo nt p-service broadcast- server command, you can remove the NTP broadcast server mode. By default, no broadcast service is configured and the version number is 3. This command is used to specify an interfa[...]

  • Página 110

    110 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS undo ntp-service multicast-client [ X.X.X.X ] Vie w Interface view Parameter X.X.X.X: Multicast IP address, which is a Class D addr ess. Description Using the ntp-service multicast-client command, you can configure the NTP multicast client mode. Using the undo ntp-service multicast-c[...]

  • Página 111

    debugging ntp-service 111 ttl-number: Life span of the multicas t packet in the range of 1 to 255. version: Defines the NTP version number . number: NTP version number in the range of 1 to 3. Description Using the ntp-service multicast-server command, you can configure the NTP multicast server mode. Using the undo nt p-service multicast- server com[...]

  • Página 112

    112 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS Setting the exter nal reference clock or the local clock to be the NTP master clock provides other devices with synchronous time. The X.X.X.X i s the IP address 127.127.t.u of the refer ence clock. When no IP address is specified, the local clock is the NTP master clock by default. T[...]

  • Página 113

    debugging ntp-service 113 Vie w System view Parameter interface-type: Inter face type, which de termines an interface along with the interface-number . interface-number: Interface nu mber , which det ermines an interface along with the interface-type. Description Using the ntp-service source-interface co mmand, you can specify the interface fo r th[...]

  • Página 114

    114 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS keyid: Key ID number in the range of 1 to 4294967295, which is used when transmitting messages to the remote server . source-interface: Specif ies the interface name. interface-type: Inte rface type, which det ermines an interface along with the interface-number . interface-number: I[...]

  • Página 115

    SNMP Configuration Commands 115 number: NTP version number in the range of 1 to 3. authentication-keyid: Define s ID authen tication key . keyid: Key ID number in th e range of 1 to 4294967295, which is used when transmitting messages to the remote server . source-interface: Specifies the interface name. interface-type: Inter face type, which de te[...]

  • Página 116

    116 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS Parameter header: Enables the debugging of packet information header . packet: Enables the packet debugging. process: Enables the pr ocess debuggin g of SNMP packets . trap: Enables the debugging of T rap packets. Description Using the debugging snmp-agent command, you can enab le th[...]

  • Página 117

    SNMP Configuration Commands 117 SNMP local EngineID indicates th e ID of the local SNMP engine. display snmp-agent community Syntax display snmp-age nt co mmu ni ty [ read | write ] Vie w Any view Parameter read: Displays the community name information with the r ead-only authority . write: Displays the community name information with the authority[...]

  • Página 118

    118 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS Example Display the SNMP group name and security mode. <3Com> display snmp-agent group Group name: v3r2 Security model: v3 noAuthno Priv Readview: ViewDefault Writeview: <no specified> Notifyview :<no specified> Storage-type: nonVolatile The corresponding fields dis[...]

  • Página 119

    SNMP Configuration Commands 119 Storage-type: nonVolatile View Type:included View status:active View name:ViewDefault MIB Subtree:snmpUsmMIB Subtree mask: Storage-type: nonVolatile View Type:excluded View status:active View name:ViewDefault MIB Subtree:snmpVacmMIB Subtree mask: Storage-type: nonVolatile View Type:excluded View status:active View na[...]

  • Página 120

    120 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS Description Using the diplay snmp-agent statistics command, yo u can display the state and statistics of SNM P . Example Check the statistics of SNMP communication. <3Com> display snmp-agent statisti cs 41 Messages delivered to the SNMP entity 0 Messages which were for an unsup[...]

  • Página 121

    SNMP Configuration Commands 121 display snmp-agent sys-info Syntax display snmp-agent sys- info [ contact | location | version ]* Vie w Any view Parameter contact: Displays the contact information of the local device. location: Displays the phy sical location informati on of the local device. version: Displays the SNMP vers ion running in the local[...]

  • Página 122

    122 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS An SNMP user is the remote user who executes SNMP management operation. The snmp-agent usm-user co mmand is used to specify t he SNMP user . Example Display the information about all the current users. <3Com> display snmp-agent usm-user User name: authuser Engine ID: 8000007DB2[...]

  • Página 123

    SNMP Configuration Commands 123 Example Disable the operating SNMP version. [3Com] undo snmp-agent SNMP Agent disabled snmp-agent community Syntax snmp-agent co mmunity { r ead | write } community-name [ [ mib-view view-name ] | [ acl acl-number ] ]* undo snmp-agent community community-name Vie w System view Parameter read: Indicates that the commu[...]

  • Página 124

    124 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS Delete the commun ity name comaccess. [3Com] undo snmp-agent community c omaccess snmp-agent group Syntax snmp-agent group { v1 | v2c } gr oup-name { [ r ead r ead-view ] | [ write write-view ] | [ notify notify-view ] } [ acl acl-number ] undo snmp-agen t group { v1 | v2c } group-na[...]

  • Página 125

    SNMP Configuration Commands 125 By default, the snmp-agent group gr oup-n ame v3 command adopts the method of not a uthenticating a nd encryptin g. For the related command, see snmp-agent mib-view , snmp-agent usm-user . Example Create an SNMPv3 group known as Johngroup. [3Com] snmp-agent group v3 Johngroup snmp-agent local-engineid Syntax snmp-age[...]

  • Página 126

    126 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS Parameter view-name: Name of the view . oid-tree: OID MIB subtr ee for the Mib obj ect subtree, which can be a character string of the variable OID or a character string of variable name. For example, it can be character strings such as 1.4.5.3. 1 and syst em character strings or use[...]

  • Página 127

    SNMP Configuration Commands 127 Example Set the maximum length of the SNMP pa cket that Agent can r eceive/forward to 1042 bytes. [3Com] snmp-agent packet max-size 1042 snmp-agent sys-info Syntax snmp-agent sys-info { contac t sysContact | location sysLocation | version { { v1 | v2c | v3 } * | all } } undo snmp-agent sys-info { contact | location |[...]

  • Página 128

    128 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS Example Set the system maintenance informat ion as call Operator at 010-82882488. [3Com] snmp-agent sys-info contact call Operator at 010-82882488 snmp-agent target-host Syntax snmp-agent target-hos t trap address udp -domain X.X.X.X [ udp -port port-number ] params securityname secu[...]

  • Página 129

    SNMP Configuration Commands 129 Description Using the snmp-agent target-host comma nd, yo u can set the des tination that receives the SNMP notificatio n. Using the und o snmp-agen t target-host command, you can remove the host that re ceives the SNMP not ification. ■ The snmp-agent target-host command shoul d be used in cooperation with the snmp[...]

  • Página 130

    130 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS The snmp-agent trap enable command indi cates to allow sending all types of SNMP T rap packets of all the modules, when ther e is no parameter . The snmp-agent trap enable command sh ould be used in cooperation with the snmp-agent target-host command . The snmp-agent t arget-host com[...]

  • Página 131

    SNMP Configuration Commands 131 Description Using the snmp-agent trap life command, you can set the conservation time of the T rap packet and the T rap packets exceed ing the time will be dropped. Using the undo snmp-agent trap life command, you can remove the current setting. If the conservation time for the T rap packets the system has con figure[...]

  • Página 132

    132 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS Vie w System view Parameter interface-type: Interface type. interface-number: Interface number . subinterface-name: Subinterface type. Description Using the snmp-agent trap source command, you can specify the source addr ess from which T rap will be sent. Using th e undo snmp-agent t[...]

  • Página 133

    SNMP Configuration Commands 133 group-name: Gr oup name the user is co rr esponding to, in the range of 1 to 32 bytes. authentication-mode: Specifies the securi ty level as requiring authentication. md5: Specifie s the authenticat ion prot ocol as HMAC-MD5-9 6. sha: Specifies the authentication protocol as HMAC-SHA-96. auth-password: Authentication[...]

  • Página 134

    134 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS T erminal Service Commands T erminal Service of Te l n e t debugging telnet Syntax debugging telnet undo debugging telnet View User view Parameter None Description Using the debugging telnet command, you can enable the debugging for T elnet connection. Using the undo deb ugging te ln[...]

  • Página 135

    Terminal Service Commands 135 The information that this command can di splay includes: the lo cal address of TCP connection, local port number , extern al address, external port number , and connection state. For the related command, see telnet. Example <3Com> display tcp status TCPCB Local Address Foreig n Address State 129.102.100.142 23 12[...]

  • Página 136

    136 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS Connected to 129.102.0.1 <3Com2> SSH Configuration Commands debugging rsa Syntax debugging rsa undo debugging r sa View User view Parameter None Description Using the debugging rsa command, you can send the detailed information about each process and packet structure of RSA alg[...]

  • Página 137

    SSH Configuration Commands 137 Description Using the debugging ssh server command, you can send t he information about negotiation process regulated by SSH1.5 protocol to information center as debugging format ion and to d ebug certain user -interface separately . Using the undo debugging ssh server command, you can disabl e the debu gging . By def[...]

  • Página 138

    138 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS % Key pair was generated at: 12:26 :45 UTC 2002/4/4 Key name: rtvrp_Server Usage: Encryption Key Key Data: 30670260 C05280D9 BA0D56C8 7BE4337 9 8634CDE7 83ABA9A2 3F36280E 25995487 4FF6AD7A 0E57871C 761E6D9 2 9914D8C5 CC577388 5B580B94 C2172C8F 36039EED 160A0478 651DED3 A 9CCF1AAD D80[...]

  • Página 139

    SSH Configuration Commands 139 Parameter status: Displays the SS H status information. session: Displays SSH session information. Description Using the display ssh server command, yo u can display the SSH status or session. For the related command, see ssh server authentication-r etries, ssh server rekey-interval, ssh server timeout. Example Displa[...]

  • Página 140

    140 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS display ssh user -information Syntax display ssh user -information [ user name ] View Any view Parameter username: V alid SSH user name defined by AAA. Description Using the display ssh user - information command, you can display the informatio n about current SSH user including user[...]

  • Página 141

    SSH Configuration Commands 141 Description Using the protocol inbound command, you can specif y the protocols supported by the current user interface. By default, the system supports all the protocols, that is, T elnet and SSH. When the command is used to specify the protocols supported by the current user interface and SSH is enabled, SSH is still[...]

  • Página 142

    142 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS character ring coded according to public key format. The public key is generated in stochastic mode by the client software supporting SSH. For the related command, see rsa peer -public-key , public-key-code end. Example Enter the edit view of public key and to input key . [3Com] rsa [...]

  • Página 143

    SSH Configuration Commands 143 rsa local-key-pair create Syntax rsa local-key-pair create Vie w System view Parameter None Description Using the rsa local-ke y-pair create comm and, you can generate the local RSA host key pair and server key pair . When this command is used to configure, the system will give alarm and prompt that former key will be[...]

  • Página 144

    144 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS rsa local-key-pair destroy Syntax rsa local-key-pair destroy View System view Parameter None Description Using the rsa local-key-pair destroy co mmand, you can r emove all RSA keys of server (including host key pair an d server key pair). After this command is input, you should confi[...]

  • Página 145

    SSH Configuration Commands 145 Example Enter the public key view . [3Com] rsa peer-public-key 3Com002 [3Com-rsa-public] ssh server authentication-retries Syntax ssh server authentication-retries times undo ssh server authentication-retries Vie w System view Parameter times: Specifies the authentication re-try times, 1<=r e-try times<=5. Descr[...]

  • Página 146

    146 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS Description Using the ssh server rekey-interval co mmand, you can set the update times of server key . Using the undo ssh server reke y-interval command, you can cancel the current settings. By default, the server key is not updated. For the related command, see display ss h sever . [...]

  • Página 147

    SSH Configuration Commands 147 Vie w System view Parameter keyname: Configured public key name of client. It is the continuous character string, 0< length value £ 32. usern ame: V alid SSH user name defined by AAA module. Description Using the ssh user assign command, you can assign one existing pub lic key (keyname) for the user (user name). U[...]

  • Página 148

    148 C HAPTER 2: S YSTEM M AINTENA NCE & M ANAGEMENT C OMMANDS Description Using the ssh user aut h en t i ca ti on-type command, yo u ca n specify the authentication method for a special user . Using the undo ssh user authentication-type command, you can rest ore the default mode that login is always denied. By default, the system will always d[...]

  • Página 149

    3 I NTERFACE M ANAGEMENT C OMMANDS Interface Management Commands debugging physical Syntax debugging physical { all | error | cell | packet } interface interface-type interface-number undo debugging physical { all | error | ce ll | packet } interface interface-type interface-number Vie w User view Parameter all: Enables alar mi ng of all levels. er[...]

  • Página 150

    150 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Vie w Interface view Parameter interface-description: Ch ar acter string de scribing the router interface, which is allowed to comprise no more than 80 charac ters. By def ault, the description string is “3Com Router , xxxxxx interface”. Description Using the description command , you can se t th[...]

  • Página 151

    Interface Managem ent Co mma nds 151 ■ IP address of the interface ■ The encapsulated link layer protocol of the interface and the running state of the link layer protocol and the statistics. ■ Statistics of the incoming and outgoing packets on the interface For a r elated command, see reset counters interface. Example View the running state [...]

  • Página 152

    152 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Vie w System view Parameter type: Interface type. The following table lists the interfaces that VRP supports so far . number: Interface number . VR P numbers the interfaces separately by interface type, with the numbers of each type of interfaces begin at 0 or 1. sub-number: Subinterface number , whi[...]

  • Página 153

    Interface Managem ent Co mma nds 153 Note that executing the undo interface co mmand also deletes the defined logical interfaces (such as dialer , tunnel, an d virtual-template int erf aces) and subinterfaces. Example Enter the Ethern et interface view in system view . [3com]interface ethernet 0/0/0 [3com-Ethernet0/0/0] Switch from Ethernet0 view t[...]

  • Página 154

    154 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Vie w Interface view Parameter None Description Using the shutdo wn command, you can sh ut down an interface. Using the undo shutdown command, you ca n enable an interface. This command takes ef fect not only on phy sical interfaces but also on tunnel and MFR interfaces. In some cir cumstances, such [...]

  • Página 155

    Fundamental Ethernet Interface Configuration Commands 155 Example View the state informat ion of the Ether net interface 2/0/0. <3com> display interface ethernet 2/0/0 Ethernet2/0/0 current state : UP Line protocol current state : UP Description : 3Com Routers, Ethernet0/0 Interface The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Int[...]

  • Página 156

    156 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS An Ethernet interface on a router that is connect ed to a hub must work in half-duplex mode. When an Ether net interf ace is con nected to a network device that supports full-duplex, it must work in full-duplex mode, ho wever . Before setting the FE interface to work in auto- negotiation mode, yo u m[...]

  • Página 157

    Fundamental Ethernet Interface Configuration Commands 157 Parameter size: MTU size on the Ether net interface, whic h is in bytes. It is in the range of 46 to 1500 if the adopted frame format is Ether net_II. Description Using the mtu command, you can set th e maximum transmission unit (MTU) of the Ether net interf ace. Using the undo mt u command,[...]

  • Página 158

    158 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Example Set the FE interface to work in 10Base-T mode. [ 3com -Ethernet0/0/0]speed 10 Fundamental W AN Interface Configuration Commands async mode Sy ntax async mode { protocol | flow } Vie w Asynchronous serial interface view , AUX interface view Parameter protocol: Pr otocol mode, with which the lo[...]

  • Página 159

    Fundamental WAN Interface Configuration Comma nds 159 Vie w Serial interface view Parameter baudrate: Baud rate of serial interface in bps. It is in the range of 300 to 115 200 for an asynchronous serial interface and 1200 to 204 8000 for a synchronous serial interface. Description Using the baudrate command, you can set th e baud rate for a serial[...]

  • Página 160

    160 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS clock Syntax clock { dceclk | dteclk1 | dt eclk2 | dteclk3 | dteclk4 } Vie w Serial interface view Parameter dceclk: Sets the interface cloc k selection mode to DCE clock. dteclk1: Sets the interface clock se lection mode to DTE clock option 1. dteclk2: Sets the interface clock se lection mode to DTE[...]

  • Página 161

    Fundamental WAN Interface Configuration Comma nds 161 Ta b l e 3 Clock options available for a synchronous serial interface working as DTE In the table, the clock ahead of “=” is the DTE clock and the one after is the DCE clock. Example Set the synchronous serial interface work ing as DTE to use the clock selection option DTEclk2. [3com-Serial0[...]

  • Página 162

    162 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS detect { dcd | dsr -d tr } undo detect { dcd | dsr -d tr } Vie w Synchronous serial interface view , asynchronous serial interfa ce view Parameter dsr -dtr : Detects DSR and DTR signals of DSU/CSU. dcd: Detects the DCD signal of th e DSU/CSU on the serial interface. Description Using the detect comma[...]

  • Página 163

    Fundamental WAN Interface Configuration Comma nds 163 “FF” (tha t is, the high leve l of all “1s”) to make the identi fication . For the sake of compatibility in this case, it is necessary to configure the line idle-mark of the synchronous serial interface. Example Set the line idle-mark of the sync hronous serial interface to FF . [3com-Se[...]

  • Página 164

    164 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Parameter None Description Using the loopba ck command, you can enab le a serial in terface to perform loopback. Using the undo loopback command , you can disable the serial interface to perform loopback. By default, loopback of the se rial interface is disabled. It is necessary for you to enable the[...]

  • Página 165

    Fundamental CE1/PRI Interface Config uration Commands 165 Vie w Serial interface view Parameter sync: Sets the synchronous/asynchronous se rial interface to work in synchronous mode. async: Sets the synchronous/asynchronous serial interface to work in asynchronous mode. Description Using the physical-mode command, yo u can set the operating mode of[...]

  • Página 166

    166 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Description Using the channel-set command, you can bu ndle some timeslots of a CE1/PRI interface into a chann el-se t. Using the undo channel-set command, yo u can remove the specified timeslot bundle. By default, no timeslots ar e bundled into channel-sets. A CE1/PRI interface in CE1/ PRI mode is ph[...]

  • Página 167

    Fundamental CE1/PRI Interface Config uration Commands 167 Description Using the clock command, you can set the clock mode on a CE1/PRI interface. Using the undo clock command, you can restor e the default clock mode on the interface. By default, the CE1/PR I interface adopts the line clo ck mode (slave). When a CE1/PRI interface is working as DCE, [...]

  • Página 168

    168 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Vie w System view Parameter number: The CE1/PRI interface number . Description Using the controller e1 command, you can e nter a CE1/PRI interf ace view . Example Enter the view of the interface E1 3/0/0. [3com]controller E1 3/0/0 [3com-E1 3/0/0] display contr oller e1 Syntax display controller [ e1 [...]

  • Página 169

    Fundamental CE1/PRI Interface Config uration Commands 169 frame-format Synt ax frame-for ma t { c rc4 | no-crc4 } undo frame-format Vie w CE1/PRI interface view Parameter crc4: Sets the frame for mat on th e CE1 interface to CR C4. no-crc4: Sets the frame format on the CE1 interface to no-CRC4. Description Using the frame-format comma nd, yo u can [...]

  • Página 170

    170 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS By default, the interface is disabled to perfor m loopback in any form. Loopback is used to check the condit ion of interface or cable. This function shou ld be disabled when they are in normal operation. If a serial interface formed by bundling timeslots of the CT1/PRI interf ace is encapsulated wit[...]

  • Página 171

    Fundamental CE1/PRI Interface Config uration Commands 171 The system will automatically create a se rial interface after the operation of timeslot bundling on the interface. This se rial interface has the same logic feat ures of ISDN PRI interface. The se rial interface is numbered in the form of serial number:15. Where, number is the maxi mum seri[...]

  • Página 172

    172 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Example Set the CE1/PRI interface to work in E1 mode. [3com-E1 3/0/0]using e1 Fundamental CT1/PRI Interface Configuration Commands cable Syntax cable { long { 0db | -7.5db | -15db | -22.5db } | short { 133ft | 266ft | 399ft | 533ft | 655ft } } undo cable Vie w CT1/PRI interface view Parameter long: M[...]

  • Página 173

    Fundamental CT1/PRI Interface Config uration Commands 173 channel-set Synt ax channel-set set-number timeslot-lis t range [ speed { 56k | 64k } ] undo channel-set set-num ber Vie w CT1/PRI interface view Parameter set-number: The number of the chann el-set formed by bundlin g the timeslots of the interface, which is in the range of 0 to 23. range: [...]

  • Página 174

    174 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS clock Syntax clock { master | slave } undo clock Vie w CT1/PRI interface view Parameter master: Adopts the internal clock mode. slave: Adop ts the line c lock mode. Description Using the clock command, you can set th e clock mode on a CT1 /PRI interface. Using the undo cl oc k command, you can r esto[...]

  • Página 175

    Fundamental CT1/PRI Interface Config uration Commands 175 The line code format of CT1/PR I interface defaults to b8zs. Y ou should keep the line code format of the interface consistent with the on e used by the remote device. Example Set the line code format of the int erface T1 1/0/0 to ami. [3com-T1 1/0/0] code ami controller t1 Syntax contr olle[...]

  • Página 176

    176 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS ■ Frame check mode of interface ■ Line code format of interface Example Display the information r ela ted to the T1 interf ace. [3com]display controller t1 1/0/0 frame-format Syntax frame-format { sf | esf } undo frame-format Vie w CT1/PRI interface view Parameter sf: Sets the frame format of CT1[...]

  • Página 177

    Fundamental CT1/PRI Interface Config uration Commands 177 Parameter local: Enables the CT1/PRI interf ace to perform local loopback. remote: Enables the interface to perfo rm remote loopback. Description Using the loopback command, you can enab le a CT1/PRI inte rface to perform loopback. Using the undo loopback comm and, yo u can disable the CT1/P[...]

  • Página 178

    178 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS In a pri-set formed by bu ndling the timeslot s of a CT1/PRI interface, time slot 24 is used as D channel for signaling transmissi on, and other timeslots as B channels for data transmission. All the timeslots can be randomly bundled into a pri-set (as a D channel, timeslot 24 is automatically bundle[...]

  • Página 179

    E1-F Interface Configuration Commands 179 [3com] display fe1 Serial4/0/0 Fractional E1, status is down. Work mode is FRAMED - 120 OHM balance d. Framing : NO-CRC4, Line Code is HDB3, Clock : Slave. Alarm State : Loss-of-Signal. Ta b l e 4 Description of displaying controller FE1 items fe1 clock Syntax fe1 clock { master | slave } undo fe1 clock Vie[...]

  • Página 180

    180 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Parameter ami: Adopts AMI line code format. hdb3: Adopts HDB3 line code format. Description Using the fe1 code command, you can configure line code format for an E1-F interface. Using the undo fe1 code co mmand, you can restor e the default line code format of interface. By default, E1-F interfaces a[...]

  • Página 181

    E1-F Interface Configuration Commands 181 undo fe1 loopback [ local | remote ] Vie w E1-F interface view Parameter local: Places the interfa ce in local loopback. remote: P laces the interface in r emote loopback. Description Using the fe1 loopback command, you can co nfigure an E1-F interface in local or remote loopback. Using the undo fe1 loo pba[...]

  • Página 182

    182 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Description Using the fe1 timeslot-list command, you can configure the time slots that will participate in the binding operat i on on an E1-F interface. Using the undo fe1 timeslot-list command, you can restor e the default setting of time slot binding. By default, all the time slots on an E1-F inter[...]

  • Página 183

    T1-F Interface Configuration Commands 183 Example Set the E1-F interface to work in unframed mode. [3com-Serial0/0/0] fe1 unframed T1-F Interface Configuration Commands ft1 cable Syntax ft1 cable { long decibel | short length } undo ft1 cable Vie w T1-F interface view Parameter long decibel: Matches the transmission lin e longer than 6 55 feet. The[...]

  • Página 184

    184 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS View Any view Parameter serial serial-number: Interf ace type and number . If no interface is specified, the information of all the T1-F interfaces will be displayed. Description Using the display ft1 serial command, you can view the configuratio n and state of T1-F interface. If the specif ied inter[...]

  • Página 185

    T1-F Interface Configuration Commands 185 By default, the interfaces use the slave clock. For a T1-F interface used as DCE, master cl ock should be used. If the interface is used as DTE, however , the slave clock should be used. Example Set the T1-F interface to use inter nal clock. [3com-Serial0/0/0] ft1 clock master ft1 code Syntax ft1 code { ami[...]

  • Página 186

    186 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS esf: Adopts ESF as the f raming format for the T1-F interface. Description Using the ft1 frame-format command, you can configu re the framing format for a T1-F interface. Using the undo ft1 frame- format command, you ca n restor e the default framing format of the interface. By default, T1-F interfac[...]

  • Página 187

    T1-F Interface Configuration Commands 187 [3com-Serial0/0/0] ft1 loopback local ft1 timeslot-list Syntax ft1 timeslot-list { all | range } [ speed { 56 | 64 } ] undo ft1 timeslot-list T1-F interface view Parameter all: Binds all the time slots on an interfac e. The interface rate will become 24 X 64kbps (that is, 1 536kbps) after b inding. range: T[...]

  • Página 188

    188 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Fundamental CE3 Interface Configuration Commands clock Syntax clock { master | slave } undo clock Vie w CE3 interface view Parameter master: Adopts the internal clock mode. slave: Adop ts the line c lock mode. Description Using the clock command, you can set th e clock mode on a CE3 interf ace. Usin [...]

  • Página 189

    Fundamental CE3 Interface Config uration Commands 189 Description Using the controller e3 command, you can enter the CE3 interf ace view . For related command, se e display contr oller e3. Example Enter the view of the interface E3 1/0/0. [3com]controller e3 1/0/0 [3com-E3 1/0/0] display controller e3 Synt ax display contr oller e3 interf ac e-numb[...]

  • Página 190

    190 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS E3-0 CE1 7 is up Frame-format NO-CRC4, clock slav e, loopback not set E3-0 CE1 8 is up Frame-format NO-CRC4, clock slav e, loopback not set E3-0 CE1 9 is up Frame-format NO-CRC4, clock slav e, loopback not set E3-0 CE1 10 is up Frame-format NO-CRC4, clock slav e, loopback not set E3-0 CE1 11 is up Fr[...]

  • Página 191

    Fundamental CE3 Interface Config uration Commands 191 line-number:set-number . Fo r example, the serial interface created by the channel-set 0 of the first e1 line on E3 7/0 will be numbered 7/0/ 1:0. This interface can operate at N x 64 Kbps and has the same logic features of a synchr onous serial interface on which you make other config urations.[...]

  • Página 192

    192 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Vie w CE3 interface view Parameter line-number: E1 line n umber in the range of 1 t o 16. crc4: The frame format adopted by an E1 line is cr c4. no-crc4: The frame forma t adopte d by an E1 line is no-crc4. Description Using the e1 se t frame-format command, you can configure the frame format for an [...]

  • Página 193

    Fundamental CE3 Interface Config uration Commands 193 If an E1 line encapsulat ed with PPP ha s be en set to perform loopback, it is normal for the state of the link layer protocol to be r eported as DOWN. Example Set the loopback mode of the first E1 line on the E3 interface to local. [3com-E3 1/0/0]e1 1 set loopback local e1 shutdown Syntax e1 li[...]

  • Página 194

    194 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Description Using the e1 unframed command, you can set an E1 line on a CE3 interface to work in unframed mode (E1 mod e). Usi ng the undo e1 unframed command, you can set the E1 line on the CE3 interface to work in framed mode (CE1 mode). By default, E1 lines ar e working in framed mode. An E1 line i[...]

  • Página 195

    Fundamental CE3 Interface Config uration Commands 195 If a CE3 interface encapsulated with PPP has been set to perform loopback, it is normal for the state of the link layer protocol to be reported as DOWN. Example Enable the interface E3 1/0/0 to perform local loopback. [3com-E3 1/0/0] loopback local national-bit Synt ax national-bit { 0 | 1 } und[...]

  • Página 196

    196 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Parameter e3: Sets the CE3 interface to work in unchannelized mode. ce3: Sets the CE3 interface to work in channelized mode. Description Using the using co mma nd, you can configur e the operatin g mo de of a CE3 interface. Using the undo using co mma nd, you can restore the default setting. By defau[...]

  • Página 197

    Fundamental CT3 Interfac e Configuration Commands 197 The length of the cable for CT3 interface connection refers to the distance between the router and the cable distribution rack. Example Set the cable length to 50 feet for the interface T3 1/0/0. [3com-T3 1/0/0]cable 50 clock Synt ax clock { master | slave } undo clock Vie w CT3 interf ace view [...]

  • Página 198

    198 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Description Using the controller t3 command, you can enter the CT3 interface view . For the related command, see display co ntr oller t3. Example Enter the view of the interface T3 1/0/0. [3com]controller t3 1/0/0 [3com-T3 1/0/0] crc Synt ax crc { 16 | 32 | no-crc} undo crc Vie w Synchronous serial i[...]

  • Página 199

    Fundamental CT3 Interfac e Configuration Commands 199 Parameter c-bit: Sets th e fr ame format to C-bit . m23: Sets the frame format to m23. Description Using the frame-format co mmand, you can configure the frame format used by a CT3 interface. Using the undo frame-format command, you can restore the default frame format used by the CT3 interface.[...]

  • Página 200

    200 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Example Enable the interface T3 1/0/ 0 to perform local loopback. [3com-T3 1/0/0]loopback local t1 channel-set Sy ntax t1 line-number channel-set set-number time slot-list range [ speed { 56k | 64k } ] undo t1 line-number channel-set set-number Vie w CT3 interface view Parameter line-number: T1 line [...]

  • Página 201

    Fundamental CT3 Interfac e Configuration Commands 201 t1 set clock Syntax t1 line-number set clock { master | slave } undo t1 line-number set clock Vie w CT3 interface view Parameter line-number: T1 line numb er in the range of 1 to 28. master: Adopts the inter nal clock. slave: Adopts the line clock . Description Using the t1 set clock command, yo[...]

  • Página 202

    202 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Description Using the t1 set frame-format command, y ou can configure the frame format of T1 line. Using the undo t1 set frame-format command, you can restore the default setting. By default, the frame fo rm at of T1 line is esf. Only if a T1 line is working in framed format (which can be set by usin[...]

  • Página 203

    Fundamental CT3 Interfac e Configuration Commands 203 t1 shutdown Syntax t1 line-number sh utdown undo t1 line-number shutdow n Vie w CT3 interface view Parameter line-number: T1 line numb er in the range of 1 to 28. Description Using the t1 shutdown command, you can shut down a T1 line on the CT3 interface. Using the undo t1 shutdown co mmand, you[...]

  • Página 204

    204 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Description Using the t1 unframed command, you can set a T1 line on a CT3 interface to work in unframed mode (T1 mode). Using the undo t1 unframed command, you can set the T1 line on the CT3 interface to work in framed mode (CT1 m ode). By default, T1 lines ar e working in framed mode. A T1 line in u[...]

  • Página 205

    ATM E3/T3 Interface Configuration Commands 205 [3com-T3 1/0/0]using t3 display controller t3 Syntax display contr oller t3 inte rface-number Vie w Any view Parameter interface-number: CT3 interface numb er . Description Using the display controller t3 command, you can view the state information of a CT3 interface. In addition to the state informati[...]

  • Página 206

    206 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Description Using the cabl e command, you can config u r e the cable mode of th e A TM T3 cable, to set the distance between the router and the cable distribution frame. Using the undo cable command, you can restor e the default setting. By default, short distance mode is u sed. Example Set the cable[...]

  • Página 207

    ATM E3/T3 Interface Configuration Commands 207 Parameter interface-number: Interface nu mber of A TM E3/T3. Description Using the display interface atm command, yo u can vi ew the configuration and status of A TM E3/T3 interface. If no inte rface-number is specified, the system will display the configuration and status of all A TM interfaces . Exam[...]

  • Página 208

    208 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Example Configure A TM E3 interface 1/0/0 to use frame format G.832 ADM. <3com> system-view [3com] interface atm 1/0/0 [3com-Atm1/0/0] frame-format g832- adm loopback Syntax loopback { cell | local | payload | r emote } undo loopback View A TM E3/T3 interface view Parameter cell: Internal cell [...]

  • Página 209

    ATM 25M Interface Configuration Commands 209 Parameter None Description Using the scramble command, you can en able scrambling fu nction of A TM E3/T3 interface. Using the undo scramble command, you can d isable the scrambling function. By default, the scrambling function of A TM E3/T3 interface is enabled. The scramble command is used to enable th[...]

  • Página 210

    210 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Example Adopt the master clock on the A TM interface 4/0/0. <3com> system-view [3com] interface atm 4/0/0 [3com-Atm4/0/0] clock master A TM OC-3c/STM-1 Interface Configuration Commands clock Syntax clock { master | slave } undo clock Vie w A TM interface view Parameter master: Adopts the intern[...]

  • Página 211

    ATM OC-3c/STM-1 Interfac e Configuration Commands 211 Vie w Any view Parameter interface-number: Interf ace number . If no interface ha s been specified, t he configuration and state information of a ll the A TM interfaces will be displayed. Description Using the display interface atm command, yo u can vi ew the configuration and state information [...]

  • Página 212

    212 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Vie w A TM interface view Parameter cell: Enables the A TM interfac e to p erform cell loopback. local: Enables the A TM interfa ce to perform local loopback. remote: Enables the A T M interface to perform the remote loopback. Description Using the loopback command, you can enable the loopback functi[...]

  • Página 213

    G.SHDSL Interface Configuration Commands 213 Example Disable the A TM interface to scramble the payload. [3com-Atm4/0/0] undo scramble G.SHDSL Interface Configuration Commands activate Syntax activate undo activate Vie w A TM interface view Parameter None Description Using the activate command, you can enab le a G.SHDSL interface. Using the undo ac[...]

  • Página 214

    214 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Example Deactivate the G.SHDSL interface. [3com-Atm3/0/0] undo activate shdsl annex Syntax shdsl annex { a | b } undo shdsl annex View A TM interface view Parameter a: Annex a b: Annex b Description Using the shdsl annex command, you can c onfigure annex standard at an SHDSL interface. Y ou cann ot a[...]

  • Página 215

    G.SHDSL Interface Configuration Commands 215 Description Using the shdsl rate command, you can sp ecify maximu m ra te at SHDSL interface or just select au to-negotiation mode. Using the undo rate command, you can restor e the default setting. By defa ult, auto is selected. Example Restore the auto mode at the interface. [3com-Atm1/0/0] undo shdsl [...]

  • Página 216

    216 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Description Using the shdsl margin command, you ca n enable SNR target margin. Using the undo margin command, you can restor e the default value. By default, the SNR target margin is 3. Example Set shdsl margin to 8 . [3com-Atm1/0/0] shdsl margin 8 display dsl configuration Syntax display dsl configu[...]

  • Página 217

    G.SHDSL Interface Configuration Commands 217 10: 003f 000f 0000 0030 003f 003f 003f 003f 000f 0000 20: 0000 0000 0003 0003 0004 0010 display dsl status Syntax display dsl status int erface atm interface- number Vie w Any view Parameter interface-number: Int erface number Description Using the display dsl status interface at m command, you can view [...]

  • Página 218

    218 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Actual RecvGain(dB): 11.4 Actual TxPower(dBm): 14.5 Actual Wire Type: 2 FrmOH Stat: 0x0f Rmt Encoder A : 0x6e01000 0 Rmt Encoder B : 0x3103000 0 Rmt NSF Cusdata : 0x0000 Rmt NSF CusID : 0x0000 Rmt Country Code : 0x00b5 Rmt Provider Code: 0x4753504 e NPSG Rmt Vendor Data: 0x00 0x00 0x00 0x00 0x00 0x00[...]

  • Página 219

    ADSL Interface Configuration Commands 219 Firmware Rel-Rev: R2.3.1-0 DSP Version: 1 PCB Version: 0.0 CPLD Version: 0.0 Driver Version: 2.0 Hardware Version: 1.0 ITU G991.2 ANNEX A: Supported ITU G991.2 ANNEX B: Supported ADSL Interface Configuration Commands activate Synt ax activate undo activate Vie w ADSL interface view Parameter None Descriptio[...]

  • Página 220

    220 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS the activation task and enter the active state. It will stay active as long as the line is in good condit ion. The router tests the line performance at a regular interval and will automatically deactivate the line an d perfo rm a new training and re-activation once it finds out that the line performa[...]

  • Página 221

    ADSL Interface Configuration Commands 221 [3com -Atm1/0/0] %Nov 20 21:17:12 2003 5680 PHY/2/PHY: Atm1/0: change status to up %Nov 20 21:17:13 2003 5680 IFNET/5/UPDO WN:Line protocol on the interface Atm1/0/0 turns into UP state [3com -Atm1/0/0]display dsl configuration int atm 1/0/0 Line Params Set by User Standard: T1.413 Annex: A Framing: 3 Codin[...]

  • Página 222

    222 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS DMT Bits Allocation Per Bin (Up/Down Bits:249/2148) 00: 0 0 0 0 0 0 7 8 a a a a 8 a b c c c b b b b b b 9 9 a a 9 8 8 0 20: 0 0 0 0 2 2 2 3 4 4 5 6 6 7 7 8 8 8 8 8 9 9 a a a a a a a 8 9 a 40: 0 a a a a b b b b b a b b b b b b b b b b b b b b b b b b b b b 60: b b b b b b b b b b b b b b b b b b b a 9[...]

  • Página 223

    ADSL Interface Configuration Commands 223 Description Using the display dsl configuration co mm and, you can display the actual ADSL configuration information. Example Display the actual ADSL configuration information. [3com-Atm1/0]display dsl configuratio n interface atm 1/0 Line Params Set by User Standard: T1.413 Annex: A Framing: 3 Coding Gain([...]

  • Página 224

    224 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS DMT Bits Allocation Per Bin (Up/Down Bits:249/2148) 00: 0 0 0 0 0 0 7 8 a a a a 8 a b c c c b b b b b b 9 9 a a 9 8 8 0 20: 0 0 0 0 2 2 2 3 4 4 5 6 6 7 7 8 8 8 8 8 9 9 a a a a a a a 8 9 a 40: 0 a a a a b b b b b a b b b b b b b b b b b b b b b b b b b b b 60: b b b b b b b b b b b b b b b b b b b a 9[...]

  • Página 225

    ADSL Interface Configuration Commands 225 Xcvr Op State: Data Mode Active Params Near End Far End SNR Margin(dB): 16.0 3.0 Attenuation(dB): 1.0 2.0 Coding Gain(dB): 5.5 Tx Power(dBm): 8.3 21.7 Tx Bin Number: 25 219 Rate(kbps): 832 7616 Adsl Count Near End Far End SEF(sef): 0 0 LOS(los): 0 0 RSI(fec-I): 0 0 RSF(fec-F): 0 0 CRCI(crc-I): 2 0 CRCF(crc-[...]

  • Página 226

    226 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS LOS(LOS): 0 0 ATM Defects NCDI(ncd-I): 0 0 NCDF(ncd-F): 0 0 LCDI(lcd-I): 0 0 LCDF(lcd-F): 0 0 Ta b l e 8 Displaying information with display dsl status display dsl version Syntax display dsl version interf ace atm interface-number Vie w Any view Parameter interface-number: Interface number . Descript[...]

  • Página 227

    Fundamental Logical Interf ace Configuration Commands 227 Dsl Line Type: Adsl Over Pots ATM SAR Device: 0x823614f1 ATM SAR Revision: 0x02 Chipset Vendor: GSPN FW Release: T7941 Revision: 1 DSP Version: 0 AFE Version: 0 PCB Version: 0.0 CPLD Version: 1.0 Driver Version: 2.0 Hardware Version: 1.0 Adsl Capability ANSI T1.413 Issue 2: Supported ITU G99[...]

  • Página 228

    228 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Parameter interface-type: T ype of interface interface-number: Nu mb er of interface, includ ing slot nu mber , card number , and port number . subinterface-number: Number of s ub-interface, ranging from 0 to 4096. p2mp: Configures type of sub-interface as point to multipoint p2p: Configures type of [...]

  • Página 229

    Logic-Channel Interface 229 Description Using the interface ethernet command , y ou can create Ethernet sub-interface. Using the undo interface ether net command, you can delete specified Ether net sub-interface. Ethernet sub-in terface is used for VLAN con figuration. For a detailed co nfiguration procedur e for VLAN, refer to the sectio n Link La[...]

  • Página 230

    230 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Configuration Command of Virtual T emplate and V irtual Access Interface broadcast-limit link Syntax broadcast-limit link number undo broadcast-limit link View Virtual template view Parameter number: Maximum link number that the virtual template support s for sending multicast or broadcast packets, r[...]

  • Página 231

    Configurat ion Command of Vi rtual Template and Virtual Access Interface 231 Description Using the display interface virtual-temp late command, you can view the status information of virtual templa te. Example View the state of sp ecified virtual template. <3com> display interface virtual-templa te 1 display virtual-access Syntax display virt[...]

  • Página 232

    232 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Parameter number: Number of virtual template, ranging from 0 to 1023. Description Using the interface virtual-template command, you can create virtual template or enter existing virtual template view . Using the undo interface virtual-template command, yo u ca n delete sp ecified virtual template. A [...]

  • Página 233

    MP-group Interface Configuration Command 233 interface mp-group Syntax interface mp-group number undo interface mp-group number Vie w System view Parameter number: Number of a MP-group interface. The sequence number ranges f rom 0 to 1023 so, at most, 1024 MP-group interface s ar e supported b y one interface card. Description Using the interface m[...]

  • Página 234

    234 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS In addition, the interface added to an MP group must be a physical interface. T unnel interfaces do not support this command. Example Add serial port 3/0/0 to MP group 3. [3com] interface serial 3/0/0 [3com-Serial3/0/0] ppp mp mp-group 3/0/0 Remove serial port 3/0/0 from MP gr oup 3/0/0. [3com-Serial[...]

  • Página 235

    Virtual Ethernet Interface Configuration Command 235 Parameter number: Number o f virtual Ether net in terface, with seque nce number ranging from 0 to 1023. Description Using the interface virtual-ethern et comma nd , you can create a virtual Ethernet interface. Using the undo interface vir tua l-ether net command, you can delete the specified vir[...]

  • Página 236

    236 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS Configuration Command of Loopback Interface and Null Interface display interface loopback Syntax display interface loopback [ number ] View Any view Parameter number: Number of Lo opback interface, whic h must be an existing one. If number of interface is not specified, status of all created loopback[...]

  • Página 237

    Configuration Command of Loopback Interfac e and Null Interface 237 For a r elated command, see interface nu ll. Example View status information of Null0 interface. <3com> display interface null 0 NULL0 current state : UP Line protocol current state :UP (spoofi ng) Physical is NULL DEV Description : 3Com Routers, NULL0 Inter face The Maximum [...]

  • Página 238

    238 C HAPTER 3: I NTERFACE M ANAGEMENT C OMMANDS View System view Parameter none Description Using the interface null command, you can enter the Nu ll interface view . There is only one Null interface, fixed as null0, which is fixed, and cannot be deactivated or deleted. For the related command, se e display interface null. Example Enter view of Nu[...]

  • Página 239

    4 L INK L AYER P RO T O C O L PPP and MP Configuration Commands display ppp mp Syntax display ppp mp [ interface in terface-type interface- num ] Vie w Any view Parameter interface-type interface-num: Used to sp ecify the interface to be viewed. Description Using the display ppp mp command, you can view all the interface information and statistics [...]

  • Página 240

    240 C HAPTER 4: L INK L AYER P ROTO COL Display PPP configuration and op erating state of the interface. The part in boldface is the re lative information of PPP , including the current status of LCP and IPCP . Users can diagnose some faults according to the information. ip tcp vjcompress Syntax ip tcp v jcompress undo ip tcp vjcompress Vie w Inter[...]

  • Página 241

    PPP and MP Configuration Commands 241 PPP is a link-layer protocol bearing netw ork-layer packets over the point-to-point link. It defines a whole set of protocols including LCP (link control protocol), NCP (network-layer control pr otocol), P AP (Password Authentication Protocol) and CHAP (Challenge Handshake Authentication Protocol). It is widely[...]

  • Página 242

    242 C HAPTER 4: L INK L AYER P ROTO COL Example Perform the MP binding only based on th e user name of the PPP authentication. [3Com] ppp mp binding-mode authent ication ppp accounting scheme Syntax ppp accounting scheme { de fault | scheme -name } undo ppp accounting Vie w Interface view Parameter default: Indicates that the defaul t accounting me[...]

  • Página 243

    PPP and MP Configuration Commands 243 Parameter One of chap and pap should b e selected. call-in: Authenticates the peer only when the r emote user calls in. default and scheme-name: indicates the au thentication algorithm lists co nfigu red by user while authenticating. For detail ed description, refer to “AAA section”. Description Using the p[...]

  • Página 244

    244 C HAPTER 4: L INK L AYER P ROTO COL Description Using the ppp chap password command, you can configure the default CHAP password while performing CHAP authentication. Using the undo ppp chap password command, you can cancel the configuration. While configuring CHAP authentication, you should configure the local password to be the same as the us[...]

  • Página 245

    PPP and MP Configuration Commands 245 ppp compression iphc Syntax ppp compression iphc [ nonstandard | rtp-connections rtp-connections | tcp-connections tcp-connection s ] Vie w Interface view Parameter nonstandard: uses the nonstandard mode in compr essing the IP/UDP/RTP header rtp-connections rtp-con nections: sets th e maximum rtp-connections of[...]

  • Página 246

    246 C HAPTER 4: L INK L AYER P ROTO COL stac-lzs is configured at both ends of a point-to-point link, will this link support the stac-lzs compression. For the related command, see link-pr otocol ppp. Example Configure stac-lzs compression on the local r outer . [3Com-Serial0/0/0] ppp compression stac-lzs ppp ipcp dns Sy ntax ppp ipcp dns { primary-[...]

  • Página 247

    PPP and MP Configuration Commands 247 ppp mp Syntax ppp mp undo ppp mp Vie w Interface view Parameter None Description Using the ppp mp command, you can enable the interface encapsulated with PPP to operate in the MP mode. Using the undo ppp mp command, you can enable the interface to operate in the Single PPP mode. By default, the inte rfa ce enca[...]

  • Página 248

    248 C HAPTER 4: L INK L AYER P ROTO COL By default, the value of number is 1 0. Example Set a maximum delay of 100 millis econds for per fragmentation. [3Com-Virtual-Template0] ppp mp lf i delay-per-frag 100 ppp mp max-bind Syntax ppp mp max-bind max-bind-num undo ppp mp max-bind Vie w Virtual template interface view Parameter max-bind-num: Indicat[...]

  • Página 249

    PPP and MP Configuration Commands 249 Vie w Virtual template interface view Parameter size: Minimum packet size for MP outgoi ng packet fragmentating. When the MP outgoing packet is smaller th an this value, fragmentating is avoided. When the MP packet is larger than this va lue, fragment is involved. It is in byte in the range from 128 to 1500. De[...]

  • Página 250

    250 C HAPTER 4: L INK L AYER P ROTO COL ■ Local IP address and the IP address (or IP addr ess pool) assigned to the peer PPP PPP working parameter For the related commands, see ppp mp and ppp mp max-bind. Example Specify the corresponding virtual- template as 1 for the username 3Com, and configure the IP address of the virtual-template as 202.38.[...]

  • Página 251

    PPP and MP Configuration Commands 251 ppp pap local-user Synt ax ppp pap local-user user name password { simple | cipher } passwor d undo ppp pap local-user Vie w Interface view Parameter username: Username sent. password: Passwor d sent. simple: Password in plain text. cipher: Password in encrypted text. Description Using the ppp pap local-user co[...]

  • Página 252

    252 C HAPTER 4: L INK L AYER P ROTO COL Parameter seconds: T ime interval fo r the interface to send keepalive packet in second. The value ranges from 0 to 327 67 an d defaults to 10. Description Using the ppp timer hold command, you ca n set the timer to send keepalive packet, while using the undo ppp timer hold command, you can restore the defaul[...]

  • Página 253

    PPPoE Server Configuration Commands 253 Example Set the PPP negotiation timeout to 5 seconds. [3Com-Serial1/0/0] ppp timer negotiate 5 PPPoE Server Configuration Commands display pppoe-server session Synt ax display pppoe-server session { all | packet | statisti cs interface interface-type interface-number } Vie w Any view Parameter all: Displays a[...]

  • Página 254

    254 C HAPTER 4: L INK L AYER P ROTO COL <3Com> display pppoe-server sessio n packet SID RemMAC LocMAC InP InO InD OutP OutO OutD 1 0050ba1a02ce 0001af02a40f 42 2980 0 16 343 0 Ta b l e 3 Description of the output pppoe-server bind virtual-templa te Syntax pppoe-server bin d virtual-template numb er undo pppoe-server bind Vie w Interface view [...]

  • Página 255

    PPPoE Server Configuration Commands 255 Vie w System view Parameter number: Maximum number of sessions that can be established at a local MAC address, which ranges fr om 1 to 4069. Description Using the pppoe-server max-sessio ns lo cal-mac command, you can set the maximum number of PPPoE sessions that can b e established at a loca l MAC address. U[...]

  • Página 256

    256 C HAPTER 4: L INK L AYER P ROTO COL Example Display how to set th e maximum nu mber of PPPoE sessions that can be established at a remote MAC address to 50. [3Com] pppoe-server max-sessions r emote-mac 50 pppoe-server max-sessions total Syntax pppoe-server max-session s total numb er undo pppoe-server max-sessions total Vie w System view Parame[...]

  • Página 257

    PPPoE Client Configuration Commands 257 Parameter option: PPPoE Client debuggin g switch type, see the fo llowing table for more details. interface type number: Interface type a nd number , used to enable the debugging switch of the specified interf ace. If no interface is spec ified, the system will enable the debugging switch of all interfaces. T[...]

  • Página 258

    258 C HAPTER 4: L INK L AYER P ROTO COL ID Bundle Dialer Intf Client-MAC Server -MAC State 1 1 1 Eth0 00e0fc0254f3 00049a23b050 PPPUP 2 2 2 Eth0 00e0fc0254f3 00049a23b050 PPPUP For more details of the display in formation, see the following table. Ta b l e 5 Explanation of display pppoe-client session summary Display the statistics of PPPoE session[...]

  • Página 259

    PPPoE Client Configuration Commands 259 no-hostuniq: The call originated from PPPoE Client does not carry the Host-Uniq field. By default, no no-hostuniq paramete r is configured, i.e. PPPoE session works in permanent online mode by default. idle-timeout seconds: Idle time of PPPoE session in seconds, and its value ranges from 1 to 65535. If the pa[...]

  • Página 260

    260 C HAPTER 4: L INK L AYER P ROTO COL Parameter all: Clears all PPPoE sessions. dial-bundle-number numb er: Dialer Bundl e number , its value ranges from 1 to 255. Used to clear the PPPoE sessi on corresponding to Dialer Bundle. Description Using the reset pppoe-client command, you can terminate PPPoE session and re-initiate the connection lat er[...]

  • Página 261

    VLAN Configuration Commands 261 encapsulation isl vid 60 display vlan max-packet-process Synt ax display vlan max-packet-pr o cess vid Vie w Any view Parameter vid: VLAN ID, used to identify a VLAN. Description Using the display vlan max-packet-pro ce ss command, you can view the maximum number of processed packets confi gured on a certain VLAN per[...]

  • Página 262

    262 C HAPTER 4: L INK L AYER P ROTO COL <3Com> display vlan statistics int erface ethernet 0/2/0.1 Packets Discarded : 0 Packets forwarded to IP/ARP module : 0 Packets forwarded by VLAN module: 0 display vlan statistics vid Syntax display vlan statistics vid vid Vie w Any view Parameter vid: VLAN ID, used to identify a VLAN. Description Using[...]

  • Página 263

    VLAN Configuration Commands 263 After setting the maximum number of proc essed packets per second on a certain VLAN, and the received packet number belonging to this VLAN reaches the limitation, the subsequently r eceived packets belonging to the VLAN will be discarded. Thr ough this command, you can perfor m flow cont rol. For the related command,[...]

  • Página 264

    264 C HAPTER 4: L INK L AYER P ROTO COL For the related command, see display vlan statistics vid. Example Clear the statistics with VLAN ID 10. <3Com> reset vlan statistics vid 1 0 vlan-type dot1q Syntax vlan-type dot1q vid vid View Interface view Parameter vid: VLAN ID, used to identify a VLAN, its value ranges fr om 1 to 4094. Description U[...]

  • Página 265

    ISDN Configuration Commands 265 q931 : Enables ISDN Q.931 module debugging. spid : Enables SPID debugging for the BRI inter faces running the NI protocol. interface type number : Interface type and number . Y ou can enable ISDN signaling debugging on an inte rface by specify ing its type an d number . If no interface has be en specified, the system[...]

  • Página 266

    266 C HAPTER 4: L INK L AYER P ROTO COL B2 Analog In 8810 118 380 8810150 2201 ---------------------------------- --------------------------- display isdn call-info Syntax display isdn call-info [ interface type number ] View Any view Parameter interface type number: In terf ace type and numb er . Description Using the display isdn call-info comman[...]

  • Página 267

    ISDN Configuration Commands 267 Disabling an interface will clear all the st atistic data relat e d to the interface and new counting will be start ed. display isdn call-r ecord Syntax display isdn call-recor d [ interface type number ] Vie w Any view Parameter interface type number: Displays only the call histor y of the specified interface. Descr[...]

  • Página 268

    268 C HAPTER 4: L INK L AYER P ROTO COL Description Using the display isdn parameters command , you can view the system parameters at layers 2 a nd 3 of the ISD N protoc o l, su ch as the durations of system timers an d frame size. If only ISDN protocol is specified, the system will display the default system paramete rs of ISDN. For the related co[...]

  • Página 269

    ISDN Configuration Commands 269 Vie w Any view Parameter interface type number: ISDN interface type and number . Description Using the display isdn spid command, you can view the related information of SPID on the BRI interface running the NI protocol. Y ou may execute this command to vie w the SPID type, SPID value and some other information when [...]

  • Página 270

    270 C HAPTER 4: L INK L AYER P ROTO COL isdn bch-local-manage Syntax isdn bch-local-manage undo isdn bch-local-manage View ISDN interface view Parameter None Description Using the isdn bch- local-manage command, you can enable lo cal ISDN B channel management. Using the undo isdn bch-local-manage command, you can disable the setting. It is very imp[...]

  • Página 271

    ISDN Configuration Commands 271 Example Configure B channel selection method on the interface Bri2 /0/0 to descen ding ord er . [3Com-Bri2/0/0] isdn bch-select-way des cending isdn caller -number Syntax isdn caller -number caller -number undo isdn caller -number Vie w ISDN interface view Parameter caller -number: Caller number that an incoming ISDN[...]

  • Página 272

    272 C HAPTER 4: L INK L AYER P ROTO COL This command mainly applies on BRI interfaces. If a calling party has configured this command on its BRI interface, the ca ll party will be able to see the calling number by viewing the call history information. Example Configure the message fr om a calling party to a called party on interface Bri0/0/0 to car[...]

  • Página 273

    ISDN Configuration Commands 273 undo isdn crlength Vie w ISDN interface view Parameter call-refer ence-length : ISDN call refer ence length, which can be one or two bytes. Description Using the isdn crlength command, you can set length of the call refer ence used when a call is placed on an ISDN interface. Using the undo isdn crlength command, you [...]

  • Página 274

    274 C HAPTER 4: L INK L AYER P ROTO COL Description Using the isdn ignor e connect-ack comm and, you can configure the r outer to switch the ISDN protocol sta te to ACTIVE to start the d ata and voice service communications after sending a CO NNECT message without having to wait for a CONNECT ACK message. Using the undo isdn ignore connect-ack comm[...]

  • Página 275

    ISDN Configuration Commands 275 In the event that the router is communica ting with an ISDN exchange, it s settin gs must be the same as those on the exchange. Y ou are not allowed to confi gur e this command on an ISDN interface if ther e is still a call on it. This command can take ef fect on ly if it is configured when ther e is no call on the i[...]

  • Página 276

    276 C HAPTER 4: L INK L AYER P ROTO COL [3Com-Bri0/0/0] isdn ignore llc isdn ignor e sending-complete Syntax isdn ignore sending-complete [ incoming | out going ] undo isdn ignore sending-complete [ incoming | outg oing ] View ISDN interface view Parameter incoming: Ignor es the Se nding Complete Information Eleme nt in SETUP messages with respect [...]

  • Página 277

    ISDN Configuration Commands 277 [3Com-Bri0/0/0] isdn ignore sending-com plete outgoing isdn L3-timer Syntax isdn L3-timer timer -name time-interval undo isdn L3-timer { timer -name | all } Vie w ISDN interface view Parameter timer -name: Name of a L3 timer o f the ISDN pr otocol. time-interval: T imer duration, which can take on one of the values l[...]

  • Página 278

    278 C HAPTER 4: L INK L AYER P ROTO COL View ISDN interface view Parameter number -property: T ype and number scheme o f ISDN numbers. The arg ument takes on a hex value in the range of 0 t o FF . When it is expressed in 8 bits, bits 1 through 4 repr esent the code scheme, bits 5 through 7 r epresent the code type, and bit 8 is reserved. The follow[...]

  • Página 279

    ISDN Configuration Commands 279 The undefined bits in all the protocols are reser ved for other pu rposes. calling: Code scheme of the calling number . called: Code scheme of the called number . Description Using the isdn number -pr oper ty command, you can set type and code scheme of ISDN calling numbers or called numbers. Using the undo isdn numb[...]

  • Página 280

    280 C HAPTER 4: L INK L AYER P ROTO COL View ISDN interface view Parameter digits: The number of the digits , which is sent e ach time in overlap-send ing mode and is in the range of 1 to 15.By default, digits are 10. Description Using the isdn overlap-sending command, you can set the system to send the called number information in the overlap mode[...]

  • Página 281

    ISDN Configuration Commands 281 Description Using the isdn pri-slipwnd-size command, you can set the slide window size on a PRI interface. Usi ng th e isdn pr i- slip wnd - size def a ult co mma nd , yo u ca n restor e the default slide window size on the PR I interface. Example Configure the slide window size on the interface e1 0/0/0 to 10. [3Com[...]

  • Página 282

    282 C HAPTER 4: L INK L AYER P ROTO COL Example Apply ISDN ETSI on the interface Bri0/0/0 . [3Com-Bri0/0/0] isdn protocol-type etsi isdn send-re start Syntax isdn send -restart undo isdn send -restart View System view Parameter None Description Using the isdn send- restart command, you can set restart mark in a distributed system (AR 46 series rout[...]

  • Página 283

    ISDN Configuration Commands 283 Description Using the isdn spid auto_trigger command , yo u can enable SPID auto-negotiation once on the BRI interface running the NI protocol. On a BRI interface compliant with the No rth American ISDN pr otocol, th e router can place a call only af t er SP I D negotiation or initialization. SPID information can be [...]

  • Página 284

    284 C HAPTER 4: L INK L AYER P ROTO COL Example Ignore SPID negotiation and initialization on the interf ac e bri0/0/0 , i.e., adopting the NIT mode. [3Com-bri0/0/0] isdn spid nit isdn spid timer Syntax isdn spid timer seconds undo isdn spid timer View ISDN BRI interface view Parameter seconds: Duration of the SPID timer , which is in the range of [...]

  • Página 285

    ISDN Configuration Commands 285 Parameter audio: Supports audio service. data: Supports data service. speech: Supports vo ice service. Description Using the isdn spid service command, you can configure the service types that must be supported in SPI negotiation on the BRI interface ad opting NI protocol. Using the undo isdn spid service command, yo[...]

  • Página 286

    286 C HAPTER 4: L INK L AYER P ROTO COL On a BRI in terface com pliant with the ISDN pr otocol in North America, calls can be placed only after the SPID negotiation or initializatio n is finish ed. The timer TSPID is started when the terminal originate s a negotiation or initialization request by sending the INFORMA TION message. If the terminal do[...]

  • Página 287

    ISDN Configuration Commands 287 undo isdn spid2 Vie w ISDN BRI interface view Parameter spid: String comprising 1 to 20 digits. Description Using the isdn spid2 command, you can configure SPID information for the B1 channel on an NI-compliant BRI interface. Using the undo isdn spid2 command, you can remove the SPID information of the B1 channel on [...]

  • Página 288

    288 C HAPTER 4: L INK L AYER P ROTO COL Description Using the isdn statistics command, you can have the system make statistics on the information receiv ed and transmitted at an ISDN interface. By default, no statistics is made on the information transmitted and received at interface s. Y ou can input the isdn statistics start command in the view o[...]

  • Página 289

    HDLC Configuration Commands 289 link-pr o tocol slip Synt ax link-protocol slip Vie w Interface view Parameter None Description Using the link-protocol slip command, you can set the link layer protocol of the interface as SLIP . By default, the link-layer protocol for interface is PPP . P2P link can use simpler link layer protocol SLIP(Serial Line [...]

  • Página 290

    290 C HAPTER 4: L INK L AYER P ROTO COL Description Using the link-protocol hdlc command , you can conf igure the interface encapsulation as HDLC. HDLC is a link la yer protocol and can bear network layer protocols, such as IP and IPX. By default, the interface is encapsulat ed with PPP . For the related commands, see ti mer hold and display interf[...]

  • Página 291

    Frame Relay Configuration Comman ds 291 Frame Relay Configuration Commands debugging fr Syntax debugging fr { all | inarp | compress | conges tion | de | event | fragment | lmi | mfr control | packet | transmit-rate } [ interf ace interface-type inte rface-number [ dlci dlci-num be r ] ] undo debugging fr { all | inarp | compress | congestion | de [...]

  • Página 292

    292 C HAPTER 4: L INK L AYER P ROTO COL dlci dlci-number: DLCI number of virtu al circuit, ranging from 16 to 1007. Description Using the debugging fr command, you ca n enable frame relay information debugging. Using the undo debugging fr co mmand, you can disable frame relay information debugging. By default, frame relay info rmation debugging is [...]

  • Página 293

    Frame Relay Configuration Comman ds 293 display fr compress Syntax display fr compr ess [ interface interface-type interface-number ] Vie w Any view . Parameter interface-type: Interface typ e. interface-number: Int erface number , in 3-dimensio n form: slot number/card number/interface nu mb er . Description Using the display fr compress command, [...]

  • Página 294

    294 C HAPTER 4: L INK L AYER P ROTO COL For the related command, see fr dlci-switch. Example View the information of the configured FR switching. <3Com> display fr dlci-switch Status Interface(Dlci) < ---- -> Interface(Dlci) Inactive Serial0/1/1:10(100) Serial1/1/0:10(100) T able 12 Description of the output information of command displ[...]

  • Página 295

    Frame Relay Configuration Comman ds 295 display fr interface Syntax display fr inter face interface-type interface-num Vie w Any view Parameter interface-type interface-num: Used to sp ecify the interface to be viewed. The specified interface can be a main inter face or a sub-interface. The whole information will be displayed for the command withou[...]

  • Página 296

    296 C HAPTER 4: L INK L AYER P ROTO COL The LMI protocol is used to maintain t h e current frame relay link, including the status enquiry packet and status packe t . The displayed information hel ps yo u to diagnose the faults. For the related command, see fr interface-type. Example Display the statistics of LMI p rotocol frame. <3Com> displa[...]

  • Página 297

    Frame Relay Configuration Comman ds 297 Example Display Frame Relay address mapping table. <3Com> display fr map-info Map Statistics for interface Serial1/0/ 2 (DTE) DLCI = 100, IP INARP 100.100.1.1, Seria l1/0/2 create time = 2002/10/21 14:48:44, stat us = ACTIVE encapsulation = ietf, vlink = 14, broad cast DLCI = 200, IP INARP 100.100.1.1, [...]

  • Página 298

    298 C HAPTER 4: L INK L AYER P ROTO COL in BECN = 0, in FECN = 0 in packets = 0, in bytes = 0 out packets = 0, out bytes = 0 DLCI = 102, USAGE = LOCAL (0010), INTERFACE = Serial1/0/0.1 create time = 2000/04/01 23:56:14, status = active in BECN = 0, in FECN = 0 in packets = 0, in bytes = 0 out packets = 0, out bytes = 0 The information listed above [...]

  • Página 299

    Frame Relay Configuration Comman ds 299 The above information d isplays Frame Relay statistics about receiving and sending packets. For instance, it is known from the above information that the Frame Relay interface type of Serial1/0/0 is DTE. Received packets are 84. Received bytes are 1333. Sent packets are 92. Sent bytes are 1217. Discar ded pac[...]

  • Página 300

    300 C HAPTER 4: L INK L AYER P ROTO COL Parameter interface-type: Interface type. interface-number: Interface number , in 3-dimension form (slot number/card number/interface number). verbose: Displa ys detailed statistics information, includin g the number of controlling packets sent and r eceived. Description Using the display mfr command, you can[...]

  • Página 301

    Frame Relay Configuration Comman ds 301 Add_link: sent packets = 112, r cv'd packets = 2, Add_link_ack: sent packets = 2, rcv'd packets = 2, Add_link_rej: sent packets = 0, rcv'd packets = 0, Remove_link: sent packets = 0, rcv'd packets = 0, Remove_link_ack: sent packets = 0, rcv'd packets = 0, Hello: sent packets = 2180, r[...]

  • Página 302

    302 C HAPTER 4: L INK L AYER P ROTO COL fr compression frf9 Syntax fr compression frf9 undo fr compression View Frame relay interface view Parameter None Description Using the fr compression frf9 command, you can enable frame relay compr ession function. Using the undo fr compression command, you can disable frame relay compression function. By def[...]

  • Página 303

    Frame Relay Configuration Comman ds 303 For the related command, see fr map. Example Enable frame relay compr ession on the point-to-point frame relay sub-interface Serial4/1/3.1. [3Com] interface serial 4/1/3.1 p2p [3Com-Serial4/1/3.1] fr compression frf 9 fr compression iphc Syntax fr compression iphc undo fr compression iphc Vie w Frame Relay in[...]

  • Página 304

    304 C HAPTER 4: L INK L AYER P ROTO COL Description Using the fr dlci command, you can configur e the virtual cir cuit for Frame Relay interface. Using the u ndo fr dlci comm and, you can cancel the configuration. When the Frame Relay interface type is DCE or NNI, it is ne cessary to manually configure virtual circuit for interface (eithe r main in[...]

  • Página 305

    Frame Relay Configuration Comman ds 305 For the related command, see fr switching. Example Configure a static r oute that allows packets on the link with DLCI of 100 on Seiral1/0/0 to be forwarded via the link wi th DLCI of 200 on interface Serial2/0/0. [3Com-Serial1/0/0] fr dlci-switch 100 i nterface serial2/0/0 dlci 200 Configure a static r oute [...]

  • Página 306

    306 C HAPTER 4: L INK L AYER P ROTO COL Example Enable the inverse address resolution at all PVCs of the Fram e Relay interface Serial1/0/0. [3Com-Serial1/0/0] fr inarp fr interface-type Sy ntax fr interface-type { dce | dte | nni } undo fr inter face-type Vie w Interface view Parameter dte, dce and nni: Three types of Frame Relay interfaces. Descr[...]

  • Página 307

    Frame Relay Configuration Comman ds 307 undo fr iphc { n onstandard | rtp-connecti ons number1 | tcp-connections number2 | tcp-include } Vie w Frame r elay interface view and MFR interfa ce view Parameter nonstandard: Nonstandar d comp atible comp ression format. rtp-connections number1: The number of RTP compression connections, ranging from 3 to [...]

  • Página 308

    308 C HAPTER 4: L INK L AYER P ROTO COL The DTE sends a Status-Enquiry pack et at regular interval set by T391 to the DCE. There ar e two types of Status-Enquiry packets: link integrity authentication packet and link status enquiry packet. The N391 parameter defines the ratio of sending the two types of packets, t hat is, link in tegrity authentica[...]

  • Página 309

    Frame Relay Configuration Comman ds 309 Example Set the operation of frame re lay interface Serial1/0/0 as DCE mode and sets N392 to 5 and N393 t o 6. [3Com] interface Serial1/0/0 [3Com-Serial1/0/0] link-protocol fr [3Com-Serial1/0/0] fr interface-type dc e [3Com-Serial1/0/0] fr lmi n392dce 5 [3Com-Serial1/0/0] fr lmi n393dce 6 fr lmi n392dte Synt [...]

  • Página 310

    310 C HAPTER 4: L INK L AYER P ROTO COL [3Com-Serial1/0/0] fr interface-ty pe dte [3Com-Serial1/0/0] fr lmi n392dte 5 [3Com-Serial1/0/0] fr lmi n393dte 6 fr lmi n393dce Syntax fr lmi n393dce n393-value undo fr lmi n393dce Vie w Interface view Parameter Event counter . The ra nge of the value is 1~10. Description Using the fr lmi n 393dce command, y[...]

  • Página 311

    Frame Relay Configuration Comman ds 311 undo fr lmi n393d te Vie w Interface view Parameter Event counter . The range of the value is 1~10. Description Using the fr lmi n393dte command, you can set N393 parameter at the DTE side. Using the undo fr lmi n393dte command, you can restore the default configuration. By default, the parameter value is 4. [...]

  • Página 312

    312 C HAPTER 4: L INK L AYER P ROTO COL Parameter t392-value: V alue of the polling timer . Th e range of the value is 5 to 30, in seconds. Description Using the fr lmi t 392dce command, you can set T392 parameter at the DCE side. Using the undo fr lmi t392dce command, you can restore the default configuratio n. By default, the para meter value is [...]

  • Página 313

    Frame Relay Configuration Comman ds 313 The NE16E/08E/05 routers usually support three LMI pr otocols, namely , Q.93 3 Appendix A, ANSI T1.617 Appendix D and Nonstandard compatible LMI protocol. For the related command, see display interface. Example Set the FR LIMI type of Serial1/0/0 to nonstandard. [3Com-Serial1/0/0] fr lmi type nonstand ard fr [...]

  • Página 314

    314 C HAPTER 4: L INK L AYER P ROTO COL Example The peer router IP address connected to the local interface serial1/0/0 is 202.38.163.252. There is a virtual cir cui t with DLCI 50 on local Serial1/0/0 connected to this router . Configure th e static addr ess mapping as follows : [3Com-Serial1/0/0] fr map ip 202.3 8.163.252 50 fr switch Syntax fr s[...]

  • Página 315

    Frame Relay Configuration Comman ds 315 [3Com] fr switching [3Com] fr switch pvc1 interface serial 0/0/0 dlci 100 interface serial 1/0/0 dlci 200 [3Com-fr-switching-pvc1] fr switching Syntax fr switch ing undo fr switching Vie w System view Parameter None Description Using the fr switching command, you can en able frame relay PVC switching. Using t[...]

  • Página 316

    316 C HAPTER 4: L INK L AYER P ROTO COL Description Using the interface mfr command, you ca n cr eate a multilink frame relay bundle interface or s ub-interface a nd enter th e corresponding interface view . Using the undo interface mfr command, you can delete a specified multilink frame relay bundle interface or sub-interface. By default, there is[...]

  • Página 317

    Frame Relay Configuration Comman ds 317 Example Configure Frame Relay encapsulation on interface Serial1/0/0 and select the nonstandard encapsulation compatible format. [3Com-Serial1/0/0] link-protocol fr non standard link-protocol fr mfr Syntax link-protocol fr mfr interface-number Vie w Interface view Parameter interface-number: Int erface number[...]

  • Página 318

    318 C HAPTER 4: L INK L AYER P ROTO COL Parameter name: Bundle identification, in the form of ch aracter string, with a length ranging from 1 to 49. Description Using the mfr bundle-name command , you can set frame relay bundle identification (BID). Using the undo m fr bundle-name command, you can restore the default value. By default, BID is in th[...]

  • Página 319

    Frame Relay Configuration Comman ds 319 [3Com] interface mfr 4/0/123 [3Com-MFR4/0/123] mfr fragment mfr fragment-size Syntax mfr fragment-size bytes undo mfr fragment-size Vie w Frame r elay interface view and MFR interfa ce view Parameter bytes: Fragment size, in bytes, ranging from 60 to 1500. Description Using the mfr fragment-size command, you [...]

  • Página 320

    320 C HAPTER 4: L INK L AYER P ROTO COL Description Using the mfr link- name command, you can set the frame relay bundle lin k identification (LID). Using the undo mf r link-name co mmand, you can restore the default setting. By default, LID is the name of t he corresponding physical interface. The peer equipment identifies a fra me relay bundle li[...]

  • Página 321

    Frame Relay Configuration Comman ds 321 Example Set the bundle link Serial4/1/2 to resend hello message for 3 times at most. [3Com-Serial4/1/2] mfr retry 3 mfr timer ack Syntax mfr timer ack seconds undo mfr timer ack Vie w Frame r elay interface view Parameter seconds: T i me of waiting for hello ac knowledgment message before resending hello mess[...]

  • Página 322

    322 C HAPTER 4: L INK L AYER P ROTO COL Description Using th e mfr timer hello command, you can set the interval for a fr ame relay bundle link to send hello message. Using the undo mfr timer hello command, you can restor e the default setting. Both ends of a frame relay bundle link peri odically send hello me ssage to the peer end. After the peer [...]

  • Página 323

    Frame Relay Configuration Comman ds 323 undo shutdown Vie w Frame r elay switching view Description Using the shutdown co mmand, you can di sable any current switch ing PVCs. Using the undo shutdown command, you can enab le any cu rrent switching PVCs. By defaul t, switch ing PVC is enabled. Example Disable all the curr ent switching PVCs. [3Com] f[...]

  • Página 324

    324 C HAPTER 4: L INK L AYER P ROTO COL Vie w Interface view Parameter seconds: value of polling timer , which ranges from 0 to 32767 in seconds. 0 indicates tha t th e LMI pr otocol is disabled. Description Using the ti me r ho ld c om man d, you can configur e the polling timer at th e DTE side. Using the undo timer hold command, you can restore [...]

  • Página 325

    ATM Configuration Commands 325 Example Apply an A TM-Class named "mai n" to the interface Atm1/0/0. [3Com-Atm1/0/0] atm-class main atm class Synt ax atm class atm-class-name undo atm class atm-class-name Vie w System view Parameter atm-class-name: Na me of A TM-Class. Description Using the atm class command, you can create an A TM-Class a[...]

  • Página 326

    326 C HAPTER 4: L INK L AYER P ROTO COL Description Using the clock command, you can spec ify A TM interface to use inter nal transmission cloc k signal. Using the undo clock co mma nd, you can resto r e the usage of network clock signal. By default, A TM interface uses the network clock signal. Th is clock signal is usually provided by the device [...]

  • Página 327

    ATM Configuration Commands 327 debugging atm error Syntax debugging atm er ror [ interface { interfac e-name | interface-type interface-num } [ pvc { pvc-name | vpi/ vci } ] ] undo debugging atm error [ interface { interface-name | interface-type interface-num } [ pvc { pvc-name | vpi/vci } ] ] Vie w User view Parameter interface-n ame: A TM interf[...]

  • Página 328

    328 C HAPTER 4: L INK L AYER P ROTO COL debugging atm event Sy ntax debugging atm event [ interfa ce { interface-name | int erf ace-type interface-num } [ pvc { pvc-name | vpi/vci } ] ] undo debugging atm event [ interface { inter face-name | interface-type interface-num } [ pvc { pvc-name |[ vpi/vci ] | vpi/vci } ] ] Vie w User view Parameter inte[...]

  • Página 329

    ATM Configuration Commands 329 debugging atm packet Synt ax debugging atm packet [ interface { interfac e- name | interface-ty pe interf ace-num } [ pvc { pvc-name [ vpi/vci ] | vpi/vci } ] ] undo debugging atm packet [ interface { interface-n ame | interface-type interface-num } [ pvc { pvc-name [ v pi/vci ] | vpi/vci } ] ] Vie w User view Paramet[...]

  • Página 330

    330 C HAPTER 4: L INK L AYER P ROTO COL Since the use of this c ommand can lead to a mass of output info rmation during each packet receiving and transmitting , this may cause that users cannot c ontrol network devices through their terminals, and thus g reatly affect the ef ficiency of packet trans mitting and receiving. Example The example is a c[...]

  • Página 331

    ATM Configuration Commands 331 ATM VC-CLASS: main Service ubr 8000 encapsulation aal5snap The explanation on the above messages is: A TM-Class name is " main", and the follow ing contents are set in the A TM-Class: the service type is unspecif ied bit rate and the ou tput peak rate of A TM cells is 8000 and the AAL encapsulation type is S[...]

  • Página 332

    332 C HAPTER 4: L INK L AYER P ROTO COL input pkts: 0, input bytes: 0, inp ut pkt errors: 0 output pkts: 69, output bytes: 221 8, output pkt errors: 8 Sub-interface Information: PVCs: 4, MAPs: 4 input pkts: 0, input bytes: 0, inp ut pkt errors: 0 output pkts: 69, output bytes: 221 8, output pkt errors: 8 The explanation o n the above message s is: [...]

  • Página 333

    ATM Configuration Commands 333 Example Display the information about the upper la yer protocol mapping table of all A TM interfaces. <3Com> display atm map-info The following information is displayed: Atm1/0/0, PVC 1/32, PPP, Virtual-Templa te10, UP Atm1/0/0, PVC 1/33, IP & Mask, State UP 100.11.1.1, mask 255.255.0.0, vlink 1 Atm1/0/0, PV[...]

  • Página 334

    334 C HAPTER 4: L INK L AYER P ROTO COL vpi/vci: VPI/VCI pair , optio nal. For more details, please re fer to “Parameter description” in the pvc command. Description Using the display atm pvc-group command, you can view the information about PVC-Group. The interface-name parameter is actu ally composed of interface-ty pe and interface-num. The [...]

  • Página 335

    ATM Configuration Commands 335 interface-num: Interface nu mber , which can determin e an A TM interface to gether with interface-type. pvc-name: PVC name, optional parameter . If no PVC name and no VPI/VCI pair are specified, the information about all PVCs within the specified A TM interface will be displayed by default. vpi/vci: VPI/VCI pair , op[...]

  • Página 336

    336 C HAPTER 4: L INK L AYER P ROTO COL Parameter aal5-encap: AAL5 encapsulation type, its possible values are as follows: ■ aal5snap: LLC/SNAP (Logica l Link Control / Subnet Access Protocol) encapsulation type ■ aal5mux: MUX encapsulation type ■ aal5nlpid: RFC1490 encapsu lation type Description Using the encapsulation command, you can spec[...]

  • Página 337

    ATM Configuration Commands 337 subinterface number: A TM sub-int erf ace number . Fo r detailed nu mbering rules, please refer to “Interface Config uration” part of this manual.. multi-point | point-to-point: Su b-interface connection type. Description Using the interface atm comm and, you can create an A TM sub-in terface or enter an A TM inte[...]

  • Página 338

    338 C HAPTER 4: L INK L AYER P ROTO COL max: Maximum preference of IP packets carried by the PVC. default: Packets carried by th e PVC wit h def ault prefer ence . Description Using the ip- pr ecedence co mma nd, you can set the pr ecedence of IP pack et s carried over PVC. Using the undo ip-pre cedence command, yo u can delete the precedence confi[...]

  • Página 339

    ATM Configuration Commands 339 Example The following example shows a complete process of IPoEoA configuration. Establish a VE interface Virtual-Ether net2/0/0. [3Com] interface virtual-ethernet 2 Configure IP addr ess 10.1.1 .1/16 for the VE interface. [3Com-Virtual-Ethernet2/0/0] ip address 10.1.1.1 255.255.0.0 [3Com-Virtual-Ethernet2/0/0] quit Es[...]

  • Página 340

    340 C HAPTER 4: L INK L AYER P ROTO COL Description Using the map ip command, you can cre ate IPoA mapping for PVC. Using th e undo map ip command, you can delete the mapping. By default, no mapping is conf igured. If a mapping is set, pseudobroadcast is not supported by default. When InARP is used, it must be aal5snap encapsulation type. InARP is [...]

  • Página 341

    ATM Configuration Commands 341 [3Com] interface virtual-template 10 [3Com-Virtual-Template10] ip address 20 2.38.160.1 255.255.255.0 [3Com-Virtual-Template10] quit And then PVC 1/101 at A TM interface Atm1 /0/0 is created. [3Com] interface atm 1/0/0 [3Com-Atm1/0/0] pvc 1/101 The newly created VT interface is used to create the PPPoA mapping. [3Com-[...]

  • Página 342

    342 C HAPTER 4: L INK L AYER P ROTO COL undo oam frequency Vie w PVC view , A TM Cla ss view . Parameter frequency: Time interval to send OAM F5 Loopb ack cells in seconds, and the range of the value is 1 t o 600. up-count: The number of OAM F5 Loo pback cells continuou sly an d correctly received befor e PVC status chang es to UP . The ran ge of t[...]

  • Página 343

    ATM Configuration Commands 343 Parameter pvc-name: PVC name, whose maximum length is 16 characters. It shall be unique at A TM interface (case i nsensi tive), a nd ca n no t b e le gal VPI/ VC I pair . For example, "1/20" cannot be a PVC name. vpi/vci: vpi is A TM Virtual Path Identifier (VPI) in the range 0 to 255; vci is A TM Virtual Ch[...]

  • Página 344

    344 C HAPTER 4: L INK L AYER P ROTO COL pvc-group Synt ax pvc-group { pvc-name [ vpi/vci ] | vpi/vci } undo pvc-group { pvc-name [ vpi/vci ] | vpi/vci } Vie w A TM interface view Parameter pvc-name: PVC name, whose maximum len gth is 16 characters. It is case insensitive and sho uld be unique at A T M interface. And it sh ouldn't be legal VPI/[...]

  • Página 345

    ATM Configuration Commands 345 Parameter max-number: Maximum n umber of suppo rted VCs. V alue range of this para meter depends on interface type, as shown in the following table: T able 16 The maximum number of VCs a llowed for each type of A TM interface Description Using the pvc max-number command, you can set the maximum number of A TM interfac[...]

  • Página 346

    346 C HAPTER 4: L INK L AYER P ROTO COL Parameter vpi: Virtual path identifier of A TM network, its value ranges from 0 to 255. peak-ra te: Normal flow to be held. V a lue range of this parameter depends on interface type, as shown in the following table: T able 17 V alue ranges of pea k-rate Description Using the pvp limit command, you can set the[...]

  • Página 347

    ATM Configuration Commands 347 cdvt_value: cell delay variati on tolerance, in ìs, and the range of the value is 0 to 10000ìs. Description Using the service cbr command, you can sp ecify PVC service typ e as constant bit rate (CBR). By defaul t, the service ty pe is UBR after cr eating a PVC. When the value of cdvt is not specified, it is 500ìs [...]

  • Página 348

    348 C HAPTER 4: L INK L AYER P ROTO COL Description Using the servi ce ubr comm and, you can specify the service type of PVC as Unspecified Bit Rate (UBR) and spec ify the related rate parameters. By default, the serv ice type is UBR after creating a PVC. This command as well as the service vb r -nrt, service vbr -rt and service cbr commands can be[...]

  • Página 349

    ATM Configuration Commands 349 Example Display how to create a PVC named "3Com" with VPI/VCI as 1/101. [3Com-Atm1/0/0] pvc 3Com 1/101 Display how to specify the service type of the P VC as VBR-NR T and set the peak bit rate of A TM cell to 100,000kbit/s, sustainable bit rate to 5 0,000Kbps, the maximum burst size to 320 cells. [3Com-atm-p[...]

  • Página 350

    350 C HAPTER 4: L INK L AYER P ROTO COL [3Com-atm-pvc-Atm1/0/0-1/101-3Com] service vbr-rt 100000 50000 320 LAPB and X.25 Configuration Commands channel Syntax channel { interface serial inte rface-number | xot ip-address } undo channel { interface serial interface-num ber | xot ip-address } Vie w X.25 hunt group view Parameter interface-number: Int[...]

  • Página 351

    LAPB and X.25 Configuration Commands 351 event: Event debugging switch of P AD. packet: Packet debugging switch of P AD. Description Using the debuggin g pad command, you can enable the debugging sw itch of PA D . Using the undo debugging pad command, you can disable th e debugging switch of P AD. Example None debugging x25 xot Syntax debugging x25[...]

  • Página 352

    352 C HAPTER 4: L INK L AYER P ROTO COL Parameter number: Serial interface numb er . Description Using the display interface command, yo u can view the LAPB or X.25 interface information. After configuring PVC of X. 25, users can use t he command to obtain the status information on one interface. Example Encapsulate Serial0/0/0 with LAPB protoc ol [...]

  • Página 353

    LAPB and X.25 Configuration Commands 353 The above information will be displayed after ent ering the command series , in which the contents in bold face are those re lated to X.25 and LAPB protocols. The main parameters are described as follows: ■ Link-protocol is X.25 DCE Ietf: Curr ent en capsulation protocol of this interface is X.25 protocol [...]

  • Página 354

    354 C HAPTER 4: L INK L AYER P ROTO COL ■ max-frame 12056: The maximum len gth of frame sent by the interface LAPB is 12056 bits. ■ r etry 10: Maximum re-sending times of information frame of this interface LAPB is 10. ■ timer: Delay value of timers of this interface LAPB, in milliseconds. The unit of T3 is second. ■ state: Current status o[...]

  • Página 355

    LAPB and X.25 Configuration Commands 355 The above information indicate s: the interface Serial0/0/0 is set without alias, and the interface Serial1/ 0/0 is set with 3 aliases, which are $20112405$ (in strict match mode), $2011 2405 (in left alignment match mode) and 2 0112405$ (in right alignment match mode). display x25 hunt-group-info Synt ax di[...]

  • Página 356

    356 C HAPTER 4: L INK L AYER P ROTO COL display x25 map Sy ntax display x25 map Vie w Any view Parameter None Description Using the display x25 map command, you can view the X.25 address mapping table. The X.25 addr ess mapping can be c onfig ured in two methods: special configuration (through the x25 map command) or implied configuration (through [...]

  • Página 357

    LAPB and X.25 Configuration Commands 357 P AD is a kind of application s imilar to telnet. It can establish the conn ection between two end s through X121 address, and then, to carry out configuration operations. For the related commands, see display x25 vc and x25 xot. Example Display X.25 P AD connection information. [3Com] display x25 pad UI-IND[...]

  • Página 358

    358 C HAPTER 4: L INK L AYER P ROTO COL View Any view Parameter None Description The command display x25 switch-table s vc is used to display X.25 switching routing table. For the related command, see x25 switch svc. Example Display X.25 switching routing table. [3Com] display x25 switch-table sv c static Number Destination Substitute- Sub stitute-[...]

  • Página 359

    LAPB and X.25 Configuration Commands 359 Parameter lci: Logical channel identifier , its value ranges from 1 to 4095. If the logical channel identifier is not specified, all virtual cir cuits will be displayed. Description Using the display x25 vc co mmand, you can view the in f ormation about the X.25 virtual circuit. SVC (Switched Virtual Circuit[...]

  • Página 360

    360 C HAPTER 4: L INK L AYER P ROTO COL Local PS: 0 Local PR: 0 Remo te PS: 0 Remote PR: 0 Local Busy: FALSE Reset times : 0 Input/Output: DATA 0/0 INTERRUPT 0/0 RR 0/0 RNR 0/0 REJ 0/0 Bytes 0/0 Snd Queue(Current/Max): 1/200 Interface: Serial2/0 PVC 1 State: D3 PVC <--> XOT Serial2/0/0-1.1.1 .1 PVC 1 connected Window size: input 2 output 2 Pa[...]

  • Página 361

    LAPB and X.25 Configuration Commands 361 Example Display XOT link information. [3Com] display x25 xot SVC 1024: ( ESTAB ) tcp peer ip: 10.1.1.1, peer port: 19 98 tcp local ip: 10.1.1.2, local port: 1024 socket keepalive period: 5, keepaliv e tries: 3 come interface name: Serial0/0/0-10. 1.1.1-1024 go interface name: Serial0/0/0: The above informat [...]

  • Página 362

    362 C HAPTER 4: L INK L AYER P ROTO COL Vie w Interface view Parameter 128: Using modulus 128 numbering view . 8: Using modulus 8 numbering view . Description Using the lapb modulo command, you can specify the LAPB frame numbering view (also called modulo). Using the undo lapb modulo command, you can restor e the default value. By default, the LAPB[...]

  • Página 363

    LAPB and X.25 Configuration Commands 363 Example Set the LAPB parameter N2 on Serial0/0/0 to 20. [3Com-Serial0/0/0] lapb retry 20 lapb timer Syntax lapb timer { t1 t1-value | t2 t1-value | t3 t3-value } undo lapb timer { t1 | t2 | t3 } Vie w Interface view Parameter ■ t1-value: The value of timer T1 in ms, its value ranges from 1 to 64000ms.The d[...]

  • Página 364

    364 C HAPTER 4: L INK L AYER P ROTO COL Vie w Interface view Parameter k-value: Maximum number o f I frame of unacknowledged se quence number that DTE or DCE may send, if the modulus is 8, the value of the window parameter K ranges 1 to 7. If the modulus is 128, the value of the window parameter K ranges 1 to 127. By default, the window parameter K[...]

  • Página 365

    LAPB and X.25 Configuration Commands 365 Example Config ur e LAPB as t he link layer pr otocol of the interface Serial 0/0/0, and enable it to work in DCE mode. [3Com-Serial0/0/0] link-protocol lapb d ce link-pr o tocol x25 Syntax link-protocol x25 [ dte | dce ] [ ietf | nonstandard ] Vie w Interface view Parameter ■ dte: Indicates that the inter[...]

  • Página 366

    366 C HAPTER 4: L INK L AYER P ROTO COL Vie w User view Parameter x121-address: x121 destination address. Description Using the pad command, you can establish a P AD connection with the remote site. P AD is a kind of application similar to telnet. It can establish the connection between two ends through X121 address, and then, to carry out configur[...]

  • Página 367

    LAPB and X.25 Configuration Commands 367 x25 alias-policy Syntax x25 alias-policy match-type alias-string undo x25 alias-policy match-type alias-string Vie w Interface view Parameter match-type: Match type of t he alias. There are 9 optional match types: ■ free: Free match ■ free-ext: Extended fr ee match ■ left: Left alignment match ■ left[...]

  • Página 368

    368 C HAPTER 4: L INK L AYER P ROTO COL [3Com-Serial0/0/0] link-protocol x 25 [3Com-Serial0/0/0] x25 x121-addres s 20112451 [3Com-Serial0/0/0] x25 alias-polic y right 20112451$ [3Com-Serial0/0/0] x25 alias-polic y left $20112451 Wi th th e above configurations, a call whose destination address is 20112451 can be accepted as long as it can reach the[...]

  • Página 369

    LAPB and X.25 Configuration Commands 369 Description Using the x25 call-facility command, y ou can set user options for an X.25 interface. After an option is set, all X.25 calls from the X.25 interface will carry the relevant information field in call packet. Using the undo x25 call -facility command, you can delete the set option. By defaul t, no [...]

  • Página 370

    370 C HAPTER 4: L INK L AYER P ROTO COL Example Define the suppress pr ocessing of incomi ng access on the interface Serial0/0/0. [3Com-Serial0/0/0] x25 cug-service incoming-access x25 default-protocol Sy ntax x25 default-protocol protocol-type undo x25 default-protocol Vie w Interface view Parameter protocol-type: Pr otocol type, may be IP . Descr[...]

  • Página 371

    LAPB and X.25 Configuration Commands 371 ■ round-r obin: Select call channel using cyclic selection policy . ■ vc-number: Select call channel using the policy of computing available logical channel. Description Using the x25 hunt-group command, you can create or enter an X.25 hunt group. Using the undo x25 hunt-group command, you can delete the[...]

  • Página 372

    372 C HAPTER 4: L INK L AYER P ROTO COL According to X.25, the calling request packet must carry the address bits. However , on some occasions, the X.25 calling re quest does not have to carry the called/calling DTE address in a specific network environment or as is re quired by the application. This comma nd enables users to specify whether th e c[...]

  • Página 373

    LAPB and X.25 Configuration Commands 373 x25 local-cug Synt ax x25 local-cug cug-number network-cug cug-number [ no-incoming ] [ no-outg oing ] [ pr efer ential ] undo x25 local-cug cug-number Vie w Interface view Parameter ■ local-cug cug-nu mber: Numb er of local cug. ■ network -c ug cug-number: Numb e r of network cug. ■ no-incoming: Suppr[...]

  • Página 374

    374 C HAPTER 4: L INK L AYER P ROTO COL ■ x.121-address: X.121 addr ess of the peer host. ■ option: Specifies some attributes or user facilities for the address mapping. Description Using the x25 map command, you can se t the address mappi ng between IP address used by LANs and X.121 address. Using the undo x25 map command, you can delete one e[...]

  • Página 375

    LAPB and X.25 Configuration Commands 375 ■ threshold in out: When the addr ess mapping is used to orig inate a call, it negotiates throughput with the peer end. The values of in/out are defined to be 75, 150, 300, 600, 1200, 2400, 480 0, 9600, 19200, and 48000. ■ vc-per -map co unt : Maximum number of VCs associated with the address mapping. ?[...]

  • Página 376

    376 C HAPTER 4: L INK L AYER P ROTO COL order , like “…2, 3, 4, 5, 6…” “Cyclically ” means that the numberin g starts again from the beginning when a certain num ber (called mo dulus) is reached. For example, when the modulus is 8, the numbering goes “…4, 5, 6, 7, 0, 1…”. X.25 defin es two num be r in g modulus: 8 (also called t[...]

  • Página 377

    LAPB and X.25 Configuration Commands 377 Normally , the maximum receiving packet length is equivalent to the maximum send packet. Unless users' ISP allows, plea se do not set these two parameter s to dif ferent values. For the related commands, see x25 call-fac ility , x25 pvc, x25 switch pvc, x25 xot pvc and x2 5 fr pvc. Example Set the maxim[...]

  • Página 378

    378 C HAPTER 4: L INK L AYER P ROTO COL PVC number is 1, the PVC section will be disabled naturally . The following table shows some typical PVC sections. T able 21 PVC channel section of some typical configurations Detailed explanations of PVC options are follows: ■ broadcast: Forwar d broadcast packet to the peer PVC. ■ encapsulation-type: En[...]

  • Página 379

    LAPB and X.25 Configuration Commands 379 Parameter queue-length: Length of queu e in packets, which ranges from 0 to 9999.By default, the data queu e length on X.25 VC is 500. Description Using the x25 queue-length command, you can set the data queue length on X.25 VC. Using the undo x25 queue-length comma n d, you can restore its default value. Wh[...]

  • Página 380

    380 C HAPTER 4: L INK L AYER P ROTO COL Example Specify that each VC on the X.25 in terface Serial0/0/0 acknowledges each correctly r eceived data packet. [3Com-Serial0/0/0] x25 receive-thr eshold 1 x25 response called-address Synt ax x25 response called-addr ess undo x25 response called-address Vie w Interface view Parameter None Description Using[...]

  • Página 381

    LAPB and X.25 Configuration Commands 381 Parameter None Description Using the x25 response calling-address command, you can enable X.25 to carry the address information of the calling DTE in sending call reception packet. Using the undo x25 response callin g-address command, you can disable the above function. By default, this function is disabled.[...]

  • Página 382

    382 C HAPTER 4: L INK L AYER P ROTO COL calls that reach the interface and map this addr ess will be accepted, while other calls (carrying reverse charging r equest, and not mapping this addr ess) will be cleared. For the related command, see x25 map. Example Set the “accepting calls with revers e charging request” function on interface Serial0[...]

  • Página 383

    LAPB and X.25 Configuration Commands 383 x25 switch pvc Syntax x25 switch pvc pvc-number1 interface serial number pvc pvc-number2 [ optio n ] undo x25 switch pvc pvc-number1 Vie w Interface view Parameter pvc-number1: PVC number on th e input interface, and its value ranges from 1 to 4095. pvc-number2: PVC number on th e output interface, and its v[...]

  • Página 384

    384 C HAPTER 4: L INK L AYER P ROTO COL Example Perform the packet switching between PVC1 on the Serial0/0/0 and PVC1 on the Serial1/0/0. [3Com-Serial0/0/0] link-protocol x 25 dce ietf [3Com-Serial0/0/0] interface seria l1/0/0 [3Com-Serial0/0/0] link-protocol x 25 dce ietf [3Com-Serial1/0/0] x25 switch pvc 1 interface serial 0/0/0 pvc 1 x25 switch [...]

  • Página 385

    LAPB and X.25 Configuration Commands 385 T able 23 Input rules of X.121 address mode matching string For the related commands, see display x25 switch-table svc. Example Add an X.25 switching route, whose destination address is 8888 and forwarding address is the hunt group hg1, and substi tute the destination address with 9999. [3Com] x25 switch svc[...]

  • Página 386

    386 C HAPTER 4: L INK L AYER P ROTO COL Description Using the x25 switch svc xot command, you can add an X.25 switching route whose forwarding address is XOT channel. Using the und o x25 switch svc xot command, you can delete the specified X.25 switchin g route. By default, no X.25 switching route is configured. After configuring the XOT switching [...]

  • Página 387

    LAPB and X.25 Configuration Commands 387 For the related commands, see x25 pvc, x25 switch pvc, x25 xot pvc, x25 fr pvc, x25 switch svc, display x25 vc, and display x25 switch-table svc. Example Enable X.25 switching f unction. [3Com] x25 switching x25 timer hold Syntax x25 timer hold minutes undo x25 timer hold Vie w Interface view Parameter minut[...]

  • Página 388

    388 C HAPTER 4: L INK L AYER P ROTO COL Vie w Interface view Parameter minutes: Maximum idle time of SVC in m inutes, and its value ranges f rom 0 to 255.By default, this value is 0. Description Using the x25 timer idle command, yo u can set the maximum idle time of th e SVC on the interface. Using the undo x25 timer idle command, you can restor e [...]

  • Página 389

    LAPB and X.25 Configuration Commands 389 According to X.25, a timer should be st arted when a DTE sends a restart r equest (or a DCE sends a r estart indication). If no peer acknowledgement is re ceived after this timer is timeout, the sending end w ill take some measures to guarantee the normal proceeding of the local procedure. This parameter spe[...]

  • Página 390

    390 C HAPTER 4: L INK L AYER P ROTO COL Vie w Interface view Parameter seconds: Delay time of resetting r equest (i ndication) timer in seconds, and its value ranges from 0 to 1000. By default, th e delay time on a DTE reset timer is 180 seconds; that on a DCE reset timer is 60 seconds. Description Using the x25 timer tx2 command, you ca n set rese[...]

  • Página 391

    LAPB and X.25 Configuration Commands 391 normal proceeding of the local procedure. This parameter specif ies the delay time of this timer before the timeout. For the related commands, see x25 timer tx0, x25 timer tx1, and x25 timer tx2. Example Set the delay time of clearing timer on the X.25 interface Serial0/0/0 to 100 seconds. [3Com-Serial0/0/0][...]

  • Página 392

    392 C HAPTER 4: L INK L AYER P ROTO COL Parameter ltc htc: Lowest and highest two-way channels of X.25 VC, an d its value ranges from 0 to 4095. If htc (highest two-way channel) is set to 0, ltc (lowest two-way channel) must also be set to 0, which indicates that the two- way channel section is disabled. By default, the htc of X.25 VC is 1024. lic [...]

  • Página 393

    LAPB and X.25 Configuration Commands 393 output-window-size: Size of output windo w . When X.2 5 window modulus is 8, its value ranges from 1 to 7 . When X.25 window modulus is 128, its value ranges from 1 to 127. By default, its value is 2. Description Using the x25 window-size command, you can set the sizes of input and output windows on the inte[...]

  • Página 394

    394 C HAPTER 4: L INK L AYER P ROTO COL can randomly specify the valid X.121 addr ess. If you only wants the Router to work in switching mode, the X.121 addr ess needs not to be config ured. When you reconfigur e an X.121 add ress for an X.25 interface, you need not delete the original X.121 address, becaus e the new address will overwrite the old [...]

  • Página 395

    LAPB and X.25 Configuration Commands 395 number that is 1 less t han the modulus of the X.25 int erface where the address mapping exists (including 1 and modulus minus 1). Description Using the x25 xot pvc command, you can add a PVC route of XOT . Using the undo x25 pvc command, yo u ca n de lete the specified PVC route of XOT . By defaul t, no PVC[...]

  • Página 396

    396 C HAPTER 4: L INK L AYER P ROTO COL Example Set the parameter of X.29 to 10 second s. [3Com] x29 timer inviteclear-time 10[...]

  • Página 397

    5 N ETWORK P RO T O C O L IP Address Configuration Commands display ip interface Syntax display ip interface { in terface-type interface-n umber | interface-name } Vie w Any view Parameter interface-type: Interface typ e. interface-number: Interface sequence number . interface-name: Interface name. Description Using the display ip interface command[...]

  • Página 398

    398 C HAPTER 5: N ETWORK P ROTO COL undo ip address [ ip-addr ess net-mask [sub] ] Vie w Interface view Parameter ip-address: Interface IP address, in dot delim itated decimal format. net-mask: The mask o f the corresponding subnet, in do t de limitated decimal format. sub: T o enable communications among diff erent subnets, the configu red slave I[...]

  • Página 399

    IP Address Configuration Commands 399 [3Com-Serial1/0/0] ip address 129.102.0 .1 255.255.255.0 [3Com-Serial1/0/0] ip address 202.38.16 0.1 255.255.255.0 sub ip address ppp-negotiate Synt ax ip address ppp-negotiate undo ip address ppp-negotiate Vie w Interface view Parameter None Description Using the ip address ppp-negotiate co mmand, you can all [...]

  • Página 400

    400 C HAPTER 5: N ETWORK P ROTO COL Parameter interface-type: Name of the unn umbered interface. interface-number: Seri al number of the unnumbered interface. interface-name : Interface name of the unnumbered interface. Description Using the ip ad dress unnumber ed command, you can enable an interface to borrow the IP address of another in terface.[...]

  • Página 401

    ARP Configuration Commands 401 while configuring the remote address comm and on the peer r outer), so that the local interface can accept the IP addr ess or iginated from PPP negotiation. This IP address is assigned by the opposite end. This configuration is mainly used to obtain IP addr ess assigned by ISP when ac cessing Internet via ISP . For th[...]

  • Página 402

    402 C HAPTER 5: N ETWORK P ROTO COL Example Configure the Ethernet MAC address e0-fc01-0 corresponding to the IP address 129.102.0.1. [3Com] arp static 129.102.0.1 e0-f c01-0 Configure the Ethernet MAC address aa-fcc-12 corresponding to the IP address 11.0.0.1. [3Com] arp static 11.0.0.1 aa-fcc- 12 debugging arp packet Syntax debugging arp packet u[...]

  • Página 403

    ARP Configuration Commands 403 By default, all the ARP entries of the RSU are displayed. For the related commands, see arp static and reset arp. Example Display all static ARP entries. <3Com> display arp static IP Address MAC AddressType Vrf NameInte rface 129.102.0.100e0-fc01-0000S 10.110.28.4400e0-fc07-5b2bIEth0/0 reset arp Syntax reset arp[...]

  • Página 404

    404 C HAPTER 5: N ETWORK P ROTO COL Static Domain Name Resolution display ip host Sy ntax display ip host Vie w Any view Parameter None Description Using the display ip ho st command, you can d isplay all the host names and th eir corresponding IP addresses. Example Display all the host names and their corresponding IP addr esses. <3Com> disp[...]

  • Página 405

    DHCP Public Configuration Commands 405 Example Configure the IP addr ess corresponding to the host name router1 as 10.110.0.1. [3Com] ip host router1 10.110.0.1 Configure the IP addr ess corresponding to the host name router2 as 10.110.0.2. [3Com] ip host router2 10.110.0.2 Configure to assign the IP address 10.110.0.3 to the host name router3. [3C[...]

  • Página 406

    406 C HAPTER 5: N ETWORK P ROTO COL undo dhcp select View Interface view Parameter ■ global: The address DHCP client gets is the one selected by the local DHCP server from a global address pool upon the receipt of the DHCP r equest from the client. ■ interface: The ad dress DHCP client gets is the one selected by the local DHCP server from an i[...]

  • Página 407

    DHCP Public Configuration Commands 407 ■ ethernet-subint erface-range: Includes all the subint erfaces between two subinterfaces (including these two subint erfaces) by inserti ng th e keyword “to” between these two interfaces. ■ all: All the interfaces. Description Using the dhcp select command in syst em view , you can select a method for[...]

  • Página 408

    408 C HAPTER 5: N ETWORK P ROTO COL DHCP Server Configuration Commands debugging dhcp server Syntax debugging dhcp server { all | error | events | packets } undo debugging dhcp server { all | error | events | packets } View User view Parameter ■ all: All debugging functions of DHCP server . ■ error: Err or debugging on the DHCP server , specif [...]

  • Página 409

    DHCP Server Configuration Commands 409 DhcpServer: receive DHCPDISCOVER from 0 0.05.5D.85.D5.45. *0.62082350-DHCP SER-8-DHCPS_DEBUG_COMM ON: DhcpServer: Sending ICMP ECHO to Target IP: 5.5.5.2 *0.62082733-DHCP SER-8-DHCPS_DEBUG_COMM ON: DhcpServer: Sending ICMP ECHO to Target IP: 5.5.5.2 *0.62083233-DHCP SER-8-DHCPS_DEBUG_COMM ON: DhcpServer: Send [...]

  • Página 410

    410 C HAPTER 5: N ETWORK P ROTO COL undo dhcp server dn s-list { ip-address | all } { interface ether net-subinterf ace-range | all } View System view Parameter ■ ip-address: IP addr ess of DNS. Y ou ca n configure up to eight IP addr esses separated by spac es in a command. ■ ethernet -subinterface-range: Includes an y the subinterfaces whose [...]

  • Página 411

    DHCP Server Configuration Commands 411 allocates to clients. Using the undo dhcp ser ver domain -name co mmand in interface view , yo u can delete the configured domain name. By default , no domain name has been allocated to DHCP clien ts and domain name is null. For the related commands, see dhcp server ip-pool, dhcp server domain-name (in system [...]

  • Página 412

    412 C HAPTER 5: N ETWORK P ROTO COL dhcp server expired (in Interface View) Syntax dhcp server expired { day day [ hour ho ur [ minut e minute ] ] | unlimited } undo dhcp server expired View Interface view Parameter ■ day day: Number of days in the range of 0 to 365. ■ hour hour: Numb er of hours in the ran ge of 0 to 2 3. ■ minute minute: Nu[...]

  • Página 413

    DHCP Server Configuration Commands 413 Description Using the dhcp server expired command in system view , you can configure a valid period allowed for leasing IP addresses in the interface DHCP address pool of the interfaces in a specified range. Using th e undo dhcp server expired command in system view , you can restore the default setting. By de[...]

  • Página 414

    414 C HAPTER 5: N ETWORK P ROTO COL Example Reserve the IP addresses in the range of 10.110 .1.1 to 1 0.110.1.63 so that t hese addresses will not participate in the address auto-a llocation. [3Com] dhcp server forbidden-ip 10 .110.1.1 10.110.1.63 3.2.9 dhcp server ip-pool Syntax dhcp server ip-pool pool-name undo dhcp server ip-pool po ol-name Vie[...]

  • Página 415

    DHCP Server Configuration Commands 415 Description Using the dhcp server nbns-list command in interface view , you can configure NetBIOS server addresses in the DHCP addr ess pool of current interface. Using the undo dns-list command in inter face view , you can delete the configuration. By default, no NetBIOS address is configured. By far , only u[...]

  • Página 416

    416 C HAPTER 5: N ETWORK P ROTO COL For the related commands, see dhcp serv er ip-pool, dhcp server nbns-list (in interfa ce vie w), nbns-list, and netb ios-type. Example In the DHCP address pool of interfaces in the range of Ether net2/0/0.1 to Ethernet2/0/0. 5, assign the NetB IOS se rver at 10.12.1.99 to t he clients. [3Com] dhcp server nbns-lis[...]

  • Página 417

    DHCP Server Configuration Commands 417 Vie w System view Parameter ■ b-node: Broadcast mode, i. e., hostname-IP maps are obtained by means of bro adcast. ■ p-node: Peer -to- peer mode, i.e., maps are obtained by means of communicating with the NetBIOS server . ■ m-node: Mixed (m) mode, i.e., the mode of type b nodes running “peer -to-peer?[...]

  • Página 418

    418 C HAPTER 5: N ETWORK P ROTO COL ■ ascii ascii-string: ASCII string. ■ hex hex-string: 2-digit or 4-digit hexadecimal string, such as hh or hhhh. ■ ip-address ip-addr ess: IP address. Description Using the dhcp server option command in interface view , you can configure a DHCP self-defined o ption for the DHCP address pool of the current i[...]

  • Página 419

    DHCP Server Configuration Commands 419 Example Define the hexadecimal strings of the op tion code 100 to 0x11 and 0x22 for the interface DHCP address pool of the interfa ces in the range of Ether net2/0/0.1 to Ethernet2/0/0.5. [3Com] dhcp server optio n 100 hex 11 22 interface et hernet 2/0/0.1 to ethernet 2/0/0.5 dhcp server ping Syntax dhcp serve[...]

  • Página 420

    420 C HAPTER 5: N ETWORK P ROTO COL Description Using the dhcp server static-bind command, you can conf igure a static address binding in the DHCP address pool of th e current interface. Using the undo dhcp server static-bind command, you can delete the configuration. By default, static address binding is not configured in any interface address poo[...]

  • Página 421

    DHCP Server Configuration Commands 421 display dhcp server expired Syntax display dhcp ser ver exp ir ed [ ip ip-add r ess | pool [ pool-name ] | interface [ interface-name ] all ] Vie w Any view Parameter ■ ip-address: A specif ied IP addr ess. ■ pool-name: Name of a global addr ess pool. All the global address pools will apply if no address p[...]

  • Página 422

    422 C HAPTER 5: N ETWORK P ROTO COL Example View the ranges of the available ad dresses in DHCP address pools. <3Com> display dhcp server free-ip IP Range from 1.0.0.0 to 2.2.2.1 IP Range from 2.2.2.3 to 2.255.255.255 IP Range from 4.0.0.0 to 4.255.255.255 IP Range from 5.5.5.0 to 5.5.5.0 IP Range from 5.5.5.2 to 5.5.5.255 display dhcp server[...]

  • Página 423

    DHCP Server Configuration Commands 423 Ta b l e 3 Description of the information output by executing display dhcp server ip-in-use display dhcp server statistics Syntax display dhcp ser ver st a ti stics Vie w Any view Parameter None Description Using the display dhcp server statistics command, you can view the statistics on the DHCP server , inclu[...]

  • Página 424

    424 C HAPTER 5: N ETWORK P ROTO COL Bad Messages: 0 Ta b l e 4 Description of the information output by ex ecuting display dhcp server statistics display dhcp server tree Syntax display dhcp server tree [ pool [ pool-name ] | interface [ interface-name ] | all ] View Any view Parameter ■ pool-name: Name of a global address pool. All the global ad[...]

  • Página 425

    DHCP Server Configuration Commands 425 Pool name: 6 host 10.10.1.2 255.0 .0.0 hardware-address 1111.2222.3333 eth ernet Parent node:5 option 1 ip-address 255.255.0.0 expired 1 0 0 option 58 hex 00 00 A8 C0 option 59 hex 00 00 00 3C Pool name: 7 network 10.10.1.64 2 55.255.255.192 PrevSibling node:5 Sibling node:8 option 1 ip-address 255.0.0.0 Pool [...]

  • Página 426

    426 C HAPTER 5: N ETWORK P ROTO COL dns-list Syntax dns-list ip-address [ ip-address ] undo dns-list { ip-address | all } View DHCP address pool view Parameter ip-address: IP address of the DNS. Y ou can co nfigure up to eight IP addr esses separated by spac es in a command. Description Using the dns-list command, you can configure DNS server IP ad[...]

  • Página 427

    DHCP Server Configuration Commands 427 Parameter domain-name: Doma in name that the DHCP server allocates t o clients, which is a string comprising at least three characters and at most 50 characters. Description Using the domain-name command, you ca n configure the domain name that a global address pool of the DHCP server allocates to clients. Us [...]

  • Página 428

    428 C HAPTER 5: N ETWORK P ROTO COL gateway-list Syntax gateway-list ip-address [ ip-addr ess ] undo gateway-list { ip-address | all } View DHCP address pool view Parameter ■ ip-address: IP address of egr ess GW router . Y ou can configure up to eight IP addresses separated by spaces in a command. ■ all: IP addresses of al l the egress GW route[...]

  • Página 429

    DHCP Server Configuration Commands 429 Example In the DHCP address pool 0, allocate the NetBIOS server at 10.12.1.99 to the clients. [3Com] dhcp server ip-pool 0 [3Com-dhcp-0] nbns-list 10.12.1.99 netbios-type Syntax netbios-type { b-node | h-node | m-node | p-node } undo netbios-type Vie w DHCP addr e ss pool view Parameter ■ b-node: Broadcast m[...]

  • Página 430

    430 C HAPTER 5: N ETWORK P ROTO COL ■ mask netmask: Network mask of the IP addr ess pool. Nat ural mask will be adopted if the paramete r is not specified. Description Using the network command, you can conf igure an IP address range used for dynamic allocation. Using the undo ne twork command , you can delete the configuratio n. By default, no I[...]

  • Página 431

    DHCP Server Configuration Commands 431 Vie w User view Parameter ■ ip-address: A specif ied IP addr ess. ■ all: All the address pools. Description Using the reset dhcp server conflict comma nd, you can clear the statistics about DHCP addr e ss colli sion. In the case that no parameter has been specified when th e command is configured, the scop[...]

  • Página 432

    432 C HAPTER 5: N ETWORK P ROTO COL ■ If the command is executed in any other views, it will take effect on all the address pools. For the related command, see display dhcp server ip-in-use. Example Clear the binding information of the ad dress 10.110.1.1. <3Com> reset dhcp server ip-in-use ip 10.110.1.1 reset dhcp server statistics Syntax [...]

  • Página 433

    DHCP Client Configuration Commands 433 The commands static-b ind ip-address and st atic-bind mac-address must be used in pairs so that an IP address and a MAC address can be bound together . For the related commands, see dhcp server ip-pool, network, and static- bind mac-address. Example Bind the PC at the MAC address 0000-e03f-0305 with the IP add[...]

  • Página 434

    434 C HAPTER 5: N ETWORK P ROTO COL Parameter ■ event: Protocol events of the DHCP c lient, which include addr ess allocation and data updating. ■ packet: DHCP packets received and sent by the DHCP client. ■ error: Unknown packet information or error information. ■ all: Enables debuggin g of the DHCP client in all the information (event, pa[...]

  • Página 435

    DHCP Client Configuration Commands 435 Current machine state: HALT The statistic information shows that two interfaces, i.e., Ethernet0/0 and Ethernet2/0, have been con fi gured to be DHCP clients. Ethernet0/0 has been assigned with the address 169.254.0.2/16 subject to the lease expiration of 86400 seconds and th e current machine state is BOUND. [...]

  • Página 436

    436 C HAPTER 5: N ETWORK P ROTO COL Description Using the ip address dhcp-alloc command, you can allocate loca l IP addresses by making use of DHCP . Using th e und o ip address dhcp-alloc command, you can disable the allocation of local IP addre sses via DHCP negotiation. This command must be configured and executed in Ethe rnet interface (includi[...]

  • Página 437

    DHCP Relay Configuration Commands 437 ■ server -ip: IP address of the DHCP server . Description Using the dhcp relay r elease command, yo u can send an IP address r eleasing request to a DHCP server via the DHCP relay . Given no IP address of DHCP server has been specified, release packets will be sent either to all the DHCP servers if this comma[...]

  • Página 438

    438 C HAPTER 5: N ETWORK P ROTO COL Description Using the display dhcp relay statistics command, you can view the statistics of DHCP r elay in packet erro rs, DHCP pack ets re ce ive d from clients, DHCP packets received fr om and sent to servers, an d DHCP packets sent to clients (including unicast and broadcast packets). Example View DHCP r elay [...]

  • Página 439

    DHCP Relay Configuration Commands 439 [3Com-Ethernet0/0/0] ip relay address 2 02.38.1.2 [3Com-Ethernet0/0/0] ip relay address 2 02.38.1.3 ip rela y ad dress cycle Syntax ip relay address cycle undo ip relay addr ess cycle Vie w System view Parameter None Description Using the ip relay addr ess cycle command, you can adopt the polling approach to re[...]

  • Página 440

    440 C HAPTER 5: N ETWORK P ROTO COL ■ all: In the undo form o f the command, the first “all” refers to all the r elay addresses and the second all, the interfaces. Description Using the ip relay addr ess interface command, you can configure a relay addr ess for the Ether net interfaces in a spe c if ied range for the purp ose of transparent f[...]

  • Página 441

    IP Performance Configuration Commands 441 Parameter ■ acl-number1: ACL based on the interf ace, in the range of 1000 to 1999. ■ acl-number2: ACL in the range of 1 to 199. The ACL in the range of 1 to 99 is the basic ACL and that in the ra nge of 100 to 199 is the ad vanced ACL. Description Using debugging ip icmp command, you can enable the ICM[...]

  • Página 442

    442 C HAPTER 5: N ETWORK P ROTO COL Description Using the debugging tcp event co mmand, you can enable TCP events debuggin g. And using the undo debugging tcp event command, you can disable TCP events debugging. There is limitation for the number of debu gging switches enabled, that is, o nly a fixed number of debugging switches can be enabled at o[...]

  • Página 443

    IP Performance Configuration Commands 443 Vie w User view Parameter None Description Using the debugging tcp md5 command, y ou can enable th e MD5 authentication debugging of the TCP connect ion. Using the undo debugg ing tcp md5 command, you can disable the MD5 authentica tion debugging of the TCP connection. Example Enable the MD5 authen tication[...]

  • Página 444

    444 C HAPTER 5: N ETWORK P ROTO COL 4.1.5 debugging ud p packet Syntax debugging ud p p acket [ task_id socket_id ] undo debugging ud p p acket [ ta sk_id socket_ id ] Vie w User view Parameter ■ task_id: The ID of a task. ■ socket_id: The ID of a socket. Description Using the debugging udp packet comma nd, you can enable the debug ging of UDP [...]

  • Página 445

    IP Performance Configuration Commands 445 ■ Outbound interf ace Example Display the summary of the fo rwar ding information base. <3Com> display fib Destination/MaskNexthopFlagTimeStampIIn terface 80.10.0.2/3280.10.0.2GHUt[0]Serial2/0/0 80.10.255.255/32127.0.0.1HUt[0]InLoopBa ck0 80.10.0.0/1680.10.0.1Ut[0]Serial2/0/0 80.50.0.2/3280.50.0.2GH[...]

  • Página 446

    446 C HAPTER 5: N ETWORK P ROTO COL Summary counts: 1 Destination/MaskNexthopFlagTimeSta mpInterface 127.0.0.0/8127.0.0.1Ut[0]InLoopBack0 display fib begin Syntax display fib | [ { begin | include | exclude } text ] Vie w Any view Parameter ■ text: Character . Description ■ Using the display fib command, you can output the lines related to the [...]

  • Página 447

    IP Performance Configuration Commands 447 Vie w Any view Parameter ■ listname: The name of the prefix list. Description Using the display fib ip-pr efix command, y ou can filter and display FIB information . According to the name of pr efix-list en tered, you can display the FIB entries matching the fil te r ing ru le s in the prefix list in a fo[...]

  • Página 448

    448 C HAPTER 5: N ETWORK P ROTO COL Vie w Any view Parameter ■ dest-addr1: The destination IP address 1, which is expressed in dot-deliminated decimal format. ■ dest-mask1: The subnet mask 1 corr esponding to th e destination IP ad dress 1, which is the mask in dot -deliminated decimal format or the mask length in integer format. ■ dest-addr2[...]

  • Página 449

    IP Performance Configuration Commands 449 Vie w Any view Parameter None Description Using the display fib statistics command, you can display the to tal numbers of FIB table entries. Example Display the total numbers of FIB table entries. <3Com> display fib statistics Route Entry Count : 30 display ip fast-forwarding cache Syntax display ip f[...]

  • Página 450

    450 C HAPTER 5: N ETWORK P ROTO COL ■ interface-number: Interface number . ■ interface-name : Interface name . Description Using the display ip interface command, you can view the informatio n of IP interface s. By default, if no interface is specified, the information about all IP interfaces will be displayed. This command is used to display a[...]

  • Página 451

    IP Performance Configuration Commands 451 sndbuf = 4096, rcvbuf = 4096, sb_cc = 0 , rb_cc = 0, socket option = SO_ACCEPTCONN socket state = SS_PRIV SS_ASYNC SOCK_DGRAM: Task = ROUT(6), socketid = 1, Proto = 1 7, LA = 0.0.0.0:0, FA = 0.0.0.0:0, sndbuf = 9216, rcvbuf = 41600, sb_cc = 0, rb_cc = 0, socket option = SO_UDPCHECKSUM socket state = SS_PRIV[...]

  • Página 452

    452 C HAPTER 5: N ETWORK P ROTO COL For the r elated commands, see display interf ace, display ip inte rface, and r eset ip statistics. Example Display the IP traffic statistic information. <3Com> display ip statistics IP Protocol: Sent packets: sent out: 67, forwarded: 0, raw pa ckets: 0 discarded: 0, routing failed: 98 Received packets: tot[...]

  • Página 453

    IP Performance Configuration Commands 453 Total: 0 packets in sequence: 0 (0 bytes) window probe packets: 0, window update packets: 0 checksum error: 0, bad offset : 0, too short : 0 duplicate packets : 0 (0 bytes), parti ally duplicate packets : 0(0 bytes) out-of-order packets : 0 (0 bytes) packets with data after window : 0 (0 b ytes) packets aft[...]

  • Página 454

    454 C HAPTER 5: N ETWORK P ROTO COL ■ The window detection packets number: 0, the windo w upgrading packets number: 0. ■ The data packets number: 0 (the total bytes: 0) he retransmission packets number: 0 (the total bytes: 0). ■ ACK packets number: 0 (delay ACK packets number: 0) ■ The time-out times of retransmissi on timer: 0, th e connec[...]

  • Página 455

    IP Performance Configuration Commands 455 Description Using the display udp statistics comma nd, yo u can view TCP traffic statisti c information. The command is used to display the traffic statistic information of all the active TCP connections. Statistics information is classified into two parts: receiving and sending, and each part can be furthe[...]

  • Página 456

    456 C HAPTER 5: N ETWORK P ROTO COL Fast-forwarding is well-suited to high-speed links (such as Ether net and FR). Its function will be render useless, however , on a low-spee d link, due to the low transmission rate such a link can provide. 3Com Series Routers support fast-forwarding on the links of various high-speed interfaces such as Ethernet, [...]

  • Página 457

    IP Performance Configuration Commands 457 For the related commands, see display ip interface and display ip statistics. Example Clear IP statistics information. <3Com> reset ip statistics reset tcp statistics Syntax rese t tc p statistics Vie w User view Parameter None Description Using the reset tcp statistics command , you can clear TCP tra[...]

  • Página 458

    458 C HAPTER 5: N ETWORK P ROTO COL Vie w Interface view Parameter ■ V alue: The threshold for the TCP packet to be fragmented, with the value ranging from 128 to 2048. Description Using the tcp mss comma nd , yo u can designate a value as a thr eshold fo r TCP packets to be fragmented. The undo tcp mss command is used to prevent TCP packets from[...]

  • Página 459

    IP Performance Configuration Commands 459 tcp timer syn-timeout Syntax tcp timer syn-timeout time-value undo tcp timer syn-timeout Vie w System view Parameter ■ time-value: TCP synwait timer value in second, with the value range of 2 to 600. Description Using the tcp timer syn-timeout command , you can configure the TCP synwait timer . Using the [...]

  • Página 460

    460 C HAPTER 5: N ETWORK P ROTO COL Example Configure the size of the transceiving buff er of the connection-oriented Socket as 4 KB. [3Com] tcp window 4 NA T Configuration Commands debugging nat Syntax debugging nat { alg | event | packet [ inte rface { interface-type interface-number | interface -name } ] } undo debugging nat { alg | event | pack[...]

  • Página 461

    NAT Configuration Commands 461 ■ vpn-instance vpn-inst ance-name: Displays the NA T ta ble items of a special VPN. The omittance of this parameter means that NA T items for all VPNs will be listed out. ■ slot slot-number: Designates the slot numbe r of an interface. This parameter is reserved especially for distributed environment use. ■ dest[...]

  • Página 462

    462 C HAPTER 5: N ETWORK P ROTO COL nat address-gr oup Sy ntax nat address-gr oup gr oup-num ber start-addr end-addr undo nat address-gr oup group-number Vie w System view Parameter ■ group-number: defined Address pool ID, it is an integer ranging from 0 to 31. ■ start-addr: Starting IP add ress in the addr ess pool. ■ end-addr: Ending IP add[...]

  • Página 463

    NAT Configuration Commands 463 This command is used to set the valid ti me of address transl ation connection, and differ ent time values are set for dif ferent types of pr otocols. The time value is in second. Example Set the valid connection time of TCP to 240 seconds. [3Com] nat aging-time tcp 240 nat outbound Syntax nat outbound acl-number [ ad[...]

  • Página 464

    464 C HAPTER 5: N ETWORK P ROTO COL [3Com-acl-basic-1] rule permit sou rce 10.110.10.0 0.0.0.255 [3Com-acl-basic-1] rule deny Configure the addr ess pool. [3Com] nat address-group 1 202.110 .10.10 202.110.10.12 Allow address translation and us e the a ddresses of address pool 1 for address translation. During translation, the information of TCP/UDP[...]

  • Página 465

    NAT Configuration Commands 465 ■ global-addr: An IP address provided for the outside to access (a legal IP address). ■ global-port: A service port number provided for the outside to access. If ignored, its value shall be the same with the hos t-po rt’ s value. ■ host-addr: IP address of the server in internal LAN. ■ host-port: Service por[...]

  • Página 466

    466 C HAPTER 5: N ETWORK P ROTO COL can access WEB through http:// 202.110.10.10:8080 and connect F TP web site through ftp://202.110.10.10. Suppose that Serial0/0/0 is connected to ISP . [3Com-Serial0/0/0] nat server protocol tcp glob al 202.110.10.10 8080 inside 10.110.10.10 www [3Com] ip vpn-instance vrf10 [3Com-vpn-instance] route-distingu ishe[...]

  • Página 467

    IP Unicast Policy Routing Configuration Commands 467 <3Com> reset nat log-entry In the distributed environment, clear NA T log buffer . <3Com> reset nat log-entry slot 10 In the central environment, clear info rmation of the address translation table. <3Com> reset nat session In the distributed environment, clear in formation of t[...]

  • Página 468

    468 C HAPTER 5: N ETWORK P ROTO COL Vie w Route-policy view Parameter ■ ip-address: IP address of default next hop. Description Using the apply ip-address default next -hop command, you can set the default next hop of a packet. Using the undo apply ip-address default next-hop command, you can cancel the configured default packet next hop. This co[...]

  • Página 469

    IP Unicast Policy Routing Configuration Commands 469 Parameter ■ value: The pr eference v alue. There ar e totally 8 (in the range 0 to 7) preferences: 0 r outine 1 priori ty 2 immediate 3 flash 4 flash-override 5 cri tical 6 i nter net 7 network Description Using the apply ip-precedence command, y ou can set precedence of IP packets. Using the u[...]

  • Página 470

    470 C HAPTER 5: N ETWORK P ROTO COL Example Specify forwarding interface as seri al0/0/0 for the ma tched IP packet. [3Com-route-policy] apply output-i nterface Serial 0/0/0 display ip policy Syntax display ip policy Vie w Any view Parameter None Description Using the display ip policy command, you can view the routing policies of local and configu[...]

  • Página 471

    IP Unicast Policy Routing Configuration Commands 471 Description Using the display ip policy setup command, you can view the setting information of policy routings. The display output of the d isplay ip policy setup local command is the same as that with policy-tag which will be shown soon, e xcept that it displays the policy routing enabled on the[...]

  • Página 472

    472 C HAPTER 5: N ETWORK P ROTO COL Main board Total success packet number: 0 Total failure packet number: 0 The above information shows the forwarding success and failur e times for all the forwar ding policy (i.e ., th e app ly cla use) of the local r outer policy r outing. T o display the mor e detail statis tics classified according to each app[...]

  • Página 473

    IP Unicast Policy Routing Configuration Commands 473 undo if-match packet-length Vie w Route-policy view Parameter ■ min-len: Minimum packet length of network layer . ■ max-len: Maximum packet length of network layer . Description Using the if-match packet-length command , you can set length match conditions of IP packets. Using th e undo if-ma[...]

  • Página 474

    474 C HAPTER 5: N ETWORK P ROTO COL undo ip policy route-policy policy-name Vie w Interface view Parameter policy-name: Policy name. Description Using the ip policy route-policy command, you can enable policy routing at an interface. Using the undo ip policy route-policy command, you can delete the existing policy routing at an interface. By defaul[...]

  • Página 475

    IP Multicast Policy Routing Configuration Commands 475 interfaces and next hops specified by the ACLs respectively . This is different fr om that only one apply clause works in unicast policy routing. For the next hop IP address, the specified ACL is the standard ACL. For the related commands, see if-match ac l, apply output-interface, and display [...]

  • Página 476

    476 C HAPTER 5: N ETWORK P ROTO COL Description Using the debugging ip multicast-policy command, you can enable the debugging of IP multicast policy routing. Using the undo debugging ip multicast-policy command, you can disable t he debug ging of multicast policy routing. The contents of the debugging in for mation contain the route-node that the p[...]

  • Página 477

    IP Multicast Policy Routing Configuration Commands 477 Vie w Route-policy view Parameter ■ acl-number: Standard or extended AC L number ranging from 1 to 199. ■ ip-prefix-name: Specifies the name of an address prefix list used for filtering. Description Using the if-match acl command, you can set conditions that multicast packets should meet in[...]

  • Página 478

    478 C HAPTER 5: N ETWORK P ROTO COL Example Enable multicast policy routing named map1 on interface Ethernet 2/0/0. [3Com-Ethernet2/0/0] ip multicast- policy route-policy map1 route-policy Synt ax route-policy policy-name { permit | deny } node sequence-number undo route-policy policy-name [ permit | deny ] [ node sequence-n umber ] Vie w System vi[...]

  • Página 479

    IPX Configuration Commands 479 not succeed in matching with the features of packet or any deny node is matched, the packet will then be forwar ded or di scarded normally , up to the route table. When multicast policy routing is configured on an interface of a r outer , all multicast packets entering th e r outer on the interface w ill be filter ed.[...]

  • Página 480

    480 C HAPTER 5: N ETWORK P ROTO COL pktlen = 480, hops = 0, pkttype = 0x4, dstnet = 0xb, dstnode = ffff-ffff- ffff, dstsocket = 0x452, srcnet = 0xb, srcnode = 00e0-fc01- 54f6, srcsocket = 0x452 prompt: IPX packet is delivering u p! Ta b l e 7 Description of display information of the debugging ipx packet command debugging ipx ping Syntax debugging [...]

  • Página 481

    IPX Configuration Commands 481 debugging ipx rip Syntax debugging ipx rip { packet [ verbose ] | event } undo debugging ipx rip { packet [ verbose ] | event } Vie w User view Parameter ■ packet: Debugging information of packet received and transmitted. ■ verbose: Displays detaile d information about packet received and transmitted. ■ event: E[...]

  • Página 482

    482 C HAPTER 5: N ETWORK P ROTO COL undo debugging ipx rtpro-flash View User view Parameter None Description Using the debugging ipx rtpro-flash comm and, you can turn o n the debugging switch of route r efreshing in the IPXRM module. Using the command, you can turn o ff the debugging switch of route r e fr eshing in the IPXRM module. This kind of [...]

  • Página 483

    IPX Configuration Commands 483 Example Enable IPX RIP packet debugging switch <3Com> debugging ipx rip packet Switch on interface change debugging for IPXRM module. <3Com>debugging ipx rtpro-interface <3Com> T rigger interface ch ange by using shut/undo shu t command. [3Com-Serial1] shut [3Com-Serial1] %Oct 24 14:11:27 2003 3Com P[...]

  • Página 484

    484 C HAPTER 5: N ETWORK P ROTO COL Description Using the debugging ipx rtpro-routing command, you can turn on the debugging switch of route change in the IPXRM module. Using the command, you can turn off the debugging switch of r oute chang e in the IPXRM module. This kind of debugging information is ge nerated w hen route changes as addition, del[...]

  • Página 485

    IPX Configuration Commands 485 timer expiry . Using the u ndo debugging ipx sap command, you can disable IPX SAP debugging switch. Enabling IPX SAP debugging switch, you can confirm whethe r SAP packet is received. Normally , a router or server sends out an SAP update packet every minute. By default, each SAP packet in cludes up to seven service in[...]

  • Página 486

    486 C HAPTER 5: N ETWORK P ROTO COL ■ Interface-num: Inter face number . ■ Interface-name : Interface name . Description Using the display ipx interface command, you can view IPX interface configuration information and interface parame ters in communication devices. Example Display IPX configuration and statisti cs o f the interface Ether net1/[...]

  • Página 487

    IPX Configuration Commands 487 display ipx routing-table Syntax display ipx ro uting-table [ network ] [ verbose ] display ipx routing-table protocol { default | dir ect | rip | static } [ inactive | verbose ] Vie w Any view Parameter ■ network: Dest in at io n n etw or k ID of IPX st atic route. It is an 8-bit hexadecimal number , ranging from 1[...]

  • Página 488

    488 C HAPTER 5: N ETWORK P ROTO COL Dest_Ntwk_ID Proto Pre Ticks Hops Nexthop Interface 0x11 Direct 0 6 0 0.0000-0000-0000 Serial0/0/0 0x22 RIP 100 7 1 11.0000-0165-6401 Serial0/0/0 0x33 Direct 0 1 0 0.0000-0000-0000 Ethernet0/0/0 0x100 Static 60 6 1 0.0000-0000-0000 Serial0/0/0 The following table explains the conten ts in the above displayed info[...]

  • Página 489

    IPX Configuration Commands 489 display ipx routing-table statistics Syntax display ipx r outing-tabl e statistics Vie w Any view Parameter None Description Using the display ipx routing-table statis tics command, you ca n view IPX routing statistics. Example Display IPX routing statistics. <3Com> display ipx routing-table statis tics Routing [...]

  • Página 490

    490 C HAPTER 5: N ETWORK P ROTO COL Description Using the display ipx service -table command, you can view contents of IPX service information table. The output information of the command helps users with IPX SAP troubleshooting. Example Display contents of IPX service information table. [3Com] display ipx service-table Abbreviation: S - Static, Pr[...]

  • Página 491

    IPX Configuration Commands 491 0 bad hops(>16), 0 discarded( hops=16) 0 other errors, 0 local destina tion 0 can not be dealed Sent: 0 forwarded, 0 generated 0 no route, 0 discarded RIP: 0 sent, 0 received 0 responses sent, 0 responses r eceived 0 requests received, 0 requests dealed 0 requests sent, 0 periodic upd ates SAP: 0 general requests r[...]

  • Página 492

    492 C HAPTER 5: N ETWORK P ROTO COL Parameter ■ node: node value of the r outer . It is a 48-bit value represented by a triplet of four -digit hexade cimal numbers separate d by “-“. It is ne ither a br oadcasting address nor a multicast address. If the parameter is not configured, the r outer will assign MAC address of the first Ethernet int[...]

  • Página 493

    IPX Configuration Commands 493 Restore the default IPX frame encaps ulation fo rmat on the interface Ethernet0/1/0. [3Com-Ethernet 0/1/0] undo ipx encapsul ation ipx netbios-propagation Syntax ipx netbios-propagation undo ipx netbios-propagation Vie w Interface view Parameter None Description Using the ipx netbio s-propagation command, you can conf[...]

  • Página 494

    494 C HAPTER 5: N ETWORK P ROTO COL Example Configure the interface Ether net0/1/0 as IP X interface and assign it with a n etwork ID. [3Com-Ethernet 0/1/0] ipx network 675 Cancel the co nf ig uration of the inte rface Ethernet0/1/0 as IPX interface. [3Com-Ethernet 0/1/0] undo ipx net work ipx rip import-route Syntax ipx rip import-route static und[...]

  • Página 495

    IPX Configuration Commands 495 Example Configure the maximum size of RIP updating packets on the interface Ethernet1/0/0 to 500 bytes. [3Com-Ethernet1/0/0] ipx rip mtu 500 ipx rip multiplier Syntax ipx rip multiplier multiplier undo ipx rip multiplier Vie w System view Parameter ■ multiplier: It is used to calculate the aging period of RIP routin[...]

  • Página 496

    496 C HAPTER 5: N ETWORK P ROTO COL Description Using the ipx rip timer update command, you can configure RIP updating interval. Using the undo ipx r ip timer update command, you can restore the default value of RIP updating interval. By default, the RIP updati ng interval is 60 seconds. On a network, routers need constantly exchange routing inform[...]

  • Página 497

    IPX Configuration Commands 497 ■ hops: Number of r outers which ar e passed by to destin at io n ne t w or k . By default, the value is 1. ■ all: All IPX static routes. Description Using the ipx route-static command, you can configure IPX static route. Using the undo ipx route-static command, you can delete static route. The system regar ds the[...]

  • Página 498

    498 C HAPTER 5: N ETWORK P ROTO COL [3Com] ipx route load-balance-path 30 ipx route max-reserve-path Syntax ip x ro u t e m a x- re s e r ve - p at h pa t hs undo ipx route max-r eserve-path View System view Parameter ■ paths: The maximum dynamic route number to the same destin ation address, ranging from 1 to 255. By default, the value is 4. Des[...]

  • Página 499

    IPX Configuration Commands 499 Re-enable SAP on the interfa ce Ether net0/0/0. [3Com-Ethernet0/0] undo ipx sap disable ipx sap gns-disable-reply Syntax ipx sap gns-disable-r eply undo ipx sap gns-disable-reply Vie w Interface view Parameter None Description Using the ipx sap gns-disable-reply comma nd, you can disable IPX GNS r eply on the current [...]

  • Página 500

    500 C HAPTER 5: N ETWORK P ROTO COL [3Com] undo ipx sap gns-load-balan ce Configure all servers to r espond GNS request in Round-robin method. [3Com] ipx sap gns-load-balance ipx sap max-reserve-servers Syntax ipx sap max-reserv e-servers length undo ipx sap max-reserve-servers View System view Parameter ■ length: The length of the dynamic ser v [...]

  • Página 501

    IPX Configuration Commands 501 Example Set the maximum size of SAP updating pack et o n the interface Ether net1/0/0 to 674 bytes (carrying 1 0 servic e information items at most). [3Com-Ethernet0/0/0] ipx sap mtu 674 ipx sap multiplier Syntax ipx sap multiplier multiplier undo ipx sap multiplier Vie w System view Parameter ■ multiplier: It is us[...]

  • Página 502

    502 C HAPTER 5: N ETWORK P ROTO COL For the related commands, see ipx sap multiplier and ipx update-change-only . Example Configure SAP updating interval to 300 seconds. [3Com] ipx sap timer update 300 ipx service Syntax ipx service serv ice -type name network.node socket hop hopcoun t preference prefer ence undo ipx service { { service-type [ name[...]

  • Página 503

    IPX Configuration Commands 503 [3Com] ipx service 4 FileServer 130.000 0-0a0b-abcd 451 hop 1 preference 60 [3Com] ipx service 4 FileServer 130.000 0-0a0b-abcd 451 hop 1 [3Com] ipx service 114 MyServer 199.000 0-0a0b-abcd 451 hop 10 Service information with server type 114 will not be advertised if there is no active route to the network 199. ipx sp[...]

  • Página 504

    504 C HAPTER 5: N ETWORK P ROTO COL Description Using the ipx tick command, you can configur e the delay of interface sending IPX packets. Using the undo ipx tick command, you can restor e the default value of interface delay . As the IPX RIP delay field, the delay value configured by the ipx tick command is a basis for the optimal routing selectio[...]

  • Página 505

    IPX Configuration Commands 505 The 0s in front of node value cannot be omitted. ■ count: Number of Ping packets that are sent. By default, the value is 5. ■ timout: The period of time t o wait for Ping response. By defau lt, the value is 2 seconds. ■ size: Ping packet size. By de fault, the value is 100 bytes. Description Using the ping ipx c[...]

  • Página 506

    506 C HAPTER 5: N ETWORK P ROTO COL Description The reset ipx r outing-table statistics co mmand is used to clear the statistical information of a specified type of IPX route. Such information can be shown upon the terminal using the display ipx routing-table statistics command. Example Add 5 IPX static routes to the router , then delete them, and [...]

  • Página 507

    DLSw Configuration Commands 507 Parameter ■ bridge-set-number: The bridge group num ber the synchr onous serial port is to be added into, ranging from 1 to 63. Description Using the bridge-set (in Synchronous seri al interface system view) command, you can add the synchronous serial interface encapsulated into SDLC into the bridge group. Using th[...]

  • Página 508

    508 C HAPTER 5: N ETWORK P ROTO COL [3Com] dlsw bridge-group 20 [3Com] interface Ethernet1/0/0 [3Com-Ethernet1/0/0] bridge-set 20 code nrzi Syntax code nrzi undo code Vie w Synchronous serial interface system view Parameter None Description Using the code nrzi command , you can configure the NRZI encoding of the synchronous serial port. Using the u[...]

  • Página 509

    DLSw Configuration Commands 509 debugging llc2 Syntax debugging llc2 circuit [ corr elator ] undo debugging llc2 circuit [ corr elator ] Vie w User view Parameter ■ correlator: Distinguishes differ ent IDs of the circuits. Description Using the debugging llc2 command, you can en able the LLC2 debug ging. Using the undo debuggin g llc2 command, yo[...]

  • Página 510

    510 C HAPTER 5: N ETWORK P ROTO COL display dlsw cir cuits Sy ntax display dlsw circuits [ cir cuit-id ] [ verbose ] Vie w Any view Parameter ■ circuit-id: Displays the virtual cir c uit nu mb er of the specified DLSw . ■ verbose: Displays the detail info rmation of the virtual circuits. Description Using the display dlsw circuits command, you [...]

  • Página 511

    DLSw Configuration Commands 511 Description Using the display dlsw information command, you can view the DLSw exchange capability information. The output information of the command facilitates the user to understand the status of the DLSw vi rtual circuit and perfo rm fault diagnosis. Example Display the general informat ion of exchange capability [...]

  • Página 512

    512 C HAPTER 5: N ETWORK P ROTO COL display dlsw remote Syntax display dlsw remote [ ip-addr ess ] Vie w Any view Parameter ■ ip-address: Displays the information of the r emote peer with spe c ified IP address or of all the remote peers. Description Using the display dlsw remote command, you can view the information of the remote peers. The outp[...]

  • Página 513

    DLSw Configuration Commands 513 <3Com> display llc2 circuit 46465025 llc2 circuit index 46465025 Local MAC 0.20.35.7b.e0.65 Remote MAC 0. 0.84.25.1e.e9 Local Sap 4 Remote Sap 4 Role secondary State : NORMAL dlsw bridge-set Syntax dlsw bridge-set bridge-set-nu mber undo dlsw bridge-set bridge-set-number Vie w System view Parameter ■ bridge-s[...]

  • Página 514

    514 C HAPTER 5: N ETWORK P ROTO COL After this command is performed, the syst em will release all dynamic resour ces, but retain the original configuratio n. Example Suspend the DLSw perfor mance. [3Com] undo dlsw enable Enable the DLSw performance. [3Com] dlsw enable dlsw local Syntax dlsw local ip-address [ init-window init-win dow-size ] [ keepa[...]

  • Página 515

    DLSw Configuration Commands 515 Example Create the DLSw local peer , with the IP a ddress being 1.1.1.1, t he size of the local response window being 50, time interval for sending the “keepalive” bein g 40 seconds, both the maximum length of the pa cket max-frame-size and the size of the maximum local response window being the default value. [3[...]

  • Página 516

    516 C HAPTER 5: N ETWORK P ROTO COL the same time the remote peer being fi rst created, the system will pr ompt the following information: Primary peer ip address does not exist This prompt indicates that the user should first create a r emote primary peer before cr eating the backup peer . 2 If the backup link still exists after the TC P connectio[...]

  • Página 517

    DLSw Configuration Commands 517 Example Configure the DLSw timer parameters, with the connected timeout being 200 seconds, the waiting timeout of the local explorer frame being 15 seconds, the local waiting timeout being 15 seconds, the remote peer waiting timeout being 25 seconds, the SNA cache addr ess timeout be ing the default value and the wai[...]

  • Página 518

    518 C HAPTER 5: N ETWORK P ROTO COL Description Using the link-protocol sdlc comman d, you can change th e lin k layer encapsulation protocol of the synchr onous serial interface into SDLC. By default, the encapsulated link layer protocol of the synchronous serial interface is PPP . The SDLC is a kind of link layer protocol r e lative to the SNA, w[...]

  • Página 519

    DLSw Configuration Commands 519 Vie w Ethernet Interface view Parameter ■ length: The queue length sending the LLC2 packet, ranging from 20 to 200. Description Using the llc2 max-send-queue command , you can configure the queue length sending the LLC2 packet. Using the un do llc2 max-send-queue comman d, you can restor e the default queue length [...]

  • Página 520

    520 C HAPTER 5: N ETWORK P ROTO COL Description Using the llc2 modulo command, you ca n configu re the modulus of the LLC2. Using the undo llc2 modulo command, you can restor e the default modulus of the LLC2. By default, the modulus of the LLC2 is 128. LLC2, like X25, adopts modulus mode to number information packets, and the modulus of LLC2 is 8 [...]

  • Página 521

    DLSw Configuration Commands 521 Description Using the llc2 timer ack command, you can configure the LLC2 local r esponse time. Using the undo llc2 timer ack command , you can restore the default value of the LLC2 local re sponse time. By defaul t, the LLC2 local r esponse time is 200ms. The LLC2 local response time refers to the maximum waiting t i[...]

  • Página 522

    522 C HAPTER 5: N ETWORK P ROTO COL Description Using the llc 2 timer busy c ommand, you ca n configur e the LLC2 BUSY tim e. Using the undo llc2 timer busy command, you can restore the default value of the LLC2 BUSY time. By default, the LLC2 BUSY time is 300ms. The LLC2 BUSY time r efers to the waiting time before repolling a busy station. Exampl[...]

  • Página 523

    DLSw Configuration Commands 523 By default, the LLC2 REJ time is 500ms. The LLC2 REJ time refers to the waiti ng time for the acknow ledgement frame to come after a deny frame is sent. Example Configure the LLC2 REJ time as 2000ms. [3Com-Ethernet1/0/0] llc2 timer reject 2000 reset dlsw bridge-entry Syntax rese t dl sw bridge-entry Vie w User view P[...]

  • Página 524

    524 C HAPTER 5: N ETWORK P ROTO COL Vie w Synchronous serial interface view Parameter ■ sdlc-address: The se condary station addr ess of the SDLC. Description Using the sdlc controller command, yo u can configure the secondary station address of the SDLC. Using the undo sdlc controller command, you can delete the secondary station address of the [...]

  • Página 525

    DLSw Configuration Commands 525 Example Configure the virtual MAC addr ess of the SDLC. [3Com-Serial1/0/0] sdlc mac-map local 0 000-e81c-b6bf sdlc mac-map r emote Syntax sdlc mac-map remote mac-addr sdlc-addr undo sdlc mac-map remo te mac-addr sdlc-addr Vie w Synchronous serial interface view Parameter ■ mac-addr: The MAC address of the SDLC peer[...]

  • Página 526

    526 C HAPTER 5: N ETWORK P ROTO COL The SDLC maximum frame length r efers t o the bytes of the largest packet that can be received and sent, excluding the parity bit and the start/stop bit. The maximum r ece ivable frame length of so me PU2.0 devices is of 265 bytes, and that of IBM AS/400 is generally of 521 by tes. Usually we need to configure it[...]

  • Página 527

    DLSw Configuration Commands 527 Example Configure the SDLC timeout retransmission times as 30. [3Com-Serial1/0/0] sdlc max-transmissio n 30 sdlc modulo Syntax sdlc modulo n undo sdlc modulo Vie w Synchronous serial interface view Parameter ■ n: SDLC modulus, with available value of 8 or 128. Description Using the sdlc modulo command, you can conf[...]

  • Página 528

    528 C HAPTER 5: N ETWORK P ROTO COL For related configuration, please see the sdlc sap-map remote command. Example Configure the SAP address on tran slating the SDLC int o the LLC2. [3Com-Serial1/0/0] sdlc sap-map lo cal 08 05 sdlc sap-map r emote Syntax sdlc sap-map remote dsap sdlc-addr undo sdlc sap-map remote dsap sdlc-addr Vie w Synchronous se[...]

  • Página 529

    DLSw Configuration Commands 529 This command configures the synchr onous se rial interface to work in bidirectional data simultaneous transmission mode. Th at is, the SDLC primary station can send data to the secondary statio n and receive data at the same time. Example Configure the SDLC data to use th e bidirectional transmission mode. [3Com-Seri[...]

  • Página 530

    530 C HAPTER 5: N ETWORK P ROTO COL Vie w Synchronous serial interface view Parameter ■ mseconds: The SDLC primary station response waiting time, ranging from 1 to 60000ms. Description Using the sdlc timer ack command, you ca n configure the SDLC primary station response waiting time (mseconds). Usin g the undo sdlc timer ack command, you can res[...]

  • Página 531

    DLSw Configuration Commands 531 sdlc timer poll Syntax sdlc timer poll mseconds undo sdlc timer poll Vie w Synchronous serial interface view Parameter ■ mseconds: SDLC poll pause timer , ranging from 1 to 10000ms . Description Using the sdlc timer poll co mma nd , yo u ca n configur e th e SD LC po ll pa u s e tim er . Using the undo sdlc timer p[...]

  • Página 532

    532 C HAPTER 5: N ETWORK P ROTO COL undo sdlc xid sd lc-address Vie w Synchronous serial interface view Parameter ■ sdlc-address: The SDLC address of the XID, which should be configured befor ehand. ■ xid-number: An integer with a length of 4 bytes, ranging from 1 to 0xFFFFFFFF . The first 12 bits are network numbers, and the last 20 bytes are [...]

  • Página 533

    6 R OUTING P RO T O C O L For the specific examples and parameter ex planation of VPN instance, refer to the “MPLS” module of this manual. Display Commands of the Routing T able display ip routing-table Syntax display ip routing-table Vie w Any view Parameter None Description Using the display ip routing-table command, you can view the routing [...]

  • Página 534

    534 C HAPTER 6: R OUTING P ROTOCOL 4.4.4.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0 127.0.0.0/8 DIRECT 0 0 127. 0.0. 1 InLoopBack0 127.0.0.1/32 DIRECT 0 0 127. 0.0.1 InLoopBack0 display ip routing-table acl Syntax display ip routing-table acl { acl -number | acl-name } [ verbose ] View Any view Parameter ■ acl_number: Number of basic ACL, ranging from[...]

  • Página 535

    Display Commands of the Routing Table 535 Vlinkindex: 0 State: <NotInstall NoAdvise Int ActiveU Retain Gateway Multicast Unicast> Age: 3:47Metric: 0/0 **Destination: 179.0.0.0Mask: 255.0.0.0 Protocol: StaticPreference: 60 *NextHop: 4.1.1.1 Vlinkindex: 0 State: <Int Hidden Static Unicast> Age: 3:47Metric: 0/0 **Destination: 169.0.0.0Mask[...]

  • Página 536

    536 C HAPTER 6: R OUTING P ROTOCOL This command only displays the route fully matching with specifie d desti nation address and mask. ■ display ip routing-table ip_addr ess longer -match This command displays all route de stination addr esses matching with destinatio n addr esses in natural mask range. Example There is corresponding route in natu[...]

  • Página 537

    Display Commands of the Routing Table 537 Vie w Any view Parameter ■ ip_address1, ip_addr ess2: Destination IP address in do tt e d de cimal notation. ip_addr ess1 and ip_addr ess2 determ ine one addr ess range togethe r to display the route in this address range. ■ mask1, mask2: IP address mask, length in dotted decimal notation or integer for[...]

  • Página 538

    538 C HAPTER 6: R OUTING P ROTOCOL Example Display the summary of the active route that is filter ed through ip prefix list abc2. <3Com> display ip routing-table ip -prefix abc2 Routes matched by ip-prefix abc2: Summary count: 4 Destination/MaskProtoPreCost Nexth opInterface 127.0.0.0/8Direct00127.0.0.1InLoop Back0 127.0.0.1/32Direct00127.0.0[...]

  • Página 539

    Display Commands of the Routing Table 539 Parameter ■ protocol: Has multiple selectable values: ■ direct: Displays dir ect conn ection route information ■ static: Displays static route informati on. ■ bgp: Displays BGP route information. ■ isis: Displays IS-IS r oute information. ■ ospf: Displays OSPF r oute information. ■ ospf-ase: D[...]

  • Página 540

    540 C HAPTER 6: R OUTING P ROTOCOL display ip routing-table radix Syntax display ip routing-table radix View Any view Parameter None Description Using th e display ip r outing-tabl e radix command, you can view the r outing table information in a tree structur e. Example View the r outing table information in a tree struc ture. <3Com> display[...]

  • Página 541

    Display Commands of the Routing Table 541 IS-IS0 0 0 00 OSPF 0 0 000 O_ASE0 0 0 00 O_NSSA0 0 0 00 Total 5 4 500 display ip r outing-table verbose Syntax display ip r outing-table verbose Vie w Any view Parameter None Description Using the display ip routing-table verbose command, you can view the verbose routing table information. W ith the verbose[...]

  • Página 542

    542 C HAPTER 6: R OUTING P ROTOCOL display ip routing-table vpn-instance Syntax display ip routing-table vpn-instance vp n-instance-name [ ip-address ] [ verbose ] View Any view Parameter ■ vpn-instance-name: VP N instance name. ■ ip-address: Destination IP addr ess in dotted decimal format. ■ verbose: W ith the parameter , the command displa[...]

  • Página 543

    Static Route Configuration Commands 543 Display the summary of the r outes to 10.1.1.1 in the VPN-instan ce vpn1. <3Com> display ip routing-table vpn-ins tance vpn1 10.1.1.1 Routing tables: vpn1 Route-Distinguisher: 100:1 Destination/Mask Protocol Pre Cost Nexthop Interface 10.1.1.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0 10.1.1.0/24 DIRECT 0 0 1[...]

  • Página 544

    544 C HAPTER 6: R OUTING P ROTOCOL View System view Parameter ■ ip-address: Destination IP address, in dotted decimal notation. ■ mask: Mask. ■ mask-length: Mask length. Since "1" s in the 32-b it mask are requir ed to be consecutive, the mask in dotted de cimal notation can be replaced by mask-lengt h , whic h is the number of the [...]

  • Página 545

    RIP Configuration Commands 545 can be specified. Bu t for NB MA interfac es, such as the interface or dialing interface encapsulate d with X.25 or frame-relay , they support point-to-multi-point. Except IP route is configured, secondary r oute, i.e. the map from IP addr ess to link layer addr e ss should be established on link layer . In such condi[...]

  • Página 546

    546 C HAPTER 6: R OUTING P ROTOCOL Example Configure not to perfo rm zero check for RIP-1 packet. [3Com-rip] undo checkzero debugging rip Syntax debugging rip { packet | receive | send } View User view Parameter ■ packet: Enables the RIP packets debugging. ■ receive: Enables the RIP receiving packets debugging. ■ send: Enables the RIP sending[...]

  • Página 547

    RIP Configuration Commands 547 Example Set the default routing cost of importing other r oute protocol r outes as 3. [3Com-rip] default cost 3 display rip S yntax display rip Vie w Any view Parameter None Description Using the display rip comma nd, you can view the current RIP running state and its configuration information. Example Display the cur[...]

  • Página 548

    548 C HAPTER 6: R OUTING P ROTOCOL Description Using the display rip vpn- instance command, you can view the related configuration of VPN in stance of RIP . Example None filter -policy ex port Syntax filter -policy { acl-number | ip-prefix ip-prefix-name } export [ r outing-protocol ] undo filter -policy { acl-number | ip-pr efix ip-prefix-name } e[...]

  • Página 549

    RIP Configuration Commands 549 Parameter ■ ip-prefix-name: Name of address pr efix list used for filtering the destinat ion addresses of the routing information. ■ acl-number: Access control list number used for filtering the destination addresses of the routing information. ■ gateway ip-prefix-name: Name of addre ss pr efix list used for fil[...]

  • Página 550

    550 C HAPTER 6: R OUTING P ROTOCOL import-route Syntax import-route pr otocol [ cost value ] [ route-policy route-policy-name ] undo import-route protocol View RIP view Parameter ■ protocol: Specifies the source r outing p rotocol to be imported by RIP . At present, RIP can import the following routes: dir ect, ospf, ospf-ase, ospf-nssa, static, [...]

  • Página 551

    RIP Configuration Commands 551 Description Using the ipv4-family command, you can en ter MBGP address family view of RIP . Using the undo ipv4-family command, you can can cel all configurations in extended address family view . ipv4-family command is used to enter the MBGP address family view . In this view , parameters related to addr ess fam ily [...]

  • Página 552

    552 C HAPTER 6: R OUTING P ROTOCOL Example Enable the RIP on the interface with the network address as 129.102.0.0. [3Com-rip] network 129.102.0.0 peer Syntax peer ip-address undo peer ip-address View RIP view Parameter ■ ip-address: IP addr ess of the peer r outer with which information will be exchange d in unicast mode , repr esente d in the f[...]

  • Página 553

    RIP Configuration Commands 553 [3Com-rip] preference 20 res e t Sy n ta x res e t Vie w RIP view Parameter None Description Using the reset command, you can re set the system parameters of RIP . When you need to re-configur e parameters of RIP , this command can be used to restor e the default setting. Example Reset the RIP system. [3Com-rip] reset[...]

  • Página 554

    554 C HAPTER 6: R OUTING P ROTOCOL rip authentication-mode Syntax rip authentication-mode { { simple passw ord } | { md5 { key-string key-string | key-id key-id } } } undo rip authent ication-mode View Interface view Parameter ■ simple: Simple text authentication mode. ■ password: Simple text authentication key , in character string format with[...]

  • Página 555

    RIP Configuration Commands 555 Description Using the rip authentication-mode md5 typ e command, you can configure md5 type of RIP-2 authentication By default, use nonstandard type. RIP-2 packets can be in the following tw o formats when M D5 authentica tion is adopted: The earlier raised format is de s cribed in RFC1723, which is adopted by Gated. [...]

  • Página 556

    556 C HAPTER 6: R OUTING P ROTOCOL View Interface view Parameter ■ value: Additional route metric added when receiving a packet, ranging from 0 to 16. By default, the value is 1. Description Using the rip metricin command, you ca n config ure the additional route metric added to the route when an interface receives RIP packets. Using the undo rip[...]

  • Página 557

    RIP Configuration Commands 557 rip output Syntax rip outp ut undo rip output Vie w Interface view Parameter None Description Using the rip output command, you can configure an interface to transmit RIP packets to the exter nal. Us ing the undo rip output command, you can cancel an interface to transmit RIP packets to the exter nal. By default, RIP [...]

  • Página 558

    558 C HAPTER 6: R OUTING P ROTOCOL Normally , split horizon is necessary for re ducing route loop. Only in some special cases, split horizon should be disabled to ensur e the corr ect execution of protocols. Example Specify the interface serial1/0/0 not to use split horizon when pr ocessing RIP packets. [3Com] interface serial1/0/0 [3Com-serial1/0/[...]

  • Página 559

    RIP Configuration Commands 559 Vie w Interface view Parameter None Description Using the rip work command, you can enab le the running of RIP on an interface. Using the undo rip work command, you can disable the running of RIP on an interface. By default, RIP is run on an interface. This command is used in cooperation wi th rip input, r ip output a[...]

  • Página 560

    560 C HAPTER 6: R OUTING P ROTOCOL [3Com] interface serial1/0/0 [3Com-serial1/0/0] rip version 2 [3Com-serial1/0/0] quit [3Com] rip [3Com-rip] undo summary timers Syntax timers { update update-timer -length | timeout timeout-timer -length } * undo timers { update | timeout } * View RIP view Parameters ■ update-timer -length: Period update value, [...]

  • Página 561

    OSPF Configuration Commands 561 Vie w OSPF ar ea view Parameter ■ ip-address: Network segment address. ■ mask: Network mask. ■ Advertise: Advertises only the summarized route. ■ Notadvertise: Suppresses the advertiseme nt of the routes in the matched range. Description Using the abr -summary command, you can conf igure the r oute aggregatio[...]

  • Página 562

    562 C HAPTER 6: R OUTING P ROTOCOL [3Com-ospf-1-area-0.0.0.0] asbr -summary Syntax asbr -su mmary ip-ad dr e ss mask [ not-advertise | tag value ] undo asbr -summary ip-address mask [ not-advertise | tag value ] View OSPF view Parameter ■ ip-addr ess: Matched IP a ddress in do tted decimal notatio n. ■ mask: IP address mask in dotted decimal no[...]

  • Página 563

    OSPF Configuration Commands 563 ■ md5: MD5 cipher text authentication mode. Description Using the authentication-mode command, you can configure one area of OSPF to support the authentication attribute. Us ing the undo authentication-mode command, you can cancel the authentication attribut e of this area. By default, an area does not support auth[...]

  • Página 564

    564 C HAPTER 6: R OUTING P ROTOCOL Description Using the debugging ospf command, you can enable OSPF debugging. Using the undo debugging ospf command, you can disable the function. In OSPF multi-process, using debugging command, you can en able the debugging of all the process simultaneously or one of the processes only . If no process number is sp[...]

  • Página 565

    OSPF Configuration Commands 565 undo default interval Vie w OSPF view Parameter ■ seconds: Default interval fo r importing exter nal routes. Its unit is second and the value ranges from 1 to 2147483647. By default, the interval for OSPF to import external routes is 1 second. Description Using the default interval command, you can configure the de[...]

  • Página 566

    566 C HAPTER 6: R OUTING P ROTOCOL undo default tag View OSPF view Parameter ■ tag : Default tag, ranging from 0 to 4294967295. Description Using the default tag command, you can c onfigure the default tag o f OSPF when it redistributes an external route. Us ing the undo default ta g command, you can restor e the default tag of OSPF when it redis[...]

  • Página 567

    OSPF Configuration Commands 567 default-cost Syntax default-cost value undo default-cost Vie w OSPF ar ea view Parameter ■ value: Specifies the cost va lue of the default route transmitted by OSPF to the STUB or NSSA area, ranging fr om 0 to 16777214. The default value is 1. Description Using the default-cost command, you can co nfigu re the cost[...]

  • Página 568

    568 C HAPTER 6: R OUTING P ROTOCOL ■ cost-value: Cost value of this LSA. The cost-value ranges from 0 to 16777214. The default value is 1. ■ type-value: Cost type of this LSA. It ranges from 1 to 2. The default value is 2. ■ route-policy-name: If the default route matches the route-policy specified by route-policy-name, route-policy will af f[...]

  • Página 569

    OSPF Configuration Commands 569 <3Com> display debugging ospf OSPF global debugging state: OSPF SPF debugging is on OSPF LSA debugging is on OSPF process 100 debugging state: OSPF SPF debugging is on OSPF process 200 debugging state: OSPF SPF debugging is on OSPF LSA debugging is on display ospf abr -asbr Syntax display ospf abr - asbr Vie w [...]

  • Página 570

    570 C HAPTER 6: R OUTING P ROTOCOL Example Display the summary information of all OSPF imported routes. <3Com> display ospf asbr-summary Total summary address count: 2 Summary Address net : 168.10.0.0 mask : 255.254.0.0 tag : 1 status : Advertise The Count of Route is 0 Summary Address net : 1.1.0.0 mask : 255.255.0.0 tag : 100 status : DoNot[...]

  • Página 571

    OSPF Configuration Commands 571 Interface: 30.0.0.1 (Ethernet2/0/0) Cost: 1 State: DR Type: Broadca st Priority: 1 Designated Router: 30.0.0.1 Timers: Hello 1 0, Dead 40, Poll 0, Retransmit 5, Tran smit Delay 1 Area 0.0.0.1: Authtype: none Flags: <Transit> SPF scheduled: <> Interface: 40.0.0.1 (LoopBack0) --> 40.0.0.1 Cost: 1562 Stat[...]

  • Página 572

    572 C HAPTER 6: R OUTING P ROTOCOL Area 0.0.00.0: Neighbors: 1 Interfaces: 1 Spf: 54 Checksum Sum F020 rtr: 2 net: 0 sumasb: 0 sumnet: 1 Area 0.0.0.1: Neighbors: 0 Interfaces: 1 Spf: 19 Checksum Sum 14EAD rtr: 1 net: 0sumasb: 1sumnet: 1 Routing Table: Intra Area: 2 Inter Area: 0ASE: 1 display ospf erro r Syntax display ospf error View Any view Para[...]

  • Página 573

    OSPF Configuration Commands 573 Vie w Any view Parameter ■ interface-type: Interface typ e ■ port-number: Interface number . Description Using the display ospf interface command, you can view the OSPF interface information. Example Display the OSPF ether net2/0/0 inter face information. <3Com> display ospf interface ethernet2 /0/0 Interfa[...]

  • Página 574

    574 C HAPTER 6: R OUTING P ROTOCOL Description Using the display ospf lsdb command, you can view the database information about OSPF connecting state. Example Display the database information abo ut OSPF connecting state. <3Com> display ospf lsdb OSPF Process 1 wit h Router ID 123.1.1.1 Link Stat e Database Area: 0.0. 0.0 Type LinkState ID Ad[...]

  • Página 575

    OSPF Configuration Commands 575 Tag: 1 Display database information of summary route. <3Com> display ospf lsdb summary OSPF Process 1 with Rou ter ID 1.1.1.1 Link State Dat abase Area: 0.0.0.0 Type : SumNet Ls id : 2.2.0.0 Adv rtr : 1.1.1.1 Ls age : 304 Len : 28 seq : 80000001 chksum : 0x61d4 Options : (DC) Net mask : 255.255.0.0 Tos 0 metric[...]

  • Página 576

    576 C HAPTER 6: R OUTING P ROTOCOL <3Com> display ospf lsdb asbr OSPF Process 1 wit h Router ID 2.2.2.2 Link Stat e Database Area: 0.0.0.1 Type : SumASB Ls id : 123.1.1.1 Adv rtr : 1.1.1.1 Ls age : 20 Len : 28 seq : 80000001 chksum : 0x1f9b Options : (DC) Tos 0 metric: 1 Display database information of T y pe- 5 LSA. <3Com> display ospf[...]

  • Página 577

    OSPF Configuration Commands 577 Rtr 1.1.1.1 1.1.1.1 5 39 36 80000016 0 SpfTree SNet 2.2.0.0 1.1.1.1 445 28 80000008 1 Inter List Area: 0.0.0.1 Type LinkState ID A dvRouter Age Len Se quence Metric Where Rtr 1.1.1.1 1.1.1.1 5 39 36 8000000e 0 SpfTree SNet 1.1.0.0 1.1.1.1 445 28 8000000a 1 Inter List ASB 123.1.1.1 1.1.1.1 445 28 80000007 1 SumAsb Lis[...]

  • Página 578

    578 C HAPTER 6: R OUTING P ROTOCOL Description Using the display ospf peer command, you can view the information about the neighbors in OSPF areas. Using the d isp lay ospf peer brief comm and, you can view the brief information of neighbors in OSPF , mainly the neighbor number at all states in every area. The display format of OSPF neighbor valid [...]

  • Página 579

    OSPF Configuration Commands 579 Interface: 103.169.2.2 Area: 0.0. 0.1 LSID:129.11.25.0 AdvRouter:103.160.1.1 Sequence:80000001 Age:201 LSID:129.11.25.0 AdvRouter:103.160.1.1 Sequence:80000001 Age:201 LSID:129.11.25.0 AdvRouter:103.160.1.1 Sequence:80000001 Age:201 display ospf retrans-queue Syntax display ospf r etrans-queu e Vie w Any view Paramet[...]

  • Página 580

    580 C HAPTER 6: R OUTING P ROTOCOL Destination Cost Type NextHop AdvRouter Area 10.110.0.0/16 1 Net 10.110.0.1 10.110.0.1 0 30.110.0.0/16 1 Stub 30.110.0.1 3.3.3.3 0 Total Nets: 2 Intra Area: 2 Inter Area: 0 AS E: 0 NSSA: 0 display ospf vlink Syntax display ospf vlink View Any view Parameter None Description Using the display ospf vlink command, yo[...]

  • Página 581

    OSPF Configuration Commands 581 In some cases, it may be r equir ed that only the routing info rmation meeting some conditions can be advertised. Then , the filt er -po licy command can be used to configure the filtering conditions for the ro uting info rmat ion to be advertised. Only the routing information passing the filtration can be advertised[...]

  • Página 582

    582 C HAPTER 6: R OUTING P ROTOCOL Example Filter the re ceived r outing information accor ding to the rule defined by the access control list 2. [3Com] acl number 2 [3Com-acl-basic-2] rule permit sou rce 20.0.0.0 0.255.255.255 [3Com-acl-basic-2] rule deny sourc e any [3Com-ospf-1] filter-policy 2 impo rt import-route Syntax import-route protocol [[...]

  • Página 583

    OSPF Configuration Commands 583 Vie w OSPF ar ea view Parameter ■ ip-address: Address of the netwo rk se gment where the interface locates. ■ wildcard: IP addr ess wildcar d mask, which is similar to the r eversed form of the mask of IP address. But when configure th is parameter , you can type it as mask of IP address, it could be translate d [...]

  • Página 584

    584 C HAPTER 6: R OUTING P ROTOCOL [3Com] ospf 200 vpn-instance vpn1 [3Com-ospf-200] area 1 [3Com-ospf-200-area-0.0.0.1] netwo rk 131.108.20.0 0.0.0.255 Enable OSPF process 300 on t he router and specify the number of the area where the interface is locate d as 2. [3Com] ospf 300 vpn-instance vpn1 [3Com-ospf-300] area 2 [3Com-ospf-300-area-0.0.0.2][...]

  • Página 585

    OSPF Configuration Commands 585 Vie w OSPF view Parameter None Description Using the opaque-capability enable comm and, you can enable the Opaque capability of OSPF . Using the undo opaque -capability command, you can disable the Opaque capability of OSPF . CAUTION: By default, Opaque capab ility of OSPF is enabled. If the application based on Opaq[...]

  • Página 586

    586 C HAPTER 6: R OUTING P ROTOCOL Enable OSPF process 120 to run OS PF. [3Com] router id 10.110.1.8 [3Com] ospf 120 [3Com-ospf-120] ospf authentication-mode Syntax ospf authentication-mode { simple password | md5 key-id key } undo ospf authentication-mode { simple | md5 } View Interface view Parameter ■ simple password: Character string not exce[...]

  • Página 587

    OSPF Configuration Commands 587 Vie w Interface view Parameter ■ value: Cost for running OSPF pr otocol, ranging f rom 1 to 65535. Description Using the ospf cost command, you can conf igure dif ferent packet sending costs so as to send packets from dif ferent interfa ces. Using the undo ospf cost command, you can restor e the default costs. By d[...]

  • Página 588

    588 C HAPTER 6: R OUTING P ROTOCOL Parameter ■ process-id: Number of OSPF process. Description Using the ospf mib-binding command, MIB operation can be bound on the specified OSPF process. Using the und o ospf mib-binding command , you can re store the default conf iguration. MIB operation is always bou nd on the first process enabled by OSPF pro[...]

  • Página 589

    OSPF Configuration Commands 589 ospf network-type Syntax ospf network-type { broadcast | nbma | p2mp | p2p } undo ospf network-type Vie w Interface view Parameter ■ bro a dcast: Changes the inte rf a c e network type to broadcast. ■ nbma: Changes the interface network ty pe to Non -Broadcast Multicast Access. ■ p2mp: Changes the interface net[...]

  • Página 590

    590 C HAPTER 6: R OUTING P ROTOCOL [3Com] interface serial1/0/0 [3Com-serial1/0/0] ospf network-ty pe nbma ospf timer dead Syntax ospf timer dead seconds undo ospf timer dead View Interface view Parameter ■ seconds: Dead interval of the OSPF neig hb o r . It is in second and ranges fr om 1 to 65535. Description Using the ospf timer dead command, [...]

  • Página 591

    OSPF Configuration Commands 591 By default, the interval is 10 seconds for an interface of p2p or broadcast type to transmit Hello messages, an d 30 seconds for an interface of nbma or p2mp type. For the related command, see ospf timer dead. Example Configure the interval of transmitting Hello packets on the interface serial1/0/0 to 20 seconds. [3C[...]

  • Página 592

    592 C HAPTER 6: R OUTING P ROTOCOL Description Using th e ospf timer r etransmit co mmand, you can configure the interval for LSA re-transmitting on an interface. Using the undo ospf timer retransmit command, you can restor e the default interval value for LSA re-transmitting on the interface. If a router running OSPF trans mits a "link state [...]

  • Página 593

    OSPF Configuration Commands 593 Vie w OSPF view Parameter ■ ip-address: IP address of the neighboring point. ■ dr -p riority-n umber: Represents the corr esponding value of th e net work neighbor priority , being an integer rangi ng from 0 to 255. The default value is 1. Description Using the peer command, you can configur e the IP address of a[...]

  • Página 594

    594 C HAPTER 6: R OUTING P ROTOCOL Example Specify the prefer ence of an ext er nal import ed route of the AS as 160. [3Com-ospf-1] preference ase 160 reset ospf Syntax reset ospf [ statis tic s ] { all | process-id } View User view Parameter ■ statistics: Resets statistics of the OSPF process. ■ process-id: OSPF pr ocess number . If no OS PF p[...]

  • Página 595

    OSPF Configuration Commands 595 Vie w System view Parameter ■ router -id: Router ID that is a 32-bit unsigned integer . Description Using the router id command, you can configure the ID of a r outer runnin g the OSPF protocol. Using the undo r outer id command, you can cancel the router ID that has been configured. By default, no router ID is con[...]

  • Página 596

    596 C HAPTER 6: R OUTING P ROTOCOL Differ ent processes can disa ble the same interface to transmit OS PF packet. While silent-interface command onl y takes effect on the interface enabled with OSPF by this process, being invalid for the interface enabled by other pr ocesses. Example Disable interface serial2/0/0 to tran smit OSPF packet. [3Com-osp[...]

  • Página 597

    OSPF Configuration Commands 597 Description Using the snmp-agent trap enable ospf command, you can enable the TR AP function of OSPF . Using the undo snmp-a gent trap enable ospf command, you can disable the TRAP function . This command takes no effect on the OSPF process enabled after its execution. By default, no OSPF process is enabled to transm[...]

  • Página 598

    598 C HAPTER 6: R OUTING P ROTOCOL Parameter ■ no-summary: Only available for the ABR in Stu b area. When this parameter is selected, the ABR only advertises the Su mmary-LSA for the default r oute, bu t no other Summary-LSAs. The area is also called totally stub area. Description Using the stub command, yo u can configure the type of an OSPF are[...]

  • Página 599

    Integrated IS-IS Config uration Commands 599 ■ key: Specifies the authentication key on an interface. It is a character string not exceeding 16 character s. This value must equal the auth entication key of the virtually linked neighbor . And the key will be displayed in a cipher text form in a length of 24 ch aracters when display cur rent-config[...]

  • Página 600

    600 C HAPTER 6: R OUTING P ROTOCOL Description Using the area-authentication-mod e co mmand, you can configure IS-IS to authenticate the received Le vel-1 rout ing information packets (LSP , CSNP and PSNP), according to the pre-define d mode and password. Using the undo area-authentication-mode command, you ca n configure IS-IS not to auth enticate[...]

  • Página 601

    Integrated IS-IS Config uration Commands 601 Example Set IS-IS to receive packets whose cost type is narrow or wide, but only send packets whose c ost type is narr ow . [3Com] isis [3Com-isis] cost-style narrow-compatible debugging isis Synt ax debugging isis { adjacency | all | authentication-error | checksum-error | circuit-information | configur[...]

  • Página 602

    602 C HAPTER 6: R OUTING P ROTOCOL ■ timer: IS-IS timer . ■ update-packet: Updated packet s through IS-IS pr otocol. Description Using the debugging isis comman d, you can enable IS-IS debugging . Using the undo debugging isis co mmand, you can disable the function. Example Enable all the information debugging of IS-IS. <3Com> debugging i[...]

  • Página 603

    Integrated IS-IS Config uration Commands 603 Description Using the display isis interface command, you can view the information of the IS-IS enabled interface. This command views the information of the IS-IS enabled interface, including interface name, IP address, link state of the interface and so on. Besides displaying all the information shown b[...]

  • Página 604

    604 C HAPTER 6: R OUTING P ROTOCOL IS-IS Level-1 Link State Database LSPID LSP Seq Num LSP Checksum LSP-Holdtime ATT/P/OL 0050.0500.5004.00-00 0x0000000e 0x3670 1084 0/0/0 0050.0500.5005.00-00 0x00000010 0xf94 333 0/0/0 IS-IS Level-2 Link State Database LSPID LSP Seq Num LSP Checksum LSP-Holdtime ATT/P/OL 0050.0500.5004.00-00* 0x0000001d 0x3e8 1089[...]

  • Página 605

    Integrated IS-IS Config uration Commands 605 Example Display the output information of display isis peer command. <3Com> display isis peer NET Interface Id State HoldTime Type Pri 0001.0002.0002 Ethernet2/0/0 0001.0002.0008.01 Up 26s L1(L12) 64 0001.0002.0002 Ethernet1/0/0 002 Up 29s L1 0 Output more information by using the v erbose paramete[...]

  • Página 606

    606 C HAPTER 6: R OUTING P ROTOCOL 3.0.0.2 Ethernet1/0/0 ISIS Level - 2 F orwarding Table : Type - D -Direct, C -Connected, I -ISIS, S -Static, O -OSPF B -BGP, R -RIP Flags: R-Added to RM, L-Adver tised in LSPs, U-Up/Down Bit Set Destination/Mask In.Met Ex.Met NextHop Interface Flags ---------------------------------- ------------------------------[...]

  • Página 607

    Integrated IS-IS Config uration Commands 607 IS_SPFTRIG_CIRC_UP7023:10:53 IS_SPFTRIG_LSPCHANGE7023:10:53 IS_SPFTRIG_LSPCHANGE7023:10:53 IS_SPFTRIG_ADJDOWN4023:10:54 IS_SPFTRIG_ADJDOWN4023:10:54 domain-authentication- mode Synt ax domain-authentication-mode { simple | md5 } password [ ip | osi ] undo domain-authentication-mo de { simple | md5 } [ ip[...]

  • Página 608

    608 C HAPTER 6: R OUTING P ROTOCOL Vie w IS-IS view Parameter ■ acl-number: Specifies the number of the access contr ol list, ranging from 1 to 199. ■ protocol: Specifies the protocols that distribute routing information, including direct, static, rip, bgp, ospf, ospf-nssa and ospf -ase at present. W ithout this parameter , all the distributed [...]

  • Página 609

    Integrated IS-IS Config uration Commands 609 Example Filter the r eceived routes by using acl 3. [3Com-isis] filter-policy 3 import ignore-lsp-checksum-err or Synt ax ignore-lsp-checksum-err or undo ignore-lsp-checksum-err or Vie w IS-IS view Parameter None Description Using the ignore-lsp-checksum-error comm and, you can configure the IS-IS to ign[...]

  • Página 610

    610 C HAPTER 6: R OUTING P ROTOCOL ■ level-1-2: Imports the route into Level-1-2 r outing table. ■ If the level for importing the route is not specified in the command, it defaults to import the routes into Level-1 and Level-2, i.e. Level-1-2 routing table. ■ route-policy r oute-policy-name: Imports onl y the routes matching the specified rou[...]

  • Página 611

    Integrated IS-IS Config uration Commands 611 [3Com-isis] import-route isis level2 in to level1 acl 100 isis Syntax isis [ tag ] undo isis [ tag ] Vie w System view Parameter ■ tag: Name given to the IS-IS process. The name length should be no lo nger than 128 characters. It can be 0, which means null. Description Using the isis command, you can e[...]

  • Página 612

    612 C HAPTER 6: R OUTING P ROTOCOL ■ level-2: Configures authentication password for Level-2. ■ ip: Specifies the IP authe ntication password. ■ osi: Specifies the OSI authentication password. The configuration of ip o r osi authentica tion password is independent of the real network environment. Description Using the isis authentication-mode[...]

  • Página 613

    Integrated IS-IS Config uration Commands 613 only one type of hello message is sent and received on the point-to-point link. In this way , excessive processing is av oided, and the bandwidth is saved. Only when system type of IS-IS is Level-1-2, can the cir cuit level t ake effect. Otherwise, take the level defined vi a is-level command as the sta [...]

  • Página 614

    614 C HAPTER 6: R OUTING P ROTOCOL Vie w Interface view Parameter ■ value: Specifies the priority when sele cting DIS, ranging from 0 to 127.By default, the value is 64. ■ level-1: Specifies the priority when selecting Level-1 DIS. ■ level-2: Specifies the priority when selecting Level-2 DIS. Description Using the isis dis-pr iority command, [...]

  • Página 615

    Integrated IS-IS Config uration Commands 615 So far , a router can enable the IS-IS pr ocess on 255 interfaces at most, including logic interfaces such as subinterfaces. Example Cre ate a n IS-IS r outing pr ocess named "3C om", and activate this r outing pr ocess on interface serial1/0/0. [3Com] isis 3Com [3Com-isis] network-entity 10.00[...]

  • Página 616

    616 C HAPTER 6: R OUTING P ROTOCOL undo isis timer csnp [ level-1 | level-2 ] Vie w Interface view Parameter ■ seconds: Specifies the CSNP packet inte rval on the br oadcast network, ranging from 1 to 65535 and measured in seconds. By default, the value is 10 seconds. ■ level-1: Specifies the Leve l-1 CSNP packet interval. ■ level-2: Specifie[...]

  • Página 617

    Integrated IS-IS Config uration Commands 617 this time 3 times of hello interval. That is to say , if the router does not re ceive hello message from its neighbor 3 times, it would determine that t he neighbor is dead. User can adjust this parameter according to the network. For the related command, see isis timer hello. Example Set the dead interv[...]

  • Página 618

    618 C HAPTER 6: R OUTING P ROTOCOL Vie w Interface view Parameter ■ time: Specifies the LSP interval, rang ing from 1 to 1000 and measured in milliseconds. The default value is 33 milliseconds. Description Using the isis timer lsp command, you can configure minimum IS-IS LSP interval on the interfa ce . Us in g th e undo isis timer lsp command, y[...]

  • Página 619

    Integrated IS-IS Config uration Commands 619 Vie w IS-IS view Parameter ■ level-1: Configures the router to ope rate at Level-1, only calculate the intra-area routes and maintain the LSDB of L1. ■ level-1-2: Config ures the router to operate at Level-1-2, ca lculate both the L1 and L2 routes and maintain the LSDB of Level-1 and Level-2. ■ lev[...]

  • Página 620

    620 C HAPTER 6: R OUTING P ROTOCOL [3Com-isis] log-peer-change network-entity Syntax network-entity net undo network-entity n et Vie w IS-IS view Parameter ■ net: Specifies the NET (Network Entity Title ) in the X…X.XXXX....XXXX.00 format, in which the first "X…X" is the ar e a addr ess, the twelve Xs in the middle is the System ID [...]

  • Página 621

    Integrated IS-IS Config uration Commands 621 Description Using the prefer ence command, you can configure the preference of IS-IS protocol. Using the undo pr eference comma nd, you can restor e the default value. Several dynamic routing pr otocols could run simult aneously on a router . In this case, ther e is an issue of sharing and se lecting the[...]

  • Página 622

    622 C HAPTER 6: R OUTING P ROTOCOL Example Clear the IS-IS data of neighbor whose system ID is 0000.0c11.1111 . <3Com> reset isis peer 0000.0c11.1 111 set-overload Synt ax set-overload undo set-overload Vie w IS-IS view Parameter None Description Using the set- o ver l o a d co mma nd, you can configur e overload fla g bit for the current r o[...]

  • Página 623

    Integrated IS-IS Config uration Commands 623 The silent-interface command is only used to restrain the IS-IS packets not to be sent on the interface, but the interface routes still can be sent fr om other interfaces. Example Prohibit the IS-IS packets to be tr ansmitted via Inte rface Ether net1/0/0. [3Com-isis] silent-interface Ethernet1/ 0/0 spf-[...]

  • Página 624

    624 C HAPTER 6: R OUTING P ROTOCOL value, the calculation of this t ime ends. If seconds is set to 0, it indicates that SPF calculation is not divide d into slices and it will operate until the end. By default, the value is 0. Description Using the spf-slice-size command, you ca n configure whether to set slice and the duration time each time when [...]

  • Página 625

    Integrated IS-IS Config uration Commands 625 them, the aggregated route can be either a route found by IS-IS protocol, or an imported route. Furthermore, the cost va lue of the aggr egated route adopts the smallest cost of the r outes aggregated. Example Set a route summary of 202.0.0.0/8. [3Com-isis] summary 202.0.0.0 255.0.0.0 timer lsp-max-age S[...]

  • Página 626

    626 C HAPTER 6: R OUTING P ROTOCOL By this mechanism, synchronization of th e LSPs within the entir e area can be maintained. For the related command, see timer lsp-max-age. Example Set the LSP refresh interval of the current system to 1500 seconds. [3Com-isis] timer lsp-refresh 1500 timer spf Sy ntax timer spf seconds [ level-1 | level-2 ] undo ti[...]

  • Página 627

    BGP Configuratio n Co mma nds 627 aggr egate Synt ax aggregate address mask [ as-set ] [ detail-suppressed ] [ suppress-policy route-policy-name ] [ origin-policy route-polic y-name ] [ attribute-policy route-policy-name ] undo aggregate address mask [ as-set ] [ detail-suppressed ] [ suppress-policy route-policy-name ] [ origin-policy route-polic [...]

  • Página 628

    628 C HAPTER 6: R OUTING P ROTOCOL balance Sy ntax balance num undo balance Vie w BGP view Parameter ■ num: Number of BGP load sharing routes. Their ranges ar e defined according to the router types. Y ou can get pr om pt information by inputting “?” at its location to confirm th e current product ra nge.When num is 1, it indicates ther e is [...]

  • Página 629

    BGP Configuratio n Co mma nds 629 [3Com-bgp] compare-dif ferent-as-me d Synt ax compare-dif fere nt-as-med undo compare-dif ferent-as-med Vie w BGP unicast view , BGP multicast view , VPNv4 vie w Parameter None Description Using the compare-different-as-med co mmand, you can enab le comp a ri son of MED values from dif ferent AS neighboring routes [...]

  • Página 630

    630 C HAPTER 6: R OUTING P ROTOCOL several smaller sub-ASs, a nd each sub-ASs remains full-connected. These sub-ASs form a confederation. Key IGP attributes of the route, such as next hop, MED, local preference, ar e not discarded across ea ch sub-ASs. The sub-ASs still look like a whole from the po int of view of a conf ederation although these su[...]

  • Página 631

    BGP Configuratio n Co mma nds 631 confederation peer -as Syntax confederation peer -as as-number -1 [ ......as-number -n ] undo confederation peer -as [ as-number -1 ] [ ......as-number -n ] Vie w BGP view Parameter ■ as-number -1...as-nu mber -n: Sub-AS number , ranging from 1 to 65535. This command can configure a maximum of 32 sub-Ass belongin[...]

  • Página 632

    632 C HAPTER 6: R OUTING P ROTOCOL ■ policy-name: Route policy name. Description Using the dampening command, yo u can make BGP route attenuation valid or modify various BGP route attenuation paramet ers. Using the undo dampenin g command, you can make the characteristics invalid . By default, no route at tenuat ion is configured. If the paramete[...]

  • Página 633

    BGP Configuratio n Co mma nds 633 Example Enable the information deb uggin g of BGP packets. <3Com> debugging bgp packet default local-prefer ence Syntax default local-prefer ence va lue undo default local-prefer ence Vie w BGP unicast view , BGP multicast view , VPNv4 vie w Parameter ■ value: Default local pr efer ence to be configured. Th[...]

  • Página 634

    634 C HAPTER 6: R OUTING P ROTOCOL with identical destination address and differ ent next-hops from various external peers, it will select the best route dependi ng on the MED value. In the case that all other conditions are the same, the sys tem first selects the route with the smaller MED value as the exter nal route of the autonomous sys tem. Ex[...]

  • Página 635

    BGP Configuratio n Co mma nds 635 Parameter vpn-instance vpn-instance-nam e: Name of VPN instance. route-distinguisher r oute-distingu isher: Name of route-distinguisher . Description Using the display bgp network command, you can view the routing information that has been configured. Example View the routing information that has been configu red. [...]

  • Página 636

    636 C HAPTER 6: R OUTING P ROTOCOL ■ vpn-instance vpn-instance-nam e: Name of VPN instance. ■ route-distinguisher route-distinguisher: Name of r oute-distin guisher . ■ verbose: Displays the detaile d information of the peer . Description Using the display bgp peer command, yo u can view the information of peer . Using the display bgp multica[...]

  • Página 637

    BGP Configuratio n Co mma nds 637 ■ vpn-instance vpn-instance-n ame: Displays NLRI associated with the specified VPN instance. ■ ip-address: Displays the de stination netwo rk address. ■ mask: Network mask. Description Using the display bgp multicast routing-table command, you can view the BGP routing information of the specified IP addre ss [...]

  • Página 638

    638 C HAPTER 6: R OUTING P ROTOCOL Parameter ■ acl-number: Number of the specified AS path to be matched, ranging 1 to 199. Description Using the display bgp routing-table as-path-acl command, you can view routes that match an as-path acl Example Display r outes that match filtering list. <3Com> display bgp routing-table a s-path-acl 1 Flag[...]

  • Página 639

    BGP Configuratio n Co mma nds 639 ^ 22.1.0.0/16 256 200.1.7.2 100 INC 200 88.1.0.0/16 60 0.0.0.0 IGP display bgp routing-table community Synt ax display bgp [ multicast | [ vpnv4 { all | r oute-distinguisher ro ute-distinguisher | vpn-instance vpn-instan ce-name } ] ] routing-table community [ aa:nn | no-export-subconfed | no-adver tise | no-export[...]

  • Página 640

    640 C HAPTER 6: R OUTING P ROTOCOL Description Using the display bgp routing-table community-list command, you can view the routing information matching th e specified BGP community list. Example View the routing information matching BGP community list 1. [3Com] display bgp routing-table c ommunity-list 1 Flags: - valid, ^ - best , D - damped, H - [...]

  • Página 641

    BGP Configuratio n Co mma nds 641 Parameter None Description Using the display bgp routing-table diff er ent-origin- as command, you can view routes that have differ ent source autonomous systems Example View the routes that have differ ent source ASs. <3Com> display bgp routing-table differ ent-origin-as Flags: - valid, ^ - best, D - damped,[...]

  • Página 642

    642 C HAPTER 6: R OUTING P ROTOCOL Dest/Mask Source Keepup-time Damping-limit Flap-times Origin As-path ---------------------------------- ---------------------------------- D 11.1.0.0/16 133.1.1.2 48 1:20:30 4 IGP 200 display bgp routing-tab le peer Syntax display bgp routing-table peer peer -address { advertised | receive d } Vie w Any view Param[...]

  • Página 643

    BGP Configuratio n Co mma nds 643 <3Com> display bgp routing-table regula r-expression ^600$ Flags: - valid, ^ - best, D - damped, H - history, I - internal, S – aggregate su ppressed Destination/Mask Pref Next-hop Med Local-Pref Origin As-Path --------------------------------------- ----------------------------- 1.1.1.0/24 256 10.10.10.1 0[...]

  • Página 644

    644 C HAPTER 6: R OUTING P ROTOCOL Vie w BGP unicast view , BGP multicast vi ew , VPNv4 view , VPN instance view Parameter ■ acl-number: Specifies the number of access contr ol list matching the destination add ress field of r outin g information, ranging from 1 to 199. ■ ip-prefix ip-pr efix-name: Address prefix list name. The matched object i[...]

  • Página 645

    BGP Configuratio n Co mma nds 645 be established first and be configured. Then add all the peers to the peer g roup so that they have the same configuration as this peer group. The default IBGP peer wi ll be added to the default peer group without any configuration. The configurat ion of the route update policy for any IBGP peer is valid for the ot[...]

  • Página 646

    646 C HAPTER 6: R OUTING P ROTOCOL Vie w System view Parameter ■ acl-number: Number of AS path list ranging from 1 to 199. ■ as-regular -expression: AS path r egular expression. Description Using the ip as-path acl command, you can configure an AS path regular expression. Using the un do ip as-p ath acl command, you can disable the defined regu[...]

  • Página 647

    BGP Configuratio n Co mma nds 647 Description Using the ip community-list command, you can configure a BGP community list. Using the undo ip community-list command , you can delete the conf igured BGP community list. The configured community list can be used in BGP policy . For the related command, see apply comm unity , and display bgp routing-tab[...]

  • Página 648

    648 C HAPTER 6: R OUTING P ROTOCOL Description Using the peer a dvertise-community co mmand, you can enab le the transmission of the community attribute to a peer/peer group. Using the undo peer advertise-community command, you can cancel th e existing configuration. By default, the community att ribute is not transmitted to any peer/peer group. Fo[...]

  • Página 649

    BGP Configuratio n Co mma nds 649 Description Using the peer as-number command, you ca n specify the peer AS number of peer group. Using the undo peer as-number co mmand, you can d elete the AS number of peer group. By default, no AS number is configu red. Example Specify the peer AS number fo r the peer test as 100. [3Com-bgp] peer test as-number [...]

  • Página 650

    650 C HAPTER 6: R OUTING P ROTOCOL ■ interface-name: S pecifies interface name. Description Using the peer connect-interface command , you can specify the source interface of a route update packet. Using the undo peer connect-interface command, you can restor e the best source interface. By default, BGP uses th e best source interface. Usually , [...]

  • Página 651

    BGP Configuratio n Co mma nds 651 ■ description-line : Description information config ur ed, which can be described in characters or numerals with the length not exceed ing 79. Description Using the peer description command, you can configure the description information of the peer/peer group. Using the undo peer description command, you can remo[...]

  • Página 652

    652 C HAPTER 6: R OUTING P ROTOCOL Parameter ■ group-name: Specifies the name of the pe er group, which specifies the entir e peer group. ■ peer -address: IP address of the peer , which specifies a certain peer . Description Using the peer enable command, you can enable th e specified peer (group) and can exchange information with a peer . Usin[...]

  • Página 653

    BGP Configuratio n Co mma nds 653 Example Set the filter -policy list of a p eer group test. [3Com-bgp] peer test as-number 100 [3Com-bgp] peer test filter-policy 3 im port peer gr oup Synt ax For multicast addr ess family or VPNv4 address family: ■ peer peer - address gr oup group-name ■ undo peer peer -address gr oup ■ For unicast address f[...]

  • Página 654

    654 C HAPTER 6: R OUTING P ROTOCOL Vie w BGP view , VPNv4 view , VPN instance view Parameter ■ group-name: Name of peer group. ■ peer - address: Specifies the IP address of the peer . ■ prefixname: Name of th e specified ip-pr efix. ■ import: Applies the filtering policy on the route received by the specified peer/peer group. ■ export: Ap[...]

  • Página 655

    BGP Configuratio n Co mma nds 655 peer password Synt ax peer { group-name | peer -address } passwor d { cipher | simple } password undo peer { group-name | peer -address } password Vie w BGP view , MBGP VPN-instance address family view Parameter ■ group-name: Name of the peer group. ■ peer -address: IP address of the peer , in dotted decimal fo[...]

  • Página 656

    656 C HAPTER 6: R OUTING P ROTOCOL ■ peer - add ress: Specifies IP address of a peer . Description Using the peer public-as-only command, you can config ure not to carry the AS number when transmitting BGP upd ate packets. Using the un do peer public-as-only command, you can confi gure to carry the AS number when transmitting BGP update packets. [...]

  • Página 657

    BGP Configuratio n Co mma nds 657 Vie w BGP view , VPNv4 view , VPN instance view Parameter ■ group-name: Specifies the name of peer group. ■ peer -address: Specifies IP address o f a peer . ■ route-policy-name: Specifies r oute-policy . ■ import: Applies the route-policy to the r outes coming from the peer (group). ■ export: Applies the [...]

  • Página 658

    658 C HAPTER 6: R OUTING P ROTOCOL peer timer Sy ntax peer { group-name | peer -address } timer keep-alive keepalive-interval ho ld holdtime-interval undo peer { group-n ame | peer -address } timer Vie w BGP view Parameter ■ group-name: Specifies the name of peer group. ■ peer - address: Specifies the IP address of the peer . ■ keepalive-inte[...]

  • Página 659

    BGP Configuratio n Co mma nds 659 Example Perform the filtering on the vpn-target extended community of the received routing information. [3Com-bgp] policy vpn-target prefer ence Synt ax preference value undo prefer ence Vie w BGP protocol view , BGP multicast address family view Parameter ■ value: Specifies the pr eference, ranging fr om 1 to 25[...]

  • Página 660

    660 C HAPTER 6: R OUTING P ROTOCOL After route reflector is configured, it r eflec ts the r outes of a client to other clien ts. For the related commands, see r eflector clus ter -id an d peer reflect-client. Example Disable the reflection between clients. [3Com-bgp] undo reflect between-cl ients reflector cluster -id Sy ntax reflector cluster -id [...]

  • Página 661

    BGP Configuratio n Co mma nds 661 ■ group-name: Refr eshes all the member s in the specified peer group. ■ vpnv4: Refreshes r outes of VPNv 4 address family for the peer . ■ multicast: Refreshes r outes of multicast add ress family for the peer . ■ vpn-instance vpn-instance-name: Refr es hes VPN r outes for the peer in the specified VPN-INS[...]

  • Página 662

    662 C HAPTER 6: R OUTING P ROTOCOL reset bgp flap-info Syntax reset bgp flap-info [ r egular -expression as-regular -expression | as-path-acl acl-number | network-address [ mask ] } ] reset bgp network-address [ flap-info ] Vie w User view Parameter ■ regular -expression as-regular -expression : Clears the flap information matching the AS path r [...]

  • Página 663

    BGP Configuratio n Co mma nds 663 res e t d am p en i ng Synt ax reset dampening [ networ k-address [ mask ] ] Vie w User view Parameter ■ network-address: Network IP address related to the clearing atten uat ion information. ■ mask: Network mask. Description Using the reset dampening command, you can clear the attenuation information of a rout[...]

  • Página 664

    664 C HAPTER 6: R OUTING P ROTOCOL Vie w BGP unicast view , BGP multicast vi ew , VPNv4 view , VPN instance view Parameter ■ keepalive-interval: Interval for send ing Keepalive, ranging from 1 to 4294967295. By default, it s value is 60 seconds. ■ holdtime-interval: Keepalive time of BGP , ranging from 3 to 4294967295. By default, its value is [...]

  • Página 665

    MBGP Configuration Commands 665 Vie w BGP view , VPN instance view Parameter ■ multicast: Enters the BGP multicast extended address family view with the parameter . ■ vpn-instance vpn-instan ce -name: Associates the specified VPN instance with the IPv4 address family . Enter the MBGP addr ess family view of BGP with this parameter . Description[...]

  • Página 666

    666 C HAPTER 6: R OUTING P ROTOCOL configurations in VPNv4 address family vi ew and r etur n to IPv4 unica s t ad dress family view of BGP . The ipv4-family vpnv4 command is us ed for BGP/MPLS VPN. For related description, refer to "MPLS VPN" chap ter in module "MPLS" of this manual . The present VRP software platform only suppo[...]

  • Página 667

    IP Routing Policy Configuration Commands 667 [3Com-bgp-af-mul] peer 20.10.0.1 enable IP Routing Policy Configuration Commands apply as-path Syntax apply as-path as-number -1 [ as-num be r -2 [ as-n um ber -3 ... ] ] undo apply as-path Vie w Routing polic y vi ew Parameter ■ as-number -1... as-number - n: AS number to b e added. Description Using [...]

  • Página 668

    668 C HAPTER 6: R OUTING P ROTOCOL Description Using the apply community command, yo u can specify the set BGP community attribute of route-policy . Using the undo app l y commu nity command, you can cancel the set BGP community attribute. By default, BGP community att ribut e is not set. Configure BGP community attribute afte r matching the route-[...]

  • Página 669

    IP Routing Policy Configuration Commands 669 Parameter ■ inter nal: Uses the cost type of IG P as MED value of BGP to advertise route to EBGP peer . ■ external: External cost type value of IS-IS. Description Using the apply cost-type command, yo u can set the route cost type of route information. Using the undo apply cost-t ype command, you can[...]

  • Página 670

    670 C HAPTER 6: R OUTING P ROTOCOL apply isis apply isis [ level-1 | level-2 | lev el-1-2 ] undo apply isis Vie w Routing policy view Parameter ■ level-1: Imports the matched route to Level-1 area. ■ level-2: Imports the matched route to Level-2 area. ■ level-1-2: Imports the matched rout e to both Level-1 and Level-2 area. Description Using [...]

  • Página 671

    IP Routing Policy Configuration Commands 671 apply origin Syntax apply origin { igp | egp as-number | incomplete } undo apply origin Vie w Routing polic y vi ew Parameter ■ igp: Sets the BGP r oute informat ion source as internal r oute ■ egp: Sets the BGP route information sour ce as exter nal route ■ as-number: Specifies AS number of extern[...]

  • Página 672

    672 C HAPTER 6: R OUTING P ROTOCOL display ip ip-prefix Syntax display ip ip-prefix [ ip-prefix-name ] Vie w Any view Parameter ■ ip-prefix-nam e: Specifies di spla yed address pr efix list name. Description Using the display ip ip-pr efix command, you can view the address pr efix list. Display all the configur ed a ddress pr efix lists when no i[...]

  • Página 673

    IP Routing Policy Configuration Commands 673 Vie w Routing pr otocol view Parameter ■ acl-number: Number of the access control list used for matching the destination address field of the r outing information. ■ ip-prefix-name: Address pr efix list used for matching the routing information destination address field. ■ protocol: Routing informa[...]

  • Página 674

    674 C HAPTER 6: R OUTING P ROTOCOL Description Using the filter -policy gateway import command, you can filter the routing information advertised by a specified router . Using the undo filter -policy gat eway import command, you can cancel the setting of the filterin g condition. Using the filter - policy import command, you can configure the condi[...]

  • Página 675

    IP Routing Policy Configuration Commands 675 if-match as-path Syntax if-match a s-path acl-number undo if-match as-path Vie w Routing polic y vi ew Parameter ■ acl-number: AS path based access lis t numb er , ranging from 1 to 199. Description if-match a s-path acl-number undo if-match as-path Vie w Routing polic y vi ew Parameter ■ acl-number:[...]

  • Página 676

    676 C HAPTER 6: R OUTING P ROTOCOL Parameter ■ standard-community-list-number: Stan dard community list number , ranging from 1 to 99. ■ extended-community-list-number: Extend ed community list number , ranging from 100 to 199. ■ whole-match: Fully matching, i.e., all the communities must appear . Description Using the if-matc h co mmunity c [...]

  • Página 677

    IP Routing Policy Configuration Commands 677 Example Define an if-match clause, which allows the r outing information with routing cost 8 to pass this if-match clause. [3Com-route-policy] if-match cost 8 if-match interface Syntax if-match interface { interface-name | interface-type interface-number } undo if-match interface Vie w Routing polic y vi[...]

  • Página 678

    678 C HAPTER 6: R OUTING P ROTOCOL Description Using the if-match ip next-hop command, yo u can configure one of the match rules of route-policy on the next hop addr ess of the routing information. Using the undo if-match ip next-hop command, y ou can cancel the setting of mat ch condition. By default, no if-mat ch clause is defined. This if-match [...]

  • Página 679

    IP Routing Policy Configuration Commands 679 Vie w Routing polic y vi ew Parameter ■ value: Specifies the requir ed tag value. Description Using the if-match tag command, you ca n match the tag field of OSPF route information. Using the undo if-match ta g command, you can cancel the existing matching rules. For the related command, see if-match i[...]

  • Página 680

    680 C HAPTER 6: R OUTING P ROTOCOL meaning of less-equal is "less than or equal to" . Th e range is len <= greater -equal <= less-equal <= 32. When onl y greater -equal is used, it indicates the prefix range [gr eater -equal, 32]. Wh en only less-equal is used, it indicates the prefix range [len, less-equal]. Description Using th[...]

  • Página 681

    Route Capacity Configuration Comman ds 681 Description Using the route-policy command, you ca n create and enter r oute-policy view . Using the undo r oute-policy co mma nd , yo u ca n cancel the establishe d route-policy . By default, no route-policy is defined. Route-policy is used for route information filtering or route policy . One route-polic[...]

  • Página 682

    682 C HAPTER 6: R OUTING P ROTOCOL Current memory limit configuration information: memory safety: 30 memory limit: 20 memory auto-establish enabled Free Memory: 73855332 (Byte) The state information about connec tion: The times of disconnect: 0 The times of reconnect: 0 The current state: Normal The information displayed by this command includes th[...]

  • Página 683

    Route Capacity Configuration Comman ds 683 Y ou shall use the command cautiously . For the related commands, see memory au to-establish enable, memory { safety | limit }, and display memory limit. Example Disable to recover the connections of all the protocols automatically when th e current r outer memory r esumes. [3Com] memory auto-establish dis[...]

  • Página 684

    684 C HAPTER 6: R OUTING P ROTOCOL Parameter ■ limit-value: Lower limit of the ro uter id le memory , in the unit of Mbytes. Its value range de pe nds on the idle memory of the curr ent router . The default value is 20Mbytes. Description Using the memory limit command, you can co nfigure the lower limit of the router idle memory . When the id le [...]

  • Página 685

    Route Capacity Configuration Comman ds 685 The safety-v alue in the command must be more than the current idle memory lower limit, and otherwise the configuration will fail. This command can be used with memory limit command to change the safety value and lower limit of th e router idle memory . The safety-value must be more than the limit-value in[...]

  • Página 686

    686 C HAPTER 6: R OUTING P ROTOCOL[...]

  • Página 687

    7 Multicast Common Configuration Commands This chapter covers the following commands: ■ Multicast Common Configuration Commands ■ IGMP Configuration Commands ■ PIM Configuration Commands ■ MSDP Configuration Commands ■ MBGP Multicast Extension Configuration Commands ■ Multicast Static Route Configuration Commands Multicast Common Config[...]

  • Página 688

    688 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS View User view Parameter None Description Using the debugging multicast ker nel-routing command, you can enable multicast kernel routing debugging functions . Using the undo debugging multicast kernel-routing command, you can disable the debu gging functions. By default, the multicast ker[...]

  • Página 689

    Multicast Common Configuration Commands 689 Parameter group-address: Multicast gr oup address, used to specify a multicast group, ranging from 224.0.0.0 to 239.255.255.255. mask: Mask. mask-length: Length of mask. Because “1”s in 32-bit mask are r equired to be continuous, the mask in dotted decimal notation format can be replaced by mask-lengt[...]

  • Página 690

    690 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Description Using the di sp lay mu ltica st r outing-ta ble co mman d, y ou can vi ew th e inf orm atio n of IP multicast routing table. This command displays the multicast r out ing table information, while the display multicast forwarding-table command displays the multicas t forwarding[...]

  • Página 691

    Multicast Common Configuration Commands 691 mask-length: Length of mask. Because “1”s in 32-bit mask are r equired to be continuous, the mask in dotted decimal notation format can be replaced by mask-length (mask-length is the n umber of continuous “1”s in the mask). Description Using the display multicast routing-tabl e static command, you[...]

  • Página 692

    692 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS last-hop-address: Unicast addr ess, which is the starting address of path tracing. This address must be an interface address of a hop router . By default, it is a physical interface address of the local router . group-addr ess: Address of multicast gr oup. By default, th e value is 0.0.0.[...]

  • Página 693

    Multicast Common Configuration Commands 693 -1 12.110.0.2 Incoming Interface Address: 11.110.0 .2 Previous-Hop Router Address: 11.110. 0.4 Input packet count on incoming inter face: 316 Output packet count on outgoing inte rface: 135 Total number of packets for this sou rce-group pair: 4 Protocol: PIM Forwarding TTL: 0 Forwarding Code: No error -2 [...]

  • Página 694

    694 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Description Using the multicast packet-boundary co mmand, you can configure a multicast forwarding boundary . Using the undo multicast packet-boundary command, you can remove the multicast forwar ding bou ndary configured. By default, no multicast forw arding boundary is configured. Y ou [...]

  • Página 695

    Multicast Common Configuration Commands 695 undo multicast routing-enable Vie w System view Parameter None Description Using the multicast routing-enable command, you can enable IP multicast routing. Using the undo multicast routing-enable command, yo u can disable IP multicast rou t i ng . By default, IP multicas t r outing is disabled. the system[...]

  • Página 696

    696 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS incoming-interface: Inco ming interface of the specified for warding entry . interface-type interfac e-number: Interface type and interface number . slot-number: Numb er of the slot where th e interface board resides. This parameter is only present in the distributed router . Description [...]

  • Página 697

    IGMP Configuration Commands 697 interface-type interface-number: In terface type and interface number . Description Using the reset multicast r outing-table co mmand, you can clear t h e route en t ry in the multicast ker nel routing table and remove the corresponding forwarding entry in MFC. The sequence of group-address and source-addr ess can be[...]

  • Página 698

    698 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Example Enable all IGMP debugging functions <3Com> debugging igmp all display igmp group Syntax display igmp group [ gr oup-address | interface interface-type in terface-nu mber | local ] View Any view Parameter group-addr ess: Multicast group address. interface-type interface- numb[...]

  • Página 699

    IGMP Configuration Commands 699 Vie w Any view Parameter interface-type interface-number: Interfa ce type and interface number of the router , used to specify the interface. If the parameters are not specified, information about all the interfaces running IGMP w ill be displayed. Description Using the display igmp interface command , you can view t[...]

  • Página 700

    700 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Description Using the display igmp local command, yo u can view the IGMP configuration an d running information of the local interface which receives and sends multicast data. Example Display the IGMP configuratio n and runn in g in formation of the local interface which receives and send[...]

  • Página 701

    IGMP Configuration Commands 701 Parameter limit: Number of IGMP groups, ranging fr om 0 to MAX_IF_IGMP_GROUP_LIMIT . The value of MAX_IF_IGMP_GROUP_LIMI T on routers is MAX_MROUTE_LIMIT , which differs with the diff erent router types. Description Using the igmp group-limit command, you can limit the number of IGMP groups joined on the interface. I[...]

  • Página 702

    702 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS For the related command, see igmp host-join. Example Permit the hosts on the interface Ethernet 1/0/0 to join multicast group 225.1.1.1 only . <3Com] acl number 5 <3Com-acl-basci-5] rule permit sou rce 225.1.1.1 0 <3Com-acl-basci-5] quit <3Com] interface ethernet 1/0/0 <3Co[...]

  • Página 703

    IGMP Configuration Commands 703 Description Using the igmp lastmember -queryinterval command, you can se t the interval at which IGMP querier sends the IGMP specifie d group query packet when it receives IGMP Leave packet fr om the host. Using the undo igmp lastmember -queryinterval command, you can restor e the default value. On a shared network, [...]

  • Página 704

    704 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS The maximum query r esponse time determin es the period for a router to quickly detect that there ar e no more dir ectly conn ected group members in a LAN. For the related command, see disp lay igmp group. Example Configure the maximum response time to 8 seconds. <3Com-Ethernet1/0/0] i[...]

  • Página 705

    IGMP Configuration Commands 705 Parameter robust-value: IGMP robust coef ficient, indi cating the times IGMP querier sends the IGMP specified group query packet when it r eceives IGMP Leave packet from the host. The value ranges fr om 2 to 5. By default, the value is 2. Description Using the igmp r obust-cou nt command, you ca n set the times IGMP [...]

  • Página 706

    706 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Description Using the igmp timer other -querier -pr esent co mmand, you can configure the overtime value of presence of IGMP querier . Using the undo igmp timer other -querier -present command, y ou can r estore the default value. On a shared network, i.e., there are m ultiple multicast r[...]

  • Página 707

    IGMP Configuration Commands 707 igmp version Syntax igmp version { 1 | 2 } undo igmp version Vie w Interface view Parameter 1: IGMP V ersion 1. 2: IGMP V ersion 2. By default, IGMP V e rsion 2 is used. Description Using the igmp version command, you can specify the version of IGMP that a router uses. Using the undo igmp version command, you can r e[...]

  • Página 708

    708 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS <3Com> reset igmp group interface ethernet0/0/0 all Delete the group 225.0.0.1 on the interf ace Ether net0/0/0. <3Com> reset igmp group interface ethernet0/0/0 225.0.0.1 Delete the IGMP groups ranging betw een the netwo rk segm ent 225.1.1.0 and 225.1.1.255 on the interface E[...]

  • Página 709

    PIM Configuration Commands 709 are permitted as BSR, th e r outer will not receiv e and forward other BSR information and legal BSR will not comp ete with it. The above two points can partially protect the security of BSR in the network. However , if a legal BSR router is controlled by an attacker , it will also lead to the above problem. The sourc[...]

  • Página 710

    710 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS For the related command, see pim sm. Example Configure the IP addr ess of the router on Ethern et1/0/0 as a candidate BSR with the priority 2. <3Com> system-view <3Com] multicast routing-enable <3Com] pim <3Com-pim] c-bsr ethernet1/0/0 30 2 c-rp Syntax c-rp interface-type i[...]

  • Página 711

    PIM Configuration Commands 711 undo crp-policy Vie w PIM view Parameter acl-number: ACL number used by C-RP filter policy , ranging from 100 to 199. Description Using the crp -policy command, you can r estrict the range for valid C-RP a nd the group range served by each C-RP so as to pr event C-RP cheating. Using the undo crp-policy command, you ca[...]

  • Página 712

    712 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Parameter all: All the common debugging information of PIM. event: Debugging information of common PIM event. packet: Debugging information of PIM Hello message. timer: Debugging informatio n of common PIM timer . Description Using the debugging pim common comma nd, you can enab le co mmo[...]

  • Página 713

    PIM Configuration Commands 713 join: Packet type , join packet. prune: Packet type, prune packet. Description Using the debugging pim dm command, you can enable PIM-DM debugging functions. Using the undo debugging pi m dm command, you can disable the debugging functions. By default, PIM-DM debugging functions are disabled. Example Enable all PIM-DM[...]

  • Página 714

    714 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Example Enable all PIM-SM debugging functions <3Com> debugging pim sm all display pim bsr -info Syntax display pim bsr -info View Any view Parameter None Description Using the display pim bsr -info command, you can view Bootstrap Router (BSR) information. For the related commands, s[...]

  • Página 715

    PIM Configuration Commands 715 PIM mode is Sparse PIM query interval is 30 seconds Total 1 PIM neighbor on interface PIM DR(designated router) is 10.10.1. 20 Ta b l e 2 Description of output information of display pim interface command display pim neighbor Syntax display pim neighbor [ interface in terface-type in terf ace- number ] Vie w Any view [...]

  • Página 716

    716 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS source-addr ess: IP ad dress of the multicast source. incoming-address: Route entry of the specified incoming interface. Description Using the display pim routing-table command, you can view the contents of the PIM multicast routing table. For the related command, see display multicast r [...]

  • Página 717

    PIM Configuration Commands 717 BSR is: 20.20.20.20 Group/MaskLen: 224.0.0.0/4 RP 20.20.20.20 Version: 2 Priority: 0 Uptime: 00:00:05 Expires: 00:02:25 pim Syntax pim undo pim Vie w System view Parameter None Description Using the pim command, you can enter PIM view . Using the undo pim command, you can clear the configuration in PIM v iew . The glo[...]

  • Página 718

    718 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS After this command is configured on an interface, Bootstrap messages cannot pass the boundary , whereas other PIM packet s can. This command can ef fectively divide the network to domains which use differ ent BSRs. For the related command, see c-bsr . Example Configure a domain boundary o[...]

  • Página 719

    PIM Configuration Commands 719 be added to the router . Using the undo pim neighbor -limit command, you can restor e the default configuration. By default, the upper limit of PIM neighbor number on an interf ace is 128. If the PIM neighbor number on an interface has exceeded the value configured during configuration, the pr evious PIM neighbor will[...]

  • Página 720

    720 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Parameter None Description Using the pim sm command, you can enable PIM-SM p rotocol on an interface. Using the undo pim sm command, yo u can disable PIM-SM protocol. By default, PIM- SM is disab led. Once PIM-SM is enab led on an interf ace, PIM-DM cannot be enabled on the same interface[...]

  • Página 721

    PIM Configuration Commands 721 Parameter acl-number: Number of advanced IP ACL, de fining the rule of filtering the source and group addr esses. The va lue ranges from 100 to 199. Description Using the r egister -policy co mmand, you can co nfigure a RP to filter th e registe r packet sent by the DR in the PIM-SM ne twork and to accept the specific[...]

  • Página 722

    722 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS reset pim r outing-table { group-address [ mask group-mask | gr oup-mask-length ] [ source-addr ess [ mask sour ce-mask | so urce-mask-length ] [ incoming-interface { interface-type interfac e-number | null } ] } * View User view Parameter all: All PIM route entries. group-addr ess: Multi[...]

  • Página 723

    PIM Configuration Commands 723 <3Com> reset pim routing-table 225.5.4. 3 source-policy Syntax source-policy acl-number undo source-policy Vie w PIM view Parameter acl-number: Number of basic or advanc ed ACL. The value ranges from 1 to 199. Description Using the source-policy command, you can configur e a router to filter the multicast data p[...]

  • Página 724

    724 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Parameter traffic -rate: Switch rate thr eshold from the RPT to the SPT in Kbps, ranging fr om 0 to 65535. By default, the switch threshold value is 0, i.e., switching starts when the RPT rec eiv es the first data packet. infinity: Indicates never to switch to SPT . acl-number: Number of [...]

  • Página 725

    MSDP Configuration Commands 725 address of an UP interface on the local devi ce, the local device will act as static RP . PIM is not necessarily enabled on the interface which acts as static RP . If this command is configured but ACL is not specified, the static RP configured will serve all the multicast gr oups. If ACL is specified, the static RP [...]

  • Página 726

    726 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS debugging msdp Syntax debugging msdp { all | connect | event | packet | source-active } undo debugging msdp { all | connect | event | packet | sour ce-active } View User view Parameter all: All the debugging information of MSDP . connect: Debugging informat ion of MSDP peer connection res[...]

  • Página 727

    MSDP Configuration Commands 727 display msdp peer - status Syntax display msdp peer -stat us [ peer -address ] Vie w Any view Parameter peer -address: Addr ess of MSDP peer . Description Using the display msdp peer -status command, you can view the detailed information of MSDP peer . For the related command, see peer . Example Display the detailed [...]

  • Página 728

    728 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS source-addr ess: Source address of (S, G) entry . Wi th no source addr ess specified, all the so urce info rmation of the specified gr oup will be displayed. If neither gr oup address nor source addr ess is determin ed, all SA caches will be displayed. autonomous-system-number: Displays ([...]

  • Página 729

    MSDP Configuration Commands 729 ? 3 3 Total Source-Active entries: 5 import-source Syntax import-source [ acl acl-number ] undo import-source Vie w MSDP view Parameter acl-number: Number of basic or advanc ed IP ACL, ranging from 1 to 199, controlling which sour ces SA messages will advertise and to which groups it will be sent in the domain. Basic[...]

  • Página 730

    730 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Description Using the msdp command, you can enable MSDP and enter the MSDP view . Usin g the undo msdp command, you can clear all configurations of MSDP , r elease all resour ces that MSDP occu pies, and restore the initial state. For the related command, see peer . Example Clear all conf[...]

  • Página 731

    MSDP Configuration Commands 731 <3Com> msdp-tracert 10.10.1.1 225.2.2.2 20.20.20.20 max-hops 10 sa-info peer-info MSDP tracert: press CTRL_C to break D-bit: set if have this (S,G) in cach e but with a different RP RP-bit: set if this router is an RP NC-bit: set if this router is not cach ing SA's C-bit: set if this (S,G,RP) tuple is in t[...]

  • Página 732

    732 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS View MSDP view Parameter interface-type: Interface type. interface-number: Interface number . Description Using the originating-rp co mmand, you can allow a MSDP to use the IP addr ess of specified interface as the RP address in the SA message originated. Using the undo originating-rp com[...]

  • Página 733

    MSDP Configuration Commands 733 <3Com> system-view <3Com] msdp <3Com-msdp] peer 125.10.7.6 connect-int erface ethernet 0/1/0 peer description Syntax peer peer -address description text undo peer peer -address description Vie w MSDP view Parameter peer -address: Addr ess of MSDP peer . text: Descript ive text, being case sensitive. The m[...]

  • Página 734

    734 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Description Using the peer mesh-group command, you ca n configur e an MSDP peer to join an Mesh Group. Using the undo peer mesh-gr oup command, you can remove the configuratio n. By default, an MSDP peer is not a member of any Mesh Gr oup. Example Configure the MSDP peer with addr ess 125[...]

  • Página 735

    MSDP Configuration Commands 735 Vie w MSDP view Parameter peer -address: Addr ess of MSDP peer . Description Using the peer request-sa-enable command, you can enable th e router to send SA request message to the spec ified MSDP peer when r eceiving a new group join message. Using the undo peer request-sa-enable command, you can remove the configura[...]

  • Página 736

    736 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Example Limit the number o f caches origin ated to 100 w hen the router receives SA messages fr om the MSD P peer 125.10. 7.6. <3Com> system-view <3Com] msdp <3Com-msdp] peer 125.10.7.6 sa-cac he-maximum 100 peer sa-policy Syntax peer peer -addr ess sa-policy { impo rt | expor[...]

  • Página 737

    MSDP Configuration Commands 737 Vie w MSDP view Parameter peer -address: Addr ess from which the loca l router r eceives SA request messages sent by the specified MSDP peer . acl acl-number: Number of basic IP ACL , describing multicast group address, ranging from 1 to 99. I f no ACL is sp ecified, all SA r equest messages will be ignored. Descript[...]

  • Página 738

    738 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Example Clear TCP connection and statistics of the MSDP peer 125.10.7.6. <3Com> reset msdp peer 125.10.7.6 reset msdp sa-cache Syntax re set msdp sa-cache [ group-ad dress ] View User view Parameter group-addr ess: Address of the group, (S , G) entries matching which ar e cleared fr[...]

  • Página 739

    MSDP Configuration Commands 739 Vie w MSDP view Parameter peer -address: IP address of MSDP peer . Description Using the shutdown command, you can disa ble th e MSDP peer specified. Using the undo shutdown command, you can remove the configuration. By default, no MSDP peer is disabled. For the related command, see peer . Example Disable the MSDP pe[...]

  • Página 740

    740 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Example Configur e two static RPF peers. <3Com> system-view <3Com] ip ip-prefix list1 permit 1 30.10.0.0 16 <3Com] ip ip-prefix list2 permit 1 30.10.0.0 16 <3Com] msdp <3Com-msdp] peer 130.10.7.6 connec t-interface ethernet 1/0/0 <3Com-msdp] peer 130.10.7.5 connec t-i[...]

  • Página 741

    MBGP Multicast Extension Configuration Commands 741 undo aggregate address mask [ as-set ] [ attribute-policy r oute-policy-name ] [ detail-suppressed ] [ origin-policy r oute-p olicy-n ame ] [ suppress-policy route-policy-name ] Vie w IPv4 multicast sub- address family view Parameter address: Addr ess of the ag gregated route. mask: Network mask o[...]

  • Página 742

    742 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Description Using the debuggin g bgp mp-update command, you can enable the MBGP packet debugging functions. Using the undo debugging bgp mp-update command, you can disable the functions. Example Enable MBGP packet information d ebugging function. <3Com> debugging bgp mp-update displ[...]

  • Página 743

    MBGP Multicast Extension Configuration Commands 743 Vie w Any view Parameter ip-address: MBGP r outing info rmatio n whos e IP address is specified in the BGP routing table. Description Using the display bgp multicast routing-table command, you can view the MBGP routing information whose IP address is specified in the BGP routing table. Example Dis[...]

  • Página 744

    744 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS no-export: Not advertises routes outside the local autonomous system but advertise routes to other sub-autonomou s systems. whole-match: Exact match. Description Using the display bgp multicast routing-table community command, you can view the routing information that belongs to the speci[...]

  • Página 745

    MBGP Multicast Extension Configuration Commands 745 display bgp multicast routing-table peer Syntax display bgp multicast routing-table peer peer -address { received | advertised } Vie w Any view Parameter peer -address: Addr ess of multicast neigh bor , in dotted decimal no tation format. received: Routing information r eceived from the specified [...]

  • Página 746

    746 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Description Using the display bgp multicast routing- table stat ist ic command, yo u can view statistics of MBGP route information. Example Display statistics of MBGP route informati on. <3Com> display bgp multicast routi ng-table statistic import-route Syntax import-route pr otocol[...]

  • Página 747

    MBGP Multicast Extension Configuration Commands 747 Example Enter the IPv4 multicast s ub-address family view . <3Com> system-view <3Com] bgp 100 <3Com-bgp] ipv4-family multicast <3Com-bgp-af-mul] network Syntax network ip-address [ addr ess-mask ] [ route-policy policy-name ] undo network ip-address [ address-ma sk ] [ r oute-policy[...]

  • Página 748

    748 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS By default, no communit y attribute is advertised to an y peer (group). Example Advertise community attributes to the peer group named test. <3Com-bgp-af-mul] peer test advert ise-community peer allow-as-loop Syntax peer { group-name | peer -address } allow-as-loop asn_limit undo peer [...]

  • Página 749

    MBGP Multicast Extension Configuration Commands 749 Vie w IPv4 multicast sub- address family view Parameter group-name: Name of the peer group. peer -address: IP addr ess of the peer . as-path-acl number: Number of AS path list matched, ranging from 1 to 199. import: Filter list applie d to incoming routes. export: Filter list applied to outgoing r[...]

  • Página 750

    750 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Example Enable the multicast peer 1.1.11.1. <3Com-bgp-af-mul] peer 1.1.11 .1 enable <3Com-bgp] peer test enable peer filter -policy Syntax peer { group-name | peer -address } filter -policy acl-number { import | export } undo peer { group-name | peer - address } filter -policy acl-n[...]

  • Página 751

    MBGP Multicast Extension Configuration Commands 751 Parameter group-name: Name of the peer group. peer -address: IP addr ess of the peer . ip-prefix pr efixname: Specifies ip-prefix name, ranging fr om 1 to 19 characters. import: Applies the filter policy to r outes accepted by the specified peer (group). export: Applies the filter policy to r out [...]

  • Página 752

    752 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS Vie w IPv4 multic ast sub-address family vi ew Parameter group-name: Name of the peer group. peer -add ress: IP address of the peer . Description Using the peer public-as-only command, you can configure only to carry public AS number rather than private AS number when BGP sends update pac[...]

  • Página 753

    Multicast Static Route Configuration Commands 753 peer route-policy S yntax peer { group-name | peer -address } r oute-policy policy-name { import | export } undo peer { group-name | peer -address } r oute-policy policy-name { import | export } Vie w IPv4 multicast sub- address family view Parameter group-name: Name of the peer group. peer -address[...]

  • Página 754

    754 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS When using this command, th e system will prompt you to acknowledge. All stati c multicast routes will be delete d after your acknowledgement. For the related command, see ip rpf-r oute-static and display multicast routing-table static. Example Delete all the static multicast routes. <[...]

  • Página 755

    Multicast Static Route Configuration Commands 755 mask: IP address mask of multicast source. Description Using the display multicast routing-tabl e static config command, you can view multicast static r outes configured. If no multicast source addr ess is specified, all configured multicas t static r outes will be displayed. For the related command[...]

  • Página 756

    756 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS View System view Parameter source: IP addr ess of multicast source (unicast addr ess). mask: IP address mask of multicast source. mask-length: IP address mask length of multicast source. protocol: Indicates that matched routes must appear in the specified unicast routing protocol. Pr otoc[...]

  • Página 757

    Multicast Static Route Configuration Commands 757 Display the multicast static r oute configured. <3Com] display multicast routing-table static config[...]

  • Página 758

    758 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS[...]

  • Página 759

    8 MPLS Basic Configuration Commands This chapter describes the followin g typ es of command s: ■ Basic Configur at io n Co mma nd s ■ LDP Configuration Commands ■ BGP/MPLS VPN Configuratio n Commands ■ MPLS L2VPN CCC Configuration Co mmands ■ SVC MPLS L2VPN Configuration Co mmands ■ Martini MPLS L2VPN Configuration Commands ■ Kompella[...]

  • Página 760

    760 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS process: Enables internal processing of MPLS information debuggin g. vpn: Enables all MP LS VP N informatio n debugging. Description Using the debugging mpls lspm comma nd, you can enable various LSP information debugging. Using the undo de bugging mpls ls pm command, you can disable correspondi[...]

  • Página 761

    Basic Configur ati o n Co mma nd s 761 Description Using the display mpls lsp command, you can view LSP information. By default, the display mpls lsp co mmand displays all LSP information. For the related commands, see display mpls interface, display mpls statistics, and display static-lsp. Example Display all LSPs whose incomi ng interfaces ar e S[...]

  • Página 762

    762 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS name lsp-name: LSP name Description Using the display mpls statistics command, you can display statistics of all or single LSP(s) and LSP statistics on all or single inter face(s). Specifically , the displayed information in cludes the bytes, packets, errors and discarded packets pr ocessed on e[...]

  • Página 763

    Basic Configur ati o n Co mma nd s 763 Out Octets of Mpls interface is: 0 Out Packets of Mpls interface is: 0 Out Errors of Mpls interface is: 0 Out Discard Packets of Mpls inter face is: 0 The statistics of interface : Serial6 /0/1 The statistics of interface in : In Octets of Mpls interface is: 0 In Packets of Mpls interface is: 0 In Errors of Mp[...]

  • Página 764

    764 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS If you import an IP-prefix r ule without cont ents, LSPs can b e established at all host routes according to the IP-prefix usage convention in VRP . For the r elated command, see ip ip-prefix. Example Allow to set up LSPs at all r outes. [3Com-mpls] lsp-trigger all mpls Syntax mpls View System v[...]

  • Página 765

    Basic Configur ati o n Co mma nd s 765 Parameter ip-address: LSR ID, with a form like IP address, used to identify an LSR. Description Using the mpls lsr -id command, you can configure an LSR ID. Using the undo mpls lsr -id command, yo u ca n delete an LSR ID. By default, an LSR has no ID. As a premise for configuring other MPLS commands, this comm[...]

  • Página 766

    766 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS snmp-agent trap enable ldp Syntax snmp-agent trap enable ldp undo snmp-agen t trap enable ldp View System view Parameter None Description Using the snmp-agent trap enable ldp command, you can enable T rap function in MPLS LDP creation. Using the snmp-a ge nt trap enable ldp command, you can disa[...]

  • Página 767

    Basic Configur ati o n Co mma nd s 767 Vie w MPLS view Parameter lsp-name: Name of LSP . interface-type: T ype of network interface. Interface-num: Number of network interface. in-label-value: V alue of inb ound label, ranging from 16 to 1024. Description Using the static-lsp egress command, you can configur e a static LSP for an egress LSR. Using [...]

  • Página 768

    768 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Description Using the static-lsp ingress command, you can configure a static LSP for an ingr ess LSR. Using the undo static-lsp ingress command, you can delete an LSP for an ingress LSR. This command can be used to configure a static LSP for ingr ess LSR and simultaneously set precedence value a[...]

  • Página 769

    LDP Configuration Commands 769 [3Com-mpls] static-lsp transit bj-sh incoming-interface serial3/0/0 in-label 123 nexthop 202.34.114.7 out-l abel 253 statistic interval Syntax statistics interval interval-time undo statistics interval Vie w MPLS view Parameter interval-time: T ime interval in se conds. It ranges from 30 to 65535. Description Using th[...]

  • Página 770

    770 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS notification: displays the debugging in f ormation while handling notification messages. remote: Displays debugging information of all remote peers. interface interface-type inte rface-num: Displays all the debu gging information of a specified interface. Description Using the debugging ldp comm[...]

  • Página 771

    LDP Configuration Commands 771 Description Using the display mpls ldp buffer -info command, you can view the buffer information of LDP . Example Display LDP buf fer information. [3Com] display mpls ldp buffer-info --------------------------------------- -------------------------- Buffer-Name Buffer-ID Buffer-Siz e Total-Count Free-Count -----------[...]

  • Página 772

    772 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS View Any view Parameter None Description Using the display mpls ldp lsp command, you can view relevant LSP inform atio n created via LDP . For the r elated command, see display mpls lsp. Example Display LSP . [3Com-Ethernet3/0/0] display mpls ldp lsp display mpls ldp peer Syntax display mpls ldp[...]

  • Página 773

    LDP Configuration Commands 773 For the related commands, see mpls ldp r emote and remote-peer . Example Display the configured r emote-peer infor mation. [3Com] display mpls ldp remote display mpls ldp session Syntax display mpls ldp session Vie w Any view Parameter None Description Using the display mpls ldp sessio n command, you can display the s[...]

  • Página 774

    774 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS [3Com] mpls ldp mpls ldp advertise Syntax mpls ldp advertise { implicit-null | explicit-null | non-null } undo mpls ldp advertise { implici t-null | explicit-null | non-null } View System view Parameter explicit-null: Specifies to a ssign explicit null label to the penultimate hop at egress. imp[...]

  • Página 775

    LDP Configuration Commands 775 [3Com-mpls] mpls label advertise non-nu ll mpls ldp enable Syntax mpls ldp enable mpls ldp disable Vie w Interface view Parameter None Description Using the mpls ldp enable command, you can en able LDP on an interface. Usin g the undo mpls ldp enable command, yo u can disabl e LDP on an interface. By default, LDP is n[...]

  • Página 776

    776 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Example Set the maximum hops of loop detection to be 22. [3Com] mpls ldp hops-count 22 Set the maximum hops of loop detection as 32, the default value. [3Com] undo mpls ldp hops-count mpls ldp loop-detect Syntax mpls ldp loop-detect undo mpls ldp loop-detect View System view Parameter None Descr[...]

  • Página 777

    LDP Configuration Commands 777 Description Using the mpls ldp password command, you can configure LDP authentication mode. Using the undo m pls ldp pa sswor d command, yo u can r emove the configuration. Example Configure the LDP authentication mode to be in plain text, with a passwor d of 123. [3Com-Ethernet0/0/0.1] mpls ldp passwor d simple 123 m[...]

  • Página 778

    778 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Parameter Index: Index of remote peer , used to identify an entity . It rang es from 0 to 99. Description Using the mpls ldp remote-peer command, you can create a remote-peer entity and enter remote-peer view . Using the undo mpls ldp remote-peer command, you can delete a remote-peer entity . Th[...]

  • Página 779

    LDP Configuration Commands 779 Vie w Interface view , remote-peer view Parameter hello hello-holdtime: Specifies hold time of hello timer , in seconds and the range of 6 seconds to 6 5535 seconds. session-hold session-holdtime: Specifies h old time of session timer , in the range of 1 second to 65535 seconds. By defaul t,hello secs is 15 secon d s,[...]

  • Página 780

    780 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS By default, the transport addr ess is the LSR ID of an LSR. For a remote-peer , the configuration of transpo rt ad dress is not supported and its transport address is fixed as an LSR ID. By default, LSR ID is requi red to be an addr ess of a certain lo opb ack interface and its peer should have [...]

  • Página 781

    BGP/MPLS VPN Configuration Commands 781 Vie w Route-policy view Parameter vpn-name: Name of the configured VPN instance. At most, 6 VPN names can be configured. Description Using the apply access-vpn vp n-instance command, you can specify packet to search private network forwarding r oute in vpn-name1, vp n-name2, vpn-name3, vpn-name4, vpn-na me5, [...]

  • Página 782

    782 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Description The debugging bgp command you can display the information concer ning BGP processing. The undo debug ging bgp command you can disable debugging function. Example <3Com> debugging bgp vpnv4 description Syntax description vpn-instance-description undo description View Vpn-instanc[...]

  • Página 783

    BGP/MPLS VPN Configuration Commands 783 routing-table: Displays BGP routes. Description Using the display bgp vp nv4 command, you can display VPNv4 information in BGP database. Example Display the information about all BGP VPNV4 peers. [3Com] display bgp vpnv4 all BGP local router ID is 1.1.248.23 Status codes: s suppressed, d damped, h history, * [...]

  • Página 784

    784 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Parameter vpn-instance-name: Name assigned to vpn-inst an ce. verbose: Displays the detailed information. Description Using the display ip vpn-instance co mm and, you can view such information associated with vpn-instance as the VPN in stan ce RD, description and asso ciated interface . Example [...]

  • Página 785

    BGP/MPLS VPN Configuration Commands 785 Parameter include text: Displays the MPLS L3VP N LSPs with the specified FEC string. verbose: Displays detailed information. Description Using the display mpls l3vpn-lsp include command, you can view the information of MPLS L3VPN LSPs. Example Display the label swith path vpn-instance relative in formation of[...]

  • Página 786

    786 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS TOTAL: 0 Record(s) Found. domain-id Syntax domain-id { id-number | id-addr } undo domain-id View OSPF protocol view Parameter id-number: Domain ID for a VPN instance , in range of 0 ~4294967295. By default, it is 0. id-addr: IP address format of the domain ID in VPN instance. By default, it is 0[...]

  • Página 787

    BGP/MPLS VPN Configuration Commands 787 Vie w BGP unicast/mult icast VPN-instance address family view , MBGP Interface VPN-instance address family view Parameter process-id: OSPF pr ocedure ID. By default, it is 1. ospf: When only OSPF procedur e ID is imported, ASE intern al route is taken as exter nal route information. ospf-ase: When only OSPF p[...]

  • Página 788

    788 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS By default, global routi ng table is configured. The IP address of the interface will be r e moved if executing this command on it , so the IP addr ess of the interface needs to be r econfigured. Example Bind VPN instance vpn1 to the interface atm0/0/0. [3Com] interface atm1/0/0 [3Com-Atm1/0/0] [...]

  • Página 789

    BGP/MPLS VPN Configuration Commands 789 Example Configure static r oute with destinati on address 100.1.1.1, next hop address 1.1.1.2. [3Com] ip route-static vpn-instance vpn 1 100.1.1.1 16 vpn-instance vpn1 1.1.1.2 ip vpn-instance Syntax ip vpn-instance vpn-name undo ip vpn-instance vpn-name Vie w System view , routing pr otocol view Parameter vpn[...]

  • Página 790

    790 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Description Using the ipv4-family command, you can en ter BGP IPv4 addre ss family view or MBGP VPNv4 address family view . Usi ng the undo ipv4-family command, you can delete the configuration of specif ied addr ess family view or MBGP VPNv4 address family view . By default, unicast address is [...]

  • Página 791

    BGP/MPLS VPN Configuration Commands 791 Description Using the ospf command, you can an enab le OSPF procedur e. Using the undo ospf command, you can disable an OSPF procedure. After enablin g OSPF pr ocedur e, yo u can pe rfo rm OS PF config ur atio ns in the OSP F protocol view . By default, no OSPF protocol is enabled. VRP supports multiple OSPF [...]

  • Página 792

    792 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS ■ If you bind an OSPF procedur e to a nonexistent VPN instance, the co mmand fails in executing and the system prompts the information “Specified vpn instance not configured”. ■ When a VPN instance is deleted, all OSPF procedures associated to it will be deleted. For example, suppose VPN[...]

  • Página 793

    BGP/MPLS VPN Configuration Commands 793 In the case of standard BGP , BGP tests routing loop via AS number . In the case of Hub&Spoke networking, however , PE ca rries th e AS number of the local autonomous system when advertising the ro uting information to CE, if EBGP is run between PE and CE. Accordingly , the updated routing information wil[...]

  • Página 794

    794 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Parameter group-name: Peer gr oup name Description Using the peer enable command, you can en able the specif ied peer (group). Using the undo peer enable command, you ca n disable the sp ecified peer (group). For IPv4 address family , address switching is enabled by default. Example Enable the p[...]

  • Página 795

    BGP/MPLS VPN Configuration Commands 795 peer default-route-advertise Synta x peer { group-name | peer -address } default-r oute-advertis e undo peer { group-name | peer -addr ess } default-rou te-advertise Vie w BGP view , MB GP IPv4- family view Parameter group-name: Peer group name. peer -address: IP addr ess of a peer . Description Using the pee[...]

  • Página 796

    796 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS [3Com-bgp-af-vpn] peer test next-h op-local peer public-as-only Syntax peer { group-name | peer -address } public-as-only undo peer { group-name | peer -address } public-as-only View BGP view , MBGP IPv4-family view Parameter group-name: Peer gr oup name. peer -address: IP address of a peer . De[...]

  • Página 797

    BGP/MPLS VPN Configuration Commands 797 [3Com-bgp] ipv4-family vpnv4 [3Com-bgp-af-vpn] peer 1.1.1.1 upe route-distinguisher Syntax route-distinguisher r oute-d i stingu isher Vie w vpn-instance view Parameter route-distinguisher: Configur es a VPN IPv4 prefix by adding an 8-byte value to a IPv4 prefix. Description Using the route-distinguisher comm[...]

  • Página 798

    798 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Description Using the r oute-tag comma nd , yo u ca n specify a tag value to identif y VPN import route. Using the undo r oute-t ag command, you can restore the defau l t value. If a VPN site is linked to multiple PEs, when the route learned from MPLS/B GP is advertised by a PE router via its ty[...]

  • Página 799

    BGP/MPLS VPN Configuration Commands 799 both: Imports ingress and egr ess r oute info rmation to the extended community of target VPN. vpn-target-ext-commu ni ty: Adds vpn-target extended community att ribut e to the ingress and egr ess of vpn-instance or th e vpn -target extended co mmunity list of ingress and egr ess. Description Using the vpn-ta[...]

  • Página 800

    800 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Description Using the routing-t able limit command , you can limit the route maximum in a vpn-instance, to avoid too many routes in the ingr ess interface of the PE router . Using the undo routing-table limit comm and, you can remove the limitation. It is necessary to enter the vpn-instance sub-[...]

  • Página 801

    BGP/MPLS VPN Configuration Commands 801 MD5 authentication string in cipher text . Y ou can also input 24-char acter authentication string in cipher text. dead seconds: Specifies interval for the dead timer , in range of 1~8192 seconds. By default, it is 40 seconds. It must be consistent with the dead seconds value for sham link peer . hello second[...]

  • Página 802

    802 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS vpn-instance-capability simple Syntax vpn-instance-capability simple undo vpn-instance-capability View OSPF protocol view Parameter None Description Using the routing-table limit command, you can configure a router as Multi-VPN-Instance CE. Using the undo routing-table limit command, you can rem[...]

  • Página 803

    MPLS L2VPN CCC Configuration Commands 803 Vie w System view Parameter interface-type interface-number: In terface for the remote connection. ccc-connection-name: CCC connection name of 1 to 20 ch aracters in length, which uniquely identifies a CCC inside a PE. transmit-lsp-name: Name of the transmit-LSP . receive-lsp-name: Name of the receive-LSP .[...]

  • Página 804

    804 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS For a serial, asynchr onous serial, Ethernet , GE, or VE interface , CCC encapsulation defaults to link layer encapsulati on and the command does not have any parameter in this case. This is also applies to the CCC encapsulation on an Ethern et sub-interface or GE sub-interface. Fo r an A TM sub[...]

  • Página 805

    MPLS L2VPN CCC Configuration Commands 805 Parameter ccc-name: Name of the connection to be displayed. local: Displays loca l CCC connection only . remote: Displays r emote CCC connection only . Description Using the display ccc command, you can view CCC connection information. Example Display CCC connection infor mation. [3Com] display ccc c-link s[...]

  • Página 806

    806 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS View MPLS view Parameter lsp-name: LSP name next-hop-addr: Next hop address interface-type Interface-num: Int e rface type and interface number out-label-value: Outbound label value, in range of 16~1024 Description Using the static-lsp egress l2vpn command, yo u can configure a static LSP used i[...]

  • Página 807

    SVC MPLS L2VPN Configuration Commands 807 Description Using the static-lsp transit command, you can config ure a static LSP used in L2VPN for transit LSR. Using the undo static-lsp transit command, yo u can delete an LSP used in L2VPN of transit LSR. T wo LSPs (one in each direction) should be cr eated in advance and config ured to the transit LSR [...]

  • Página 808

    808 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS mpls static-l2vc Syntax mpls static-l2vc destin ation destination-ip-addr ess transmit-vpn-label transmit-label-value receive-vp n-label r eceiv e-label-value View Interface view Parameter destination-ip- add ress: ROUTER ID of destination r outer . transmit-label-value: T ransm it-label value o[...]

  • Página 809

    Kompella MPLS L2VPN Configuration Commands 809 undo mpls l2vc Vie w Interface view Parameter ip-address: lsr -id address of peer PE. vc-id: Connected VC ID. Description Using the mpls l2vc command, you can cr eate an LDP connection. Using t he undo mpls l2vc command, you can delete th e connection. Supporting interface types: Serial, As y Serial, P[...]

  • Página 810

    810 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Description Using the ce command, you ca n create CE or modify CE range. Using the undo ce command, yo u can delete CE. After CE is created, system will cr eate a CE mode and all the c onfigurations of CE will be performed in this mode. T o facilitate VPN expansion, CE range can be configured la[...]

  • Página 811

    Kompella MPLS L2VPN Configuration Commands 811 display bgp l2vpn Syntax display bgp l2vpn { all | pe er | r oute-distinguisher } Vie w Any view Parameter all: All L2VPN information in local addr ess family . peer: Information of the specified BGP peer . route-distinguisher: Information of the specified VPN RD. Description Using the display bgp l2vp[...]

  • Página 812

    812 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Description Using the display mpls l2vpn forwarding- info command, you can view the L2VPN information under a s pecific interface. Example Display the L2VPN information under a specific interface. [3Com] display mpls l2vpn forwardi ng-info interface serial1/0/0 VCLABEL TUNNELTYPE ENTRYTYPE OUTIN[...]

  • Página 813

    Kompella MPLS L2VPN Configuration Commands 813 Parameter None Description Using the mpls l2vpn command, you can enable L2VPN. Using the undo mpls l2vpn command, you can disable L2VPN. Enable MPLS before using this command. For the related commands, se e mpls and mpls lsr -id. Example Enter MPLS view , then configur e LSR ID and enable MPLS. [3Com] [...]

  • Página 814

    814 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS [3Com] mpls l2vpn 3Com encapsulati on vlan mtu Syntax mtu mtu View L2VPN v iew Parameter mtu: Layer2 MTU value of VP N. MTU is defaulted as 1500. Description Using the mtu command, you can conf igure MTU of Komp ella MPLS L2VPN. When configuring VPN layer2 mtu, the mtu value of the same VPN on d[...]

  • Página 815

    MPLS TE Configuration Commands 815 MPLS TE Configuration Commands add hop Syntax add hop ip-address1 [ strict | loose ] [ after ip-address2 ] Vie w Explicit path view Parameter ip-address1: IP address for the node to be added, which can be the interface address or the r outer ID. ip-address2: IP addr e ss before ip-addr ess1. strict: Next hop and l[...]

  • Página 816

    816 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS rconf: Enables resv conf-level alarming. hello: Enables hello-level alarming. perr: Enables path er ror -level alarming. rerr: Enables Resv error -level alarming. encdec: Enables CODEC-level alar min g. socket: Enables socket-level alarming. traffic-control: Enables traf fic contr ol-level alarm[...]

  • Página 817

    MPLS TE Configuration Commands 817 Parameter interface-type: Specif ies interface type. interface-number: S pecified interface n umber . Description Using the display mpls rsvp-te comma nd, you can view RSVP interface information. By default, information of all RS VP interfaces w ill be displayed. Example Display information of all RSVP interfaces.[...]

  • Página 818

    818 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS display mpls rsvp-te peer Syntax display mpls rsvp-te p eer [ interface in terface-type interface-number ] View Any view Parameter interface-type: Sp ecif ies interface type. interface-number: Specif ies interface number . Description Using the display mpls rsvp-te peer comm and, you can view pe[...]

  • Página 819

    MPLS TE Configuration Commands 819 Parameter ip-address: Specifies IP addr ess. verbose: Displays de tailed information. Description Using the display mpls rsvp-te resv comma nd, you can view r ese rved re sources of RSVP . By default, the r eserved resour ces of all RSVP interfaces will be displayed. Example Display the reserved resour ces of all [...]

  • Página 820

    820 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS interface-num: Specifi es interface number . Description Using the display mpls te link-administration admission-control command, you can view local tunnels and their parameters (fo r example, prior ity , bandwidth, ingr ess, egress and status). By default, the admission control information of a[...]

  • Página 821

    MPLS TE Configuration Commands 821 By default, the link info rmation of all RSVP interf aces will be displayed. Example Display MPLS TE link-adminis tration bandwidth distribution. [3Com] display mpls te link-administrat ion bandwidth-distribution Ethernet4/0/1 System Information:: Links Count: 2 Link ID: Et4/0/1 (10.1.0.6) Physical Bandwidth: 1000[...]

  • Página 822

    822 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS tunnel-identifier: Displays the tunn el information with a specifie d ID. verbose: Displays detailed information. Description Using the display mpls te tunnel command, you can view tunnel information. Example Display MPLS TE T unnel. [3Com] display mpls te tunnel Total Tunnel Number: 1 TunnelID [...]

  • Página 823

    MPLS TE Configuration Commands 823 display mpls te tunnel running Syntax display mpls te tunnel runn ing tun-num Vie w Any view Parameter tun-num: Specifies tunnel nu mber . Description Using the display mpls te tunnel runni ng command, you can view the inf ormation of active tunnels. Only configuration information of tho se tunnels where LSP has b[...]

  • Página 824

    824 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS View Explicit path view Parameter ip-address1: Curr ent IP address. ip-address2: IP addr e ss after modification. strict: Next hop and local node must be in direct-connect mode. loose: Next hop and local node can be in the mode other than direct-connect. Description Using the modify hop command,[...]

  • Página 825

    MPLS TE Configuration Commands 825 mpls rsvp-te blockade-multiplier Syntax mpls rsvp-te blockade-multiplier times undo mpls rsvp-te blockade-multiplier Vie w System view Parameter times: RSVP refr eshing period multiplier fo r blockaded state timeout, in the range of 1~255. By d efault, it is 3. Description Using the m pls rsvp-te blocka de-multipl[...]

  • Página 826

    826 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS mpls rsvp-te hello-lost Syntax mpls rsvp-te hello-lost times undo mpls rsvp-te hello-lost View System view Parameter times: Times value when no Hello response messages are r eceived consecutively , in the range of 3~10. By default, it is 3. Description Using the mpls rsvp-te hello-lost command, [...]

  • Página 827

    MPLS TE Configuration Commands 827 Restore the default multiplier . [3Com] undo mpls rsvp-te keep-multiplie r mpls rsvp-te r esvconfirm Syntax mpls rsvp-te resvconfirm undo mpls rsvp-te resvconfirm Vie w Any view Parameter None Description Using the mpls rsvp -te resvconfirm comm and, you can start the confirmation mechanism for resour ce reservati[...]

  • Página 828

    828 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Restore the default value. [3Com] undo mpls rsvp-te timer hel lo mpls rsvp-te timer ref re sh Syntax mpls rsvp-te timer refresh seconds undo mpls rsvp-te timer refr esh View System view Parameter seconds: T ime interval for refreshing Path /Resv messages, in the range of 1~65535 seconds. By defa[...]

  • Página 829

    MPLS TE Configuration Commands 829 For related command, see opaque-capability enable. Example Enable TE function in OSPF area. [3Com-ospf-100] area 1 [3Com-ospf-100-area-0.0.0.1] mpls-te en able mpls te Syntax mpls te undo mpls te Vie w MPLS view , interface view Parameter None Description Using the mpls te command, you can en able MPLS TE feature.[...]

  • Página 830

    830 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Description Using the mpls te bandwidth command, you can specify bandwidth for MPLS TE tunnel. Using the undo mp ls te bandwidth command, you can restore the default value. The maximum r eservable bandwidth must be greater than sum of the bandwidth of all tunnels. For related commands, see mpls [...]

  • Página 831

    MPLS TE Configuration Commands 831 Parameter path-name: Path name enable: Current path is available. disable: Current path is unavailable. Th is setting prevents the path from being used during configuration. Description Using the mpls te explicit-path command, you can enter th e explicit path view and create an explicit path or modify a spec ific [...]

  • Página 832

    832 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Example None mpls te link-administrative- group Syntax mpls te link-administra tive-group attribute undo mpls te link-administrative-group View Interface view Parameter attribute: Link management g roup attribute, also called color , which is an integer in hexadecimal. It can be a cons traint in[...]

  • Página 833

    MPLS TE Configuration Commands 833 mpls te loop-detection Syntax mpls te loop-detection undo mpls te loop-detection Vie w T unnel view Parameter None Description Using the mpls te loop-detection command, you can indicate to run loop test in creating tunnels. Using the undo mpls te loop-detection command, you can remove loop test. For signaling prot[...]

  • Página 834

    834 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS View Interface view Parameter bandwidth: The maximum link bandwidth at the interface, in the range o f 0~32000000bps. By default , it is 75 percentage of the actu al ban dwidth at the interface . Description Using the mpls te max-r e servable-bandwidth command, you can con figure the reservable [...]

  • Página 835

    MPLS TE Configuration Commands 835 Parameter None Description Using the mpls te recor d-lab el co mmand, you can indicate to recor d actual route and label in creating tunnels. Using th e undo mpls te record-label command, you can remove the setting. For signaling protocol, r ecording actual r o ute is optional. RSVP-TE can also record route labels[...]

  • Página 836

    836 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS Example Select SE type in creating CRLSP tunnels. [3Com-tunnel1] mpls te signal-prot ocol rsvp-te [3Com-tunnel1] mpls te resv-style se mpls te signal-protocol rsvp-te Syntax mpls te si gnal-pro tocol rsvp-te View Tu n n e l v i e w Parameter None Description Using the mpls te signal-protocol rsv[...]

  • Página 837

    MPLS TE Configuration Commands 837 Vie w Explicit path view Parameter ip-address: Next IP addr e ss along the explicit path strict: The next hop and local node must be in d irect-connect mode. loose: The next hop and local node can be in the mode other than direct-connect. Description Using the next hop command, you can specify next IP addr ess on [...]

  • Página 838

    838 C HAPTER 8: M PLS B ASIC C ONFIGURATION C OMMANDS View Explicit path view Parameter ip-address: IP addr ess of the node Description Using the view hop command, you can view node information. Example Display node information. [3Com-mpls-te-expl-path-tandoon] v iew hop explicit-path id : 0, name : xhy, status : enable[...]