Instruction/ maintenance manual of the product 3031 3Com
Go to page of 838
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.
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.
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 Informati.
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 Comm.
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 Multica.
.
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.
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.
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-priv.
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.
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.
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.
Basic Configur ati o n Co mma nd s 13 Example Display the contents of clipboar d. <3Com> display clipboard -----------------clipboard ------------ ----- ip route 10.
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.
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.
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.
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.
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).
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.
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.
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!!".
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.
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 debuggi.
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.
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.
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 Fre.
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.
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.
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.
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.
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.
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 .
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 n.
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.
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 .
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 inf.
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 .
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 .
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 .
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.
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.
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.
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.
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.
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 .
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.
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 .
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.
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/0.
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 HighLimi.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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 .
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.
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.
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 .
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.
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.
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.
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.
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.
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 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 .
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.
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 .
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 .
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 .
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.
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.
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.
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 .
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.
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 disp.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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 redi.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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 .
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.
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 .
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 noAut.
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 .
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 .
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.
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.
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-nam.
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 .
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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 vie.
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 .
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 .
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.
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.
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.
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.
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 .
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).
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.
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.
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).
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.
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.
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”.
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.
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.
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 .
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.
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 stat.
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 .
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.
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 n.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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).
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.
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.
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.
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.
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.
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-n.
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.
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.
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.
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).
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.
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.
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 .
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-form.
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.
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.
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.
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.
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.
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.
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.
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 .
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 interfa.
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 NS.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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 l.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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 p.
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.
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.
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 Paramet.
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 .
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.
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.
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.
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.
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.
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.
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 .
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 Descrip.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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 .
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.
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.
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.
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.
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 Synt.
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.
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.
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.
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.
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 [ i.
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.
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.
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.
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.
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.
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.
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.
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 Synt.
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.
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.
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.
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.
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 .
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 .
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 .
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.
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 .
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(D.
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.
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.
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.
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.
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.
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.
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 packet.
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.
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.
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.
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.
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.
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.
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.
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] l.
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 .
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.
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.
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.
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.
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.
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.
Frame Relay Configuration Comman ds 317 Example Configure Frame Relay encapsulation on interface Serial1/0/0 and select the nonstandard encapsulation compatible format.
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.
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.
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.
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 u.
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.
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.
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.
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.
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.
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.
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 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 deb.
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.
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 ar.
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.
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.
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.
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.
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) encap.
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.
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.
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.
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.
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.
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 .
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.
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.
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 maximu.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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.
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).
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.
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.
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.
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.
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.
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 .
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.
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 .
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.
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.
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.
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.
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.
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…”.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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 .
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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 st.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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).
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.
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.
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.
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.
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.
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.
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.
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 .
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 .
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.
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.
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.
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.
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.
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.
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).
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.
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.
IP Performance Configuration Commands 457 For the related commands, see display ip interface and display ip statistics. Example Clear IP statistics information.
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.
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 .
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 Synt.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 d.
IP Unicast Policy Routing Configuration Commands 471 Description Using the display ip policy setup command, you can view the setting information of policy routings.
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.
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.
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.
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.
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.
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.
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 rou.
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.
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 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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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 net.
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.
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 ip.
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.
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.
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.
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-disa.
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-serve.
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).
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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 w.
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 .
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.
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.
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.
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.
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.
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.
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 s.
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.
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.
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.
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.
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).
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 .
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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 .
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.
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 .
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 .
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 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.
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.
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.
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.
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.
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.
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.
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 -.
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.
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.
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.
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 .
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.
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.
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.
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.
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 .
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.
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.
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 1.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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 p.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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 i.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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 .
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.
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.
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.
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.
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.
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-poli.
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.
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 Para.
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.
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.
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 .
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.
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.
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.
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 .
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.
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.
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-distin.
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.
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.
642 C HAPTER 6: R OUTING P ROTOCOL Dest/Mask Source Keepup-time Damping-limit Flap-times Origin As-path ---------------------------------- ---------------------------------- D 11.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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 .
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 mul.
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.
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.
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.
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).
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.
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 va.
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.
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 .
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 networ.
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.
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.
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 .
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 .
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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].
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.
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 a.
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.
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 .
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 .
686 C HAPTER 6: R OUTING P ROTOCOL.
7 Multicast Common Configuration Commands This chapter covers the following commands: ■ Multicast Common Configuration Commands ■ IGMP Configuration Commands ■ PIM Configuration Commands ■ MSD.
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.
Multicast Common Configuration Commands 689 Parameter group-address: Multicast gr oup address, used to specify a multicast group, ranging from 224.0.0.
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.
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).
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 .
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 .
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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 .
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.
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.
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.
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 .
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.
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 .
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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-.
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.
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.
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 S.
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).
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.
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.
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.
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.
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.
Multicast Static Route Configuration Commands 757 Display the multicast static r oute configured. <3Com] display multicast routing-table static config.
758 C HAPTER 7: M ULTICAST C OMMON C ONFIGURA TION C OMMANDS.
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 Com.
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.
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.
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).
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 statis.
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.
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.
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.
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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 .
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.
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.
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.
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.
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.
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 .
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 .
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.
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.
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).
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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 ou.
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.
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 .
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.
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.
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 .
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.
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.
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.
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.
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.
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.
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 .
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.
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).
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.
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.
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.
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.
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.
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.
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 Vi.
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.
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.
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.
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.
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.
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.
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.
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.
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 sig.
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.
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.
An important point after buying a device 3Com 3031 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought 3Com 3031 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data 3Com 3031 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, 3Com 3031 you will learn all the available features of the product, as well as information on its operation. The information that you get 3Com 3031 will certainly help you make a decision on the purchase.
If you already are a holder of 3Com 3031, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime 3Com 3031.
However, one of the most important roles played by the user manual is to help in solving problems with 3Com 3031. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device 3Com 3031 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center