3Com 3031 Command Reference Manual
3Com 3031 Command Reference Manual

3Com 3031 Command Reference Manual

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Summary of Contents for 3Com 3031

  • Page 1 Part No. 10014369 Published June 2004 3Com Router Command Reference Guide 3Com Router 3000 DSL Family 3Com Router 5000 Family 3Com Router 6000 Family...
  • Page 2 01752-3064 3Com Corporation reserves the right to revise this documentation and to make changes in content from time to time without obligation on the part of 3Com Corporation to provide notification of such revision or change. 3Com Corporation provides this documentation without warranty, term, or condition of any kind, either implied or expressed, including, but not limited to, the implied warranties, terms or conditions of merchantability, satisfactory quality, and fitness for a particular purpose.
  • Page 3: Table Of Contents

    ONTENTS BOUT UIDE Conventions Related Documentation ONFIGURATION OMMANDS Basic Configuration Commands YSTEM AINTENANCE debugging Information Processing Commands System Operating Management Commands - AR46 Series File Management Commands FTP Server Configuration Commands FTP client module commands TFTP Configuration Commands Configuration Files Management Commands User Interface Configuration Commands debugging ntp-service SNMP Configuration Commands...
  • Page 4 Fundamental Logical Interface Configuration Commands Logic-Channel Interface Configuration Command of Virtual Template and Virtual Access Interface MP-group Interface Configuration Command Virtual Ethernet Interface Configuration Command Configuration Command of Loopback Interface and Null Interface AYER ROTOCOL PPP and MP Configuration Commands PPPoE Server Configuration Commands PPPoE Client Configuration Commands VLAN Configuration Commands...
  • Page 5 ULTICAST OMMON Multicast Common Configuration Commands IGMP Configuration Commands PIM Configuration Commands MSDP Configuration Commands MBGP Multicast Extension Configuration Commands Multicast Static Route Configuration Commands MPLS B ASIC ONFIGURATION Basic Configuration Commands LDP Configuration Commands BGP/MPLS VPN Configuration Commands MPLS L2VPN CCC Configuration Commands SVC MPLS L2VPN Configuration Commands Martini MPLS L2VPN Configuration Commands Kompella MPLS L2VPN Configuration Commands...
  • Page 7: About This Guide

    (WAN) operations and familiarity with communication protocols that are used to interconnect WANs. Always download the Release Notes for your product from the 3Com World Wide Web site for the latest updates to product documentation: http://www.3com.com...
  • Page 8: Related Documentation

    The following manuals offer additional information necessary for managing your Documentation 3Com Router: These documents are available in Adobe Acrobat Reader Portable Document Format (PDF) on the CD-ROM that accompanies your router or on the 3Com World Wide Web site: http://www.3com.com/ Italics are used to: Emphasize a point.
  • Page 9: Configuration Commands

    This chapter describes how to use the following commands: Basic Configuration Commands Basic Configuration Commands Clock Summer Times Syntax clock summer-time zone_name { absolute | recurring } HH:MM:SS YYYY/MM/DD HH:MM:SS YYYY/MM/DD HH:MM:SS undo clock summer-time View User view ONFIGURATION Clock Summer Times clock datetime clock timezone command-privilege...
  • Page 10 Add one hour to the clock for the summer time z2 that starts at 06:00:00 on 2002/06/08 and ends at 06:00:00 on 2002/09/01. <3Com> clock summer-time z2 absolute 06:00:00 2002/06/08 06:00:00 2002/09/01 01:00:00 # Add one hour to the clock each year starting from 2002 for the summer time z2 that starts at 06:00:00 on 08/06 and ends at 06:00:00 on 01/09.
  • Page 11 For related command, see clock summer-time. Example Set the local timezone name to Z5 and set Z5 to be five hours faster than UTC time. <3Com> clock timezone z5 add 05:00:00 command-privilege Syntax command-privilege level level view view command-key undo command-privilege view view command-key...
  • Page 12 FTP, XMODEM, TFTP and file system operation fit into commands of manage-level (level 3). Example Set the priority of the “interface” command to 0. [3Com] command-privilege level 0 view system interface display clipboard Syntax display clipboard...
  • Page 13 Basic Configuration Commands Example Display the contents of clipboard. <3Com> display clipboard -----------------clipboard ----------------- ip route 10.1.0.0 255.0.0.0 eth 0 display clock Syntax display clock View Any view Parameter None Description Using the display clock command, you can display the clock status and the configuration information.
  • Page 14 Through viewing system version information, you will learn about the software version in use, rack type and the information related to the main processing board and interface cards. Example Display system version information of a 3Com R1760 router. <3Com> display version 3Com Versatile Routing Platform Software VRP(tm) software, Version 3.30 Copyright (c) 2000-2002 3Com Corporation.
  • Page 15 English character and press <Enter> directly. Example Configure a session creation title. [3Com] header shell % Enter TEXT message. End with the character '%'. SHELL : Hello! Welcome use 3Com R1760.% # Test the configuration. [3Com] quit <3Com> quit Press RETURN to get started SHELL : Hello! Welcome use 3Com R1760.
  • Page 16 You can change the definitions on your demand. The default values for the other hotkeys are null. Example Correlate the display tcp status command with the hotkey CTRL_T. [3Com] hotkey ctrl_t display tcp status [3Com] display hotkey ----------------- HOTKEY ----------------- Hotkeys Command...
  • Page 17 The command line interface of the system also supports Chinese mode to fit into domestic users in China. Example Switch from English mode to Chinese mode. <3Com> language-mode chinese Change language mode, confirm? [Y/N]y % Switch to Chinese mode. lock...
  • Page 18 1: C HAPTER ONFIGURATION OMMANDS <3Com> lock Password: Again: quit Syntax quit View Any view Parameter None Description Using the quit command, you can quit from the active view to a lower-level view (if the active view is user view, you will exit the system).
  • Page 19 The operation of this command will render the network unusable for a short period of time. So it should be used with caution. Before rebooting the Router, remember to save the configuration file if necessary, Example Reboot the device. <3Com> reboot System will reboot! Continue?[Y/N] return Syntax return...
  • Page 20 For the related command, see super password. Example <3Com> super 3 Password: User privilege changes to 3 level, just equal or less this level's commands can be used.
  • Page 21 Using the sysname command, you can set the name of a router. By default, a router is named "3Com". Modification to a router's name will affect the prompt of the command line interface. For example, if the router's name is "3Com", the prompt of user view will be "<3Com>". Example Set the name of the router to R1760.
  • Page 22 1: C HAPTER ONFIGURATION OMMANDS Description Using the system-view command, you can enter system view from current user view. For the related command, see quit, return. Example <3Com> system-view Enter system view , return user view with Ctrl+Z. [3Com]...
  • Page 23: System Maintenance & Management Commands

    System Maintenance & Management Commands Add Chapter introduction here. This information should ONLY be about what the chapter contains. Network Test Tool Commands debugging Syntax debugging { all | module-name [ debug-option1 ] [ debug-option2 ] …} undo debugging { all | module-name [ debug-option1 ] [ debug-option2 ] … } View User view Parameter...
  • Page 24 By default, no parameters have been defined and all the enabled debugging switches are displayed. For related command, see debugging. Example Display all the enabled debugging switches. <3Com> display debugging IP packet debugging switch is on. display Syntax diagnostic-information display diagnostic-information...
  • Page 25 ------------------ display version ------------------ 3Com3Com Versatile Routing Platform Software VRP 3600E Software Version VRPV3R001M06B03D003, DEBUG SOFTWARE Copyright (c) 2000-2003 by VRP Team Beijing Institute 3Com Tech, Inc Compiled Mar 24 2003 20:28:31 by zhaomin ------------------ display running-config ------------------ sysname 3Com...
  • Page 26 12606400 bytes System Total Memory(bytes): 33541536 ------------------ display interfaces ------------------ Atm1/0/0 is down , Description : 3Com, 3Com Series, Atm1/0/0 Interface The Maximum Transmit Unit is 1500 Internet protocol processing : disabled AAL enabled: AAL5, Maximum VCs: 32 Current VCs: 0 (0 on main interface) 5 minutes input rate 0.00 bytes/sec, 0.00 packets/sec...
  • Page 27 0 packets input, 0 packets output, 0 bytes, 0 no buffers 0 input errors, 0 CRC, 0 frame errors 0 overrunners, 0 aborted sequences, 0 input no buffers DCD=DOWN DTR=DOWN ping Syntax ping [ -a X.X.X.X | -c count | -d | -h ttl_value | -i { interface-type interface-number } | ip | -n | - p pattern | -q | -r | -s packetsize | -t timeout | -v | vpn-instance vpn-instance-name ] * host View...
  • Page 28 2: S & M HAPTER YSTEM AINTENANCE ANAGEMENT OMMANDS vpn-instance vpn-instance-name: Sets the vpn-instance name of MPLS VPN to specify the VPN attribute configured in this ping command, that is, name of the associated vpn-instance created at the local. host: Domain name or IP address of destination host. ip: IP protocol is used.
  • Page 29 For related command, see tracert. Example Check the reachability of the host at 202.38.160.244. <3Com> ping 202.38.160.244 ping 202.38.160.244 : 56 data bytes , press CTRL-C to break Reply from 202.38.160.244 : bytes=56 sequence=1 ttl=255 time = 1ms Reply from 202.38.160.244 : bytes=56 sequence=2 ttl=255 time = 2ms Reply from 202.38.160.244 : bytes=56 sequence=3 ttl=255 time = 1ms...
  • Page 30 2: S & M HAPTER YSTEM AINTENANCE ANAGEMENT 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 View Any view Parameter -a: Specifies source IP address of the tracert packets, which is in the format of X.X.X.X and must be the address of a local interface.
  • Page 31: Information Processing Commands

    GWs along the path to the destination. If some GW times out, “***” will be output. Example <3Com> tracert 18.26.0.115 tracert to allspice.lcs.mit.edu (18.26.0.115), 30 hops max 1 helios.ee.lbl.gov (128.3.112.1) 0 ms 0 ms 0 ms 2 lilac-dmc.Berkeley.EDU (128.32.216.1) 19 ms 19 ms 19 ms 3 lilac-dmc.Berkeley.EDU (128.32.216.1) 39 ms 19 ms 19 ms...
  • Page 32 This command displays the setting states of all channels when executed without any parameter. Example Display the contents of information channel 0. <3Com> display channel 0 channel number:0, channel name:console MODU_ID NAME ENABLE LOG LEVEL ffff0000 all display info-center...
  • Page 33 Information Center: enabled Log host: Console: Monitor: SNMP Agent: Log buffer: current messages 89, channel number : 4, channel name : logbuffer dropped messages 0, overwrote messages 0 Trap buffer: current messages 0, channel number:3, channel name:trapbuffer dropped messages 0, overwrote messages 0 Information timestamp setting: Sent messages = 89, Received messages = 89 display logbuffer...
  • Page 34 : 0 current messages : 96 %8/28/2101 5:34:48-IC-7-SYS_RESTART: System restarted -- 3Com Versatile Routing Platform Software Copyright (c) 2000-2002 by VRP Team Beijing Institute 3Com Tech, Inc %9/9/2002 15:50:36-SHELL-5-CMD:task:CFM ip:** user:** command:interface Ethernet %11/6/2002 22:18:52-SHELL-5-CMD:task:CFM ip:** user:** command:interface Aux0...
  • Page 35 : 0 overwrote messages : 0 current messages : 0 # Display 23 entries of information in the trapbuffer. <3Com> display trapbuffer size 23 Trapping Buffer Confiuration and contents: enabled allowed max buffer size : 1024 actual buffer size : 256...
  • Page 36 2: S & M HAPTER YSTEM AINTENANCE ANAGEMENT OMMANDS Example Name Channel 0 as "execconsole". [3Com] info-center channel 0 name execconsole info-center console Syntax channel info-center console channel { channel-number | channel-name } undo info-center console channel View System view Parameter channel-number: Channel number, ranging 0 to 9, that is, the system has 10 channels.
  • Page 37 For related commands, see info-center loghost, info-center logbuffer, info-center trapbuffer, info-center console channel, info-center monitor channel, display info-center. Example Enable the info-center. [3Com] info-center enable % information center is enabled info-center logbuffer Syntax info-center logbuffer [ channel { channel-number | channel-name } | size buffersize...
  • Page 38 Example Enable the router to send information to the logbuffer and set the logbuffer size to 50. [3Com] info-center logbuffer size 50 info-center loghost Syntax info-center loghost X.X.X.X [ channel { channel-number | channel-name } | facility local-number | language { chinese | english } ] * undo info-center loghost X.X.X.X...
  • Page 39 Example Set the IP address of Loopback0 as the source address of the logging message packets. [3Com] interface loopback 0 [3Com-LoopBack0] ip address 1.1.1.1 255.255.255.0 [3Com-LoopBack0] quit [3Com] info-center loghost source loopback 0...
  • Page 40 For related commands, see info-center enable, and display info-center. Example Enable the router to output information to the user terminal and set the output channel. [3Com] info-center monitor channel monitor info-center snmp Syntax channel info-center snmp channel { channel-number | channel-name }...
  • Page 41 By default, channel 5 is used. For the related command, see display snmp-agent statistics. Example Set snmp information channel to channel 6. [3Com] info-center snmp channel 6 info center source Syntax info-center source { module-name | default } { channel { channel-number |...
  • Page 42 2: S HAPTER YSTEM AINTENANCE Table 2 Definition of information level emergencies alerts critical errors warnings notifications informational debugging *: 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 records to an information channel.
  • Page 43 Enable the output of log information of the IP module in the snmp channel and the allowed highest level of the output information is emergence. [3Com] info-center source ip channel snmpagent log level emergence # Remove the setting of the cmd module in the snmp channel.
  • Page 44 For related commands, see info-center enable, display info-center, and display info-center trapbuffer. Example Enable the router to send information to the trapbuffer, given the trapbuffer size is [3Com] info-center trapbuffer size 30 reset logbuffer Syntax reset logbuffer View User view...
  • Page 45 Information Processing Commands Example <3Com> reset logbuffer reset trapbuffer Syntax reset trapbuffer View System view Parameter None Description Using the reset trapbuffer command, you can clear information in the trapbuffer. Example <3Com> reset trapbuffer service Syntax modem-callback service modem-callback undo service modem-callback...
  • Page 46 Using the undo terminal logging command, you can disable log display function of terminals. By default, the log display function of terminals is enabled. Example Disable the log display function of terminals. <3Com> undo terminal logging terminal monitor Syntax terminal monitor...
  • Page 47 In the event that terminal monitor has been enabled, the terminal debugging/undo terminal debugging, terminal logging/undo terminal logging, and terminal trapping/undo terminal trapping commands can be used to enable/disable the debugging/logging/trapping information. Example Disable terminal monitor. <3Com> undo terminal monitor terminal trapping Syntax terminal trapping undo terminal trapping View...
  • Page 48: System Operating Management Commands - Ar46 Series

    Using the boot bootldr command, you can specify the system booting file. Example Specify the file ibox.bin stored in the flash as the default system booting file. [3Com] boot bootldr flash:/ibox.bin display alarm urgent Syntax display alarm urgent [ time | slot | id ]...
  • Page 49: Display Environment

    Example Display the stored alarms. <3Com> display alarm urgent display bootvar Syntax display bootvar View Any view Parameter None Description Using the display bootvar command, you can display file name of the boot software package stored in the flash on RPU.
  • Page 50 Executing the command defined with the parameter slot-number will display only the details on the defined slot, including reset times and history records of the reset causes. Example Display the essential information of the router. <3Com> display device Slot # display schedule Syntax reboot...
  • Page 51 For the related command, see reboot, schedule reboot at, schedule reboot delay, undo schedule reboot. Example Display the configuration of the schedule reboot terminal service parameters of the current router. <3Com> display schedule reboot Reboot system at 16:00:00 2002/11/1 (in 2 hours and 5 minutes). remove slot Syntax remove slot slotnum...
  • Page 52 AINTENANCE Parameter None Description Using the reset alarm urgent command, you can clear all the stored alarms. Example Clear the all the stored alarms. <3Com> reset alarm urgent reset slot Syntax reset slot slot-number View User view Parameter slot-number: The number of the slot to be reset.
  • Page 53 Example Set the router to be restarted at 22:00 that night (the current time is 15:50). <3Com> schedule reboot at 22:00 Reboot scheduled for 22:00:00 UTC 2002/11/18 (in 6 hours and 10 minutes) Proceed with reboot? [Y/N]:y...
  • Page 54 For the related command, see reboot, schedule reboot at, undo schedule reboot, display schedule reboot. Example Configure the router to be restarted after 88 minutes (the current time is 21:32). <3Com> schedule reboot delay 88 Reboot scheduled for 23:00:00 UTC 2002/11/1 (in 1 hours and 28 minutes) Proceed with reboot? [Y/N]:y...
  • Page 55: File Management Commands

    Example Upgrade the pico-code on line, given the file name of the upgrade software package is filename. [3Com] upgrade pico-code filename undo schedule Syntax reboot undo schedule reboot View User view Parameter None Description Using the undo schedule reboot command, you can cancel the parameter configuration of the schedule reboot terminal service.
  • Page 56 2: S HAPTER YSTEM AINTENANCE Example Modify the current operating path of the router to test. <3Com> cd test <3Com> pwd flash:/test clear Syntax clear filename View User view Parameter filename: Name of file to be deleted. Description Using the clear command, you can delete all files from the recycle bin.
  • Page 57 -rwxrwxrwx 1 noone bootromfull 7672832 bytes total (2295808 bytes free) Copy the file from Flash to buckup.. <3Com> copy vrpcfg.txt buckup Copy flash:/vrpcfg.txt to flash:/backup/vrpcfg.txt ?[Y/N]:y % Copied file flash:/vrpcfg.txt to flash:/backup/vrpcfg.txt <3Com> dir Directory of flash:/backup/ -rwxrwxrwx 1 noone vrpcfg.txt...
  • Page 58 /all command, the information of all files under the directory, including deleted files, will be displayed. Example Delete the file flash:/test/test.txt. <3Com> delete flash:/test/test.txt Delete flash:/test/test.txt?[Y/N] <3Com> Syntax dir [ /all | /h ] [ filename ]...
  • Page 59 The forms and contents of the commands are not restricted in the batch file. Example Execute the batch file “test.bat” in the directory of “flash:/”. [3Com] execute test.bat file prompt Syntax file prompt {alert | quiet }...
  • Page 60 (e.g., deleting a file), the system will have no prompt. Example Set the prompt mode of file operation to quiet. [3Com] file prompt quiet # Set the prompt mode of file operation to alert. [3Com] file prompt alert...
  • Page 61 The name of the directory to be created cannot be the same with the names of other directories or files under the specified directory. Example Create a directory dd. <3Com> mkdir dd Created dir flash:/dd. more Syntax more filename...
  • Page 62 6477 KBytes total (2144 KBytes free) <3Com> dir flash:/test/ Directory of flash:/test/ 6477 KBytes total (2144 KBytes free) # Move the file flash:/test/sample.txt to flash:/sample.txt. <3Com> move flash:/test/sample.txt flash:/sample.txt Move flash:/test/sample.txt to flash:/sample.txt ?[Y/N]:y % Moveded file flash:/test/sample.txt flash:/sample.txt <3Com> dir Directory of * 6477 KBytes total (2144 KBytes free) <3Com>...
  • Page 63 Directory of * -rw- 2145123 -rw- drw- -rw- 6477 KBytes total (2144 KBytes free) Rename the file sample.txt to sample.bak. <3Com> rename sample.txt sample.bak Rename flash:/sample.txt to flash:/sample.bak ?[Y/N]:y % Renamed file flash:/sample.txt flash:/sample.bak <3Com> dir Directory of * -rw- 2145123 -rw-...
  • Page 64 This command supports "*" wildcard. The delete command only deletes a file to the recycle bin directory. To delete a file permanently, use the reset recycle-bin command. Example Delete a file from the recycle bin. <3Com> reset recycle-bin flash:/p1h_logic.out reset flash:/plh_logic.out?[Y/N] rmdir Syntax rmdir directory...
  • Page 65: Ftp Server Configuration Commands

    If the name of this file is the same with that of an existing file, the user will be prompted whether the existing file should be overwritten. Example <3Com> dir /all Directory of * 6477 KBytes total (2144 KBytes free) # Restore the deleted file sample.bak.
  • Page 66 3Com and the FTP server has been established. the IP address of the remote host is 10.110.3.5 and the remote port number is 1074. the authorization directory is flash:/3Com and so far the user has not sent any service request to the FTP server for 2 minutes.
  • Page 67 FTP users. Using the undo ftp server command, you can disable the FTP server and the login of FTP users. By default, the FTP server is off. Example Disable the FTP server. [3Com] undo ftp server ftp timeout Syntax ftp timeout minute undo ftp timeout...
  • Page 68 & M HAPTER YSTEM AINTENANCE ANAGEMENT OMMANDS Example Set the connection timeout to 36 minutes. [3Com] ftp timeout 36 ftp update Syntax ftp update { fast | normal } undo ftp update{ fast | normal } View System view Parameter fast: Fast upgrading mode.
  • Page 69: Ftp Client Module Commands

    FTP client module commands ascii Syntax ascii View FTP client view Parameter None Description Using the ascii command, you can set the transmission data type to ASCII. By default, the data type is set to ASCII. Example Set the transmission data type to ASCII. [ftp] ascii 200 Type set to A.
  • Page 70 Using the bye command, you can disconnect with remote FTP server and exit to user view. Example Terminate the connection with remote FTP server and exit to user view. [ftp] bye <3Com> Syntax cd pathname View FTP client view Parameter pathname: Path name.
  • Page 71 FTP client module commands Description Using the cdup command, you can change the operating path to the upper directory. This command is used to exit current directory and return to an upper directory. Example Change the operating path to an upper directory. [ftp] cdup close Syntax...
  • Page 72 2: S HAPTER YSTEM AINTENANCE Description Using the debugging command, you can enable the debugging. Using the undo debugging command, you can disable the debugging. By default, the debugging of FTP client commands is disabled. Example Enable the debugging. [ftp] debugging delete Syntax delete remotefile...
  • Page 73 FTP client module commands Example Query temp.c and save the query result in temp1. [ftp] dir temp.c temp1 disconnect Syntax disconnect View FTP client view Parameter None Description Using the disconnect command, you can terminate the connection with the remote FTP server and still keep in FTP client view. This command will terminate both control connection and data connection with the remote FTP server.
  • Page 74 2: S & M HAPTER YSTEM AINTENANCE ANAGEMENT OMMANDS <3Com> ftp 1.1.1.1 Syntax get remotefile [ localfile ] View FTP client view Parameter localfile: Local file name. remotefile: File name on the remote FTP server. Description Using the get command, you can download remote files and save them locally.
  • Page 75 FTP client module commands View FTP client view Parameter remotefile: Remote file queried. localfile: Local file name saved. Description Using the ls command, you can query a specified file. By default, all the files will be displayed when there is no parameter. Example Query temp.c.
  • Page 76 2: S & M HAPTER YSTEM AINTENANCE ANAGEMENT OMMANDS port: Port number of the remote FTP server. Description Using the open command, you can establish control connection with the remote FTP server. Example Establish FTP connection with the FTP server of the host 10.110.3.1. [ftp] open 10.110.3.1 passive Syntax...
  • Page 77 FTP client module commands Description Using the put command, you can upload a local file to the remote FTP server. If no file name on the remote server is specified, this command will consider that it is the same with that of the local file. Example Upload local file temp.c to the remote FTP server and save it as temp1.c.
  • Page 78 & M HAPTER YSTEM AINTENANCE ANAGEMENT OMMANDS Example Terminate the connection with the remote FTP server and exit to user view. [ftp] quit <3Com> remotehelp Syntax remotehelp [ protocol-command ] View FTP client view Parameter protocol-command: FTP command. Description Using the remotehelp command, you can display the help of FTP command.
  • Page 79: Tftp Configuration Commands

    View FTP client view Parameter username: Logon user name. password: Logon password. Description Using the user command, you can register FTP user. Example Log on FTP server with the user name tom and the password bjhw. [ftp] user tom bjhw verbose Syntax verbose...
  • Page 80 Download the file vrpcfg.txt in the root directory of the TFTP server at 1.1.254.2 to the local hardware and save it as vrpcfg.bak. <3Com> tftp 1.1.254.2 get vrpcfg.txt Upload the file vrpcfg.txt stored in the root directory of the flash onto the default directory on the TFTP server at 1.1.254.2 and save the file on the server as...
  • Page 81: Configuration Files Management Commands

    Example Set the number of ACL permitting the access to the TFTP Server to 1. [3Com] tftp-server acl 1 Configuration Files Management Commands display Syntax current-configuration display current-configuration [ controller | interface interface-type [ interface-number ] | configuration [ rip | ospf | bgp | post-config | system |...
  • Page 82 For related commands, see save, reset saved-configuration, and display saved-configuration. Example Display the currently effective configuration parameters of the router. <3Com> display current-configuration sysname R1760 super password level 3 simple 123456 tcp window 8 undo multicast igmp-all-enable interface Aux0...
  • Page 83 For related commands, see save, reset saved-configuration, and display current-configuration. Example Display the router configuration file in the storage device. <3Com> display saved-configuration sysname 3Com tcp window 8 undo multicast igmp-all-enable controller E1 3/0/0 interface Aux0...
  • Page 84 Parameter None Description Using the display this command, you can display the current configurations under this view. Example Display the current configuration of the view in question. <3Com> display this sysname 3Com tcp window 8 reset Syntax saved-configuration reset saved-configuration...
  • Page 85 Example Erase the saved router configuration. <3Com> reset saved-configuration This will erase the configuration in the device. The Router configurations will be erased to reconfigure! Are you sure?[Y/N]y save Syntax save[file-name ] View User view Parameter file-name: Filename, whose extension must be cfg...
  • Page 86: User Interface Configuration Commands

    HAPTER YSTEM AINTENANCE 3Com Routers support online BootROM upgrade. You can upgrade the BootROM online by extracting the BootROM program from the upgrade software package and writing it into the BootROM. When executing this command, you should make sure that the upgrade software package (named bootromfull) has existed in the root directory of the flash.
  • Page 87 By default, the authentication mode is set to password for the VTY user interface and none for other user interfaces. For related command, see set authentication password. Example Enable local password authentication. [3Com-ui0] authentication-mode password auto-execute Syntax command auto-execute command command...
  • Page 88 Example Execute the telnet 10.110.100.1 command automatically after the user logs on from the AUX interface. [3Com-ui-aux0] auto-execute command telnet 10.110.100.1 databits Syntax databits { 5 | 6 | 7 | 8 }...
  • Page 89 Using the debugging vty command, you can enable the debugging of the VTY. Using the undo debugging vty command you can disable the debugging of the VTY protocol. Example Enable the debugging of the VTY negotiation. <3Com> debugging vty negotiate display Syntax user-interface display user-interface [ type-name ] [ number ]...
  • Page 90 Using the display user-interface command, you can display the details of user interface. Example Display information of user interface 0. <3Com> display user-interface 0 Type : Type and relative index of user-interface. Privi: The privilege of user-interface. Auth : The authentication mode of user-interface.
  • Page 91 The configuration can become effective only when the involved serial interface works in the asynchronous flow mode. When system is outputting, pressing <Ctrl+s> will stop the screen output, and <Ctrl+q> will resume the screen output. Example Configure software flow control in user interface view. [3Com-ui-console0] flow-control software...
  • Page 92 Using the free user-interface type-name number command, you can clear the user interface with the number defined by number in the user interfaces of the type defined by type-name. Example Clear user-interface 0. <3Com> free user-interface 0 history-command Syntax max-size history-command max-size size-value...
  • Page 93 Setting the time value to 0 will disable the timed disconnection, in which case a connection will not be cut off upon the expiration of preset time interval.. Example Set the time interval for timed disconnection to one minute and 30 seconds. [3Com-ui-console0] idle-timeout 1 30 modem Syntax modem [ call-in | both ]...
  • Page 94 When taking the modem dial-up connection approach, the user should first set the modem parameters on the involved user interface. Example Set the answering mode to auto-answer. [3Com-ui-aux0] modem auto-answer modem timer answer Syntax modem timer answer seconds undo modem timer answer &...
  • Page 95 User Interface Configuration Commands View User interface view Parameter seconds: Timeout 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 inbound connection.
  • Page 96 2: S HAPTER YSTEM AINTENANCE Example Set the transmission check bit on AUX interface to odd parity. [3Com-ui-aux0] parity odd redirect Syntax redirect undo redirect View User interface view Parameter None Description Using the redirect command, you can set the redirection function, which is only valid for the AUX and TTY user interfaces, on an asynchronous port.
  • Page 97 Using the send type-name number command, you can send messages to the user interface of type-name with specified number. Example Send messages to the console user-interface. <3Com> send con 0 Enter message, end with CTRL+Z or Enter; abort with CTRL+C: Hello,good morning! Send message? [Y/N]...
  • Page 98 For related command, see authentication-mode. Example Set the local authentication password for the user interfaces vtys 0 to 4 to "3Com". [3Com-ui-vty0-4] authentication-mode password [3Com-ui-vty0-4] set authentication password simple 3Com shell Syntax shell undo shell...
  • Page 99 These constraints do not apply to other types of user interfaces. Example Disable terminal services on the virtual terminals (VTYs) 0 to 4. [3Com] user-interface vty 0 4 [3Com-ui-vty0-4] undo shell The following information will be displayed for a login Telnet terminal:...
  • Page 100 4800bps 9600bps 19200bps 38400bps 57600bps 115200bps Example Set the transmission rate of the user interface to 19200bps. [3Com-ui-vty0] speed 19200 stopbits Syntax stopbits { 1.5 | 1 | 2 } undo stopbits View User interface view Parameter 1.5: Sets the stop bit to 1.5.
  • Page 101 Assign the users accessing the system from the user interface with the privilege allowing them to access level-2 commands. [3Com-ui-vty0] user privilege level 2 After the user accesses the router from vty 0 via Telnet, the terminal will display: <3Com>...
  • Page 102: Debugging Ntp-Service

    [3Com] user-interface vty 0 [3Com-ui-vty0] Enter the user-interface vty view to configure user-interfaces vtys 0 through 3. [3Com] user-interface vty 0 3 [3Com-ui-vty0-3] enter the user-interface view to configure user-interfaces 0 through 4, including of console port type, of AUX interface type and of VTY interface type. The user interface types will be configured depending on the configuration interface available on the router.
  • Page 103 NTP service information. Using the undo debugging ntp-service command, you can disable NTP service debugging. By default, all the information debugging is disabled. Example Enable the ntp access control debugging. <3Com> debugging ntp-service access display ntp-service Syntax sessions display ntp-service sessions [ verbose ]...
  • Page 104 The command with parameter verbose will display the detailed information of all the sessions maintained by the local device NTP. Example Display the brief information of all the sessions maintained by the local device NTP <3Com> display ntp-service sessions ****************************************************************** [12345]1.0.1.11LOCAL(0)316437726.1199.539.7 note: 1 source(master),2 source(peer),3 selected,4 candidate,5...
  • Page 105 NTP server chain and display the summary information of each NTP server. Example <3Com> display ntp-service trace server4: stratum 4, offset 0.0019529, synch distance 0.144135 server3: stratum 3, offset 0.0124263, synch distance 0.115784 server2: stratum 2, offset 0.0019298, synch distance 0.011993 server1: stratum 1, offset 0.0019298, synch distance 0.011993 refid...
  • Page 106 Enable the peer in No.76 access list to perform time request, query control and time synchronization on the local device. [3Com] ntp-service access peer 76 Enable the peer in No.28 access list to perform time request, query control on the local device.
  • Page 107 This command is used to set NTP authentication key, which only supports MD5 authentication. Example Set MD5 ID authentication key. The key ID number is 10 and the key is BetterKey. [3Com] ntp-service authentication-keyid 10 authentication-mode md5 BetterKey ntp-service Syntax...
  • Page 108 Example Enable the interface Ethernet 1/0/1 to receive NTP broadcast message. [3Com] interface ethernet 1/0/1 [3Com-Ethernet1/0/1] ntp-service broadcast-client ntp-service Syntax...
  • Page 109 Example Enable Ethernet 1/0/0 to transmit NTP broadcast packets. No.4 key is used for encryption and NTP version number is set to 3. [3Com] interface ethernet 1/0/0 [3Com-Ethernet1/0/0] ntp-service broadcast-server authentication-key 4 version 3 ntp-service Syntax...
  • Page 110 (multicast-client) mode to listen discreetly to the multicast packets and synchronize the local clock according to the coming multicast packets. Example Configure Ethernet 1/0/0 to receive NTP multicast packets. The multicast address corresponding to the multicast packets is 244.0.1.1. [3Com] interface ethernet 1/0/0 [3Com-Ethernet1/0/0] ntp-service multicast-client 224.0.1.1 ntp-service Syntax multicast-server ntp-service multicast-server [ X.X.X.X ] [ authentication-keyid keyid | ttl ttl-number...
  • Page 111 Example Configure Ethernet 1/0/0 to transmit NTP multicast messages. The multicast address is 244.0.1.1, encrypted by No.4 key. The NTP version number is set to 3. [3Com] interface ethernet 1/0/0 [3Com-Ethernet1/0/0] ntp-service multicast-server 224.0.1.1 authentication-keyid 4 version 3 ntp-service...
  • Page 112 Enable NTP ID authentication in MD5 encryption method. The key ID number is 37 and the key is BetterKey. The key is specified to be reliable. [3Com] ntp-service authentication enable [3Com] ntp-service authentication-keyid 37 authentication-mode md5 BetterKey [3Com] ntp-service reliable authentication-keyid 37...
  • Page 113 Example Specify the source IP address of all the NTP output packets to use the IP address on the interface Ethernet 1/0/0. [3Com] ntp-service source-interface ethernet 1/0/0 ntp-service unicast-peer Syntax ntp-service unicast-peer X.X.X.X [ version number | authentication-key keyid | source-interface {interface-type interface-number } | priority ] * undo ntp-service unicast-peer X.X.X.X...
  • Page 114 The version number is 3. The IP address of the NTP packets is obtained from Ethernet 1/0/0. [3Com] ntp-service unicast-peer 128.108.22.44 version 3 source-interface ethernet 1/0/0 ntp-service...
  • Page 115: Snmp Configuration Commands

    Example Configure the local device to be provided with the synchronous time by the server 128.108.22.44. The version number is 3. [3Com] ntp-service unicast-server 128.108.22.44 version 3 SNMP Configuration Commands debugging snmp-agent Syntax...
  • Page 116 By default, the SNMP Agent debugging is disabled. Example Enable the debugging of SNMP Agent packet information header. <3Com> debugging snmp-agent header display snmp-agent Syntax display snmp-agent { local-engineid | remote-engineid }...
  • Page 117 Description Using the display snmp-agent community command, you can display the currently configured community name of SNMPv1 or SNMPv2. Example Display the currently configured community name. <3Com> display snmp-agent community Community name:8040zlz Community name:8040core display snmp-agent Syntax group display snmp-agent group [ group-name ]...
  • Page 118 HAPTER YSTEM AINTENANCE Example Display the SNMP group name and security mode. <3Com> display snmp-agent group Group name: v3r2 The corresponding fields displayed above are described in the following table: Table 4 Description of display snmp-agent group fields Content Groupname...
  • Page 119 View name:ViewDefault View name:ViewDefault View name:ViewDefault The following table describes the parameters displayed above. Table 5 Description of display snmp-agent mib-view fields Content View name MIB Subtree Storage-type ViewType: Included/excluded Active CAUTION: When the SNMP Agent is disabled, "Snmp Agent disabled" will be displayed for all the above display commands.
  • Page 120 Using the diplay snmp-agent statistics command, you can display the state and statistics of SNMP. Example Check the statistics of SNMP communication. <3Com> display snmp-agent statistics 41 Messages delivered to the SNMP entity 0 Messages which were for an unsupported version 7 Messages which used an unknown community name...
  • Page 121 Using the display snmp-agent sys-info command, you can display the system information of the local SNMP device. Example Display the system information. <3Com> display snmp-agent sys-info display snmp-agent Syntax usm-user display snmp-agent usm-user [ engineid engineid | username user-name | group...
  • Page 122 The snmp-agent usm-user command is used to specify the SNMP user. Example Display the information about all the current users. <3Com> display snmp-agent usm-user User name: authuser Engine ID: 8000007DB20000000C025808 active The following table describes the corresponding fields displayed above.
  • Page 123 Example Set the community name to comaccess and allow read-only access with this community name. [3Com] snmp-agent community read comaccess Set the community name to mgr and enable reading and writing access. [3Com] snmp-agent community write mgr SNMP Configuration Commands...
  • Page 124 AINTENANCE ANAGEMENT OMMANDS Delete the community name comaccess. [3Com] undo snmp-agent community comaccess snmp-agent group Syntax snmp-agent group { v1 | v2c } group-name { [ read read-view ] | [ write write-view ] | [ notify notify-view ] } [ acl acl-number ]...
  • Page 125 By default, the snmp-agent group group-name v3 command adopts the method of not authenticating and encrypting. For the related command, see snmp-agent mib-view, snmp-agent usm-user. Example Create an SNMPv3 group known as Johngroup. [3Com] snmp-agent group v3 Johngroup snmp-agent Syntax local-engineid snmp-agent local-engineid engineid...
  • Page 126 OID as a parameter but also the input of the node name as a parameter. For the related command, see snmp-agent group. Example Create a view that includes all MIB-II objects. [3Com] snmp-agent mib-view included mib2 1.3.6.1 snmp-agent packet Syntax max-size...
  • Page 127 SNMP version number used. Using the undo snmp-agent sys-info command, you can remove the current setting. By default, By default, the system contact information is "R&D Beijing,3Com Technologies Co.,Ltd.", the system location character string is "Beijing China" and the version is SNMPv3...
  • Page 128 ANAGEMENT OMMANDS Example Set the system maintenance information 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-host trap address udp-domain X.X.X.X [ udp-port port-number ] params securityname security-string [ v1 | v2c | v3 { authentication | privacy } ] undo snmp-agent target-host X.X.X.X securityname security-string...
  • Page 129 Enable to send SNMP Trap packets to 10.1.1.1, using the community name of comaccess. [3Com] snmp-agent trap enable snmp [3Com] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname comaccess Send SNMP Trap packets to 10.1.1.1, using the community name of public.
  • Page 130 10.1.1.1. The trap packets are in the form of V2C with the community name of public. [3Com] snmp-agent trap enable snmp authentication [3Com] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname public v2c Enable to send all types of BGP Trap packets to 10.1.1.1. The trap packets are in the form of V3 with the community name of super.
  • Page 131 Example Set the length of the message queue of the host forwarding the Trap packet to 200. [3Com] snmp-agent trap queue-size 200 snmp-agent trap source Syntax snmp-agent trap source interface-type interface-number [ subinterface-type ] undo snmp-agent trap source...
  • Page 132 For the related command, see snmp-agent trap enable, snmp-agent target-host. Example Specify the IP address of the Ethernet interface 1/0/0 as the source address of Trap packet. [3Com] snmp-agent trap source ethernet 1/0/0 snmp-agent usm-user Syntax snmp-agent usm-user { v1 | v2c } user-name group-name [ acl acl-number ]...
  • Page 133 For the related command, see snmp-agent group, snmp-agent community, snmp-agent local-engineid. Example Add a user named "John" to the SNMP group named "Johngroup", with the security level being "auth", the authentication protocol being HMAC-MD5-96 and the password being "hello". [3Com] snmp-agent usm-user v3 John Johngroup authentication-mode md5 hello...
  • Page 134: Terminal Service Commands

    Using the undo debugging telnet command, you can disable the debugging for Telnet connection. By default, the debugging for Telnet connection is disabled. For the related command, see telnet. Example <3Com> debugging telnet display tcp status Syntax display tcp status View...
  • Page 135 The information that this command can display includes: the local address of TCP connection, local port number, external address, external port number, and connection state. For the related command, see telnet. Example <3Com> display tcp status TCPCB Local Address 129.102.100.142 028ca414 0.0.0.0.23...
  • Page 136: Ssh Configuration Commands

    By default, the debugging is disabled. For the related command, see rsa local-key-pair create, rsa local-key-pair destroy. Example Enable the RSA debugging. <3Com> debugging rsa debugging ssh server Syntax debugging ssh server { VTY index | all } undo debugging ssh server { VTY index | all }...
  • Page 137 Print debugging information when running SSH. [3Com] debugging ssh server vty 0 00:23:20: SSH0: starting SSH control process 00:23:20: SSH0: sent protocol version id SSH-1.5-3Com-1.25 00:23:20: SSH0: protocol version id is - SSH-1.5-1.2.26 00:23:20: SSH0: SSH_SMSG_PUBLIC_KEY msg 00:23:21: SSH0: SSH_CMSG_SESSION_KEY msg - length 112, type 0x03...
  • Page 138 If there is no public key specified, all public keys will be displayed. For the related command, see rsa local-key-pair create. Example <3Com> display rsa peer-public-key Address [3Com] display rsa peer-public-key name abcd Key name:abcd Key address: Data: 30818602 8180739A 291ABDA7 04F5D93D C8FDF84C 42746319 91C164B0...
  • Page 139 [3Com]display ssh server status SSH version : 1.5 SSH connection timeout : 60 seconds SSH server key generating interval : 1 hours SSH Authentication retries : 3 times Display SSH session respectively. [3Com] display ssh server session ConnectionVersionEncryptionStateUsername VTY0 VTY3 peer-public-key end Syntax...
  • Page 140 If you specify the username parameter, then the information about the specified user will be displayed. For the related command, see ssh user username assign rsa-key, ssh user username authentication-type. Example Display the user information. [3Com] display ssh user-information Username hanqi1 1024 4000 hanqi_rsahq_rsa rsa...
  • Page 141 For the related command, see user-interface vty. Example Disable the Telnet function of vty0 to vty4 and only support the SSH function. [3Com] user-interface vty 0 4 [3Com-ui-vty0-4] protocol inbound ssh Disable the Telnet function of vty0 and only support the SSH function.
  • Page 142 SSH. For the related command, see rsa peer-public-key, public-key-code end. Example Enter the edit view of public key and to input key. [3Com] rsa peer-public-key 3Com003 [3Com-rsa-public-key] public-key-code begin [3Com-key-code] 308186028180739A291ABDA704F5D93DC8FDF84C427463 [3Com-key-code] 1991C164B0DF178C55FA833591C7D47D5381D09CE82913...
  • Page 143 For the related command, see rsa local-key-pair destroy. Example Configure and generate local host key pair and server key pair. [3Com] rsa local-key-pair create The name for the keys will be: rtvrp_Host % You already have RSA keys defined for rtvrp_Host...
  • Page 144 And this command is not stored in configuration file. For the related command, see rsa local-key-pair create. Example Remove all keys of server. [3Com] rsa local-key-pair destroy % Keys to be removed are named rtvrp_Host . % Do you really want to remove these keys? [yes/no]:y [3Com]...
  • Page 145 By default, the re-try times are 3. For the related command, see display ssh sever. Example Specify the re-try times for registration authentication as 4. [3Com] ssh server authentication-retries 4 ssh server rekey-interval Syntax ssh server rekey-interval hours undo ssh server rekey-interval...
  • Page 146 By default, the server key is not updated. For the related command, see display ssh sever. Example Set the update interval of server key to 3 hours. [3Com] ssh server rekey-interval 3 [3Com] ssh server timeout Syntax ssh server timeout seconds...
  • Page 147 The new configured user public key will be valid in next login. For the related command, see display ssh user-information. Example Assign key key1 for the user smith. [3Com] ssh user smith assign rsa-key key1 [3Com] ssh user Syntax authentication-type...
  • Page 148 The new configured authentication mode will take effect in next login. For the related command, see display ssh user-information. Example Specify the authentication mode as password for the user smith. [3Com] ssh user smith authentication-type password [3Com3Com]...
  • Page 149: Interface

    Interface Management Commands debugging physical Syntax debugging physical { all | error | cell | packet } interface interface-type interface-number undo debugging physical { all | error | cell | packet } interface interface-type interface-number View User view Parameter all: Enables alarming of all levels. error: Enables error-level alarming.
  • Page 150 This command has no special purpose or function other than identifying an interface. For related command, see display interface. Example Change the description of the Ethernet interface Ethernet 0/0/0 to “3Com Router Ethernet interface”. 3com 3com display interface Syntax display interface type number [ .sub-number ]...
  • Page 151 View the running state and the relevant information of Serial 0/0/0. [3com]display interface serial 0/0/0 Serial0/0/0 is up , Description : 3Com Router, Serial0/0/0 Interface The Maximum Transmit Unit is 1500, The keepalive is 10(sec) Internet protocol processing : disabled...
  • Page 152 3: I HAPTER NTERFACE ANAGEMENT View System view Parameter type: Interface type. The following table lists the interfaces that VRP supports so far. number: Interface number. VRP numbers the interfaces separately by interface type, with the numbers of each type of interfaces begin at 0 or 1. sub-number: Subinterface number, which is separated from the main interface number by a dot (“.”).
  • Page 153 Note that executing the undo interface command also deletes the defined logical interfaces (such as dialer, tunnel, and virtual-template interfaces) and subinterfaces. Example Enter the Ethernet interface view in system view. [3com]interface ethernet 0/0/0 [3com-Ethernet0/0/0] Switch from Ethernet0 view to the view of the subinterface Serial0/0/0.1. 3com 3com...
  • Page 154: Fundamental Ethernet Interface Configuration Commands

    For a related command, see display interface. Example Shut down Ethernet 0/0/0. 3com % Interface Ethernet0/0/0 is down % Interface Ethernet0/0/0 changed state to DOWN % Line protocol ip on interface Ethernet0/0/0, changed state to DOWN...
  • Page 155 <3com> display interface ethernet 2/0/0 Ethernet2/0/0 current state : UP Line protocol current state : UP Description : 3Com Routers, Ethernet0/0 Interface The Maximum Transmit Unit is 1500, Hold timer is 10(sec) Internet Address is 172.31.29.103/16 IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0.fc06.3085...
  • Page 156 If this cannot be guaranteed, the two parties should use the forced setting for the consistency in operating mode. For related commands, see speed and display interface. Example Set the 100Base-TX FE interface to work in full duplex mode. [3com-Ethernet0/0/0] duplex full loopback Syntax loopback undo loopback...
  • Page 157 The MTU setting of an Ethernet interface can affect the assembly and fragmentation of IP packets on the interface. For a related command, see display interface. Example Set MTU of the Ethernet interface to 1492. [3com-Ethernet0/0/0]mtu 1492 speed Syntax speed { 10 | 100 | negotiation } undo speed...
  • Page 158: Fundamental Wan Interface Configuration Commands

    By default, the asynchronous serial interface is working in protocol mode and the AUX interface in flow mode. For related command, see modem. Example Set the asynchronous serial interface to work in flow mode. [3com-Serial0/0/0]async mode flow baudrate Syntax baudrate baudrate OMMANDS...
  • Page 159 In synchronous mode, however, the router working as DCE will determine the baud rate for the line transmission. Therefore, you must set baud rate at the DCE side. Example Set the baudrate of the asynchronous serial interface to 115200bps. [3com-Serial0/0/0]baudrate 115200...
  • Page 160 3: I HAPTER NTERFACE ANAGEMENT OMMANDS clock Syntax clock { dceclk | dteclk1 | dteclk2 | dteclk3 | dteclk4 } View Serial interface view Parameter dceclk: Sets the interface clock selection mode to DCE clock. dteclk1: Sets the interface clock selection mode to DTE clock option 1. dteclk2: Sets the interface clock selection mode to DTE clock option 2.
  • Page 161 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 working as DTE to use the clock selection option DTEclk2. [3com-Serial0/0/0]clock dteclk2 code nrzi Syntax code nrzi undo code...
  • Page 162 If this function has been disabled on a serial interface, the system will not detect the DCD and DSR/DTR signals when determining the state (UP or DOWN) of the serial interface. Example Disable the serial interface to make data carrier detection. [3com-Serial0/0/0]undo detect dcd idle-mark Syntax idle-mark undo idle-mark...
  • Page 163 DCE devices. Clock inversion is unnecessary for general applications. For related commands, see physical-mode and clock. Example Invert the transmit-clock of the synchronous serial interface at DTE side. [3com-Serial0/0/0]invert transmit-clock loopback Syntax loopback undo loopback...
  • Page 164 The MTU setting of a serial interface can affect the assembly and fragmentation of IP packets on the interface. Example Set MTU of the serial interface to 1200. [3com-Serial0/0/0]mtu 1200 physical-mode Syntax physical-mode { sync | async }...
  • Page 165: Fundamental Ce1/Pri Interface Configuration Commands

    Using the physical-mode command, you can set the operating mode of a synchronous/asynchronous serial interface. By default, the synchronous/asynchronous serial interface is working in synchronous mode. Example Set the synchronous/asynchronous serial interface to work in asynchronous mode. [3com-Serial0/0/0]physical-mode async Fundamental CE1/PRI Interface Configuration Commands channel-set...
  • Page 166 Example Bundle the timeslots 1, 2, 5, 10-15, and 18 of the CE1/PRI interface into channel-set 0. [3com-E1 3/0/0]channel-set 0 timeslot-list 1,2,5,10-15,18 Make the same configuration on the CE1/PRI interface on the remote router. [3com-E1 3/0/0]channel-set 0 timeslot-list 1,2,5,10-15,18 clock...
  • Page 167 When it is working as DTE, chose the line clock, that is, slave clock mode for it. Example Set the clock mode of the CE1/PRI interface to internal clock (master) mode. [3com-E1 3/0/0]clock master code Syntax code { ami | hdb3 }...
  • Page 168 Line code format of interface Example Display the information related to the E1 interface. [3com]display controller E1 3/0/0 E1 1-0 is down. Applique type is Channelized E1 - 75 OHM unbalanced Framing is NO-CRC4, Line Code is HDB3, Source Clock is slave.
  • Page 169 Among them, crc4 supports the 4-bit Cyclic Redundancy Check (CRC) on physical frames whereas no-crc4 does not. Example Set the frame format of the interface E1 3/0/0 to crc4. [3com-E1 3/0/0]frame-format crc4 loopback Syntax loopback { local | remote }...
  • Page 170 PPP and is set to perform loopback, it is normal for the state of the link layer protocol to be reported as DOWN. Example Set the interface E1 3/0/0 to perform local loopback. [3com-E1 3/0/0]loopback local pri-set Syntax pri-set timeslot-list [ range ]...
  • Page 171 In other words, this command cannot be used together with the channel-set command. For a related command, see channel-set. Example Bundle the timeslots 1, 2, and 8-12 of the CE1/PRI interface into a pri-set. [3com-E1 3/0/0]pri-set timeslot-list 1,2,8-12 using Syntax using { ce1 | e1 } undo using...
  • Page 172: Fundamental Ct1/Pri Interface Configuration Commands

    In this case, the CT1/PRI interface does not need an external CSU device. Example Set the length of the transmission cable that the CT1/PRI interface matches to 133 feet. [3com-T1 1/0/0] cable short 133ft OMMANDS...
  • Page 173 In other words, this command cannot be used together with the pri-set command. For a related command, see pri-set. Example Bundle the timeslots 1, 2, 5, 10-15and 18 of the CE1/PRI interface into channel-set 0. [3com-T1 1/0/0]channel-set 0 timeslot-list 1,2,5,10-15,18...
  • Page 174 When it is working as DTE, chose the line clock, that is, the slave clock mode for it. Example Set the clock mode of the CT1/PRI interface to internal clock (master) mode. [3com-T1 1/0/0] clock master code Syntax code { ami | b8zs }...
  • Page 175 You should keep the line code format of the interface consistent with the one used by the remote device. Example Set the line code format of the interface T1 1/0/0 to ami. [3com-T1 1/0/0] code ami controller t1 Syntax controller t1 number...
  • Page 176 HAPTER NTERFACE ANAGEMENT Frame check mode of interface Line code format of interface Example Display the information related to the T1 interface. [3com]display controller t1 1/0/0 frame-format Syntax frame-format { sf | esf } undo frame-format View CT1/PRI interface view Parameter sf: Sets the frame format of CT1/PRI interface to Super Frame (SF).
  • Page 177 PPP and is set to perform loopback, it is normal for the state of the link layer protocol to be reported as DOWN. Example Set the interface T1 1/0/0 to perform local loopback. [3com-T1 1/0/0]loopback remote pri-set Syntax pri-set [ timeslot-list range ]...
  • Page 178: E1-F Interface Configuration Commands

    In other words, this command cannot be used together with the channel-set command. For a related command, see channel-set. Example Bundle the timeslots 1, 2, and 8-12 of the CT1/PRI interface into a pri-set. [3com-T1 1/0/0]pri-set timeslot-list 1,2,8-12 E1-F Interface Configuration Commands display fe1 serial...
  • Page 179 For an E1-F interface used as DCE, master clock should be used. If the interface is used as DTE, however, the slave clock should be used. Example Set the E1-F interface to use internal clock. [3com-Serial0/0/0] fe1 clock master fe1 code Syntax fe1 code { ami | hdb3 }...
  • Page 180 The line code of an interface should be set consistent with that of the peer. Example Set the line code format of the E1-F interface to AMI. [3com-Serial0/0/0] fe1 code ami fe1 frame-format Syntax fe1 frame-format { crc4 | no-crc4 }...
  • Page 181 Example Place the E1-F interface in local loopback. [3com-Serial0/0/0] fe1 loopback local fe1 timeslot-list Syntax fe1 timeslot-list { all | range }...
  • Page 182 If an E1-F interface is working in unframed mode, the fe1 timeslot-list command cannot be configured. For related commands, see fe1 unframed. Example Bind the time slots 1, 2, 5, 10 through 15, and 18 on the E1-F interface. [3com-Serial0/0/0] fe1 timeslot-list 1,2,5,10-15,18 fe1 unframed Syntax fe1 unframed undo fe1 unframed...
  • Page 183: T1-F Interface Configuration Commands

    If the signal quality is acceptable, the default setting can be used. Example Set the length of the transmission line matched the T1-F interface to 133 feet. [3com-Serial0/0/0] ft1 cable short 133ft display ft1 serial Syntax display ft1 [ serial serial-number ]...
  • Page 184 If the specified interface is a serial interface rather than a T1-F interface, the system will display the error prompt “The serial is not a factional interface”. Example Display the information of the T1-F interface. [3com] display ft1 Serial4/0/0 Fractional T1, status is down. Work mode is framed - 100 OHM balanced.
  • Page 185 For a T1-F interface used as DCE, master clock 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 internal clock. [3com-Serial0/0/0] ft1 clock master ft1 code Syntax ft1 code { ami | b8zs }...
  • Page 186 ESF technology can ensure normal service when system test is being carried out. Example Set the framing format for the T1-F interface to SF. [3com-Serial0/0/0] ft1 frame-format sf ft1 loopback Syntax ft1 loopback { local | remote }...
  • Page 187 T1-F Interface Configuration Commands [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 interface. The interface rate will become 24 X 64kbps (that is, 1536kbps) after binding.
  • Page 188: Fundamental Ce3 Interface Configuration Commands

    If the CE3 interfaces on the two routers are directly connected, one router should use the internal clock whereas the other router uses the line clock. Example Configure the CE3 interface with internal clock. [3com-E3 1/0/0] clock master controller e3 Syntax controller e3 interface-number...
  • Page 189 Display the information related to the interface E3 1/0/0. [3com]display controller e3 1/0/0 E3 1/0/0 is up Description : 3Com Routers, E3 1/0 Interface Applique type is CE3 - 75 OHM unbalanced code HDB3, clock slave, national-bit 1,loopback not set...
  • Page 190 3: I HAPTER NTERFACE ANAGEMENT E3-0 Frame-format NO-CRC4, clock slave, loopback not set E3-0 Frame-format NO-CRC4, clock slave, loopback not set E3-0 Frame-format NO-CRC4, clock slave, loopback not set E3-0 Frame-format NO-CRC4, clock slave, loopback not set E3-0 Frame-format NO-CRC4, clock slave, loopback not set E3-0 Frame-format NO-CRC4, clock slave, loopback not set E3-0...
  • Page 191 For related command, see e1 unframed. Example Bundle a 128Kbps serial interface on the first E1 line on the interface E3 1/0/0. [3com-E3 1/0/0]e1 1 channel-set 1 timeslot-list 1,2 e1 set clock Syntax e1 line-number set clock { master | slave }...
  • Page 192 For related command, see e1 unframed. Example Configure the first E1 line on the E3 interface to adopt the frame format crc4. [3com-E3 1/0/0]e1 1 set frame-format crc4 e1 set loopback Syntax e1 line-number set loopback { local | remote }...
  • Page 193 DOWN. Example Set the loopback mode of the first E1 line on the E3 interface to local. [3com-E3 1/0/0]e1 1 set loopback local e1 shutdown Syntax e1 line-number shutdown...
  • Page 194 For related command, see e1 channel-set. Example Set the first E1 line on the E3 interface to work in unframed mode. [3com-E3 1/0/0]e1 1 unframed loopback Syntax loopback { local | payload | remote } undo loopback...
  • Page 195 If a CE3 interface encapsulated with PPP has been set to perform loopback, it is normal for the state of the link layer protocol to be reported as DOWN. Example Enable the interface E3 1/0/0 to perform local loopback. [3com-E3 1/0/0] loopback local national-bit Syntax national-bit { 0 | 1 }...
  • Page 196: Fundamental Ct3 Interface Configuration Commands

    34.368 Mbps and has the same logic features of a synchronous serial interface on which you can make other configurations. For related command, see controller e3. Example Configure the interface E3 1/0/0 to work in unchannelized mode. [3com-E3 1/0/0]using e3 undamental CT3 Interface Configuration Commands...
  • Page 197 The length of the cable for CT3 interface connection refers to the distance between the router and the cable distribution rack. Example Set the cable length to 50 feet for the interface T3 1/0/0. [3com-T3 1/0/0]cable 50 clock Syntax clock { master | slave }...
  • Page 198 Using the controller t3 command, you can enter the CT3 interface view. For the related command, see display controller t3. Example Enter the view of the interface T3 1/0/0. [3com]controller t3 1/0/0 [3com-T3 1/0/0] Syntax crc { 16 | 32 | no-crc}...
  • Page 199 CT3 interface. By default, the CT3 interface adopts the C-bit frame format. Example Set the frame format of the interface T3 1/0/0 to m23. [3com-T3 1/0/0] frame-format m23 loopback Syntax loopback { local | payload | remote }...
  • Page 200 Kbps (or N x 56 Kbps) and has the same logic features of a synchronous serial interface on which you can make other configurations. For a related command, see t1 unframed. Example Bundle a 128Kbps serial interface on the first T1 line on the interface T3 1/0/0. [3com-T3 1/0/0]t1 1 set channel-set 1 timeslot-list 1,2...
  • Page 201 The E1 lines on a CE3 interface working in channelized mode are allowed to use separate clocks. Example Configure the first T1 line on the T3 interface to adopt line clock. [3com-T3 1/0/0]t1 1 set clock slave t1 set frame-format Syntax t1 line-number set frame-format { esf | sf }...
  • Page 202 For the related commands, see t1 set unframed and using. Example Adopt the frame format SF for the first T1 line on the T3 interface. [3com-T3 1/0/0]t1 1 set frame-format sf t1 set loopback Syntax t1 line-number set loopback { local | remote }...
  • Page 203 Likewise, executing the undo t1 shutdown command will re-enable all these serial interfaces. Example Shut down the first T1 line on the T3 interface. [3com-T3 1/0/0]t1 1 shutdown t1 unframed Syntax t1 line-number unframed [ speed { 56k | 64k } ]...
  • Page 204 For the related command, see t1 channel-set. Example Set the first T1 line on the T3 interface to work in unframed mode. [3com-T3 1/0/0]t1 1 unframed using Syntax using { t3 | ct3 } View...
  • Page 205: Atm E3/T3 Interface Configuration Commands

    T1 line on the CT3 interface if the interface is working in CT3 mode. Example Display the information related to the interface T3 1/0/0. [3com]display controller t3 1/0/0 T3 1/0/0 is down Description : 3Com Routers, T3 1/0 Interface slave, loopback not set ATM E3/T3 Interface Configuration Commands cable...
  • Page 206 Using the undo cable command, you can restore the default setting. By default, short distance mode is used. Example Set the cable length mode of ATM T3 1/0/0 to long. <3com> system-view [3com] interface atm 1/0/0 [3com-Atm1/0/0] cable long clock Syntax clock { master | slave }...
  • Page 207 ATM E3/T3 interface. If no interface-number is specified, the system will display the configuration and status of all ATM interfaces. Example View the configuration and status of ATM E3/T3 interface 1/1/0. <3com> display interface atm 1/1/0 frame-format Syntax frame-format { g832-adm | g751-adm | g751-plcp }...
  • Page 208 HAPTER NTERFACE ANAGEMENT OMMANDS Example Configure ATM E3 interface 1/0/0 to use frame format G.832 ADM. <3com> system-view [3com] interface atm 1/0/0 [3com-Atm1/0/0] frame-format g832-adm loopback Syntax loopback { cell | local | payload | remote } undo loopback View...
  • Page 209: Atm 25M Interface Configuration Commands

    The scramble command is used to enable the scramble and descramble function on payload, with no influence on the cell header. Example Disable the scramble function of ATM E3/T3 interface 2/0/0. <3com> system-view [3com] interface atm 2/0/0 [3com-Atm2/0/0] undo scramble ATM 25M Interface Configuration Commands...
  • Page 210: Atm Oc-3C/Stm-1 Interface Configuration Commands

    3: I HAPTER NTERFACE ANAGEMENT Example Adopt the master clock on the ATM interface 4/0/0. <3com> system-view [3com] interface atm 4/0/0 [3com-Atm4/0/0] clock master ATM OC-3c/STM-1 Interface Configuration Commands clock Syntax clock { master | slave } undo clock View...
  • Page 211 Using the display interface atm command, you can view the configuration and state information of ATM OC-3c/STM-1 interface(s). Example View the configuration and state information of the ATM interface 4/0/0. <3com> display interface atm 4/0/0 frame-format Syntax frame-format { sdh | sonet }...
  • Page 212 It is necessary for you to enable the interface to perform loopback only for the purpose of testing some special functions. You should not enable the loopback function when the interface is providing normal services. Example Enable the ATM interface to perform local loopback. [3com-Atm4/0/0] loopback local scramble Syntax scramble undo scramble...
  • Page 213: G.shdsl Interface Configuration Commands

    Example Disable the ATM interface to scramble the payload. [3com-Atm4/0/0] undo scramble G.SHDSL Interface Configuration Commands activate Syntax activate undo activate View ATM interface view Parameter None Description Using the activate command, you can enable a G.SHDSL interface. Using the undo activate command, you can disable a G.SHDSL interface.
  • Page 214 3: I HAPTER NTERFACE ANAGEMENT OMMANDS Example Deactivate the G.SHDSL interface. [3com-Atm3/0/0] undo activate shdsl annex Syntax shdsl annex { a | b } undo shdsl annex View ATM interface view Parameter a: Annex a b: Annex b Description Using the shdsl annex command, you can configure annex standard at an SHDSL interface.
  • Page 215 Using the undo rate command, you can restore the default setting. By default, auto is selected. Example Restore the auto mode at the interface. [3com-Atm1/0/0] undo shdsl rate shdsl snr Syntax shdsl snr threshold undo snr...
  • Page 216 Parameter interface-number: Interface number Description Using the display dsl configuration command, you can view DSL configuration information. Example Display G.SHDSL configuration information. [3com-Atm3/0/0]display dsl configuration interface atm 3/0 GSHDSL line parameter and mode Configuration Mode: Standard: Annex: Wire Type: Framing:...
  • Page 217 Interface number Description Using the display dsl status interface atm command, you can view DSL interface state. Example Display G.SHDSL interface state. [3com-Atm3/0/0]display dsl status interface atm 3/0/0 Operating Mode: CPE Standard: Wire Type: Phy Op State: Xcvr Op State:...
  • Page 218 Interface number Description Using the display dsl version command, you can display DSL version and functions available. Example Display G.SHDSL version. [3com-Atm3/0/0] display dsl version interface atm 3/0/0 Dsl Line Type: ATM SAR Device: ATM SAR Revision: Chipset Vendor: OMMANDS 11.4...
  • Page 219: Adsl Interface Configuration Commands

    Firmware Rel-Rev: DSP Version: PCB Version: CPLD Version: Driver Version: Hardware Version: ITU G991.2 ANNEX A: ITU G991.2 ANNEX B: ADSL Interface Configuration Commands activate Syntax activate undo activate View ADSL interface view Parameter None Description Using the activate command, you can activate an ADSL interface. Using the undo activate command, you can deactivate an ADSL interface.
  • Page 220 If you want to make it take effect immediately, you can execute the shutdown/undo shutdown command or the activate/undo activate command. Example Set the standard for the interface atm1/0/0 as T1.413. [3com-Atm1/0/0]adsl stand t1413 [3com -Atm1/0/0]shutdown Interface Atm1/0/0 has already been shutdown [3com -Atm1/0/0]undo shutdown...
  • Page 221 [3com -Atm1/0/0] %Nov 20 21:17:12 2003 5680 PHY/2/PHY: %Nov 20 21:17:13 2003 5680 IFNET/5/UPDOWN:Line protocol on the interface Atm1/0/0 turns into UP state [3com -Atm1/0/0]display dsl configuration int atm 1/0/0 Line Params Set by User Standard: T1.413 Annex: Framing: Coding Gain(dB):...
  • Page 222 Using the adsl tx_attenuation command, you can set attenuation value for ADSL transmit power. Using the undo adsl tx_attenuation command, you can restore the default value. Example [3com-Atm1/0/0] adsl tx_attenuation 10 display dsl configuration Syntax display dsl configuration interface atm interface-number...
  • Page 223: Configuration Information

    Description Using the display dsl configuration command, you can display the actual ADSL configuration information. Example Display the actual ADSL configuration information. [3com-Atm1/0]display dsl configuration interface atm 1/0 Line Params Set by User Standard: T1.413 Annex: Framing: Coding Gain(dB): Auto...
  • Page 224 Interface number. Description Using the display dsl status command, you can display the DSL state information. Example Display the ADSL state information of the interface 1/0/0. [3com-Atm1/0/0]display dsl status interface atm 1/0/0 State of driver/chipsets Phy Op State: OMMANDS Description framing, trellis coding or not.
  • Page 225 Xcvr Op State: Data Mode Active Params Near End SNR Margin(dB): 16.0 Attenuation(dB): Coding Gain(dB): Tx Power(dBm): Tx Bin Number: Rate(kbps): Adsl Count Near End SEF(sef): LOS(los): RSI(fec-I): RSF(fec-F): CRCI(crc-I): CRCF(crc-F): ATM Count NCDI(ncd-I): NCDF(ncd-F): OCDI(ocd-I): OCDF(ocd-F): HECI(hec-I): HECF(hec-F): Adsl Defects Overall: SEF(sef): ADSL Interface Configuration Commands...
  • Page 226 Using the display dsl version command, you can display the DSL version information and the supported capabilities. Example Display the ADSL version information. [3com-Atm1/0/0]display dsl version interface atm 1/0/0 Adsl board chipset and version info Dsl Line Type: OMMANDS Description...
  • Page 227: Fundamental Logical Interface Configuration Commands

    Dsl Line Type: ATM SAR Device: ATM SAR Revision: Chipset Vendor: FW Release: Revision: DSP Version: AFE Version: PCB Version: CPLD Version: Driver Version: Hardware Version: Adsl Capability ANSI T1.413 Issue 2: ITU G992.1 ANNEX A: ITU G992.2 Fundamental Logical This chapter only discusses basic configuration of logical interfaces.
  • Page 228 View System view Parameter interface-number: Number of interface, including slot number, card number, and port number. subinterface-number: Number of sub-interface, ranging from 0 to 4096. OMMANDS <3com> system-view [3com] interface atm 2/0/0.1 [3com-Atm2/0/0.1]...
  • Page 229: Logic-Channel Interface

    Ethernet sub-interface is used for VLAN configuration. For a detailed configuration procedure for VLAN, refer to the section Link Layer Protocol chapter in the 3Com Router Configuration Guide. Up to 256 sub-interfaces can be created for one Ethernet interface.
  • Page 230: Configuration Command Of Virtual Template And Virtual Access Interface

    Example Configure maximum link number of virtual template 1 supporting sending multicast or broadcast packet to be 100. [3com] interface virtual-template 1 [3com-Virtual-Template1] broadcast-limit link 100 display interface Syntax...
  • Page 231 Using the display interface virtual-template command, you can view the status information of virtual template. Example View the state of specified virtual template. <3com> display interface virtual-template 1 display virtual-access Syntax display virtual-access [ slot slot-number | vt vt-number | user user-name | peer...
  • Page 232: Mp-Group Interface Configuration Command

    In deleting the virtual template, make sure that all its derived virtual access interfaces have been removed and this virtual template is not in use any more. Example Create virtual template 10. [3com] interface virtual-template 10 [3com-Virtual-Template10] MP-group Interface Configuration...
  • Page 233 This command is used in concert with the ppp mp mp-group command. Either MP-group interface or interface added in MP group can be configured first. Example Create MP-group interface 3/0/0. [3com] interface mp-group 3/0/0 [3com-mp-group 3/0/0] ppp mp mp-group Syntax...
  • Page 234: Virtual Ethernet Interface Configuration Command

    Tunnel 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 group 3/0/0. [3com-Serial3/0/0] undo ppp mp mp-group 3/0/0 Virtual Ethernet Interface Configuration Command display interface...
  • Page 235 Using the undo interface virtual-ethernet command, you can delete the specified virtual Ethernet interface. Virtual Ethernet interface is mainly applied to PPPoEoA and IPoEoA. Example Create virtual Ethernet interface 12 on interface card 0 of slot 6. [3com] interface virtual-ethernet 6/0/12 [3com-Virtual-Ethernet6/0/12] mac-address Syntax mac-address H-H-H...
  • Page 236: Configuration Command Of Loopback Interface And Null Interface

    View status information of specified Loopback interface. <3com> display interface loopback 6 LoopBack6 current state : UP Line protocol current state :UP Description : 3Com Routers, LoopBack6 Interface The Maximum Transmit Unit is 1536 Internet Address is 10.10.1.1/8 display interface null...
  • Page 237 NULL0 current state : UP Line protocol current state :UP (spoofing) Physical is NULL DEV Description : 3Com Routers, NULL0 Interface The Maximum Transmit Unit is 1500 Internet protocol processing : disabled 5 minutes input rate 0 bytes/sec, 0 packets/sec...
  • Page 238 Using the interface null command, you can enter the Null interface view. There is only one Null interface, fixed as null0, which is fixed, and cannot be deactivated or deleted. For the related command, see display interface null. Example Enter view of Null0 interface. [3com] interface null 0 [3com-NULL0]...
  • Page 239: Link Layer Protocol

    MP. For the related commands, see link-protocol ppp and ppp mp. Example Display the MP interface information. <3Com> display ppp mp Template is Virtual-Template1 Bundle, quid0, 0 lost fragments, 0 reordered, 0 unassigned, sequence 0/0 rcvd/sent The bundled son channels are: Serial3/0/0...
  • Page 240 By default, the VJ TCP header is disabled to compress at the PPP interface. Example The VJ TCP header is permitted to compress at the PPP interface [3Com-dialer0] ip tcp vjcompress link-protocol ppp Syntax link-protocol ppp...
  • Page 241 For the related command, see display interface. Example Configure PPP encapsulation on interface Serial 0/0/0. [3Com--Dialer0] link-protocol ppp mp binding-mode Syntax ppp mp binding-mode { authentication | both | descriptor } undo ppp mp binding-mode...
  • Page 242 HAPTER AYER ROTOCOL Example Perform the MP binding only based on the user name of the PPP authentication. [3Com] ppp mp binding-mode authentication ppp accounting scheme Syntax ppp accounting scheme { default | scheme -name } undo ppp accounting View...
  • Page 243 For the related commands, see local-user, ppp chap user, ppp pap local-user, aaa authentication-scheme ppp, ppp pap password, and ppp chap password. Example Authenticate the peer router by means of PAP on interface Serial0/0/0. [3Com-Serial1/0/0] ppp authentication-mode pap ppp chap password Syntax ppp chap password { simple | cipher } password...
  • Page 244 For the related commands, see ppp authentication-mode chap and local-user. Example Set the user password as 3Com in plain text when the local router perform the authentication via CHAP. [3Com-Serial1/0/0] ppp chap password simple 3Com...
  • Page 245 PPP and MP Configuration Commands ppp compression iphc Syntax ppp compression iphc [ nonstandard | rtp-connections rtp-connections | tcp-connections tcp-connections ] View Interface view Parameter nonstandard: uses the nonstandard mode in compressing the IP/UDP/RTP header rtp-connections rtp-connections: sets the maximum rtp-connections of the iphc function, its value ranges from 3 to 1000.
  • Page 246 /all on your PC to view the DNS address provided by the Router. For the related commands, see ppp authentication–mode pap and local-user. Example Configure the primary DNS address of the local Router as 100.1.1.1, and the secondary DNS address as 100.1.1.2. [3Com-Serial0/0/0] ppp ipcp dns 100.1.1.1 100.1.1.2...
  • Page 247 For the related commands, see link-protocol ppp, ppp mp user, and interface virtual-template. Example Configure the PPP encapsulated interface Serial0/0/0 to work in MP mode. [3Com-Serial1/0/0] ppp mp ppp mp lfi Syntax ppp mp lfi [ delay-per-frag max-delay ] undo ppp mp lfi [ delay-per-frag ]...
  • Page 248 AYER ROTOCOL By default, the value of number is 10. Example Set a maximum delay of 100 milliseconds for per fragmentation. [3Com-Virtual-Template0] ppp mp lfi delay-per-frag 100 ppp mp max-bind Syntax ppp mp max-bind max-bind-num undo ppp mp max-bind View...
  • Page 249 MP packet fragment. For the related command, see ppp mp. Example Set the minimum packet of the MP packet fragmentating to 500 bytes. [3Com-Virtual-Template10] ppp mp min-fragment 500 ppp mp user Syntax ppp mp user username bind virtual-template number...
  • Page 250 For the related commands, see ppp mp and ppp mp max-bind. Example Specify the corresponding virtual-template as 1 for the username 3Com, and configure the IP address of the virtual-template as 202.38.60.1. [3Com] ppp mp user 3Com bind virtual-template 1 [3Com] interface virtual-template 1 [3Com-virtual-template1] ip address 202.38.60.1 255.255.255.0...
  • Page 251 For the related commands, see ppp authentication pap-mode and local-user. Example Set the username of the local router authenticated by the peer end via the PAP method as 3Com and the password as 3Com. [3Com-Serial1/0/0] ppp pap local-user 3Com password simple 3Com ppp timer hold...
  • Page 252 The keepalive time must be set same at the two end of a ppp link. For the related command, see display interface. Example Set the PPP timer hold to 20 seconds. [3Com-Serial1/0/0] ppp timer hold 20 ppp timer negotiate Syntax ppp timer negotiate seconds...
  • Page 253: Pppoe Server Configuration Commands

    Example Set the PPP negotiation timeout to 5 seconds. [3Com-Serial1/0/0] ppp timer negotiate 5 PPPoE Server Configuration Commands display pppoe-server Syntax session display pppoe-server session { all | packet | statistics interface interface-type interface-number } View Any view Parameter all: Displays all information of each PPPoE session.
  • Page 254 4: L HAPTER AYER ROTOCOL <3Com> display pppoe-server session packet OutD Table 3 Description of the output Field OutP OutO OutD pppoe-server bind Syntax virtual-template pppoe-server bind virtual-template number undo pppoe-server bind View Interface view Parameter number: Number of the virtual-template for access to PPPoE, and its value ranges from 0 to 1023.
  • Page 255 For the related commands, see pppoe-server max-sessions remote-mac and pppoe-server max-sessions total. Example Set the maximum number of PPPoE sessions that can be established at a local MAC address to 50. [3Com] pppoe-server max-sessions local-mac 50 pppoe-server Syntax max-sessions pppoe-server max-sessions remote-mac number...
  • Page 256: Pppoe Client Configuration Commands

    AYER ROTOCOL Example Display how to set the maximum number of PPPoE sessions that can be established at a remote MAC address to 50. [3Com] pppoe-server max-sessions remote-mac 50 pppoe-server Syntax max-sessions total pppoe-server max-sessions total number undo pppoe-server max-sessions total...
  • Page 257 The command display pppoe-client session is used to display the status and statistics of PPPoE session. Example Display the summary of PPPoE session. [3Com]display pppoe-client session summary PPPoE Client Session: PPPoE Client Configuration Commands Explanation Enable all PPPoE Client debugging switches...
  • Page 258 Bundle Intf State Display the statistics of PPPoE session data packet <3Com> display pppoe-server session packet PPPoE Client Session: ============================================================= For more details of the display information, see the following table. Table 6 Explanation of the information displayed by pppoe-client session packet...
  • Page 259 Router will automatically terminate PPPoE session. Only after it has new data to transmit, PPPoE session will be re-established. For the related command, see reset pppoe-client. Example Create a PPPoE session on the interface Ethernet 0/0/0. [3Com-Ethernet0/0/0]pppoe-client dial-bundle-number 1 reset pppoe-client Syntax reset pppoe-client { all | dial-bundle-number number } View...
  • Page 260: Vlan Configuration Commands

    Description Using the display vlan interface command, you can view VLAN configuration information on a certain interface (only supporting sub-interface). Example Display the VLAN configuration information at the Ethernet interface 2/0/0.1. <3Com> display vlan interface ethernet 2/0/0.1...
  • Page 261 VLAN per second. For the related command, see max-packet-process. Example Display the maximum number of processed packets configured on the VLAN 10. <3Com> display vlan max-packet-process 10 Max Packet Process Count for Vid 10 is 300000 display vlan statistics Syntax...
  • Page 262 4: L HAPTER AYER ROTOCOL <3Com> display vlan statistics interface ethernet 0/2/0.1 Packets Discarded Packets forwarded to IP/ARP module Packets forwarded by VLAN module: 0 display vlan statistics vid Syntax display vlan statistics vid vid View Any view Parameter vid: VLAN ID, used to identify a VLAN.
  • Page 263 Using the reset vlan statistics interface command, you can clear VLAN statistics on a certain interface. For the related command, see show vlan statistics interface. Example Clear the VLAN statistics on Ethernet subinterface 2/0/0.1. <3Com> reset vlan statistics interface ethernet 2/0/0.1 reset vlan statistics vid Syntax reset vlan statistics vid vid View...
  • Page 264: Isdn Configuration Commands

    4: L HAPTER AYER ROTOCOL For the related command, see display vlan statistics vid. Example Clear the statistics with VLAN ID 10. <3Com> reset vlan statistics vid 10 vlan-type dot1q Syntax vlan-type dot1q vid vid View Interface view Parameter vid: VLAN ID, used to identify a VLAN, its value ranges from 1 to 4094.
  • Page 265 ISDN interfaces. The displayed information can help you with ISDN call troubleshooting. Example Display the active call information on the interface bri 0/0/0. [3Com] display isdn active-channel interface bri 0/0/0 Bri0/0/0 : ------------------------------------------------------------- Channel...
  • Page 266 You may make troubleshooting based on the output information. For the related command, see display interfaces. Example Display the current states of all ISDN interfaces. [3Com]display isdn call-info Bri0/0/0: Link Layer: TEI = NONE, State = TEI_UNASSIGNED Network Layer: 0 connection(s)
  • Page 267 Executing this command will display information of the calls activated in the last 15 minutes, but the number of retained entries is limited to 100. Example Display the information of ISDN call history. [3Com] display isdn call-record Call Calling Type Number --------------------------------------------------------------------...
  • Page 268 If only ISDN protocol is specified, the system will display the default system parameters of ISDN. For the related command, see display interfaces. Example Display the system parameters of the ISDN protocol DSS1. [3Com] display isdn parameters dss1 DSS1 ISDN layer 2 system parameters: T200(sec) DSS1 ISDN layer 3 system timers: Timer-Number...
  • Page 269 BRI interfaces. Alternatively, you may view the information only on one interface by specifying its type and number. Example Display the related information of SPID on the NI-supported interface bri 0/0/0. [3Com] display isdn spid interface bri 0/0/0 Interface bri 0/0/0: SPID Type : AUTO SPID...
  • Page 270 ISDN module can provide the channel management function as well. Example Enable local ISDN B channel management. [3Com-Bri2/0/0] isdn bch-local-manage isdn bch-select-way Syntax isdn bch-select-way { ascending | descending}...
  • Page 271 ISDN Configuration Commands Example Configure B channel selection method on the interface Bri2/0/0 to descending order. [3Com-Bri2/0/0] isdn bch-select-way descending isdn caller-number Syntax isdn caller-number caller-number undo isdn caller-number View ISDN interface view Parameter caller-number: Caller number that an incoming ISDN call can carry, which is a character string of 1 to 24 characters.
  • Page 272 Example Check whether the called number carried by incoming digital calls is 66668888 on the interface Bri 0/0/0. [3Com-Bri0/0/0] isdn check-called-number 1 66668888 : 123 isdn crlength Syntax isdn crlength call-reference-length...
  • Page 273 Example Set the call reference length carried by the ISDN messages on the PRI interface serial0/0/0:15 to 1 byte. [3Com-serial0/0/0:15] isdn crlength 1 isdn ignore connect-ack Syntax isdn ignore connect-ack...
  • Page 274 Example Set the call process on the BRI interface 0/0/0 to proceed to the ACTIVE state without waiting for CONNECT ACK messages. [3Com-Bri0/0/0] isdn ignore connect-ack isdn ignore hlc Syntax isdn ignore hlc...
  • Page 275 Example Configure ISDN to carry the HLC information element in the SETUP messages for the voice calls placed on the Bri interface 0/0/0. [3Com-Bri0/0/0] isdn ignore hlc isdn ignore llc Syntax isdn ignore llc...
  • Page 276 You can configure this command on an interface only when the ISDN protocol running on the interface is DSS1 or ETSI. Example Ignore the Sending Complete Information Element in the received SETUP messages. [3Com-Bri0/0/0] isdn ignore sending-complete incoming Disable carrying the Sending Complete Information Element in the transmitted SETUP messages.
  • Page 277 [3Com-Bri0/0/0] isdn ignore sending-complete outgoing isdn L3-timer Syntax isdn L3-timer timer-name time-interval undo isdn L3-timer { timer-name | all } View ISDN interface view Parameter timer-name: Name of a L3 timer of the ISDN protocol. time-interval: Timer duration, which can take on one of the values listed in the following table.
  • Page 278 4: L HAPTER AYER ROTOCOL View ISDN interface view Parameter number-property: Type and number scheme of ISDN numbers. The argument takes on a hex value in the range of 0 to FF. When it is expressed in 8 bits, bits 1 through 4 represent the code scheme, bits 5 through 7 represent the code type, and bit 8 is reserved.
  • Page 279 Example Set both number type and code scheme of ISDN calling numbers on the interface Bri 0/0/0 to unknown. [3Com-Bri0/0/0] isdn number-property 0 calling isdn overlap-sending Syntax isdn overlap-sending [ digits ]...
  • Page 280 Overlap-sending is only suitable for four ISDN protocols: ANSI, DSS1, ETSI, and NI. Example Apply the overlap-sending function on the interface Bri0/0/0 and set the number of digits allowed to be sent each time to 12 digits. [3Com-Bri0/0/0] isdn overlap-sending 12 isdn pri-slipwnd-size Syntax isdn pri-slipwnd-size window-size...
  • Page 281 PRI interface. Using the isdn pri-slipwnd-size default command, you can restore the default slide window size on the PRI interface. Example Configure the slide window size on the interface e1 0/0/0 to 10. [3Com] controller e1 0/0/0 [3Com-E1 0/0/0] using [3Com-E1 0/0] pri-set [3Com-Serial0/0/0:15] isdn pri-slipwnd-size 10...
  • Page 282 4: L HAPTER AYER ROTOCOL Example Apply ISDN ETSI on the interface Bri0/0/0. [3Com-Bri0/0/0] isdn protocol-type etsi isdn send-restart Syntax isdn send-restart undo isdn send-restart View System view Parameter None Description Using the isdn send-restart command, you can set restart mark in a distributed system (AR 46 series routers), so that the MPU will control the PRI interface to send RESTART message after re-establishing a link.
  • Page 283 This command applies only on the BRI interface running the NI protocol. Example Manually trigger a new SPID negotiation request on the interface bri0/0/0. [3Com-bri0/0/0] isdn spid auto_trigger isdn spid nit Syntax isdn spid nit undo isdn spid nit...
  • Page 284 TSPID. This command applies only on NI-compliant BRI interfaces. Example Set the duration of TSPID on the interface bri0/0/0 to 50 seconds. [3Com-bri0/0/0] isdn spid timer 50 isdn spid service Syntax isdn spid service [audio | data | speech]...
  • Page 285 This command can only be applied on the BRI interface adopting NI protocol. Example Set the service type supported by BRI interface to data and voice. [3Com-bri0] isdn spid service data [3Com-bri0/0] isdn spid service speech isdn spid resend Syntax...
  • Page 286 INFORMATION message retransmission attempts. This command applies only on NI-compliant BRI interfaces. Example Set the allowed number of INFORMATION retransmission attempts to five. [3Com-bri0/0/0] isdn spid resend 5 isdn spid1 Syntax isdn spid1 spid undo isdn spid1...
  • Page 287 This command applies only on NI-compliant BRI interfaces. Example Set SPID to “012345” for the B2 channel on the interface bri0/0/0. [3Com-bri0/0/0] isdn spid2 012345 isdn statistics Syntax isdn statistics { clear | continue | display [ flow ] | start | stop }...
  • Page 288: Slip Configuration Commands

    Example Display statistics information on the PRI interface. [3Com-serial0/0/0:15] isdn statistics display Q.931 message received and sent out on current port: CALL_PROC SETUP...
  • Page 289: Hdlc Configuration Commands

    The link layer protocol of the interface shall be consistent with that of the peer interface. Example Configure the link layer protocol on the interface Serial0/0/0 as SLIP. [3Com-Serial0/0/0] link-protocol slip HDLC Configuration Commands link-protocol hdlc Syntax...
  • Page 290 The polling interval should be set to equal at the two ends of the data link. A zero polling interval set in both ends will close the polling operation of the data link. For the related command, see display interface. Example Set the value of polling interval on interface Serial1/0/0 to 100 seconds. [3Com-Serial1/0/0] timer hold 100...
  • Page 291: Frame Relay Configuration Commands

    Frame Relay Configuration Commands debugging fr Syntax debugging fr { all | inarp | compress | congestion | de | event | fragment | lmi | mfr control | packet | transmit-rate } [ interface interface-type interface-number [ dlci dlci-number ] ] undo debugging fr { all | inarp | compress | congestion | de | event | fragment | ipc | lmi | mfr control | packet | transmit-rate } [ interface interface-type interface-number [ dlci dlci-number ] ]...
  • Page 292 Enable frame relay compression debugging of all interfaces. <3Com> debugging fr compress Enable the FRTS congestion management debugging of serial interface 5/0/1. <3Com> debugging fr congestion interface serial 5/0/1 Enable DE debugging of FRTS on serial interface 5/0/1. <3Com> debugging fr de interface serial 5/0/1 Enable FRTS transmit rate debugging of serial interface 5/0/1.
  • Page 293 For the related command, see fr compression frf9. Example View the frame relay compression statistics information of MFR interface 4/0/0. <3Com> display fr compress interface mfr 4/0/0 MFR4/0/0 -DLCI:25 uncompressed bytes xmt/rcv 0/0 compressed bytes xmt/rcv 0/0 1 min avg ratio xmt/rcv 0.000/0.000...
  • Page 294 HAPTER AYER ROTOCOL For the related command, see fr dlci-switch. Example View the information of the configured FR switching. <3Com> display fr dlci-switch Status Inactive Table 12 Description of the output information of command display fr dlci-switch Item Status Interface(Dlci) < -- > Interface(Dlci)
  • Page 295 For the related command, see display interface. Example Display the FR protocol status. <3Com> display fr interface Serial1/0/0, DTE, physical up, protocol up Serial1/0/0.1, multi-point, protocol up Serial1/0/0.2, point-to-point, protocol down Serial2/0/0, DCE, physical down, protocol down This command displays the protocol status of each interface encapsulated with FR.
  • Page 296 For the related command, see fr interface-type. Example Display the statistics of LMI protocol frame. <3Com> display fr lmi-info Frame relay LMI statistics for interface Serial1/0/0(DTE) T391DTE = 10 (keepalive 10) N391DTE = 6, N392DTE = 3, N393DTE = 4...
  • Page 297 Frame Relay Configuration Commands 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, Serial1/0/2 create time = 2002/10/21 14:48:44, status = ACTIVE encapsulation = ietf, vlink = 14, broadcast DLCI = 200, IP INARP 100.100.1.1, Serial1/0/2...
  • Page 298 For the related command, see display interface. Example Display the Frame Relay statistics about receiving and sending packets. <3Com> display fr statistics Frame relay packet statistics for interface Serial1/0/0 (DTE) in packets = 84, in bytes = 1333 out packets = 92, out bytes = 1217...
  • Page 299 To view the configuration and status information of MFR interface 4/0/123 <3Com> display interface mfr 4/0/123 MFR4/0/123 current state : UP Line protocol current state : UP Description : 3Com, 3Com Series, MFR4/0/123 Interface The Maximum Transmit Unit is 1500 Internet Address is 12.12.12.2/16 link-protocol is FRAME-RELAY IETF LMI DLCI is 0, LMI type is Q.933a, frame relay DTE...
  • Page 300 Bundle interface:MFR4/1/0, Bundle state = down, Bundle interface:MFR4/1/1, Bundle state = down, View detailed state information of all frame relay bundle links. <3Com> display mfr verbose Bundle interface:MFR4/1/0, Bundle state = down, Bundle interface:MFR4/1/1, Bundle state = down, fragment disabled...
  • Page 301 Add_link: sent packets = 112, rcv'd packets = 2, Add_link_ack: sent packets = 2, rcv'd packets = 2, Add_link_rej: sent packets = 0, rcv'd packets = 0, Remove_link: sent packets = 0, rcv'd packets = 0, Remove_link_ack: sent packets = 0, rcv'd packets = 0, Hello: sent packets = 2180, rcv'd packets = 2174, Hello_ack: sent packets = 2174, rcv'd packets = 2174, outgoing pak dropped = 0, incoming pak dropped = 83...
  • Page 302 4: L HAPTER AYER ROTOCOL Cause code Ack timer Hello timer Max retry count Current count Peer LID 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 compression function.
  • Page 303 Frame Relay Configuration Commands For the related command, see fr map. Example Enable frame relay compression on the point-to-point frame relay sub-interface Serial4/1/3.1. [3Com] interface serial 4/1/3.1 p2p [3Com-Serial4/1/3.1] fr compression frf9 fr compression iphc Syntax fr compression iphc undo fr compression iphc...
  • Page 304 For the related command, see fr interface-type. Example Assign a virtual circuit with DLCI 100 to Frame Relay sub-interface Serial1/0/0.1. [3Com-Serial1/0/0.1] fr dlci 100 fr dlci-switch Syntax fr dlci-switch in-dlci interface interface-type interface-number dlci out-dlci...
  • Page 305 Configure a static route that allows packets on the link with DLCI of 100 on Seiral1/0/0 to be forwarded via the link with DLCI of 200 on interface Serial2/0/0. [3Com-Serial1/0/0] fr dlci-switch 100 interface serial2/0/0 dlci 200 Configure a static route that allows packets on the link with DLCI of 200 on Seiral4/1/2 to be forwarded via the link with DLCI of 300 on Tunnel interface Serial4/0/0.
  • Page 306 For the related command, see link-protocol fr. Example Set the type of the frame relay interface Serial1/0/0 to DCE. [3Com] interface Serial1/0/0 [3Com-Serial1/0/0] fr interface-type dce fr iphc Syntax fr iphc { nonstandard | rtp-connections number1 | tcp-connections number2 |...
  • Page 307 For the related configuration, see fr map ip. Example Configure the number of RTP compression connections as 200 on the frame relay Serial1/0/0. [3Com-Serial1/0/0] fr iphc rtp-connections 200 fr lmi n391dte Syntax fr lmi n391dte n391-value undo fr lmi n391dte...
  • Page 308 Set DTE as the operating mode of Frame Relay interface Serial1/0/0, and the counter value of the PVC status to 10. [3Com-Serial1/0/0] link-protocol fr [3Com-Serial1/0/0] fr interface-type dte [3Com-Serial1/0/0] fr lmi n391dte 10 fr lmi n392dce Syntax fr lmi n392dce n392-value...
  • Page 309 Set the operation of frame relay interface Serial1/0/0 as DCE mode and sets N392 to 5 and N393 to 6. [3Com] interface Serial1/0/0 [3Com-Serial1/0/0] link-protocol fr [3Com-Serial1/0/0] fr interface-type dce [3Com-Serial1/0/0] fr lmi n392dce 5 [3Com-Serial1/0/0] fr lmi n393dce 6 fr lmi n392dte Syntax fr lmi n392dte n392-value...
  • Page 310 4: L HAPTER AYER ROTOCOL [3Com-Serial1/0/0] fr interface-type 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 View Interface view Parameter Event counter. The range of the value is 1~10.
  • Page 311 Set the operation of frame relay interface Serial1/0/0 as the DTE mode and sets N392 to 5 and N393 to 6. [3Com-Serial1/0/0] link-protocol fr [3Com-Serial1/0/0] fr interface-type dte [3Com-Serial1/0/0] fr lmi n392dte 5 [3Com-Serial1/0/0] fr lmi n393dte 6 fr lmi t392dce Syntax...
  • Page 312 Set the frame relay interface Serial1/0/0 to operate in DCE mode and set T392 to 10s. [3Com] interface Serial1/0/0 [3Com-Serial1/0/0] link-protocol fr [3Com-Serial1/0/0] fr interface-type dce [3Com-Serial1/0/0] fr lmi t392dce 10 fr lmi type Syntax fr lmi type { ansi | nonstandard | q933a } undo fr lmi type...
  • Page 313 For the related command, see display interface. Example Set the FR LIMI type of Serial1/0/0 to nonstandard. [3Com-Serial1/0/0] fr lmi type nonstandard fr map ip Syntax fr map ip { protocol-address [ ip-mask ] | default } dlci [ broadcast ] [ nonstandard |...
  • Page 314 The peer router IP address connected to the local interface serial1/0/0 is 202.38.163.252. There is a virtual circuit with DLCI 50 on local Serial1/0/0 connected to this router. Configure the static address mapping as follows: [3Com-Serial1/0/0] fr map ip 202.38.163.252 50 fr switch Syntax...
  • Page 315 Frame Relay Configuration Commands [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 switching undo fr switching View System view Parameter None Description Using the fr switching command, you can enable frame relay PVC switching. Using the undo fr switching command, you can disable frame relay PVC switching.
  • Page 316 Before an MFR sub-interface is created, the MFR interface must be created first. For the related commands, see link-protocol fr mfr and mfr bundle-name. Example Create a multilink frame relay bundle interface with a point-to-multipoint sub-interface. [3Com] interface mfr 4/0/123 [3Com-MFR4/0/123] quit [3Com] interface mfr 4/0/123.1 [3Com-MFR4/0/123.1] link-protocol fr...
  • Page 317 For the related commands, see interface mfr and mfr link-name. Example Configure the current serial interface as a bundle link and add it onto the frame relay bundle interface mfr4/0/123. [3Com-Serial4/1/2] link-protocol fr mfr 4/0/123 mfr bundle-name Syntax mfr bundle-name [ name ]...
  • Page 318 When changing the BID of an interface, you must execute the shutdown/undo shutdown command on the interface to make the new BID valid. For the related command, see mfr link-name. Example Set the frame relay link BID to bundle1. [3Com-MFR4/0/123] mfr bundle-name bundle1 mfr fragment Syntax mfr fragment undo mfr fragment...
  • Page 319 Frame Relay Configuration Commands [3Com] interface mfr 4/0/123 [3Com-MFR4/0/123] mfr fragment mfr fragment-size Syntax mfr fragment-size bytes undo mfr fragment-size View Frame relay interface view and MFR interface view Parameter bytes: Fragment size, in bytes, ranging from 60 to 1500.
  • Page 320 LID valid. For the related command, see mfr bundle-name. Example Set the bundle LID of the multilink frame relay bundle link Serial4/1/2 to be bl1. [3Com-Serial4/1/2] mfr link-name bl1 mfr retry Syntax mfr retry number undo mfr retry...
  • Page 321 For the related commands, see mfr timer hello and mfr retry. Example Set the frame relay bundle link Serial4/1/2 to wait for 6 seconds before resending hello message. [3Com-Serial4/1/2] link-protocol fr mfr 4/0/123 [3Com-Serial4/1/2] mfr timer ack 6 mfr timer hello Syntax...
  • Page 322 For the related commands, see mfr timer ack and mfr retry. Example Set the bundle link Serial4/1/2 to send hello message once every 15 seconds. [3Com-Serial4/1/2] mfr timer hello 15 mfr window-size Syntax mfr window-size number undo mfr window-size...
  • Page 323 PVCs. By default, switching PVC is enabled. Example Disable all the current switching PVCs. [3Com] fr switch pvc1 interface serial 1/0/0 dlci 100 interface serial 2/0/0 dlci 200 [3Com-fr-switching-pvc1] shutdown reset fr inarp...
  • Page 324: Atm Configuration Commands

    For the related commands, see fr interface-type and fr lmi t392dce. Example Configure that Frame Relay interface serial1/0/0 to work in DTE mode, and set the value of polling timer to 15 seconds. [3Com-Serial1/0/0] link-protocol fr [3Com-Serial1/0/0] fr interface-type dte [3Com-Serial1/0/0] timer hold 15 ATM Configuration Commands atm-class...
  • Page 325 An ATM-Class is a group of predefined parameters that can be used for ATM interface or PVC. For the related command, see atm-class. Example Create an ATM-Class named "main". [3Com] atm class main clock Syntax clock { master | slave } undo clock...
  • Page 326 ATM main interface view and there is not this command in ATM sub-interface view. For the related command, see display atm interface. Example Specify ATM interface Atm1/0/0 to use the internal transmission clock. [3Com-Atm1/0/0] clock master debugging atm all Syntax debugging atm all...
  • Page 327 The difference of using them only lies in the space. In the command line, there are spaces in interface-type and interface-num, but there is no space in interface-name. For the related commands, see display debugging and debugging atm all. Example Enable all the error debugging of ATM. <3Com> debugging atm error...
  • Page 328 ATM interface or a PVC, which can be used to trace some essential events of the system. Such information may be helpful for detecting network faults. Example The example is a case to enable the debugging of ATM events and display the results. Enable all the event debugging of ATM. <3Com> debugging atm event...
  • Page 329 ATM Configuration Commands debugging atm packet Syntax debugging atm packet [ interface { interface-name | interface-type interface-num } [ pvc { pvc-name [ vpi/vci ] | vpi/vci } ] ] undo debugging atm packet [ interface { interface-name | interface-type interface-num } [ pvc { pvc-name [ vpi/vci ] | vpi/vci } ] ] View User view...
  • Page 330 For the related command, see atm class. Example Display the information about the ATM-Class named "main" in devices. <3Com> display atm class main The following information is displayed: Atm1/0/0 pvc 1/32 out ppp pkt, snap, FE FE 03 CF FF 03 C0 21 01 22 00 0E...
  • Page 331 (including sub-interface) at the interface will be displayed. For the related command, see display atm. Example Display the information about ATM interface atm4/0/0. <3Com> display atm interface atm 4/0/0 The following information is displayed: ATM interface Atm4/0/0, State UP Port Information: Maximum VCs: 1024,...
  • Page 332 4: L HAPTER AYER ROTOCOL input pkts: 0, input bytes: 0, input pkt errors: 0 output pkts: 69, output bytes: 2218, output pkt errors: 8 Sub-interface Information: PVCs: 4, MAPs: 4 input pkts: 0, input bytes: 0, input pkt errors: 0 output pkts: 69, output bytes: 2218, output pkt errors: 8 The explanation on the above messages is: The maximum number of PVCs on the ATM interface is 1024.
  • Page 333 ATM Configuration Commands Example Display the information about the upper layer protocol mapping table of all ATM interfaces. <3Com> display atm map-info The following information is displayed: Atm1/0/0, PVC 1/32, PPP, Virtual-Template10, UP Atm1/0/0, PVC 1/33, IP & Mask, State UP 100.11.1.1, mask 255.255.0.0, vlink 1...
  • Page 334 PVC with VPI/VCI pair as 1/32, its has been activated (UP) and the name is "3Com". The AAL encapsulation type is SNAP. The application type is IPoA. The interface is ATM main interface: Slot number is 1, adapter number is 1 and the interface number is 0.
  • Page 335 PVC with VPI/VCI pair as 1/32, its has been activated (UP) and the name is "3Com". The index number is 1. The AAL encapsulation type is SNAP. The application type is IPoA. The interface is ATM main interface: Slot number is 1, adapter number is 0 and the interface number is 0.
  • Page 336 The two examples can both specify AAL5 encapsulation type of PVC as aal5snap. Display how to specify AAL5 encapsulation type of PVC 1/32 as aal5snap. [3Com-atm-pvc-Atm1/0/0-1/32] encapsulation aal5snap Display how to specify AAL5 encapsulation type of PVC 1/33 as aal5snap.
  • Page 337 Enter the main interface Atm1/0/0. [3Com] interface atm 1/0/0 Create/enter the sub-interface Atm1/0/0.1 and set its connection type as point-to-point. [3Com] interface atm 11/1/0.1 p2p ip-precedence Syntax ip-precedence{ pvc-name [ vpi/vci ] | vpi/vci } { min [ max ] | default }...
  • Page 338 For the related commands, see pvc-group and pvc. Example Display how to set an IP packet named "3Com" whose VPI/VCI is 1/32 and the PVC carrying preference is 0 to 3. [3Com-atm-pvc-group-Atm1/0/0-1/32-3Com] ip-precedence 3Com 1/32 0 3...
  • Page 339 The following example shows a complete process of IPoEoA configuration. Establish a VE interface Virtual-Ethernet2/0/0. [3Com] interface virtual-ethernet 2 Configure IP address 10.1.1.1/16 for the VE interface. [3Com-Virtual-Ethernet2/0/0] ip address 10.1.1.1 255.255.0.0 [3Com-Virtual-Ethernet2/0/0] quit Establish PVC 1/102 on the ATM interface Atm2/0/0 [3Com] interface atm 2/0/0 [3Com-Atm2/0/0] pvc 1/102 Establish the IPoE mapping using the established VE interface in PVC view.
  • Page 340 Display how to create a static mapping at PVC 1/32, specify the opposite IP address to 61.123.30.169 and support pseudobroadcast. [3Com-atm-pvc-Atm1/0/0-1/32] map ip 61.123.30.169 broadcast Display how to enable InARP at PVC 1/33 to automatically obtain the opposite address and send InARP packets every 10 minutes.
  • Page 341 [3Com] interface virtual-template 10 [3Com-Virtual-Template10] ip address 202.38.160.1 255.255.255.0 [3Com-Virtual-Template10] quit And then PVC 1/101 at ATM 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.
  • Page 342 Display how to enable OAM F5 Loopback check at PVC 1/32, with the period of 12 seconds. And set the retransmission check up-count as 4, down-count as 4 and retransmission period as 1 second. [3Com-atm-pvc-Atm1/0/0-1/32] oam frequency 12 up 4 down 4 retry-frequency 1 Syntax...
  • Page 343 Once pvc-name is specified for one PVC (e.g. "3Com"), it is possible to re-enter the PVC view by inputting pvc pvc-name (e.g. " pvc 3Com"). The deletion of the PVC can be done by inputting undo pvc pvc-name (e.g. " undo pvc 3Com") or through the undo pvc vpi/vci (if the VPI/VCI of this PVC is 1/32, it is "...
  • Page 344 PVC-Group view at ATM interface. Using the undo pvc-group command, you can delete the specified PVC-Group. Once pvc-name is specified for some PVC (e.g. "3Com"), it is possible to enter the PVC-Group view by inputting pvc-group pvc-name (e.g. "pvc-group 3Com"). The deletion of the PVC-Group can be done by inputting undo pvc-group pvc-name (e.g.
  • Page 345 The two examples can both make ATM interface Atm1/0/0 support totally 2048 VCs. Display how to set ATM interface Atm1/0/0 to totally support maximum 2048 VCs. [3Com-Atm1/0/0] pvc max-number 2048 Display how to set ATM interface Atm1/0/0 to support the default maximum number of VCs (2048). [3Com-Atm1/0/0] undo pvc max-number...
  • Page 346 For the related commands, see pvc, service cbr, service vbr-nrt, and service vbr-rt, service ubr. Example Set the traffic of VP with vpi 1 to 2M. [3Com-Atm1/0/0] pvp limit 1 2000 service cbr Syntax service cbr output-pcr [ cdvt cdvt_value ]...
  • Page 347 For the related commands, see service vbr-nrt, service vbr-rt, and service ubr. Example Create a PVC named "3Com" with VPI/VCI as 1/101. [3Com-Atm1/0/0] pvc 3Com 1/101 Specify the service type of the PVC as cbr and the peak rate of ATM cell as 50,000Kbits/s.Cell delay variation tolerance is 1000ìs.
  • Page 348 For the related commands, see service vbr-nrt, service vbr-rt, and service cbr. Example Display how to create a PVC named "3Com" with VPI/VCI as 1/101. [3Com-Atm1/0/0] service pvc 3Com 1/101 Display how to specify the service type of the PVC as ubr and the peak cell rate of ATM cell as 100,000Kbps.
  • Page 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 PVC as VBR-NRT and set the peak bit rate of ATM cell to 100,000kbit/s, sustainable bit rate to 50,000Kbps, the maximum burst size to 320 cells.
  • Page 350: Lapb And X.25 Configuration Commands

    4: L HAPTER AYER ROTOCOL [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 interface-number | xot ip-address } undo channel { interface serial interface-number | xot ip-address } View X.25 hunt group view Parameter interface-number: Interface number, its value ranges from 0 to 3.
  • Page 351 LAPB and X.25 Configuration Commands event: Event debugging switch of PAD. packet: Packet debugging switch of PAD. Description Using the debugging pad command, you can enable the debugging switch of PAD. Using the undo debugging pad command, you can disable the debugging switch of PAD.
  • Page 352 [3Com-Serial0/0/0] display interface serial 0/0/0 Serial0/0/0 current state : UP Line protocol current state : UP Description : 3Com, 3Com Series, Serial4/0/0 Interface The Maximum Transmit Unit is 1500, Holder timer is 10(sec) Internet protocol processing : disabled Link-protocol is X.25 DCE Ietf, address is , state R1, modulo 8...
  • Page 353 The above information will be displayed after entering the command series, in which the contents in boldface are those related to X.25 and LAPB protocols. The main parameters are described as follows: Link-protocol is X.25 DCE Ietf: Current encapsulation protocol of this interface is X.25 protocol that works in DCE mode, and the data packet encapsulation format is IETF.
  • Page 354 Interface number. Description Using the display x25 alias-policy command, you can view X.25 alias table. For the related command, see x25 alias-policy. Example Display X.25 alias table. <3Com> display x25 alias-policy Alias for Serial0/0/0: Alias for Serial1/0/0: Alias- Alias- Alias- retry 10: Maximum re-sending times of information frame of this interface timer: Delay value of timers of this interface LAPB, in milliseconds.
  • Page 355 XOT channel inside the hunt group. For the related command, see x25 hunt-group. Example Display the status information of X.25 hunt group hg1. [3Com] display x25 hunt-group-info hg1 HG_ID : hg1 member state Serial0/0/0 Last Serial1/0/0 Next 1.1.1.1...
  • Page 356 For the related commands, see x25 map, x25 pvc, x25 switch pvc, x25 xot pvc, and x25 fr pvc. Example Display the X.25 address map table. <3Com> display x25 map Interface:Serial3/0/0(protocol status is up): ip address:202.38.162.2 display x25 pad Syntax...
  • Page 357 For the related commands, see x25 pvc, x25 switch pvc, x25 xot pvc, x25 fr pvc, and x25 switch svc. Example Display X.25 switching virtual circuit table. [3Com] display x25 switch-table pvc display x25 switch-table Syntax display x25 switch-table svc { dynamic | static }...
  • Page 358 The command display x25 switch-table svc is used to display X.25 switching routing table. For the related command, see x25 switch svc. Example Display X.25 switching routing table. [3Com] display x25 switch-table svc static Number Destination Substitute- Substitute- CUD T/124.124.124.124 T/125.125.125.125 Total of static svc is 6.
  • Page 359 For the related commands, see x25 pvc, x25 switch pvc, x25 xot pvc, and x25 fr pvc. Example Display X.25 virtual circuit. <3Com> display x25 vc Interface: Serial2/0/0 SVC 1 State: P4 Map: ip 10.1.1.2 to 130...
  • Page 360 4: L HAPTER AYER ROTOCOL Interface: Serial2/0 PVC 1 Interface: Serial2/0/0 SVC 59 display x25 xot Syntax display x25 xot View Any view Parameter None Description Using the display x25 xot command, you can view XOT link information. You can use the command display x25 xot to view the detailed information about all XOT links, including peer ip and port, local ip and port, keepalive setting of socket and come/go interface names.
  • Page 361 Example Display XOT link information. [3Com] display x25 xot SVC 1024: tcp peer ip: 10.1.1.1, peer port: 1998 tcp local ip: 10.1.1.2, local port: 1024 socket keepalive period: 5, keepalive tries: 3 come interface name: Serial0/0/0-10.1.1.1-1024 go interface name: Serial0/0/0: The above information indicates: there is one established XOT link via SVC, whose peer IP is 10.1.1.1, peer port is 1998, local IP is 10.1.1.2, local port is 1024,...
  • Page 362 Modulo 8 is a basic view, LAPB can implement all the standards via the view. It is sufficient for most links. For the related command, see lapb window-size. Example Set the LAPB frame numbering view on Serial0/0/0 to modulo 8. [3Com-Serial0/0/0] lapb modulo 8 lapb retry Syntax lapb retry n2-value undo lapb retry...
  • Page 363 T3 should be greater than the timer T1 (T3>T1) on a DCE. When T3 is 0, it indicates that it does not function yet. Example Set the LAPB timer T1 on Serial0/0/0 to 3000ms. [3Com-Serial0/0/0] lapb timer t1 3000 lapb window-size Syntax lapb window-size k-value undo lapb window-size LAPB and X.25 Configuration Commands...
  • Page 364 For the related command, see lapb modulo. Example Set the LAPB window parameter K on the interface Serial 0/0/0 to be 5. [3Com-Serial0/0/0] lapb window-size 5 link-protocol lapb Syntax link-protocol lapb [ dte | dce ] [ ip | multi-protocol ]...
  • Page 365 In practice, select the IETF format of datagram if there is no special requirement. For the related command, see display interface. Example Specify X.25 as the link layer protocol of the interface Serial 0/0/0 that works in DTE IETF mode. [3Com-Serial0/0/0] link-protocol x25 dte ietf Syntax pad x121-address LAPB and X.25 Configuration Commands...
  • Page 366 For the related commands, see display x25 vc, x25 switching, display x25 xot, and display tcp status. Example Clear or reset an XOT link. [3Com] reset xot local 10.1.1.1 1998 remote 10.1.1.2 1024...
  • Page 367 For the related commands, see display x25 alias-policy and x25 x121-address. Example Configure the link-layer protocol on interface Serial0/0/0 as X.25 and its X.121 address to 20112451, and set two aliases with different match types for it. [3Com] interface serial 0/0/0 LAPB and X.25 Configuration Commands...
  • Page 368 ROTOCOL [3Com-Serial0/0/0] link-protocol x25 [3Com-Serial0/0/0] x25 x121-address 20112451 [3Com-Serial0/0/0] x25 alias-policy right 20112451$ [3Com-Serial0/0/0] x25 alias-policy left $20112451 With the above configurations, a call whose destination address is 20112451 can be accepted as long as it can reach the local X.25 interface Serial0/0/0, no matter whether the network is performing the prefix adding operation or suffix adding operation.
  • Page 369 For the related command, see x25 map. Example Specify the flow control parameter negotiation with the peer end for the calls from the X.25 interface serial0/0/0. [3Com-Serial0/0/0] x25 call-facility packet-size 512 512 [3Com-Serial0/0/0] x25 call-facility window-size 5 5 x25 cug-service Syntax...
  • Page 370 4: L HAPTER AYER ROTOCOL Example Define the suppress processing of incoming access on the interface Serial0/0/0. [3Com-Serial0/0/0] x25 cug-service incoming-access x25 default-protocol Syntax x25 default-protocol protocol-type undo x25 default-protocol View Interface view Parameter protocol-type: Protocol type, may be IP.
  • Page 371 XOT channel cannot join the hunt group that adopts the vc-number selection policy. For the related command, see display x25 hunt-group. Example Create hunt group hg1 which uses cyclic selection policy. [3Com] x25 hunt-group hg1 round-robin [3Com-hg-hg1] x25 ignore Syntax called-address...
  • Page 372 DTE address in a specific network environment or as is required by the application. This command enables users to specify whether the call request packet sent by X.25 in the 3Com series routers carries the called DTE address. For the related commands, see x25 response called-address, x25 response calling-address, and x25 ignore calling-address.
  • Page 373 Define the rule on the serial interface Serial0/0/0: the incoming calls with 100 local CUGs or 200 network CUGs are denied. [3Com-Serial0/0/0] x25 cug-service [3Com-Serial0/0/0] x25 local-cug 100 network-cug 200 no-incoming x25 map Syntax x25 map { ip | compressedtcp } protocol-address x121-address x.121-address [...
  • Page 374 4: L HAPTER AYER ROTOCOL x.121-address: X.121 address of the peer host. option: Specifies some attributes or user facilities for the address mapping. Description Using the x25 map command, you can set the address mapping between IP address used by LANs and X.121 address. Using the undo x25 map command, you can delete one existing mapping.
  • Page 375 Set two address mappings on the X.25 interfaces Serial0/0/0 and Serial1/0/0, respectively, and the four address mappings have different attributes. [3Com] interface serial 0/0/0 [3Com-Serial0/0/0] x25 map ip 202.38.160.11 x121-address 20112451 reverse-charge-request reverse-charge-accept [3Com-Serial0/0/0] x25 map ip 202.38.160.138 x121-address 20112450...
  • Page 376 8, the numbering goes “…4, 5, 6, 7, 0, 1…”. X.25 defines two numbering modulus: 8 (also called the basic numbering) and 128 (also called extended numbering), and the X.25 of the 3Com series routers supports both views.
  • Page 377 Example Set the maximum receiving packet length and maximum sending packet length on X.25 interface Serial0/0/0 to 256 bytes. [3Com-Serial0/0/0] x25 packet-size 256 256 x25 pvc x25 pvc pvc-number protocol-type protocol-address x121-address x.121-address [ Syntax...
  • Page 378 VCs. [3Com] interface serial 0/0/0 [3Com-Serial0/0/0] link-protocol x25 [3Com-Serial0/0/0] x25 vc-range bi-channel 8,102 4 [3Com-Serial0/0/0] x25 pvc 2 ip 202.38.168.1 x121-address 20112451 broadcast packet-size 512 512 [3Com-Serial0/0/0] x25 pvc 6 ip 202.38.168.3 x121-address 20112453 broadcast window-size 5 5...
  • Page 379 0 to input window size. If it is set to 0 or the input window size, this function will be disabled. If it is set to 1, X.25 of the 3Com serial routers will send an acknowledgement for each correct packet received. By default, the number of data packets that can be received on X.25 before previous...
  • Page 380 This command enables users to easily specify whether the call receiving packet of a call sent by X.25 of the 3Com series routers carries the called DTE address. For the related commands, see x25 response calling-address, x25 ignore called-address, and x25 ignore calling-address.
  • Page 381 This command enables users to easily specify whether the call receiving packet of a call sent by X.25 of the 3Com series routers carries the calling DTE address. For the related commands, see x25 response called-address, x25 ignore called-address, and x25 ignore calling-address.
  • Page 382 For the related commands, see x25 call-facility and x25 map. Example Define two ROA lists, and cite them on the interfaces Serial 0/0/0 and Serial 1/0/0. [3Com] x25 roa-list list1 11 23 45 [3Com] x25 roa-list list2 345 [3Com] interface serial 0/0/0...
  • Page 383 By default, no PVC route is defined. Based on the X.25 switching configuration, you can use the 3Com series Routers as a simple X.25 switch. When PVC switching is configured, the link layer protocols on the input and output interfaces must be X.25. Moreover, the specified PVCs on the two interfaces have been presented and enabled.
  • Page 384 Perform the packet switching between PVC1 on the Serial0/0/0 and PVC1 on the Serial1/0/0. [3Com-Serial0/0/0] link-protocol x25 dce ietf [3Com-Serial0/0/0] interface serial1/0/0 [3Com-Serial0/0/0] link-protocol x25 dce ietf [3Com-Serial1/0/0] x25 switch pvc 1 interface serial 0/0/0 pvc 1 x25 switch svc Syntax hunt-group x25 switch svc x.121-address [ sub-dest destination-address ] [ sub-source source-address ] hunt-group hunt-group-name undo x25 switch svc x.121-address [ sub-dest destination-address ] [ sub-source...
  • Page 385 Add an X.25 switching route, whose destination address is 8888 and forwarding address is the hunt group hg1, and substitute the destination address with 9999. [3Com] x25 switch svc 111 sub-dest 9999 sub-source 8888 hunt-group x25 switch svc xot Syntax x25 switch svc x.121-address [ sub-dest destination-address ] [ sub-source...
  • Page 386 Table 24 XOT channel parameter option Option timer seconds retry times source interface-type interface-name Example Switch SVC 1 to the destination address 10.1.1.1. [3Com] x25 switch svc 1 xot 10.1.1.1 x25 switching Syntax x25 switching undo x25 switching View System view...
  • Page 387 Frequently sending call requests to a wrong destination (which does not exist or is faulty) will deteriorate the operating efficiency of the 3Com series router. The use of this function can avoid this problem to a certain extent. If this parameter is set to 0, it is equal to disabling the function.
  • Page 388 For PVC or the established SVC for X.25 switching, the command will be disabled. For the related command, see x25 map. Example Set the maximum idle time of the SVC on the interface Serial 0/0/0 to 10 minutes. [3Com-Serial0/0/0] x25 timer idle 10 x25 timer tx0 Syntax x25 timer tx0 seconds...
  • Page 389 For the related commands, see x25 timer tx1, x25 timer tx2, and x25 timer tx3. Example Set the restarting timer delay on the X.25 interface Serial0/0/0 to 120 seconds. [3Com-Serial0/0/0] x25 timer tx0 120 x25 timer tx1 Syntax x25 timer tx1 seconds...
  • Page 390 For the related commands, see x25 timer tx0, x25 timer tx1, and x25 timer tx3. Example Set the reset timer delay on the X.25 interface Serial0/0/0 to 120 seconds. [3Com-Serial0/0/0] x25 tx2 120 x25 timer tx3 Syntax x25 timer tx3 seconds...
  • Page 391 For the related commands, see x25 timer tx0, x25 timer tx1, and x25 timer tx2. Example Set the delay time of clearing timer on the X.25 interface Serial0/0/0 to 100 seconds. [3Com-Serial0/0/0] x25 timer tx3 100 x25 vc-per-map Syntax x25 vc-per-map count...
  • Page 392 –only channel section. After executing a series of commands, the three sections are [1, 7], [8, 1024] and [0, 0], respectively. [3Com] interface serial 0/0/0 [3Com-Serial0/0/0] link-protocol x25 [3Com-Serial0/0/0] x25 vc-range in-channel 1 7 bi-channel 8 1024 x25 window-size Syntax x25 window-size input-window-size output-window-size...
  • Page 393 For the related commands, see display interface, x25 map, x25 pvc, x25 switch pvc, x25 xot pvc, x25 fr pvc, and x25 receive-threshold. Example Set the receiving and sending window sizes on the X.25 interface Serial0/0/0 to 5. [3Com-Serial0/0/0] x25 window-size 5 5 x25 x121-address Syntax x25 x121-address x.121-address...
  • Page 394 For the related command, see display interface. Example Configure the link layer protocol on the interface Serial 0/0/0 as X.25, and X.121 address as 20112451. [3Com] interface serial 0/0/0 [3Com-Serial0/0/0] link-protocol x25 [3Com-Serial0/0/0] x25 x121-address 20112451 x25 xot pvc Syntax...
  • Page 395 Perform the configurations on the Router RTA. [3Com-Serial0/0/0] ip address 10.1.1.1 255.255.255.0 [3Com-Serial0/0/0] link-protocol x25 dce ietf [3Com-Serial0/0/0] x25 xot pvc 1 10.1.1.2 interface serial 1/0/0 pvc Perform the configurations on the Router RTB. [3Com-Serial1/0/0] ip address 10.1.1.2 255.255.255.0 [3Com-Serial0/0/0] link-protocol x25 dce ietf [3Com-Serial1/0/0] x25 xot pvc 2 10.1.1.1 interface serial 0/0/0 pvc...
  • Page 396 4: L HAPTER AYER ROTOCOL Example Set the parameter of X.29 to 10 seconds. [3Com] x29 timer inviteclear-time 10...
  • Page 397: Network Protocol

    Description Using the display ip interface command, you can display the running condition of all the interfaces. Example 3Com<3Com> display ip interface Ethernet6/0/0 Ethernet6/0/0 current state : UP Line protocol current state : UP Internet Address : 5.5.5.5/8 Broadcast address : 0.0.0.0...
  • Page 398 5: N HAPTER ETWORK ROTOCOL undo ip address [ ip-address net-mask [sub] ] View Interface view Parameter ip-address: Interface IP address, in dot delimitated decimal format. net-mask: The mask of the corresponding subnet, in dot delimitated decimal format. sub: To enable communications among different subnets, the configured slave IP address should be used.
  • Page 399 IP Address Configuration Commands [3Com-Serial1/0/0] ip address 129.102.0.1 255.255.255.0 [3Com-Serial1/0/0] ip address 202.38.160.1 255.255.255.0 sub ip address Syntax ppp-negotiate ip address ppp-negotiate undo ip address ppp-negotiate View Interface view Parameter None Description Using the ip address ppp-negotiate command, you can allow IP address be assigned through negotiation at the interface.
  • Page 400 Example Display how to make the serial interface 0/0/0 encapsulated with PPP borrow the unnumbered IP address from Ethernet interface 0/0/0. [3Com-Serial0/0/0] ip address unnumbered Ethernet 0/0/0 remote address Syntax remote address { ip-address | pool [ pool-number ] }...
  • Page 401: Arp Configuration Commands

    IP address assigned by ISP when accessing Internet via ISP. For the related command, see ip address ppp-negotiate. Example The serial interface encapsulated with PPP assigns an IP address 10.0.0.1 for the peer. [3Com-Serial0/0/0] remote address 10.0.0.1 ARP Configuration Commands arp static Syntax...
  • Page 402 ETWORK ROTOCOL 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-fc01-0 Configure the Ethernet MAC address aa-fcc-12 corresponding to the IP address 11.0.0.1. [3Com] arp static 11.0.0.1 aa-fcc-12 debugging arp packet...
  • Page 403 For the related commands, see arp static and display arp. Example The following example shows how to delete the dynamic entries in the ARP mapping table on Ethernet 0/0/0. <3Com> reset arp interface Ethernet 0/0/0 ARP Configuration Commands...
  • Page 404: Static Domain Name Resolution

    Using the display ip host command, you can display all the host names and their corresponding IP addresses. Example Display all the host names and their corresponding IP addresses. <3Com> display ip host ip host Syntax ip host hostname ip-address...
  • Page 405: Dhcp Public Configuration Commands

    [3Com] ip host router2 10.110.0.2 Configure to assign the IP address 10.110.0.3 to the host name router3. [3Com] ip host router3 10.110.0.3 Remove the IP address 10.110.0.2 corresponding to the host name router2. [3Com] undo ip host router2 10.110.0.2 DHCP Public Configuration Commands...
  • Page 406 For the related command, see dhcp select (in system view). Example Allocate addresses selected from an interface address pool on the internal DHCP server to the clients sending DHCP packets destined to the local device. [3Com-Ethernet1/0/0] dhcp select interface dhcp select (in System Syntax View)
  • Page 407 Configure the interfaces in the range of Ethernet2/0/0.1 to Ethernet2/0/0.5 to allocate addresses selected from an interface address pool maintained by the internal server to the clients sending DHCP packets destined to the local device. [3Com] dhcp select interface interface ethernet 2/0/0.1 to ethernet 2/0/0.5 dhcp server detect...
  • Page 408: Dhcp Server Configuration Commands

    DHCP server. Using the undo debugging dhcp server command, you can disable debugging. By default, debugging is disabled on the DHCP server. Example Enable event debugging on the DHCP server. <3Com> debugging dhcp server events *0.62496500-DHCP SER-8-DHCPS_DEBUG_COMMON: DhcpServer: ICMP Timeout *0.62496583-DHCP SER-8-DHCPS_DEBUG_COMMON: DhcpServer: Still Need to ICMP detect for 1 times *0.62497000-DHCP SER-8-DHCPS_DEBUG_COMMON:...
  • Page 409 Example Configure the DNS server address 1.1.1.254 for the DHCP address pool of the interface Ethernet1/0/0. [3Com] interface ethernet 1/0/0 [3Com-Ethernet 1/0/0] dhcp server dns-list 1.1.1.254 dhcp server dns-list (in Syntax System View) dhcp server dns-list ip-address [ ip-address ] { interface...
  • Page 410 Example Assign the DNS server address 1.1.1.254 to the DHCP address pool of the interfaces in the range of Ethernet1/0/0.0 to Ethernet2/0/0.5. [3Com] dhcp server dns-list 1.1.1.254 interface ethernet 2/0/0.0 to ethernet 2/0/0.5 dhcp server Syntax domain-name (in...
  • Page 411 Configure eth2_1_5.com.cn as the domain name in the interface DHCP address pool of the interfaces Ethernet2/0/0.1 through Ethernet2/0/0.5. [3Com] dhcp server domain-name eth1_0_0.com.cn interface ethernet 2/0/0.1 to ethernet 2/0/0.5 domain-name: Domain name that the DHCP server allocates to clients, which is a string comprising 3 to 50 characters.
  • Page 412 Example Set the valid period for leasing IP addresses in the interface address pool maintained by Ethernet1/0/0 to unlimited. [3Com] interface ethernet 1/0/0 [3Com-Ethernet 1/0/0] dhcp server expired unlimited dhcp server expired (in Syntax System View) dhcp server expired { day day [ hour hour [ minute minute ] ] | unlimited } {...
  • Page 413 Example Set the valid period for leasing IP addresses in the interface address pool of the interfaces in the range of Ethernet2/0/0.1 to Ethernet2/0/0.5 to unlimited. [3Com] dhcp server expired unlimited interface ethernet 2/0/0.1 to ethernet 2/0/0.5 dhcp server forbidden-ip...
  • Page 414 ROTOCOL Example Reserve the IP addresses in the range of 10.110.1.1 to 10.110.1.63 so that these addresses will not participate in the address auto-allocation. [3Com] dhcp server forbidden-ip 10.110.1.1 10.110.1.63 3.2.9 Syntax dhcp server ip-pool pool-name undo dhcp server ip-pool pool-name...
  • Page 415 Example In the DHCP address pool of Ethernet1/0/0, allocate the NetBIOS server at 10.12.1.99 to the clients. [3Com] interface ethernet 1/0/0 [3Com-Ethernet 1/0/0] dhcp server nbns-list 10.12.1.99 dhcp server nbns-list (in Syntax System View) dhcp server nbns-list ip-address [ ip-address ] { interface...
  • Page 416 Example In the DHCP address pool of interfaces in the range of Ethernet2/0/0.1 to Ethernet2/0/0.5, assign the NetBIOS server at 10.12.1.99 to the clients. [3Com] dhcp server nbns-list 10.12.1.99 interface ethernet 2/0/0.1 to ethernet 2/0/0.5 dhcp server netbios-type Syntax...
  • Page 417 Example In the DHCP address pool of interfaces in the range of Ethernet2/0/0.1 to Ethernet2/0/0.5, set the NetBIOS node type of clients to p-node. [3Com] dhcp server netbios-type p-node interface ethernet 2/0/0.1 to ethernet 2/0/0.5 dhcp server option (in Syntax...
  • Page 418 Define the hexadecimal strings of the option code 100 to 0x11 and 0x22 for the DHCP address pool of the interface Ethernet1/0/0. [3Com] interface ethernet 1/0/0 [3Com-Ethernet 1/0/0] dhcp server option 100 hex 11 22 dhcp server option (in Syntax...
  • Page 419 Define the hexadecimal strings of the option code 100 to 0x11 and 0x22 for the interface DHCP address pool of the interfaces in the range of Ethernet2/0/0.1 to Ethernet2/0/0.5. [3Com] dhcp server option 100 hex 11 22 interface ethernet 2/0/0.1 to ethernet 2/0/0.5 dhcp server ping...
  • Page 420 In all the static address binding operations performed on an interface, the IP addresses and the MAC addresses must be unique. Example Statically bind the MAC address 0000-e03f-0305 with the IP address 10.1.1.1. [3Com-Ethernet1/0/0] dhcp server static-bind 10.1.1.1 0000-e03f-0305 display dhcp server Syntax conflict...
  • Page 421 DHCP address pool. In certain conditions, the addresses of the expired leases will be allocated to other DHCP clients. Example View the expired leases in DHCP address pools. <3Com> display dhcp server expired all Global pool: IP address Interface pool:...
  • Page 422 In any other views, the information in all the address pools. For the related command, see reset dhcp server ip-in-use. Example View the DHCP address binding information. <3Com> display dhcp server ip-in-use all Global pool: IP address 2.2.2.2 Interface pool: IP address 5.5.5.1...
  • Page 423 DHCP request packets, and number of response packets. For the related command, see reset dhcp server statistics. Example View the statistic information on the DHCP server. <3Com> display dhcp server statistics Global Pool: Pool Number: Binding Auto:...
  • Page 424 If no optional parameter has been specified, the information output by executing the command will be: Example View the tree-structure information of DHCP address pools. <3Com> display dhcp server tree all Global pool: Pool name: 5 Child node:6 Sibling node:7 option 1 ip-address 255.0.0.0...
  • Page 425 Pool name: 6 host 10.10.1.2 hardware-address 1111.2222.3333 ethernet Parent node:5 option 1 ip-address 255.255.0.0 expired 1 0 0 option 58 hex 00 00 A8 C0 option 59 hex 00 00 00 3C Pool name: 7 network 10.10.1.64 PrevSibling node:5 Sibling node:8 option 1 ip-address 255.0.0.0 Pool name: 8 network 20.10.1.1...
  • Page 426 For the related commands, see dhcp server dns-list interface, dhcp server dns-list, and dhcp server ip-pool. Example Specify 1.1.1.254 as a DNS server address for DHCP address pool 0. [3Com] dhcp server ip-pool 0 [3Com-dhcp-0] dns-list 1.1.1.254 domain-name Syntax domain-name domain-name...
  • Page 427 For the related commands, see dhcp server ip-pool, dhcp server domain-name interface, and dhcp server domain-name. Example Set the domain name of DHCP address pool 0 to mydomain.com.cn. [3Com] dhcp server ip-pool 0 [3Com-dhcp-0] domain-name mydomain.com.cn expired Syntax expired { day day [ hour hour [ minute minute ] ] | unlimited }...
  • Page 428 By default, no egress GW router is configured. For the related commands, see dhcp server ip-pool and network. Example Associate the egress GW router at 10.110.1.99 with DHCP address pool 0. [3Com] dhcp server ip-pool 0 [3Com-dhcp-0] gateway-list 10.110.1.99 nbns-list Syntax...
  • Page 429 Example In the DHCP address pool 0, allocate the NetBIOS server at 10.12.1.99 to the clients. [3Com] dhcp server ip-pool 0 [3Com-dhcp-0] nbns-list 10.12.1.99 netbios-type Syntax netbios-type { b-node | h-node | m-node | p-node } undo netbios-type View DHCP address pool view Parameter b-node: Broadcast mode, i.e., hostname-IP maps are obtained by means of...
  • Page 430 For the related commands, see dhcp server option (in interface view) and dhcp server option interface (in system view). Example Define the hexadecimal strings of the option code 100 to 0x11 and 0x22. [3Com-dhcp-0] option 100 hex 11 22 reset dhcp server Syntax conflict...
  • Page 431 For the related command, see display dhcp server conflict. Example Clear all the address collision statistics. <3Com> reset dhcp server conflict reset dhcp server Syntax ip-in-use reset dhcp server ip-in-use [ ip ip-address | pool [ pool-name ] | interface [...
  • Page 432 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 address 10.110.1.1. <3Com> reset dhcp server ip-in-use ip 10.110.1.1 reset dhcp server Syntax statistics reset dhcp server statistics...
  • Page 433: Dhcp Client Configuration Commands

    For the related commands, see dhcp server ip-pool, network, and static-bind mac-address. Example Bind the PC at the MAC address 0000-e03f-0305 with the IP address 10.1.1.1 using the mask 255.255.255.0. [3Com-dhcp-0] static-bind ip-address 10.1.1.1 mask 255.255.255.0 [3Com-dhcp-0] static-bind mac-address 0000-e03f-0305 static-bind mac-address Syntax static-bind mac-address mac-address...
  • Page 434 DHCP client. Example Display the statistic details of the DHCP client. [3Com] display dhcp client verbose DHCP client statistic infomation: Ethernet0/0: Current machine state: BOUND Alloced IP: 169.254.0.2 255.255.0.0 Alloced lease: 86400 seconds, T1: 43200 seconds, T2: 75600 seconds Lease from 2002.09.20 01:05:03...
  • Page 435 2002.09.20 01:05:03 to 2002.09.21 01:05:03. The selected DHCP server is at 169.254.0.1, the GW at 2.2.2.2, and the DNS server at 1.1.1.1, given the domain name is 3Com.com. In addition, the next timeout will happen 1 second, 56 minutes, and 11 hours later.
  • Page 436: Dhcp Relay Configuration Commands

    Ethernet interface (including subinterface) view. By default, DHCP negotiation is not used for the allocation of local IP addresses. Example Adopt DHCP negotiation for the allocation of local IP addresses on Ethernet0/0/0. [3Com-Ethernet0/0/0] ip address dhcp-alloc DHCP Relay Configuration Commands debugging dhcp relay...
  • Page 437 Send a release packet to the DHCP server at 10.110.91.174, requesting to release the IP address 192.2.2.25, which was offered to the client whose MAC address is 0050-ba34-2000. [3Com] dhcp relay release 192.2.2.25 0050-ba34-2000 10.110.91.174 display dhcp relay Syntax address...
  • Page 438 DHCP packets sent to clients (including unicast and broadcast packets). Example View DHCP relay statistics. <3Com> display dhcp relay statistics ip relay address Syntax ip relay address ip-address undo ip relay address [ ip-address ]...
  • Page 439 [3Com-Ethernet0/0/0] ip relay address 202.38.1.2 [3Com-Ethernet0/0/0] ip relay address 202.38.1.3 ip relay address cycle Syntax ip relay address cycle undo ip relay address cycle View System view Parameter None Description Using the ip relay address cycle command, you can adopt the polling approach to relay packets, ensuring that different clients use different DHCP servers and the same clients use the same DHCP server so long as it is possible.
  • Page 440: Ip Performance Configuration Commands

    For the related command, see ip relay address. Example Add a relay IP address for the interfaces in the range of Ethernet2/0/0.1 to Ethernet2/0/0.5. [3Com] ip relay address 202.38.1.2 interface ethernet 2/0/0.1 to ethernet 2/0/0.5 reset dhcp relay Syntax statistics...
  • Page 441 Using the undo debugging ip packet command, you can disable the IP packet debugging. Example <3Com> debugging ip packet *0.129680-IP-8-debug_case: Delivering, interface = Serial0/0/0, version = 4, headlen = 20, tos = 6,pktlen = 70, pktid = 49, offset = 0, ttl = 1, protocol = 17,checksum = 50, s = 1.1.1.2, d = 224.0.0.2...
  • Page 442 So to view information about connection, such parameters as task_id and socket_id cannot be used for filtering. Example Enable debugging of TCP events. <3Com> debugging tcp event *0.630270-SOCKET-8-TCP EVENT: 1043494683: task = Co0(2), socketid = 0, TCPCB 0x02c6fd74 created *0.630270-SOCKET-8-TCP EVENT:...
  • Page 443 TCP connection. Using the undo debugging tcp md5 command, you can disable the MD5 authentication debugging of the TCP connection. Example Enable the MD5 authentication debugging of the TCP connection. <3Com> debugging tcp md5 debugging tcp packet Syntax debugging tcp packet [ task_id socket_id ]...
  • Page 444 (combination of task ID and socket ID). Using the undo debugging udp packet command, you can disable the debugging of UDP connection. Example Enable the debugging of UDP connection. <3Com> debugging udp packet <3Com> display debugging *0.377770-SOCKET-8-UDP: 1043494431: Output: task = ROUT(6), socketid = 3, src = 1.1.1.1:520, dst = 255.255.255.255:520, datalen = 24,...
  • Page 445 Route entry matched by access-list 1: Summary count: 1 Destination/MaskNexthopFlagTimeStampInterface 127.0.0.0/8127.0.0.1Ut[0]InLoopBack0 Example Display the FIB table entries matched by the ACL. <3Com> display fib acl 10 Route entry matched by access-list 10: IP Performance Configuration Commands...
  • Page 446 Using the display fib | exclude text command, you can view the lines not containing the character string text. Example Display the lines beginning from the line containing the character string “169.254.0.0” to the end line of the buffer: <3Com> display fib | begin 169.254.0.0 Destination/MaskNexthopFlagTimeStampInterface 169.254.0.0/162.1.1.1Ut[0]Ethernet0/0/0 2.0.0.0/162.1.1.1Ut[0]Ethernet0/0/0 127.0.0.0/8127.0.0.1Ut[0]InLoopBack0 Display all the lines containing the character string “Ethernet0”:...
  • Page 447 Route entry matched by prefix-list abc2: Summary count: 1 Destination/Mask 127.0.0.0/8 Example Display the FIB table entries matched by the prefix list abc0. <3Com> display fib ip-prefix abc0 Route Entry matched by prefix-list abc0: Summary count: 4 Destination/MaskNexthopFlagTimeStampInterface 127.0.0.0/8127.0.0.1Ut[0]InLoopBack0 127.0.0.1/32127.0.0.1Ut[0]InLoopBack0 169.0.0.0/82.1.1.1SUt[0]Ethernet 0/0/0...
  • Page 448 <3Com> display fib 169.253.0.0 Destination/MaskNexthopFlagTimeStampInterface 169.0.0.0/162.1.1.1 Ut[0]Ethernet0/0/0 Display the FIB entries whose destination address is within the range from 69.254.0.0/16 to 169.254.0.6/16. <3Com> display fib 169.254.0.0 255.255.0.0 169.254.0.6 255.255.0.0 Destination/MaskNexthopFlagTimeStampInterface 169.254.0.1/162.1.1.1Ut[0]Ethernet0/0/0 display fib statistics Syntax display fib statistics...
  • Page 449 Description Using the display fib statistics command, you can display the total numbers of FIB table entries. Example Display the total numbers of FIB table entries. <3Com> display fib statistics Route Entry Count : 30 display ip Syntax fast-forwarding cache...
  • Page 450 The information is helpful for fault diagnosis. For the related command, see display interface. Example Display IP-related information at the interface Serial 0/0/0. <3Com> display ip interface Serial 0/0/0 Serial 0/0/0 current state : UP Line protocol current state : UP Internet Address : 10.10.10.10/16 Broadcast address : 10.10.255.255...
  • Page 451 Display the information about the socket with socket ID as 4 and task ID as 8. <3Com> display ip socket 8 4 Task = VTYD(8), socketid = 4, Proto = 6, LA = 0.0.0.0:23, FA = 0.0.0.0:0,...
  • Page 452 ROTOCOL For the related commands, see display interface, display ip interface, and reset ip statistics. Example Display the IP traffic statistic information. <3Com> display ip statistics IP Protocol: Sent packets: sent out: 67, forwarded: 0, raw packets: 0 discarded: 0,...
  • Page 453 Total: 0 packets in sequence: 0 (0 bytes) window probe packets: 0, window update packets: 0 checksum error: 0, bad offset : 0, too short : 0 duplicate packets : 0 (0 bytes), bytes) out-of-order packets : 0 (0 bytes) packets with data after window : 0 (0 bytes) packets after close : 0 ack packets:0 (0 bytes), duplicate ack packets:0, ack packets with...
  • Page 454 None Description Using the display tcp status command, you can monitor TCP connection any time. For the related command, see display local-user. Example Display the TCP connection status. <3Com> display tcp status TCPCB 0442c394 045d8074 display udp statistics Syntax display udp statistics...
  • Page 455 The statistics information is organized in terms of packet. For relate configuration, please refer to the reset udp statistics command. Example Display the UDP traffic statistic information. <3Com> display udp statistics Received packet: Total:0 checksum error:0 shorter than header:0, data length larger than packet:0...
  • Page 456 3Com Series Routers support fast-forwarding on the links of various high-speed interfaces such as Ethernet, synchronous PPP, FR, and HDLC, on the interfaces configured with firewall and NAT features, and on the virtual tunnel interface of GRE as well.
  • Page 457 IP Performance Configuration Commands For the related commands, see display ip interface and display ip statistics. Example Clear IP statistics information. <3Com> reset ip statistics reset tcp statistics Syntax reset tcp statistics View User view Parameter None Description Using the reset tcp statistics command, you can clear TCP traffic statistic information.
  • Page 458 The configuration of this parameter needs to be implemented under the guidance of the technical support engineers. For the related commands, see tcp timer syn-timeout and tcp window. Example Configure the TCP finwait timer value as 675 seconds. [3Com] tcp timer fin-timeout 675...
  • Page 459 For the related commands, see tcp timer fin-timeout and tcp window. Example Configure the TCP synwait timer value as 75 seconds. [3Com] tcp timer syn-timeout 75 tcp window Syntax tcp window-size window undo tcp window...
  • Page 460: Nat Configuration Commands

    ETWORK ROTOCOL Example Configure the size of the transceiving buffer of the connection-oriented Socket as 4 KB. [3Com] tcp window 4 NAT Configuration Commands debugging nat Syntax debugging nat { alg | event | packet [ interface { interface-type interface-number |...
  • Page 461 Example Display all the information about address translation. <3Com> display nat all NAT address-group Information: 1: from 11.1.1.1to11.1.1.20 2: from 22.1.1.1to22.1.1.20 NAT outbound information:...
  • Page 462 Example Configure an address pool from 202.110.10.10 to 202.110.10.15, with its NAT pool ID being 1. [3Com] nat address-group 1 202.110.10.10 202.110.10.15 nat aging-time Syntax nat aging-time { | default | { tcp | udp | icmp } time-value} }...
  • Page 463 The time value is in second. Example Set the valid connection time of TCP to 240 seconds. [3Com] nat aging-time tcp 240 nat outbound Syntax nat outbound acl-number [ address-group group-number [ no-pat ] ]...
  • Page 464 [3Com-Serial1/0/0] nat outbound 1 address-group 1 no-pat [3Com-Serial0/0/0] undo nat outbound 1 address-group 1 no-pat The configuration that can be used when performing address translation by using the IP address of interface Serial0/0/0 directly.
  • Page 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 host-port’s value. host-addr: IP address of the server in internal LAN. host-port: Service port number provided for a server in the range of 0 to 65535, and the common used port numbers are replaced by key words.
  • Page 466 ETWORK ROTOCOL can access WEB through http:// 202.110.10.10:8080 and connect FTP 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 global 202.110.10.10 8080 inside 10.110.10.10 www [3Com] ip vpn-instance vrf10 [3Com-vpn-instance] route-distinguisher 100:001 [3Com-Serial0/0/0] nat server protocol tcp global 202.110.10.10...
  • Page 467: Ip Unicast Policy Routing Configuration Commands

    <3Com> reset nat log-entry In the distributed environment, clear NAT log buffer. <3Com> reset nat log-entry slot 10 In the central environment, clear information of the address translation table. <3Com> reset nat session In the distributed environment, clear information of the address translation table.
  • Page 468 For the related commands, see apply ip-precedence, apply output-interface, apply default output-interface, and apply ip-address next-hop. Example Set the default next hop of a packet to 1.1.1.1. [3Com-route-policy] apply ip-address default next-hop 1.1.1.1 apply ip-address Syntax next-hop apply ip-address next-hop ip-address [ ip-address ]...
  • Page 469 For the related commands, see apply output-interface, apply ip-address next-hop, apply default output-interface, and apply ip-address default next-hop. Example Set the preference of IP packet to 5 (critical). [3Com-route-policy] apply ip-precedence critical apply output-interface Syntax apply output-interface interface-type interface-number [ interface-type...
  • Page 470 5: N HAPTER ETWORK ROTOCOL Example Specify forwarding interface as serial0/0/0 for the matched IP packet. [3Com-route-policy] apply output-interface Serial 0/0/0 display ip policy Syntax display ip policy View Any view Parameter None Description Using the display ip policy command, you can view the routing policies of local and configured interface policy routings.
  • Page 471 Example Display the specific configurations of the specified policy routing, enabled or disabled. <3Com> display ip policy setup pr01 route-policy pr01 permit node 0 if-match acl 11 apply ip-address next-hop 3.3.3.3 This command displays the specific configuration of the policy routing named pr01.
  • Page 472 (i.e., the apply clause) of the local router policy routing. To display the more detail statistics classified according to each apply clause, the option verbose should be added. <3Com> display ip policy statistic local verbose local policy pr02 detail information: Main board...
  • Page 473 IP packet length match conditions. For the related command, see if-match acl. Example Set the packet in the range 100 to 200 to be matched. [3Com] route-policy map1 permit node 10 [3Com-route-policy] if-match packet-length 100 200 ip local policy Syntax...
  • Page 474: Ip Multicast Policy Routing Configuration Commands

    By default, interface policy routing is disabled. For the related command, see ip local policy route-policy. Example Enable the policy routing specified by route-policy AAA at the interface Ethernet 0/0/0. [3Com-ethernet0/0/0] ip policy route-policy AAA IP Multicast Policy Routing Configuration Commands apply ip-address...
  • Page 475 IP Multicast Policy Routing Configuration Commands interfaces and next hops specified by the ACLs respectively. This is different from that only one apply clause works in unicast policy routing. For the next hop IP address, the specified ACL is the standard ACL. For the related commands, see if-match acl, apply output-interface, and display ip multicast-policy.
  • Page 476 Example Display the information about the multicast policy routing configured on interface Ethernet2/0/0. [3Com] display ip multicast-policy setup interface ethernet2/0/0 route-policy cc permit node 10 if-match acl 110 apply ip-address next-hop acl 50 route-policy cc permit node 20...
  • Page 477 View Route-policy view Parameter acl-number: Standard or extended ACL number ranging from 1 to 199. ip-prefix-name: Specifies the name of an address prefix list used for filtering. Description Using the if-match acl command, you can set conditions that multicast packets should meet in each policy node.
  • Page 478 ETWORK ROTOCOL 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 Syntax route-policy policy-name { permit | deny } node sequence-number undo route-policy policy-name [ permit | deny ] [ node sequence-number ]...
  • Page 479: Ipx Configuration Commands

    Example Configure a route-policy named map1 with the node ID of 10 and with the match mode of permit and enter the route-policy view. [3Com] route-policy map1 permit node 10 [3Com-route-policy] IPX Configuration Commands debugging ipx packet...
  • Page 480 Using the undo debugging ipx ping command, you can disable the debugging switch. By default, IPX Ping packet debugging switch is disabled. Example Enable IPX Ping packet debugging switch. <3Com> debugging ipx ping *0.15396012-IPX-8-IPXPING: Ping receiving: Request, Src = a.00e0-fc04-8859, Dst = a.00e0-fc01-54f6 *0.15396130-IPX-8-IPXPING: Ping sending: Response, Src = a.00e0-fc01-54f6, Dst =...
  • Page 481 Send RIP Response to Ethernet0/0, length 96 src:a.00e0-fc01-5517(453), dst:a.ffff-ffff-ffff(453) Number of Entries in Pkt: 8 Enable IPX RIP packet verbose debugging switch. <3Com> debugging ipx rip packet verbose Send RIP Response to Ethernet0/0, length 96 src:a.00e0-fc01-5517(453), dst:a.ffff-ffff-ffff(453) Number of Entries in Pkt: 8...
  • Page 482 Switch on route refreshing debugging for IPXRM module. <3Com>debugging ipx rtpro-flash <3Com> Remove an IPX static route. [3Com]undo ipx route-static b2 Serial 1 *0.18537610 3Com RMX/8/DBG: IPXRM set a Rth on the flash list, ulRthDest = 0xb2 . [3Com] *0.18537820 3Com RMX/8/DBG: IPXRM finish a flash, reset a Rth on the flash list, ulRthDest = 0xb2 .
  • Page 483 Trigger interface change by using shut/undo shut command. [3Com-Serial1] shut [3Com-Serial1] %Oct 24 14:11:27 2003 3Com PHY/2/PHY: %Oct 24 14:11:27 2003 3Com IFNET/5/UPDOWN:Line protocol on the interface Serial1 turns into DOWN state %Oct 24 14:11:27 2003 3Com IFNET/5/UPDOWN:Protocol IPX on the interface Serial1 turns into DOWN state *0.19023320 3Com RMX/8/DBG:IPXRM recieve interface change msg, msg type...
  • Page 484 <3Com> Add a static route 3Com]ipx route-static d10 Serial 1 *0.19579120 3Com RMX/8/DBG:IPXRM ADD route ! *0.19579230 3Com RMX/8/DBG:IPXRM route change to ACTIVE ! debugging ipx sap Syntax packet debugging ipx sap [ packet [ verbose ] | event ]...
  • Page 485 Disable debugging switch immediately after debugging to reduce effect to normal services as possible. Example Enable SAP packet verbose debugging switch. <3Com> debugging ipx sap packet verbose *0.20909856-IPXSAP-8-IPX SAP: MSG: Receive Response Packet From Eth0,Length 480 Src: 000a.0000-0104-8f02 (0452) Dest: 000a.ffff-ffff-ffff (0452) Number of entries in pkt: 7 Server type 2000 "PS1"...
  • Page 486 Using the display ipx interface command, you can view IPX interface configuration information and interface parameters in communication devices. Example Display IPX configuration and statistics of the interface Ethernet1/0/0. <3Com> display ipx interface ethernet 1/0/0 Ethernet1/0/0 is up IPX address is 2.00E0-FC01-0000 [up] SAP is enabled...
  • Page 487 IPX routing information for specified destination type, including active and inactive routes. Example Display active IPX routing information. [3Com] display ipx routing-table Routing tables: Summary count: 4 IPX Configuration Commands Total number of IPX RIP general responses sent on the current interfa Total number of SAP packets received on the current interface.
  • Page 488 Proto Ticks Hops Nexthop Interface Display detailed IPX routing information, including active and inactive routes. <3Com> display ipx routing-table verbose Routing tables: Destinations: 103 Destination Network ID: 0x11 Destination Network ID: 0x22 Destination Network ID: 0x33 Destination Network ID: 0x100...
  • Page 489 Any view Parameter None Description Using the display ipx routing-table statistics command, you can view IPX routing statistics. Example Display IPX routing statistics. <3Com> display ipx routing-table statistics Routing tables: Proto/State Direct Static Default Total display ipx service table Syntax...
  • Page 490 Name kkkkk Hello3 Display contents of service information table of type 5. [3Com] display ipx service-table type 5 Abbreviation: S - Static, Pref - Preference(Decimal), NetId - Network number, NodeId - Node address, hop - Hops(Decimal), Recv-If - Interface from...
  • Page 491 0 bad hops(>16), 0 discarded(hops=16) 0 other errors, 0 local destination 0 can not be dealed Sent: 0 forwarded, 0 generated 0 no route, 0 discarded RIP: 0 sent, 0 received 0 responses sent, 0 responses received 0 requests received, 0 requests dealed 0 requests sent, 0 periodic updates SAP: 0 general requests received...
  • Page 492 IPX frame encapsulation format. By default, IPX frame encapsulation format on Ethernet interface is dot3 (Ethernet_802.3). In WAN interfaces, IPX frame only supports PPP encapsulation. Example Configure IPX frame encapsulation format on the interface Ethernet0/1/0 as Ethernet_II. [3Com-Ethernet 0/1/0] ipx encapsulation ethernet-2...
  • Page 493 IPX Configuration Commands Restore the default IPX frame encapsulation format on the interface Ethernet0/1/0. [3Com-Ethernet 0/1/0] undo ipx encapsulation ipx netbios-propagation Syntax ipx netbios-propagation undo ipx netbios-propagation View Interface view Parameter None Description Using the ipx netbios-propagation command, you can configure the router to forward type 20 broadcast packets on the current interface.
  • Page 494 ETWORK ROTOCOL Example Configure the interface Ethernet0/1/0 as IPX interface and assign it with a network [3Com-Ethernet 0/1/0] ipx network 675 Cancel the configuration of the interface Ethernet0/1/0 as IPX interface. [3Com-Ethernet 0/1/0] undo ipx network ipx rip import-route Syntax...
  • Page 495 Example Configure the maximum size of RIP updating packets on the interface Ethernet1/0/0 to 500 bytes. [3Com-Ethernet1/0/0] ipx rip mtu 500 ipx rip multiplier Syntax ipx rip multiplier multiplier undo ipx rip multiplier View System view Parameter multiplier: It is used to calculate the aging period of RIP routing information table items, ranging from 1 to 1000.
  • Page 496 The changes of RIP updating interval will affect aging period. For the related command, see ipx rip multiplier. Example Configure RIP updating interval to 30 seconds. [3Com] ipx rip timer update 30 ipx route Syntax ipx route-static network [ network.node | interface-type interface-num | interface-name ] [ preference value ] [ tick ticks hop hops ] undo ipx route-static { network [ network.node | interface-type interface-num |...
  • Page 497 Configure an IPX static route with destination network ID being 3a, outgoing interface being Serial1/0/0, ticks 10, hops 2 and preference 30. [3Com] ipx enable [3Com] ipx route-static 3a serial 0/0/0 tick 10 hop 2 preference 30 ipx route Syntax...
  • Page 498 5: N HAPTER ETWORK ROTOCOL [3Com] ipx route load-balance-path 30 ipx route Syntax max-reserve-path ipx route max-reserve-path paths undo ipx route max-reserve-path View System view Parameter paths: The maximum dynamic route number to the same destination address, ranging from 1 to 255. By default, the value is 4.
  • Page 499 Re-enable SAP on the interface Ethernet0/0/0. [3Com-Ethernet0/0] undo ipx sap disable ipx sap gns-disable-reply Syntax ipx sap gns-disable-reply undo ipx sap gns-disable-reply View Interface view Parameter None Description Using the ipx sap gns-disable-reply command, you can disable IPX GNS reply on the current interface.
  • Page 500 5: N HAPTER ETWORK ROTOCOL [3Com] undo ipx sap gns-load-balance Configure all servers to respond GNS request in Round-robin method. [3Com] ipx sap gns-load-balance ipx sap Syntax max-reserve-servers ipx sap max-reserve-servers length undo ipx sap max-reserve-servers View System view Parameter length: The length of the dynamic service information reserve queue, ranges from1 to 2048.
  • Page 501 Example Set the maximum size of SAP updating packet on the interface Ethernet1/0/0 to 674 bytes (carrying 10 service information items at most). [3Com-Ethernet0/0/0] ipx sap mtu 674 ipx sap multiplier Syntax ipx sap multiplier multiplier undo ipx sap multiplier...
  • Page 502 ETWORK ROTOCOL 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 service-type name network.node socket hop hopcount preference preference undo ipx service { { service-type [ name [ network.node ] ] [ preference preference ]...
  • Page 503 [3Com] ipx service 4 FileServer 130.0000-0a0b-abcd 451 hop 1 preference 60 [3Com] ipx service 4 FileServer 130.0000-0a0b-abcd 451 hop 1 [3Com] ipx service 114 MyServer 199.0000-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.
  • Page 504 Enable trigger update on the interface Ethernet1/1/0. [3Com-Ethernet 1/1/0] ipx update-change-only Disable trigger update on the interface Ethernet1/1/0. [3Com-Ethernet 1/1/0] undo ipx update-change-only ping ipx Syntax ping ipx network.node [ -c count ] [ -t timeout ] [ -s size ]...
  • Page 505 Using the ping ipx command, you can check host reachability and network connectivity in IPX network. Example Ping system whose destination address is 675.0000-a0b0-fefe with default parameters. <3Com> ping ipx 675.0000-a0b0-fefe reset ipx statistics Syntax reset ipx statistics View User view...
  • Page 506: Dlsw Configuration Commands

    Static Default Total [3Com] Clear the IPX static route. <3Com>reset ipx routing-table statistics protocol static This will erase the specific routing counters information. Are you sure?[Y/N]y <3Com> The displayed statistical information shows that all three items (add, delete, freed) of static route have changed to 0, and the below Total item has also changed accordingly.
  • Page 507 Each serial port only exchanges packet with the remote end. Example Add the Serial1/0/0 into the DLSw bridge group numbered 20. [3Com] dlsw bridge-group 20 [3Com] interface Serial1/0/0 [3Com-Serial1/0/0] bridge-set 20 bridge-set (in the...
  • Page 508 5: N HAPTER ETWORK ROTOCOL [3Com] dlsw bridge-group 20 [3Com] interface Ethernet1/0/0 [3Com-Ethernet1/0/0] bridge-set 20 code nrzi Syntax code nrzi undo code View Synchronous serial interface system view Parameter None Description Using the code nrzi command, you can configure the NRZI encoding of the synchronous serial port.
  • Page 509 [ interface-name | interface-type interface-number ] View Any view Parameter None Description Using the display dlsw bridge-entry command, you can view the bridge group information. Example Display the bridge group information. <3Com> display dlsw bridge-entry Mac_entry 0000.e81c.b6bf DLSw Configuration Commands Port group Ethernet0/0/0 hashIndex...
  • Page 510 Remote addr(RSAP) Remote MAC address, with the “rsap” being the last SAP used by the remote device. State: State of the links. Display the detail information of the virtual circuits. <3Com> display dlsw circuits verbose Correlator 2ce0005 Port Ethernet 0/0/0...
  • Page 511 Mac address List: Reachable MAC address list NetBIOS Name List: Reachable NetBIOS address Configured IP address: Local IP address Version string: Version number of 3Com’s router operation system Display the local exchange capability information. <3Com> display dlsw information local DLSw: Capabilities for local:...
  • Page 512 Using the display dlsw remote command, you can view the information of the remote peers. The output information helps the user to understand the connection state between the DLSw and the remote peers. Example Display the information of the remote peers. <3Com> display dlsw remote *TCP *TCP *TCP Syntax description: *TCP: The * mark indicates the connection can be created on the peer.
  • Page 513 <3Com> display llc2 circuit 46465025 llc2 circuit index 46465025 Local Remote Local Remote Role State : NORMAL dlsw bridge-set Syntax dlsw bridge-set bridge-set-number undo dlsw bridge-set bridge-set-number View System view Parameter bridge-set-number: ID of bridge group, ranging from 1 to 63, local valid.
  • Page 514 ROTOCOL After this command is performed, the system will release all dynamic resources, but retain the original configuration. Example Suspend the DLSw performance. [3Com] undo dlsw enable Enable the DLSw performance. [3Com] dlsw enable dlsw local Syntax dlsw local ip-address [ init-window init-window-size ] [ keepalive keepalive-interval...
  • Page 515 50, time interval for sending the “keepalive” being 40 seconds, both the maximum length of the packet max-frame-size and the size of the maximum local response window being the default value. [3Com] dlsw local 1.1.1.1 init-window 50 keepalive 40 dlsw remote Syntax...
  • Page 516 2, the time interval for sending the “keepalive” being 40 seconds, the maximum length lf-size of the packet being the default value, and the size of the TCP sending/receiving queue being 300. [3Com] dlsw remote 2.2.2.2 priority 2 keepalive 40 max-queue 300 dlsw timer Syntax...
  • Page 517 By default, the synchronous serial port adopts the “7E” coding scheme. 3Com series routers encapsulate “7E” in the packets to identify the free time of the SDLC serial interface, but some SDLC devices adopt full “1” high level instead.
  • Page 518 Example Configure the length of the advanced response window before the LLC2 sends the acknowledgement frame as 5. [3Com-Ethernet1/0/0] llc2 max-ack 5 llc2 max-send-queue Syntax llc2 max-send-queue length undo llc2 max-send-queue...
  • Page 519 LLC2 packet. By default, the queue length sending the LLC2 packet is 100. Example Example Configure the queue length sending the LLC2 packet as 30. [3Com-Ethernet1/0/0] llc2 max-send-queue 30 llc2 max-transmission Syntax llc2 max-transmission retries...
  • Page 520 LLC2, like X25, adopts modulus mode to number information packets, and the modulus of LLC2 is 8 or 128. Ethernet generally uses modulus 128. Example Restore the default modulus of the LLC2. [3Com-Ethernet1/0/0] undo llc2 modulo llc2 receive-window Syntax llc2 receive-window length...
  • Page 521 The LLC2 local response time refers to the maximum waiting time for the response from the peer end after an LLC2 data packet is sent. Example Configure the LLC2 local response time as 10ms. [3Com-Ethernet1/0/0] llc2 timer ack 10 llc2 timer ack-delay Syntax llc2 timer ack-delay mseconds...
  • Page 522 By default, the LLC2 BUSY time is 300ms. The LLC2 BUSY time refers to the waiting time before repolling a busy station. Example Configure the LLC2 BUSY time as 200ms. [3Com-Ethernet1/0/0] llc2 timer busy 200 llc2 timer poll Syntax llc2 timer poll mseconds...
  • Page 523 The LLC2 REJ time refers to the waiting time for the acknowledgement frame to come after a deny frame is sent. Example Configure the LLC2 REJ time as 2000ms. [3Com-Ethernet1/0/0] llc2 timer reject 2000 reset dlsw bridge-entry Syntax reset dlsw bridge-entry...
  • Page 524 SDLC addresses configured on different interfaces can be same. Example Configure the secondary station address of the SDLC on the Serial1/0/0 as 0x05. [3Com-Serial1/0/0] sdlc controller 05 sdlc mac-map local Syntax sdlc mac-map local mac-address...
  • Page 525 MAC address of the remote SNA device (physical addresses of such devices as the Ethernet and the Token-Ring), or the MAC address of the peer end compounded by the SDLC. Example Configure the SDLC peer. [3Com-Serial1/0/0] sdlc mac-map remote 00E0-FC00-0010 0x05 sdlc max-pdu Syntax sdlc max-pdu n undo sdlc max-pdu...
  • Page 526 IBM AS/400 is generally of 521 bytes. Usually we need to configure it the same value as the connected SDLC device. Example Configure the maximum receivable frame length of the SDLC as 512. [3Com-Serial1/0/0] sdlc max-pdu 521 sdlc max-send-queue Syntax sdlc max-send-queue length...
  • Page 527 Example Configure the SDLC timeout retransmission times as 30. [3Com-Serial1/0/0] sdlc max-transmission 30 sdlc modulo Syntax sdlc modulo n undo sdlc modulo View Synchronous serial interface view Parameter n: SDLC modulus, with available value of 8 or 128. Description Using the sdlc modulo command, you can configure the modulus of the SDLC.
  • Page 528 ROTOCOL For related configuration, please see the sdlc sap-map remote command. Example Configure the SAP address on translating the SDLC into the LLC2. [3Com-Serial1/0/0] sdlc sap-map local 08 05 sdlc sap-map remote Syntax sdlc sap-map remote dsap sdlc-addr undo sdlc sap-map remote dsap sdlc-addr...
  • Page 529 UNIX hosts and ATM, are secondary. Example Configure the SDLC device connected with the Serial1/0/0 as primary, and the local interface as secondary. [3Com-Serial1/0/0] sdlc role secondary sdlc timer ack Syntax sdlc timer ack mseconds undo sdlc timer ack...
  • Page 530 Example Configure the SDLC primary station response waiting time (mseconds) as 2000ms. [3Com-Serial1/0/0] sdlc timer ack 2000 sdlc timer lifetime Syntax sdlc timer lifetime mseconds undo sdlc timer lifetime...
  • Page 531 The SDLC poll pause timer refers to the waiting interval between the two SDLC nodes polled by the SDLC primary station. Example Configure the SDLC poll pause timer as 200ms. [3Com-Serial1/0/0] sdlc timer poll 200 sdlc window Syntax sdlc window length...
  • Page 532 5: N HAPTER ETWORK ROTOCOL undo sdlc xid sdlc-address View Synchronous serial interface view Parameter sdlc-address: The SDLC address of the XID, which should be configured beforehand. xid-number: An integer with a length of 4 bytes, ranging from 1 to 0xFFFFFFFF. The first 12 bits are network numbers, and the last 20 bytes are node numbers.
  • Page 533: Routing Protocol

    Only current used route, i.e., best route, is displayed via the display ip routing-table command. Example View the summary of current routing table. <3Com>3Com display ip routing-table Routing Table: public net Destination/Mask 1.1.1.0/24 serial1/0/0 1.1.1.1/32...
  • Page 534 169.0.0.0/15Static6002.1.1.1LoopBack1 Display the verbose information of the active and inactive routes that are filtered through basic ACL1. <3Com> display ip routing-table acl 1 verbose Routes matched by access-list 1: Generate Default: no + = Active Route, - = Last Active, Summary count:5 **Destination: 127.0.0.0Mask: 255.0.0.0...
  • Page 535 Vlinkindex: 0 State: <NotInstall NoAdvise Int ActiveU Retain Gateway Multicast Unicast> Age: 3:47Metric: 0/0 **Destination: 179.0.0.0Mask: 255.0.0.0 Protocol: StaticPreference: 60 *NextHop: 4.1.1.1 Vlinkindex: 0 State: <Int Hidden Static Unicast> Age: 3:47Metric: 0/0 **Destination: 169.0.0.0Mask: 255.0.0.0 Protocol: StaticPreference: 60 *NextHop: 2.1.1.1Interface: 2.1.1.1(LoopBack1) Vlinkindex: 0 State: <Int ActiveU Static Unicast>...
  • Page 536 Routing Tables: Destination/MaskProtoPreCost NexthopInterface 169.0.0.0/8Static6002.1.1.1LoopBack1 There are corresponding routes in the natural mask range. View the detailed information. <3Com> display ip routing-table 169.0.0.0 verbose Routing Tables: Generate Default: no + = Active Route, - = Last Active, Summary count:2 **Destination: 169.0.0.0Mask: 255.0.0.0 **Destination: 169.0.0.0Mask: 255.254.0.0...
  • Page 537 Using the display ip routing-table ip_address1 ip_address2 command, you can view the routing information in the specified destination address range. Example View the routing information of destination addresses ranging from 1.1.1.0 to 2.2.2.0. <3Com> display ip routing-table 1.1.1.0 24 2.2.2.0 24 Routing tables: Summary count: 3 Destination/Mask 1.1.1.0/24 serial1/0/0 1.1.1.1/32...
  • Page 538 169.0.0.0/15Static6002.1.1.1LoopBack1 Display the verbose information of the active and inactive routes that are filtered through ip prefix list abc2. <3Com> display ip routing-table ip-prefix abc2 verbose Routes matched by ip-prefix abc2: Generate Default: no + = Active Route, - = Last Active, Summary count:4 **Destination: 127.0.0.0Mask: 255.0.0.0...
  • Page 539 Using the display ip routing-table protocol command, you can view the routing information of specified protocol. Example Display all direct connection routes summary. <3Com> display ip routing-table protocol direct DIRECT Routing tables: Summary count: 4 DIRECT Routing tables status:<active>: Summary count: 3...
  • Page 540 Using the display ip routing-table radix command, you can view the routing table information in a tree structure. Example View the routing table information in a tree structure. <3Com> display ip routing-table radix Radix tree for INET (2) inodes 7 routes 5: display ip routing-table Syntax...
  • Page 541 All current routes, including inactive routes and invalid routes, can be displayed using the display ip routing-table verbose command. Example Display the verbose routing table information. <3Com> display ip routing-table verbose Routing Tables: Generate Default: no + = Active Route, - = Last Active,...
  • Page 542 Example Display details of the routes to 10.1.1.1 in the VPN-instance vpn1. <3Com> display ip routing-table vpn-instance vpn1 10.1.1.1 verbose Routing tables: Generate Default: no + = Active Route, - = Last Active, Summary count: 2 **Destination: 10.1.1.1...
  • Page 543: Static Route Configuration Commands

    Display the summary of the routes to 10.1.1.1 in the VPN-instance vpn1. <3Com> display ip routing-table vpn-instance vpn1 10.1.1.1 Routing tables: vpn1 Destination/Mask 10.1.1.1/32 10.1.1.0/24 Static Route Configuration Commands delete static-routes all Syntax delete static-routes all View System view Parameter...
  • Page 544 6: R HAPTER OUTING ROTOCOL View System view Parameter ip-address: Destination IP address, in dotted decimal notation. mask: Mask. mask-length: Mask length. Since "1" s in the 32-bit mask are required to be consecutive, the mask in dotted decimal notation can be replaced by mask-length, which is the number of the consecutive "1"...
  • Page 545: Rip Configuration Commands

    [3Com] ip route-static 0.0.0.0 0.0.0.0 129.102.0.2 Configure the static route, whose destination address is 100.1.1.1 and whose next-hop address is 1.1.1.2. [3Com] ip route-static vpn-instance vpn1 100.1.1.1 16 vpn-instance vpn1 1.1.1.2 RIP Configuration For the specific examples and parameter explanation of VPN instance, refer to Commands “MPLS”...
  • Page 546 Users can learn the current information of receiving and sending RIP packets on each interface by using this command. Example Enable the RIP packets debugging. <3Com> debugging rip packet default cost Syntax default cost value undo default cost View...
  • Page 547 Example Set the default routing cost of importing other route protocol routes as 3. [3Com-rip] default cost 3 display rip Syntax display rip View Any view Parameter None Description Using the display rip command, you can view the current RIP running state and its configuration information.
  • Page 548 By default, RIP does not filter the advertised routing information. For the related commands, see acl, filter-policy import, and ip ip-prefix. Example Filter the advertised route information according to acl 3. [3Com-rip] filter-policy 3 export filter-policy import Syntax filter-policy gateway ip-prefix-name import...
  • Page 549 For the related command, see acl, filter-policy export, and ip ip-prefix. Example Configure the filtering of the global routing information according to acl 3. [3Com-rip] filter-policy 3 import host-route Syntax host-route undo host-route...
  • Page 550 For the related command, see default cost. Example Import a static route with cost being 4. [3Com-rip] import-route static cost 4 Set the default cost and import an OSPF route with the default cost. [3Com-rip] default cost 3 [3Com-rip] import-route ospf...
  • Page 551 RIP Configuration Commands Description Using the ipv4-family command, you can enter MBGP address family view of RIP. Using the undo ipv4-family command, you can cancel all configurations in extended address family view. ipv4-family command is used to enter the MBGP address family view. In this view, parameters related to address family can be configured for RIP.
  • Page 552 6: R HAPTER OUTING ROTOCOL Example Enable the RIP on the interface with the network address as 129.102.0.0. [3Com-rip] network 129.102.0.0 peer Syntax peer ip-address undo peer ip-address View RIP view Parameter ip-address: IP address of the peer router with which information will be exchanged in unicast mode, represented in the format of dotted decimal.
  • Page 553 [3Com-rip] preference 20 reset Syntax reset View RIP view Parameter None Description Using the reset command, you can reset the system parameters of RIP. When you need to re-configure parameters of RIP, this command can be used to restore the default setting.
  • Page 554 Example Specify Interface serial1/0/0 to use the simple text authentication with the key as aaa. [3Com] interface serial1/0/0 [3Com-Serial1/0/0] rip version 2 [3Com-Serial1/0/0] rip authentication-mode simple aaa rip authentication-mode Syntax rip authentication-mode md5 type { usual | nonstandard } View...
  • Page 555 For the related commands, see rip authentication-mode and rip version. Example Set MD5 authentication at Serial0, and the packet type is "nonstandard". [3Com] interface serial1/0/0 [3Com-Serial1/0/0] rip version 2 [3Com-Serial1/0/0] rip authentication-mode md5 type nonstandard rip input Syntax rip input undo rip input...
  • Page 556 For the related command, see rip metricout. Example Specify the additional route metric to 2 when the interface serial1/0/0 receives RIP packets. [3Com] interface serial1/0/0 [3Com-serial1/0/0] rip metricin 2 rip metricout Syntax rip metricout value undo rip metricout View...
  • Page 557 The former command equals the functional combination of the latter two commands. For the related command, see rip input and rip work. Example Disable the interface serial1/0/0 to transmit RIP packets. [3Com] interface serial1/0/0 [3Com-serial1/0/0] undo rip output rip split-horizon Syntax rip split-horizon undo rip split-horizon View...
  • Page 558 RIP-2 broadcast packets will be received. In this case, RIP-1 packets will be rejected. Example Configure the interface serial1/0/0 as RIP-2 broadcast mode. [3Com] interface serial1/0/0 [3Com-serial1/0/0] rip version 2 broadcast rip work Syntax rip work undo rip work...
  • Page 559 This command is used in cooperation with rip input, rip output and network commands. For the related commands, see network, rip input, and rip output. Example Disable the interface serial1/0/0 to run the RIP. [3Com] interface serial1/0/0 [3Com-serial1/0/0] undo rip work summary Syntax summary undo summary View...
  • Page 560: Ospf Configuration Commands

    The modified value of RIP timers will take effect immediately. For the related command, see display rip. Example Set timer Period update to 10 seconds and timer Timeout to 30 seconds. [3Com] rip [3Com-rip] timers update 10 timeout 30 OSPF Configuration Commands abr-summary Syntax...
  • Page 561 Aggregate the routes in the two network segments, 36.42.10.0 and 36.42.110.0, of OSPF area 1 into one route 36.42.0.0 and transmit it to other areas. [3Com-ospf-1] area 1 [3Com-ospf-1-area-0.0.0.1] network 36.42.10.0 0.0.0.255 [3Com-ospf-1-area-0.0.0.1] network 36.42.110.0 0.0.0.255 [3Com-ospf-1-area-0.0.0.1] abr-summary 36.42.0.0 255.255.0.0...
  • Page 562 Type-5 LSAs transformed from Type-7 LSAs. If the router is not the router in the NSSA, the summarization is disabled. For the related command, see display ospf asbr-summary. Example Set summarization of 3Com imported routes. [3Com-ospf-1] asbr-summary 10.2.0.0 255.255.0.0 not-advertise authentication-mode Syntax...
  • Page 563 MD5 cipher text authentication mode. For the related command, see ospf authentication-mode. Example Enter area 0 view. [3Com-ospf-1] area 0 Specify the OSPF area 0 to support MD5 cipher text authentication. [3Com-ospf-1-area-0.0.0.0] authentication-mode md5 debugging ospf Syntax...
  • Page 564 And the debugging state will not be kept after exiting the process, either. For the related command, see display debugging ospf. Example Enable the information debugging of OSPF packets. <3Com> debugging ospf packet default cost Syntax default cost value...
  • Page 565 Example Specify the default interval for OSPF to import external routes as 10 seconds. [3Com-ospf-1] default interval 10 default limit Syntax default limit routes...
  • Page 566 For the related command, see default type. Example Set the default tag of OSPF imported external route of the autonomous system as [3Com-ospf-1] default tag 10 default type Syntax default type { 1 | 2 }...
  • Page 567 For the related commands, see stub and nssa. Example Set the area 1 as the STUB area and the cost of the default route transmitted to this STUB area to 60. [3Com-ospf-1] area 1 [3Com-ospf-1-area-0.0.0.1] network 20.0.0.0 0.255.255.255 [3Com-ospf-1-area-0.0.0.1] stub [3Com-ospf-1-area-0.0.0.1] default-cost 60 default-route-advertise Syntax...
  • Page 568 [3Com-ospf-1] default-route-advertise The LSA of default route will be generated and advertised to OSPF route area even the local router has no default route. [3Com-ospf-1] default-route-advertise always display debugging ospf Syntax display debugging ospf View...
  • Page 569 <3Com> display debugging ospf OSPF global debugging state: OSPF SPF debugging is on OSPF LSA debugging is on OSPF process 100 debugging state: OSPF SPF debugging is on OSPF process 200 debugging state: OSPF SPF debugging is on OSPF LSA debugging is on...
  • Page 570 6: R HAPTER OUTING ROTOCOL Example Display the summary information of all OSPF imported routes. <3Com> display ospf asbr-summary Total summary address count: mask status The Count of Route is 0 mask status The Count of Route is 0 display ospf brief...
  • Page 571 Area 0.0.0.1: Display the routing information of OSPF 100. <3Com> display ospf 100 RouterID: 1.2.3.4 Spf-schedule-interval: 5 Routing preference: Inter/Intra: 10 External: 150 Default ASE parameters: Metric: 1 Tag: 0.0.0.1 Type: 2 SPF computation count: 0 Area Count: 0 display ospf cumulative...
  • Page 572 OSPF received. Example Display the statistics of error information which OSPF received . <3Com> display ospf error OSPF packet error statistics: 0: IP: received my own packet0: OSPF: bad packet type 0: OSPF: bad version0: OSPF: bad checksum...
  • Page 573 Description Using the display ospf interface command, you can view the OSPF interface information. Example Display the OSPF ethernet2/0/0 interface information. <3Com> display ospf interface ethernet2/0/0 Interface: 10.110.0.2 (Ethernet2/0/0) Cost: 1 State: BackupDR Priority: 1 Designated Router: 10.110.0.1 Backup Designated Router: 10.110.0.2...
  • Page 574 <3Com> display ospf lsdb Type LinkState ID SpfTree SpfTree Type LinkState ID Uninitialized Uninitialized Display the brief database information about OSPF connecting state. <3Com> display ospf lsdb brief Area ID Subtotal?? 0.0.0.0 0.0.0.1 AS External Total Display the database information of Type-7 LSA.
  • Page 575 Tag: 1 Display database information of summary route. <3Com> display ospf lsdb summary OSPF Process 1 with Router ID 1.1.1.1 Link State Database Area: 0.0.0.0 Type : SumNet Ls id : 2.2.0.0 Adv rtr : 1.1.1.1 Ls age : 304...
  • Page 576 Net mask Display the LSA packets advertised from the router at 3.3.3.3. <3Com> display ospf lsdb originate-router 3.3.3.3 Type LinkState ID Stub 30.0.0.0 SNet 40.0.0.0 List Type LinkState ID Stub 40.0.0.0 List Display database information of the LSA packets generated by local router.
  • Page 577 Parameter None Description Using the display ospf nexthop command, you can view the information about the next-hop Example Display the OSPF next-hop information. <3Com> display ospf nexthop Address -------------------------------------------------------------------- 202.38.160.1Direct 3202.38.160.1 202.38.160.2Neighbor 1202.38.160.1 display ospf peer Syntax display ospf peer [ brief ]...
  • Page 578 Example View the information of OSPF peer. <3Com> display ospf peer Area 0.0.0.0 interface 1.1.1.1(Serial2/0/0)'s neighbor(s) RouterID: 1.1.1.3 View the brief information of neighbors in areas. <3Com> display ospf peer brief Area ID Full Total 0.0.0.0 0.0.0.1 Total display ospf...
  • Page 579 Description Using the display ospf retrans-queue command, you can view the information about the OSPF retransmission queue. Example View the information about the OSPF retransmission queue. <3Com> display ospf retrans-queue RouterID: 162.162.162.162 Address: 103.169.2.2 Interface: 103.169.2.5 display ospf routing Syntax...
  • Page 580 Using the display ospf vlink command, you can view the information about OSPF virtual links. Example View OSPF virtual links information. <3Com> display ospf vlink Virtual-link Neighbor-id filter-policy export Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } export [ routing-protocol ]...
  • Page 581 For the related commands, see acl and ip ip-prefix Example Configure OSPF that only advertises the routing information permitted by acl 1. [3Com] acl number 1 [3Com-acl-basic-1] rule permit source 11.0.0.0 [3Com-acl-basic-1] rule deny source any [3Com-ospf] filter-policy 1 export filter-policy import...
  • Page 582 Specify an imported RIP route as the route of type 2, with the route tag as 33 and the route cost as 50. [3Com-ospf-1] import-route rip type 2 tag 33 cost 50 Specify OSPF process 100 to import the route found by OSPF 160.
  • Page 583 10.110.36.0 to run the OSPF protocol and specify the number of the OSPF area (where these interfaces are located) as 6. [3Com-ospf] area 6 [3Com-ospf-1-area-0.0.0.6] network 10.110.36.0.0 0.0.0.255 Enable OSPF process 100 on the router and specify the number of the area where the interface is located as 2.
  • Page 584 6: R HAPTER OUTING ROTOCOL [3Com] ospf 200 vpn-instance vpn1 [3Com-ospf-200] area 1 [3Com-ospf-200-area-0.0.0.1] network 131.108.20.0 0.0.0.255 Enable OSPF process 300 on the router and specify the number of the area where the interface is located as 2. [3Com] ospf 300 vpn-instance vpn1 [3Com-ospf-300] area 2 [3Com-ospf-300-area-0.0.0.2] network 131.108.20.0 0.0.0.255...
  • Page 585 OSPF. Different router-ids should be specified for different processes if multiple processes are enabled on the router. For the related command, see network. Example Enable the running of the OSPF protocol. [3Com] router id 10.110.1.8 [3Com] ospf OSPF Configuration Commands...
  • Page 586 Set the area 1 where the network segment 131.119.0.0 of Interface serial1/0/0 is located to support MD5 cipher text authentication. The authentication key identifier is set to 15 and the authentication key is 3Com. [3Com-ospf-1] area 1 [3Com-ospf-1-area-0.0.0.1] network 131.119.0.0 0.0.255.255 [3Com-ospf-1-area-0.0.0.1] authentication-mode md5...
  • Page 587 By default, the interface automatically calculates the costs required for running OSPF protocol according to the current Baud rate. Example Specify the cost spent when an interface runs OSPF as 33. [3Com] interface serial1/0/0 [3Com-Serial1/0/0] ospf cost 33 ospf dr-priority Syntax ospf dr-priority value undo ospf dr-priority...
  • Page 588 MIB operation is rebound automatically by OSPF protocol on the first enabled process. By default, MIB operation is bound on the first enabled OSPF process. Example Bind MIB operation on OSPF process 100. [3Com] ospf mib-binding 100 Cancel MIB operation binding [3Com] undo ospf mib-binding ospf mtu-enable Syntax...
  • Page 589 ospf network-type Syntax ospf network-type { broadcast | nbma | p2mp | p2p } undo ospf network-type View Interface view Parameter broadcast: Changes the interface network type to broadcast. nbma: Changes the interface network type to Non-Broadcast Multicast Access. p2mp: Changes the interface network type to point-to-multipoint. p2p: Changes the interface network type to point-to-point.
  • Page 590 For the related command, see ospf timer hello. Example Set the neighbor dead interval on the interface serial1/0/0 to 80 seconds. [3Com] interface serial1/0/0 [3Com-serial1/0/0] ospf timer dead 80 ospf timer hello Syntax ospf timer hello seconds undo ospf timer hello...
  • Page 591 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. [3Com] interface serial1/0/0 [3Com-serial1/0/0] ospf timer hello 20 ospf timer poll Syntax ospf timer poll seconds undo ospf timer poll...
  • Page 592 Example Specify the retransmission for LSA transmitting between the interface serial1/0/0 and the adjacent routers to 12 seconds. [3Com] interface serial1/0/0 [3Com-serial1/0/0] ospf timer retransmit 12 ospf trans-delay Syntax ospf trans-delay seconds undo ospf trans-delay View...
  • Page 593 Hello messages. Example Configure the IP address of peer router as 10.1.1.1. [3Com-ospf-1] peer 10.1.1.1 preference Syntax preference [ ase ] value undo preference [ ase ]...
  • Page 594 6: R HAPTER OUTING ROTOCOL Example Specify the preference of an external imported route of the AS as 160. [3Com-ospf-1] preference ase 160 reset ospf Syntax reset ospf [ statistics ] { all | process-id } View User view Parameter statistics: Resets statistics of the OSPF process.
  • Page 595 ID of this router. The modified router ID will not be valid unless OSPF is re-enabled. For the related command, see ospf. Example Set the router ID to 10.1.1.3. [3Com] router id 10.1.1.3 silent-interface Syntax silent-interface interface-type interface-number undo silent-interface interface-type interface-number...
  • Page 596 Disable interface serial2/0/0 to transmit OSPF packet. [3Com-ospf-1] silent-interface serial2/0/0 Disable interface Ethernet2/0/0 to transmit OSPF packet in both OSPF process 100 and OSPF process 200. [3Com] router id 10.110.1.9 [3Com] ospf 100 [3Com-ospf-100] silent-interface ethernet 2/0/0 [3Com-ospf-100] quit [3Com] router id 20.18.0.7...
  • Page 597 SPF calculation interval, network frequently changing can be restrained, which may lead to that too many bandwidth resources and router resources will be used. Example Set the OSPF route calculation interval of 3Com to 6 seconds. [3Com-ospf-1] spf-schedule-interval 6 stub...
  • Page 598 All the routers in a Stub area must be configured with the corresponding attribute. For the related command, see default-cost. Example Set the type of OSPF area 1 to the STUB area. [3Com-ospf] area 1 [3Com-ospf-area-0.0.0.1] stub vlink-peer Syntax vlink-peer router-id [ hello seconds] [ retransmit seconds ] [ trans-delay seconds ] [...
  • Page 599: Integrated Is-Is Configuration Commands

    For the related command, see authentication-mode, and display ospf. Example Create a virtual link to 10.110.0.3 and use the MD5 cipher text authentication mode. [3Com-ospf] area 10.0.0.0 [3Com-ospf-area-10.0.0.0] vlink-peer 10.110.0.3 md5 3 345 Integrated IS-IS Configuration Commands area-authentication-mo Syntax...
  • Page 600 For the related commands, see reset isis all, domain-authentication-mode, and isis authentication-mode. Example Set the area authentication password as "hello" and the authentication type as simple. [3Com] isis [3Com-isis] area-authentication-mode simple hello cost-style Syntax cost-style { narrow | wide | compatible | narrow-compatible | wide-compatible } [ relax-spf-limit ] View...
  • Page 601 Set IS-IS to receive packets whose cost type is narrow or wide, but only send packets whose cost type is narrow. [3Com] isis [3Com-isis] cost-style narrow-compatible debugging isis Syntax debugging isis { adjacency | all | authentication-error | checksum-error |...
  • Page 602 Using the debugging isis command, you can enable IS-IS debugging. Using the undo debugging isis command, you can disable the function. Example Enable all the information debugging of IS-IS. <3Com> debugging isis all default-route-advertise Syntax default-route-advertise [ route-policy [ route-policy-name ] ]...
  • Page 603 Hello messages. Example Display the information about the IS-IS enabled interface. <3Com> display isis interface Interface Ethernet1/0/0 Display the details of the IS-IS enabled interface. <3Com> display isis interface verbose Interface Ethernet1/0/0 Secondary IP Address(es): Csnp-Interval: Hello-Interval: Hold Time...
  • Page 604 This command is used for displaying the configurations of the mesh-group of the current router interface. Example Add Interface serial1/0/0 and Interface serial2/0/0 running IS-IS into mesh group 100. [3Com-Serial1/0/0] isis mesh-group 100 [3Com-Serial1/0/0] interface Interface serial2/0/0 [3Com-Serial2/0/0] isis mesh-group 100 Display the information of IS-IS mesh-group. [3Com-serial2/0/0] display isis mesh-group...
  • Page 605 Example Display the output information of display isis peer command. <3Com> display isis peer 0001.0002.0002 Ethernet2/0/0 0001.0002.0002 Ethernet1/0/0 Output more information by using the verbose parameter. <3Com> display isis peer verbose Type 0001.0002.0002 Ethernet2/0/0 Area Address: 0001.0002.0002 Ethernet1/0/0 Area Address:...
  • Page 606 Using the display isis spf-log command, you can view the SPF calculation log of the IS-IS. Example View the output information of display isis spf-log command. <3Com> display isis spf-log Details of Level 1 SPF Run: ------------------------------- Trig.Event No.Of NodesDurationStartTime...
  • Page 607 For the related commands, see area-authentication-mode and isis authentication-mode. Example When you need to authenticate the layer 2 routing packets, you can select the simple mode, and the password is "3Com". [3Com] isis [3Com-isis] domain-authentication-mode simple filter-policy export Syntax...
  • Page 608 For the related command, see filter-policy import. Example Use acl 6 to filter the routes distributed by IS-IS. [3Com-isis] filter-policy 6 export filter-policy import Syntax filter-policy acl-number import undo filter-policy acl-number import...
  • Page 609 Example Filter the received routes by using acl 3. [3Com-isis] filter-policy 3 import ignore-lsp-checksum-err Syntax ignore-lsp-checksum-error undo ignore-lsp-checksum-error View IS-IS view Parameter None Description Using the ignore-lsp-checksum-error command, you can configure the IS-IS to ignore the checksum error of LSP. Using the undo ignore-lsp-checksum-error command, you can configure the IS-IS not to ignore the checksum error of LSP.
  • Page 610 By default, routing information in a Level-2 area is not imported to a Level-1 area. Example Import routing information of a router from a Level-2 area to a Level-1 area. [3Com] acl number 100 permit any [3Com] isis...
  • Page 611 [3Com-isis] import-route isis level2 into level1 acl 100 isis Syntax isis [ tag ] undo isis [ tag ] View System view Parameter Description Using the isis command, you can enable the corresponding IS-IS routing process and enter the IS-IS view. Using the undo isis command, you can cancel the specified IS-IS routing process.
  • Page 612 Example Set the authentication password "tangshi" in simple text for the Level-1 neighboring relationship onInterface serial1/0/0. [3Com] interface serial1/0/0 [3Com-Serial1/0/0] isis authentication-mode simple tangshi level-1 isis circuit-level Syntax isis circuit-level [ level-1 | level-1-2 | level-2 ] undo isis circuit-level...
  • Page 613 For the related command, see cost-style. Example Set the link cost of the Level-2 link on Interface serial1/0/0 to 5. [3Com] interface serial1/0/0 [3Com-Serial1/0/0] isis cost 5 level-2 isis dis-priority Syntax isis dis-priority value [ level-1 | level-2 ] undo isis dis-priority [ level-1 | level-2 ]...
  • Page 614 0 can also run for the DIS, which is different from the DR election of OSPF. For the related commands, see area-authentication-mode and domain-authentication-mode. Example Set the priority of Interface serial1/0/0 to 127. [3Com] interface serial1/0/0 [3Com-Serial1/0/0] isis dis-priority127 level-2 isis enable Syntax isis enable [ tag ] undo isis enable [ tag ] View...
  • Page 615 So far, a router can enable the IS-IS process on 255 interfaces at most, including logic interfaces such as subinterfaces. Example Create an IS-IS routing process named "3Com", and activate this routing process on interface serial1/0/0. [3Com] isis 3Com [3Com-isis] network-entity 10.0001.1010.1020.1030.00...
  • Page 616 Example Set the Level-2 CSNP packet to be transmitted every 15 seconds on the interface Serial1/0/0. [3Com] interface serial1/0/0 [3Com-Serial1/0/0] isis timer csnp 15 level-2 isis timer dead Syntax isis timer dead seconds [ level-1 | level-2 ] undo isis timer dead [ level-1 | level-2 ]...
  • Page 617 For the related command, see isis timer hello. Example Set the dead interval of Level-2 to 60 seconds on Interface serial1/0/0. [3Com] interface serial1/0/0 [3Com-Serial1/0/0] isis timer dead 20 level-2 isis timer hello Syntax isis timer hello seconds [ level-1 | level-2 ]...
  • Page 618 For the related command, see isis timer retransmit. Example Set the LSP interval on Interface serial1/0/0 to 500 milliseconds. [3Com] interface Interface serial1/0/0 [3Com-Serial1/0/0] isis timer lsp 500 isis timer retransmit Syntax isis timer retransmit seconds undo isis timer retransmit...
  • Page 619 You are recommended to set all the routers to Level-2 for convenient future extension, when applying them to IP network. For the related command, see isis circuit-level. Example Set the current router to operate on Level-1. [3Com] isis [3Com-isis] is-level level-1 log-peer-change Syntax log-peer-change undo log-peer-change View...
  • Page 620 For the related commands, see isis and isis enable. Example Specify NET as “10.0001.1010.1020.1030.00”, in which the system ID is “1010.1020.1030”, area ID is “10.0001”. [3Com] isis [3Com-isis] network-entity 10.0001.1010.1020.1030.00 preference Syntax preference value undo preference View...
  • Page 621 LSP still remain on the router. For the related commands, see area-authentication-mode and domain-authentication-mode. Example Clear all the IS-IS data. <3Com> reset isis all reset isis peer Syntax reset isis peer system-id View User view Parameter system-id: Specifiesy the system ID of IS-IS neighbor.
  • Page 622 6: R HAPTER OUTING ROTOCOL Example Clear the IS-IS data of neighbor whose system ID is 0000.0c11.1111. <3Com> reset isis peer 0000.0c11.1111 set-overload Syntax set-overload undo set-overload View IS-IS view Parameter None Description Using the set-overload command, you can configure overload flag bit for the current router.
  • Page 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 from other interfaces. Example Prohibit the IS-IS packets to be transmitted via Interface Ethernet1/0/0. [3Com-isis] silent-interface Ethernet1/0/0 spf-delay-interval Syntax spf-delay-interval number undo spf-delay-interval...
  • Page 624 SPF calculation will be paused if any setting item is met. For the related command, see spf-delay-interval. Example Set the SPF duration time to 1 second. [3Com-isis] spf-slice-size 1 summary Syntax summary ip-address mask [ level-1 | level-1-2 | level-2 ]...
  • Page 625 IS-IS protocol, or an imported route. Furthermore, the cost value of the aggregated route adopts the smallest cost of the routes aggregated. Example Set a route summary of 202.0.0.0/8. [3Com-isis] summary 202.0.0.0 255.0.0.0 timer lsp-max-age Syntax timer lsp-max-age seconds undo timer lsp-max-age...
  • Page 626: Bgp Configuration Commands

    For the related command, see timer lsp-max-age. Example Set the LSP refresh interval of the current system to 1500 seconds. [3Com-isis] timer lsp-refresh 1500 timer spf Syntax timer spf seconds [ level-1 | level-2 ] undo timer spf [ level-1 | level-2 ]...
  • Page 627 Example Establish an aggregated record in the BGP routing table. [3Com-bgp] aggregate 192.213.0.0 255.255.0.0 BGP Configuration Commands Function Used to create an aggregated route, whose AS path information includes detailed routes. Use this keyword carefully when many AS paths need to be aggregated, for the frequent change of routes may lead to route vibration.
  • Page 628 The load sharing of BGP is implemented by changing its routing rules. For the related command, see display ip routing-table. Example Configure 2 routes to perform load sharing. [3Com] bgp 100 [3Com-bgp] balance 2 Syntax bgp as-number undo bgp [ as-number ]...
  • Page 629 You are not recommended to use this command unless you can make sure that the ASs adopt the same IGP and routing method. Example Enable the comparison of the MED attribute values from different AS neighboring route paths. [3Com-bgp] compare-different-as-med confederation id Syntax confederation id as-number undo confederation id...
  • Page 630 By default, the configured confederation is consistent with RFC1965. All the 3Com routers in the confederation should be configured with this command for interworking with those nonstandard devices. For the related commands, see confederation id and confederation peer-as.
  • Page 631 For the related commands, see confederation nonstandard and confederation id. Example Configure the confederation that contains AS 2000 and 2001. [3Com-bgp] confederation peer-as 2000 2001 dampening Syntax dampening [ half-life-reachable half-life-unreachable reuse suppress ceiling ] [...
  • Page 632 Example Modify various BGP route attenuation parameters. [3Com-bgp] dampening 15 15 1000 2000 10000 debugging bgp Syntax debugging bgp { all | event | keepalive | open | packet | route-refresh | update } [...
  • Page 633 Example Enable the information debugging of BGP packets. <3Com> debugging bgp packet default local-preference Syntax default local-preference value undo default local-preference View BGP unicast view, BGP multicast view, VPNv4 view Parameter Description Using the default local-preference command, you can configure the default local preference.
  • Page 634 Using the display bgp group command, you can view the information of peer groups. Example View the information of the peer group "aaa". <3Com> display bgp group aaa group : aaa no as-number still with Route-policy aaa display bgp network...
  • Page 635 Matched AS path regular expression. Description Using the display bgp paths command, you can view the information about AS paths Example Display the information about the AS paths. <3Com> display bgp paths ^600$ Flags: Hash-Index -------------------------------------------------------------------- display bgp peer Syntax...
  • Page 636 Peer State -------------------------------------------------------------------- 10.110.25.20 00:33:43 View the details of peer 133.1.1.2. <3Com> display bgp peer 133.1.1.2 verbose Configuration within the peer : display bgp Syntax routing-table display bgp [ multicast | vpnv4 { all | route-distinguisher route-distinguisher | vpn-instance vpn-instance-name } ] routing-table [ ip-address mask ]...
  • Page 637 Dest/Mask As-Path -------------------------------------------------------------------- *> *> *> *> *> *> *> View one BGP routing information. <3Com> display bgp routing-table 22.1.0.0 BGP route 22.1.0.0/16 Nexthop : Origin : As-path: Local-pref: Status: From : 200.1.7.2(200.1.7.2) display bgp Syntax routing-table as-path-acl display bgp [ multicast | [ vpnv4 { all | route-distinguisher route-distinguisher |...
  • Page 638 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 routes that match filtering list. <3Com> display bgp routing-table as-path-acl 1 Flags: Dest/Mask As-path -------------------------------------------------------------------- ^ 1.1.1.0/24 ^ 1.1.2.0/24...
  • Page 639 BGP community number in the routing table. Example Display the routing information matching the specified BGP community number. <3Com> display bgp routing-table community 11:22 Flags: D - damped, H - history, I - internal,...
  • Page 640 Using the display bgp routing-table community-list command, you can view the routing information matching the specified BGP community list. Example View the routing information matching BGP community list 1. [3Com] display bgp routing-table community-list 1 Flags: Destination/Mask Pref As-Path --------------------------------------------------------------------...
  • Page 641 Parameter None Description Using the display bgp routing-table different-origin-as command, you can view routes that have different source autonomous systems Example View the routes that have different source ASs. <3Com> display bgp routing-table different-origin-as Flags: Destination/Mask As-Path ------------------------------------------------------------------ 10.10.10.0/24 10.10.10.0/24...
  • Page 642 Using the display bgp routing-table peer command, you can view the routing information the specified BGP peer advertised or received. For the related command, see display bgp peer. Example View the routing information advertised by BGP peer 10.10.10.1. <3Com> display bgp routing table peer 10.10.10.1 advertised Flags: Dest/mask ----------------------------------------------------------------- *>...
  • Page 643 <3Com> display bgp routing-table regular-expression ^600$ Flags: Destination/Mask As-Path -------------------------------------------------------------------- 1.1.1.0/24 1.1.2.0/24 1.1.3.0/24 2.2.3.0/24 4.4.4.0/24 9.9.9.0/24 10.10.10.0/24 filter-policy export Syntax filter-policy { acl-number | ip-prefix ip-prefix-name } export [ protocol ] undo filter-policy { acl-number | ip-prefix ip-prefix-name } export [ protocol ]...
  • Page 644 BGP routing table. Example Display how to use acl 3 to filter the routing information received by BGP. [3Com-bgp] filter-policy 3 import group Syntax group group-name { [ internal ] | external }...
  • Page 645 Example Establish a peer group "test". [3Com-bgp] group test import-route Syntax import-route protocol [ med med-value ] [ route-policy route-policy-name ] undo import-route protocol...
  • Page 646 For the related command, see peer as-path-acl, and display bgp routing-table as-path-acl. Example Configure an AS path list. [3Com] ip as-path acl 10 permit 200,300 ip community-list Syntax ip community-list stand-comm-list-number { permit | deny } { aa:nn | internet |...
  • Page 647 Example Define a community attribute list which does not advertise routes with the community attribute beyond the confederation. [3Com] ip community-list 6 permit no-export-subconfed network Syntax network ip-address [ address-mask ] [ route-policy route-policy-name ] undo network ip-address [ address-mask ] [ route-policy route-policy-name ]...
  • Page 648 For the related command, see display current-configuration, display bgp routing-table peer, and display bgp routing-table group. Example Specify to configure the repeating times of local AS to 2. [3Com-bgp] peer 1.1.1.1 allow-as-loop 2 peer as-number Syntax peer { group-name } as-number as-number...
  • Page 649 By default, the peer group has no AS path list. Example Set the AS path ACL of the peer group test. [3Com-bgp] peer test as-number 100 [3Com-bgp] peer test as-path-acl 3 export peer connect-interface Syntax peer { group-name | peer-address } connect-interface interface-name...
  • Page 650 For this command, no default route is required in the routing table. A default route is sent unconditionally to a peer with the next hop as itself. Example Specify a peer group "test" to import the default route. [3Com-bgp] peer test as-number 100 [3Com-bgp] peer test default-route-advertise peer description Syntax...
  • Page 651 For the related command, see display current-configuration, display bgp peer, and display bgp routing-table group. Example Configure the description information of the peer named group1 as beijing1. [3Com-bgp] peer group1 description beijing1 peer ebgp-max-hop Syntax peer group-name ebgp-max-hop [ ttl ]...
  • Page 652 (group). Example Deactivate the specified peer. [3Com] bgp 180 [3Com-bgp] peer 18.10.0.9 as-number 180 [3Com-bgp] undo peer 18.10.0.9 enable peer filter-policy Syntax peer { group-name | peer-address } filter-policy list-number { import | export }...
  • Page 653 Example Set the filter-policy list of a peer group test. [3Com-bgp] peer test as-number 100 [3Com-bgp] peer test filter-policy 3 import peer group Syntax For multicast address family or VPNv4 address family: peer peer-address group group-name undo peer peer-address group...
  • Page 654 By default, the route filtering policy of the peer/peer group is not specified. For the related command, see ip ip-prefix. Example Configure the route filtering policy of the peer group based on the ip-prefix 1. [3Com-bgp] peer group1 ip-prefix list1 import peer next-hop-local Syntax peer { group-name } next-hop-local...
  • Page 655 Adopt MD5 authentication on the TCP connection set up between the local router at 10.1.100.1 and the peer router at 10.1.100.2. [3Com-bgp] peer 10.1.100.2 password simple 3Com Perform the similar configuration on the peer. [3Com-bgp] peer 10.1.100.2 password simple 3Com...
  • Page 656 AS number when transmitting BGP update packets. Example Configure not to carry the private AS number when transmitting BGP update packets to the peer named test. [3Com-bgp] peer test public-as-only peer reflect-client Syntax peer { group-name } reflect-client undo peer { group-name } reflect-client...
  • Page 657 By default, the peer (group) has no route-policy association. Example Apply the route-policy named test-policy to the route coming from the peer group "test". [3Com-bgp] peer test route-policy test-policy import peer Syntax route-update-interval peer { group-name } route-update-interval seconds...
  • Page 658 The timer configured by using this command has a higher priority than the one configured by using the timer command. Example Configure Keepalive and Holdtime intervals of the peer group "test". [3Com-bgp] peer test timer keep-alive 60 hold 180 policy vpn-target Syntax policy vpn-target...
  • Page 659 Example Perform the filtering on the vpn-target extended community of the received routing information. [3Com-bgp] policy vpn-target preference Syntax preference value undo preference View BGP protocol view, BGP multicast address family view Parameter value: Specifies the preference, ranging from 1 to 256. By default, the value is 170.
  • Page 660 After route reflector is configured, it reflects the routes of a client to other clients. For the related commands, see reflector cluster-id and peer reflect-client. Example Disable the reflection between clients. [3Com-bgp] undo reflect between-clients reflector cluster-id Syntax reflector cluster-id { cluster-id | address }...
  • Page 661 Request all the peers to retransmit multicast routes. <3Com> refresh bgp all multicast import Retransmit all the routes to the CE peer 10.1.1.1 in VPN-INSTANCE vpn1. <3Com> refresh bgp 10.1.1.1 vpn-instance vpn1 export reset bgp Syntax reset bgp { all | peer-address } [ vpn-instance vpn-instance-name ]...
  • Page 662 For the related command, see dampening. Example Clear the flap information of all the routes that go through filter list 10. <3Com> reset bgp flap-info as-path-acl 10 reset bgp group Syntax reset bgp group group-name [ vpn-instance vpn-instance-name ]...
  • Page 663 For the related commands, see dampening and display bgp routing-table dampened. Example Clear the attenuation information of the route to the network 20.1.0.0, and release the suppression of a suppressed route. <3Com> reset dampening 20.1.0.0 255.255.0.0 summary automatic Syntax summary automatic undo summary automatic...
  • Page 664: Mbgp Configuration Commands

    Holdtime timer of BGP. Using the undo timer keep-alive hold command, you can restore the default value of the Keepalive and Holdtime timer. Example Configure the Keep-alive and Hold-time timer as 30 seconds and 60 seconds. [3Com-bgp] timer keep-alive 30 hold 60 undo synchronization Syntax undo synchronization...
  • Page 665 View BGP view, VPN instance view Parameter multicast: Enters the BGP multicast extended address family view with the parameter. vpn-instance vpn-instance-name: Associates the specified VPN instance with the IPv4 address family. Enter the MBGP address family view of BGP with this parameter.
  • Page 666 Example Configure and enable the specified peer of VPNv4 unicast address family. [3Com] bgp 100 [3Com-bgp] peer 10.15.0.15 as-number 100 [3Com-bgp] ipv4-family vpnv4 unicast [3Com-bgp-af-vpn] peer 10.15.0.15 enable Configure and enable the specified peer of IPv4 multicast address family.
  • Page 667: Ip Routing Policy Configuration Commands

    [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-number-2 [ as-number-3 ... ] ] undo apply as-path View Routing policy view Parameter Description Using the apply as-path command, you can specify AS number to be added in front of the original AS path in route-policy.
  • Page 668 Display how to configure one route-policy named setcommunity, whose node serial number is 16 and match mode is permit, and enter route policy view to set match conditions and attribute modification actions to be executed. [3Com] route-policy setcommunity permit node 16 [3Com-route-policy] if-match as-path 8 [3Com-route-policy] apply community no-export...
  • Page 669 By default, route cost type is not set. Example Set the cost type of IGP as MED value of BGP [3Com-route-policy] apply cost-type internal apply ip-address Syntax apply ip-address { ip-address [ ip-address ] | acl acl-number } undo apply ip-address [ ip-address [ ip-address ] | acl acl-number ]...
  • Page 670 Example Define an apply clause to set the imported route to Level-2. [3Com-route-policy] apply isis level-2 apply local-preference Syntax apply local-preference local-preference undo apply local-preference...
  • Page 671 Example Display how to define one apply clause. When it is used for setting routing information attribute, it sets the routing source of the routing information as igp. [3Com-route-policy] apply origin igp apply tag Syntax apply tag value...
  • Page 672 Display all the configured address prefix lists when no ip-prefix-name is specified. For the related command, see ip ip-prefix. Example Display the information of the address prefix list named p1. <3Com> display ip ip-prefix p1 ip-prefix p1 index 10: permit 192.168.10.10/16 greater-equal 17 less-equel 18 display route-policy...
  • Page 673 Define the filtering rules for advertising the routing information of RIP. Only the routing information passing the filtering of address prefix list p1 will be advertised by RIP. [3Com-rip] filter-policy ip-prefix p1 export filter-policy import Syntax filter-policy gateway ip-prefix-name import...
  • Page 674 For the related command, see filter-policy export. Example Define the filtering rule for receiving routing information of RIP. Only the routing information filtered through the address prefix list p1 can be received by RIP. [3Com-rip] filter-policy ip-prefix p1 import if-match acl Syntax if-match acl acl-number...
  • Page 675 200 and 300. Then, define a route-policy named test. The node No.10 of this route-policy defines a if-match clause, which quotes the definition of as-path. [3Com] ip as-path acl 2 permit 200:300 [3Com] route-policy test permit node 10 [3Com-route-policy] if-match as-path 2...
  • Page 676 100 and 200. Then, the route-policy named test is defined. The node No.10 of the route-policy defines a if-match clause, which quotes the definition of the community-list. [3Com] ip community-list 1 permit 100:200 [3Com] route-policy test permit node 10 [3Com-route-policy] if-match community 1...
  • Page 677 Example Define an if-match clause, which allows the routing information with routing cost 8 to pass this if-match clause. [3Com-route-policy] if-match cost 8 if-match interface Syntax if-match interface { interface-name | interface-type interface-number } undo if-match interface View Routing policy view Parameter interface-type: Specifies interface type.
  • Page 678 Define an if-match clause. It permits the routing information, whose route next hop address passes the filtering of the prefix address list p1, to pass this if-match clause. [3Com-route-policy] if-match ip next-hop ip-prefix p1 if-match ip-prefix Syntax if-match ip-prefix ip-prefix-name...
  • Page 679 Example Display how to define one if-match clause and enable the OSPF route information whose tag field is 8 to pass the if-match clause. [3Com-route-policy] if-match tag 8 ip ip-prefix Syntax ip ip-prefix ip-prefix-name [ index index-number ] { permit | deny } network len [...
  • Page 680 Example Configure an address prefix list named p1. It permits the routes with the mask of 17 or 18 bits long and in network segment 10.0.192.0.8 to pass. [3Com] ip ip-prefix p1 permit 10.0.192.0 8 greater-equal 17 less-equal 18 route-policy...
  • Page 681: Route Capacity Configuration Commands

    Example Display how to configure one route-policy policy1, whose node number is 10 and the match mode is permit, and enter route policy view. [3Com] route-policy policy1 permit node 10 [3Com-route-policy] Route Capacity Configuration...
  • Page 682 6: R HAPTER OUTING ROTOCOL Current memory limit configuration information: memory safety: 30 memory limit: 20 memory auto-establish enabled Free Memory: 73855332 (Byte) The state information about connection: The times of disconnect: 0 The times of reconnect: 0 The current state: Normal The information displayed by this command includes the router memory limit, the size of the idle memory, the times of connection disconnecting, the times of connection reestablishment and the current state.
  • Page 683 For the related commands, see memory auto-establish enable, memory { safety | limit }, and display memory limit. Example Disable to recover the connections of all the protocols automatically when the current router memory resumes. [3Com] memory auto-establish disable [3Com] %3/13/2003 15:47:2-RM-5-S1-RTLOG:You have changed the model of connection memory auto-establish...
  • Page 684 %8/19/2002 16:35:41-RM-5-RTLOG:You have changed the memory limit/safety value Set the lower limit of the router idle memory to 25Mbytes and the safety value to 30Mbytes. [3Com] memory safety 35 limit 25 [3Com] %8/19/1995 15:45:58-RM-5-RTLOG:Changed the system memory limit(20->25)/ safety(30->35) successfully...
  • Page 685 %8/19/2002 16:35:41-RM-5-RTLOG:You have changed the memory limit/safety value Set the lower limit of the router idle memory to 25Mbytes and the safety value to 30Mbytes. [3Com] memory safety 35 limit 25 [3Com3Com] %8/19/1995 15:45:58-RM-5-RTLOG:Changed the system memory limit(20->25)/ safety(30->35) successfully...
  • Page 686 6: R HAPTER OUTING ROTOCOL...
  • Page 687: Multicast Common Configuration Commands

    Using the undo debugging multicast forwarding command, you can disable the debugging functions. By default, the debugging function is disabled. Example Enable multicast packet forwarding debugging functions. <3Com> debugging multicast forwarding debugging multicast Syntax kernel-routing debugging multicast kernel-routing...
  • Page 688 Using the undo debugging multicast kernel-routing command, you can disable the debugging functions. By default, the multicast kernel routing debugging function is disabled. Example Enable multicast kernel routing debugging functions. <3Com> debugging multicast kernel-routing debugging multicast Syntax status-forwarding debugging multicast status-forwarding...
  • Page 689 This information can be viewed via display pim interface command. For the related command, see display multicast routing-table. Example Display the multicast forwarding table information. <3Com> display multicast forwarding-table display multicast Syntax routing-table display multicast routing-table [ group-address [ mask { mask | mask-length } ] |...
  • Page 690 JOIN SUPP indicates the prune suppression status. Example Display the corresponding route entry information of multicast group in the multicast routing table. <3Com> display multicast routing-table Multicast Routing Table Total 1 entry (10.10.1.2, 225.1.1.1) display multicast...
  • Page 691 Using the display multicast rpf-info command, you can view the Reverse Path Forwarding (RPF) routing information for specified multicast source. Example Display all the RPF routing information. <3Com> display multicast rpf-info 192.193.194.192 Multicast source's RPF route information about 192.193.194.192 RPF interface: InLoopBack0, RPF neighbor: 127.0.0.1 Referenced route/mask: 192.193.194.192/32...
  • Page 692 -3 11.110.0.4 Trace reversely the path information of multicast group 225.1.1.1 from the multicast source 10.10.1.3 to the destination address 12.110.0.2. <3Com>mtracert 10.10.1.3 12.110.0.2 225.1.1.1 Type Ctrl+C to abort Mtrace from 10.10.1.3 to 12.110.0.2 via group 225.1.1.1 Querying full reverse path...
  • Page 693 TTL value configured. By default, no minimum TTL value for multicast forwarding is configured. Example Configure the minimum TTL value for multicast forwarding to 8. <3Com-Ethernet1/0/1] multicast minimum-ttl 8 multicast Syntax packet-boundary multicast packet-boundary acl-number...
  • Page 694 Both the source address and the destination address (source group address) of a multicast packet can be filtered through the advanced ACL. Example Set boundary conditions for multicast packets through the basic ACL 1. <3Com-Ethernet1/0/1] multicast packet-boundary 1 multicast route-limit Syntax multicast route-limit limit...
  • Page 695 For the related commands, see pim dm and pim sm. Example Enable IP multicast routing. <3Com> system-view <3Com] multicast routing-enable reset multicast Syntax forwarding-table reset multicast forwarding-table [ statistics ] { all | { group-address [ mask { group-mask | group-mask-length } ] | source-address [ mask { source-mask |...
  • Page 696 <3Com> reset multicast forwarding-table 225.5.4.3 Clear the statistics of the forwarding entry whose group address is 225.5.4.3 from MFC forwarding table. <3Com> reset multicast forwarding-table statistics 225.5.4.3 reset multicast Syntax routing-table reset multicast routing-table { all | { group-address [ mask { group-mask |...
  • Page 697: Igmp Configuration Commands

    For the related commands, see reset pim routing-table, reset multicast forwarding-table. and display multicast forwarding-table. Example Clear the route entry whose group address is 225.5.4.3 from the multicast kernel routing table. <3Com> reset multicast routing-table 225.5.4.3 IGMP Configuration Commands debugging igmp Syntax...
  • Page 698 7: M HAPTER ULTICAST OMMON Example Enable all IGMP debugging functions <3Com> debugging igmp all display igmp group Syntax display igmp group [ group-address | interface interface-type interface-number | local ] View Any view Parameter group-address: Multicast group address. interface-type interface-number: Interface type and interface number of the router, used to specify the interface.
  • Page 699 If the interface is a proxy, all the clients will be displayed. If the interface is a client, the proxy will be displayed. Example Display the IGMP configuration and running information on an interface. <3Com> display igmp interface Ethernet0/0/0 (10.10.1.20): IGMP is enabled Current IGMP version is 2...
  • Page 700 Example Display the IGMP configuration and running information of the local interface which receives and sends multicast data. <3Com> display igmp local Mcast_Out_IF (127.0.0.6): IGMP is enabled on interface Current IGMP version is 2 No IGMP group reported Mcast_In_IF (127.0.0.5):...
  • Page 701 If this command is executed repeatedly, the new configuration will overwrite the previous one. Example Limit the maximum number of IGMP groups joined on the interface Ethernet1/0/0 to 100. <3Com-Ethernet1/0/0] igmp group-limit 100 igmp group-policy Syntax igmp group-policy acl-number [ 1 | 2 ] undo igmp group-policy...
  • Page 702 For the related command, see igmp host-join. Example Permit the hosts on the interface Ethernet1/0/0 to join multicast group 225.1.1.1 only. <3Com] acl number 5 <3Com-acl-basci-5] rule permit source 225.1.1.1 0 <3Com-acl-basci-5] quit <3Com] interface ethernet 1/0/0 <3Com-Ethernet1/0/0] igmp group-policy 5 igmp host-join...
  • Page 703 For the related commands, see igmp robust-count and display igmp interface. Example Configure the query interval of the querier for the last group member on the interface Ethernet1/0/0 to 3 seconds. <3Com-Ethernet1/0/0] igmp lastmember-queryinterval 3 igmp max-response-time Syntax igmp max-response-time seconds...
  • Page 704 If an interface is configured with IGMP proxy for multiple times, the last one overrides all the previous configurations. For the related command, see pim neighbor-policy. Example Configure the IGMP proxy of router Ethernet0/0/0 to Ethernet1/0/0. <3Com-Ethernet0/0/0] igmp proxy ethernet 1/0/0 igmp robust-count Syntax igmp robust-count robust-value undo igmp robust-count...
  • Page 705 At that time, the command is invalid to the host. For the related commands, see igmp lastmember-queryinterval and display igmp interface. Example Configure the robust-value of querier on the interface Ethernet1/0/0 to 3. <3Com-Ethernet1/0/0] igmp robust-count 3 igmp timer Syntax other-querier-present igmp timer other-querier-present seconds...
  • Page 706 CAUTION: If the querier present time configured is less than the twice of query interval, it may lead to the repeated changes of queriers in the network. Example Configure the querier present time on the interface Ethernet1/0/0 to 200 seconds. <3Com-Ethernet1/0/0] igmp timer other-querier-present 200 igmp timer query Syntax igmp timer query seconds...
  • Page 707 Using the reset igmp group command, you can delete the IGMP group joined on the interface. The deletion of the group does not affect its joining again. Example Delete all the IGMP groups on all interfaces. <3Com> reset igmp group all Delete all the IGMP groups on the interface Ethernet0/0/0.
  • Page 708: Pim Configuration Commands

    7: M HAPTER ULTICAST OMMON <3Com> reset igmp group interface ethernet0/0/0 all Delete the group 225.0.0.1 on the interface Ethernet0/0/0. <3Com> reset igmp group interface ethernet0/0/0 225.0.0.1 Delete the IGMP groups ranging between the network segment 225.1.1.0 and 225.1.1.255 on the interface Ethernet0/0/0.
  • Page 709 Configure BSR filter policy on a router. Only permit 1.1.1.1/32 to act as BSR and regard others are invalid. <3Com-pim] bsr-policy 1 <3Com-pim] quit <3Com] acl number 1 <3Com-acl-basic-1] rule 0 permit source 1.1.1.1 0 c-bsr Syntax c-bsr interface-type interface-number hash-mask-len [ priority ] undo c-bsr...
  • Page 710 Configure the IP address of the router on Ethernet1/0/0 as a candidate BSR with the priority 2. <3Com> system-view <3Com] multicast routing-enable <3Com] pim <3Com-pim] c-bsr ethernet1/0/0 30 2 c-rp Syntax c-rp interface-type interface-number [ group-policy acl-number ] [ priority priority-value ]...
  • Page 711 225.1.0.0/16. <3Com-pim] crp-policy 100 <3Com-pim] quit <3Com] acl number 100 <3Com-acl-adv-100] rule 0 permit ip source 1.1.1.1 0 destination 225.1.0.0 0.0.255.255 debugging pim common Syntax debugging pim common { all | event | packet | timer }...
  • Page 712 By default, common PIM debugging functions are disabled. Example Enable all common PIM debugging functions. <3Com> debugging pim common all debugging pim dm Syntax debugging pim dm { alert | all | mrt | timer | warning | { recv | send } { all | assert |...
  • Page 713 By default, PIM-DM debugging functions are disabled. Example Enable all PIM-DM debugging functions <3Com> debugging pim dm all debugging pim sm Syntax debugging pim sm { all | mbr | mrt | timer | msdp | verbose | warning | { recv | send...
  • Page 714 Using the display pim interface command, you can view the PIM interface information. Example Display the PIM information about the interface Ethernet1/0/0. <3Com> display pim interface ethernet 1/0/0 PIM information of interface Ethernet1/0/0: IP address of the interface is 10.10.1.20 PIM is enabled on interface...
  • Page 715 Description Using the display pim neighbor command, you can view the PIM neighbor information. Example Display the PIM neighbor information of the interface Ethernet1/0/0 on the router. <3Com> display pim neighbor ethernet 1/0/0 Neighbor's Address 10.10.1.10 display pim Syntax routing-table...
  • Page 716 If no group address is specified in this command, the corresponding RP information of all groups will be displayed. Example Display the currently corresponding RP of 224.0.0.0. <3Com> display pim rp-info 224.0.0.0 PIM-SM RP-SET information: ONFIGURATION OMMANDS Protocol 0x20: PIMSM, Flag 0x2003: RPT WC NULL_IIF UpTime: 00:17:25, never timeout Upstream interface: Null, RPF neighbor: 0.0.0.0...
  • Page 717 Using the pim command, you can enter PIM view. Using the undo pim command, you can clear the configuration in PIM view. The global parameter which is related with the PIM must be configured in PIM view. Example <3Com> system-view <3Com] multicast routing-enable <3Com] pim <3Com-pim] pim bsr-boundary Syntax pim bsr-boundary...
  • Page 718 PIM packets can. This command can effectively divide the network to domains which use different BSRs. For the related command, see c-bsr. Example Configure a domain boundary on the interface Pos1/0/0. <3Com-Pos1/0/0] pim bsr-boundary pim dm Syntax pim dm undo pim dm...
  • Page 719 Example Configure 10.10.1.2 rather than 10.10.1.1 as the PIM neighbor of Ethernet1/0/0. <3Com-Ethernet1/0/0] pim neighbor-policy 1 <3Com-Ethernet1/0/0] quit <3Com] acl number 1 <3Com-acl-basic-1] rule permit source 10.10.1.2 0 <3Com-acl-basic-1] rule deny source 10.10.1.1 0 pim sm Syntax pim sm undo pim sm...
  • Page 720 Hello message. Using the undo pim timer hello command, you can restore the default value. Example Configure the interval of sending Hello message on the interface Ethernet1/0/0 on the PIM router to 40 seconds. <3Com-Ethernet1/0/0] pim sm <3Com-Ethernet1/0/0] pim timer hello 40 register-policy Syntax register-policy acl-number undo register-policy View...
  • Page 721 10.10.0.0/16 to the multicast address in the range of 225.1.0.0/16. <3Com> system-view <3Com] acl number 110 <3Com-acl-adv-110] rule permit ip source 10.10.0.0 255.255.0.0 destination 225.1.0.0 255.255.0.0 <3Com-acl-adv-110] quit <3Com] multicast routing-enable <3Com] pim...
  • Page 722 7: M HAPTER ULTICAST OMMON ONFIGURATION OMMANDS reset pim routing-table { group-address [ mask group-mask | group-mask-length ] [ source-address [ mask source-mask | source-mask-length ] [ incoming-interface { interface-type interface-number | null } ] } * View User view Parameter all: All PIM route entries.
  • Page 723 <3Com] multicast routing-enable <3Com] pim <3Com-pim] source-policy 1 <3Com-pim] quit <3Com] acl number 1 <3Com-acl-basic-1] rule permit source 10.10.1.2 0 <3Com-acl-basic-1] rule deny source 10.10.1.1 0 spt-switch-threshold Syntax spt-switch-threshold { traffic-rate | infinity } [ group-policy acl-number ] undo spt-switch-threshold { traffic-rate | infinity } [ group-policy acl-number ]...
  • Page 724 Set the threshold value to 4Kbps. If the transmission rate from the source to the multicast group is higher than it, the router will switch to the SPT toward the source. <3Com> system-view <3Com] multicast routing-enable <3Com] pim <3Com-pim] spt-switch-threshold 4 static-rp...
  • Page 725: Msdp Configuration Commands

    If this command is executed repeatedly, the new configuration will overwrite the previous one. For the related command, see display pim rp-info. Example Configure 10.110.0.6 as a static RP. <3Com] multicast routing-enable <3Com] pim <3Com-pim] static-rp 10.110.0.6 MSDP Configuration Commands...
  • Page 726 Using the undo debugging msdp command, you can disable MSDP debugging functions. By default, MSDP debugging functions are disabled. Example Enable all common MSDP debugging functions. <3Com> debugging msdp all display msdp brief Syntax display msdp brief View Any view...
  • Page 727 MSDP peer. For the related command, see peer. Example Display the detailed information of the MSDP peer 10.110.11.11. <3Com> display msdp peer-status 10.110.11.11 MSDP Peer 20.20.20.20, AS 100 display msdp sa-cache Syntax display msdp sa-cache [ group-address ] [ source-address ] [...
  • Page 728 Using the display msdp sa-cache command, you can view (S, G) state learnt from MSDP peer. Only cache-sa-enable command is configured, can cache state be displayed. Example <3Com> display msdp sa-cache MSDP Total Source-Active Cache - 5 entries (Source, Group) (10.10.1.2, 225.1.1.1) (10.10.1.3, 225.1.1.1)
  • Page 729 Configure which (S, G) entries from the multicast routing table will be advertised in SA messages originated by the MSDP peer. <3Com> system-view <3Com] acl number 101 <3Com-acl-adv-101] rule permit ip source 10.10.0.0 0.0.255.255 destination 225.1.0.0 0.0.255.255 <3Com-acl-adv-101] quit <3Com] msdp <3Com-msdp] import-source acl 101...
  • Page 730 SA messages. Example Trace (10.10.1.1, 225.2.2.2, 20.20.20.20) path information. <3Com> msdp-tracert 10.10.1.1 225.2.2.2 20.20.20.20 Specify the maximum number of hops that are traced and collect detailed information of SA and MSDP peer.
  • Page 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 cache but with a different RP RP-bit: set if this router is an RP NC-bit: set if this router is not caching SA's...
  • Page 732 Configure logical RP by using this command. Example Configure IP address of the interface Ethernet1/0/0 as the RP address in the SA message originated. <3Com> system-view <3Com] msdp <3Com-msdp] originating-rp ethernet 1/0/0 peer Syntax peer peer-address connect-interface interface-type interface-number undo peer peer-address View...
  • Page 733 MSDP Configuration Commands <3Com> system-view <3Com] msdp <3Com-msdp] peer 125.10.7.6 connect-interface ethernet 0/1/0 peer description Syntax peer peer-address description text undo peer peer-address description View MSDP view Parameter peer-address: Address of MSDP peer. text: Descriptive text, being case sensitive. The maximum length is 80 characters.
  • Page 734 By default, an MSDP peer is not a member of any Mesh Group. Example Configure the MSDP peer with address 125.10.7.6 to be a member of the Mesh Group Grp1. <3Com> system-view <3Com] msdp <3Com-msdp] peer 125.10.7.6 mesh-group Grp1 peer minimum-ttl Syntax peer peer-address minimum-ttl ttl undo peer peer-address minimum-ttl View...
  • Page 735 MSDP peers but waits to receive the next SA message. For the related command, see cache-sa-enable. Example Configure to send SA request message to the MSDP peer 125.10.7.6. <3Com> system-view <3Com] msdp <3Com-msdp] peer 125.10.7.6 request-sa-enable peer sa-cache-maximum Syntax peer peer-address sa-cache-maximum sa-limit undo peer peer-address sa-cache-maximum View...
  • Page 736 For the related command, see peer. Example Forward only those SA messages that passed the advanced IP ACL. <3Com> system-view <3Com] acl number 100 <3Com-acl-adv-100] rule permit ip source 170.15.0.0 0.0.255.255 destination 225.1.0.0 0.0.255.255 <3Com-acl-adv-100] quit <3Com] msdp <3Com-msdp] peer 125.10.7.6 connect-interface ethernet 0/0/0 <3Com-msdp] peer 125.10.7.6 sa-policy export acl 100...
  • Page 737 175.58.6.5. The SA request messages from group address range 225.1.1.0/8 will be received and all the others will be ignored. <3Com> system-view <3Com] acl number 1 <3Com-acl-basic-1] rule permit source 225.1.1.0 0.0.0.255 <3Com-acl-basic-1] quit <3Com] msdp <3Com-msdp] peer 175.58.6.5 sa-request-policy acl 1...
  • Page 738 HAPTER ULTICAST OMMON ONFIGURATION OMMANDS Example Clear TCP connection and statistics of the MSDP peer 125.10.7.6. <3Com> reset msdp peer 125.10.7.6 reset msdp sa-cache Syntax reset msdp sa-cache [ group-address ] View User view Parameter group-address: Address of the group, (S, G) entries matching which are cleared from the SA cache.
  • Page 739 By default, no MSDP peer is disabled. For the related command, see peer. Example Disable the MSDP peer 125.10.7.6. <3Com> system-view <3Com] msdp <3Com-msdp] shutdown 125.10.7.6 static-rpf-peer Syntax static-rpf-peer peer-address [ rp-policy list ] undo static-rpf-peer peer-address View MSDP view Parameter peer-address: Address of the static RPF peer to receive SA messages.
  • Page 740: Mbgp Multicast Extension Configuration Commands

    ULTICAST OMMON Example Configure two static RPF peers. <3Com> system-view <3Com] ip ip-prefix list1 permit 130.10.0.0 16 <3Com] ip ip-prefix list2 permit 130.10.0.0 16 <3Com] msdp <3Com-msdp] peer 130.10.7.6 connect-interface ethernet 1/0/0 <3Com-msdp] peer 130.10.7.5 connect-interface ethernet 1/0/0 <3Com-msdp] static-rpf-peer 130.10.7.6 rp-policy list1 <3Com-msdp] static-rpf-peer 130.10.7.5 rp-policy list2...
  • Page 741 Using the aggregate command without parameters, you can create one local aggregated route and set atomic aggregation attributes. Example Create a multicast aggregated record in the BGP routing table and set the address of aggregated route is 192.213.0.0. <3Com-bgp-af-mul] aggregate 192.213.0.0 255.255.0.0 debugging bgp Syntax mp-update debugging bgp mp-update...
  • Page 742 Using the display bgp multicast group command, you can view the information about peer groups. Example Display the information about the peer group named my_peer. <3Com> display bgp multicast group my_peer display bgp multicast Syntax network display bgp multicast network...
  • Page 743 IP address is specified in the BGP routing table. Example Display the MBGP routing information with destination network segment 14.1.0.0. <3Com> display bgp multicast routing-table 14.1.0.0 display bgp multicast Syntax routing-table cidr display bgp multicast routing-table cidr...
  • Page 744 MBGP community. Example Display the routing information that belongs to the specified MBGP community. <3Com> display bgp multicast routing-table community 600:1 <3Com> display bgp multicast routing-table community no-export display bgp multicast Syntax...
  • Page 745 Using the display multicast routing-table peer command, you can view the route received from or sent to the specified multicast neighbor. Example Display the routing information sent to the multicast neighbor 10.10.1.11. <3Com> display multicast routing-table peer 10.10.1.11 advertised display bgp multicast Syntax routing-table...
  • Page 746 Using the display bgp multicast routing-table statistic command, you can view statistics of MBGP route information. Example Display statistics of MBGP route information. <3Com> display bgp multicast routing-table statistic import-route Syntax import-route protocol [ route-policy policy-name ] [ med metric ]...
  • Page 747 BGP. Using the undo network command, you can remove the existing configuration. By default, the local BGP does not advertise any route. Example Advertise routes to the network segment 10.0.0.0/16. <3Com-bgp-af-mul] network 10.0.0.1 255.255.0.0 peer Syntax advertise-community peer { group-name | peer-address } advertise-community...
  • Page 748 Example Specify to contain the local AS number in the AS_PATH attributes received. <3Com-bgp] ipv4-family multicast <3Com-bgp-af-vpn] peer 1.1.1.1 allow-as-loop 1 peer as-path-acl Syntax peer { group-name | peer-address } as-path-acl number { import | export } undo peer { group-name | peer-address } as-path-acl number { import |...
  • Page 749 Set BGP filter policy based on AS path list for the peer (group). <3Com-bgp] peer test as-number 100 <3Com-bgp] ipv4-family multicast <3Com-bgp-af-mul] peer test enable <3Com-bgp-af-mul] peer test as-path-acl 3 export peer enable Syntax peer { group-name | peer-address} enable...
  • Page 750 Set the filter policy list for a peer. <3Com-bgp] peer test as-number 100 <3Com-bgp] ipv4-family multicast <3Com-bgp-af-mul] peer test enable <3Com-bgp-af-mul] peer test filter-policy 3 import peer ip-prefix Syntax peer { group-name | peer-address } ip-prefix prefixname { import | export }...
  • Page 751 By default, no route filter policy is configured for the peer (group). Example Configure the route filter policy based on the address prefix-list for the peer. <3Com-bgp-af-mul] peer group1 ip-prefix list1 import peer next-hop-local Syntax peer { group-name | peer-address } next-hop-local...
  • Page 752 AS number when BGP sends update packets. Example Configure not to carry private AS number when BGP sends update packets to peer group named test. <3Com-bgp-af-mul] peer test public-as-only peer reflect-client Syntax peer { group-name | peer-address } reflect-client...
  • Page 753: Multicast Static Route Configuration Commands

    (group). By default, no route policy is specified for the peer (group). Example Apply route policy policy 1 to the routes received from the peer group named test. <3Com-bgp-af-mul] peer test route-policy policy1 import Multicast Static Route Configuration Commands...
  • Page 754 <3Com> display multicast routing-table static Matched routing protocol = = <none>, route-policy = <none>, preference = 1 Display the multicast static routes that exactly match the address 10.10.0.0/16. <3Com> display multicast routing-table static 10.10.0.0 255.255.0.0 display multicast Syntax routing-table static...
  • Page 755 For the related command, see display multicast routing-table static. Example Display all the configured multicast static routes. <3Com> display multicast routing-table static config Display the multicast static routes that exactly match the address 1.0.0.0/8. <3Com> display multicast routing-table static config 1.0.0.0 255.0.0.0 ip rpf-longest-match Syntax ip rpf-longest-match...
  • Page 756 Example Configure a multicast static route. <3Com> system-view <3Com] ip rpf-route-static 1.0.0.0 255.0.0.0 rip route-policy map1 11.0.0.1 Display the multicast static route configured. <3Com] display multicast routing-table static config Continue to configure the multicast static route.
  • Page 757 Multicast Static Route Configuration Commands Display the multicast static route configured. <3Com] display multicast routing-table static config...
  • Page 758 7: M HAPTER ULTICAST OMMON ONFIGURATION OMMANDS...
  • Page 759: Mpls Basic Configuration Commands

    MPLS Basic Configuration Commands This chapter describes the following types of commands: Basic Configuration Commands debugging mpls lspm Syntax debugging mpls lspm { all | packet | event | ftn | process | agent | interface | policy | vpn } undo debugging mpls lspm { all | packet | event | ftn | process | agent | interface | policy | vpn } View...
  • Page 760 MPLS LSPM. Enabling the debugging will affect the performance of the router, so it is recommended that the command be used with caution. Example Enable all relevant debugging of MPLS VPN. <3Com> debugging mpls lspm vpn display mpls interface Syntax display mpls interface...
  • Page 761 For the related commands, see display mpls interface, display mpls statistics, and display static-lsp. Example Display all LSPs whose incoming interfaces are Serial 3/0/0. [3Com] display mpls lsp include incoming-interface serial3/0/0 display mpls static-lsp Syntax display mpls static-lsp { verbose | include text }...
  • Page 762 MPLS-enabled interface. For the related commands, see display mpls interface and display mpls lsp. Example Display MPLS statistics. [3Com] display mpls statistics lsp all Building the information... LSP Index/LSP Name : LSP ingress LSP ingress...
  • Page 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 interface is: 0 The statistics of interface : Serial6/0/1 The statistics of interface in : In Octets of Mpls interface is: 0 In Packets of Mpls interface is: 0 In Errors of Mpls interface is: 0...
  • Page 764 If you import an IP-prefix rule without contents, LSPs can be established at all host routes according to the IP-prefix usage convention in VRP. For the related command, see ip ip-prefix. Example Allow to set up LSPs at all routes. [3Com-mpls] lsp-trigger all mpls Syntax mpls View...
  • Page 765 Using the reset mpls statistics command, you can clear MPLS statistics. This command clears statistics on all or single interface(s) or on all or single LSP(s). For the related command, see display mpls statistics. Example Clear statistics on the LSP named “Marlborough”. [3Com] reset mpls statistics lsp name marlborough...
  • Page 766 Trap function in MPLS LDP creation. By default, TRAP function is not enabled during MPLS LDP creation. Example Enable TRAP function during MPLS LDP creation. [3Com] snmp-agent trap enable lDp snmp-agent trap enable Syntax snmp-agent trap enable lsp undo snmp-agent trap enable lsp...
  • Page 767 By default, this command can be used to configure a static LSP for an egress LSR. For the related commands, see static-lsp ingress and debugging mpls. Example Configure a static LSP named “bj-sh” on the egress LSR. [3Com-mpls] static-lsp egress bj-sh incoming-interface serial8/0/0 in-label 233 static-lsp ingress Syntax...
  • Page 768 For the related commands, see static-lsp egress, static-lsp transit, and debugging mpls. Example Configure a static LSP for the ingress LSR heading for the destination address 202.25.38.1. [3Com-mpls] static-lsp ingress bj-sh destination 202.25.38.1 24 nexthop 202.55.25.33 out-label 237 static-lsp transit Syntax static-lsp transit lsp-name incoming-interface interface-type interface-num...
  • Page 769: Ldp Configuration Commands

    [3Com-mpls] static-lsp transit bj-sh incoming-interface serial3/0/0 in-label 123 nexthop 202.34.114.7 out-label 253 statistic interval Syntax statistics interval interval-time undo statistics interval View MPLS view Parameter interval-time: Time interval in seconds. It ranges from 30 to 65535. Description Using the statistic interval command, you can configure the time interval for reporting statistics.
  • Page 770 Using the undo debugging ldp command, you can disable the debugging of various LDP messages. This command displays various LDP debugging information. You are recommended to use the command cautiously. Example Enable LDP debugging. <3Com> debugging mpls ldp all display mpls ldp Syntax display mpls ldp View Any view...
  • Page 771 Description Using the display mpls ldp buffer-info command, you can view the buffer information of LDP. Example Display LDP buffer information. [3Com] display mpls ldp buffer-info ----------------------------------------------------------------- Buffer-Name ----------------------------------------------------------------- ENTITY LOCAL-IF PEER-IF ADJACENCY PEER-INF SESSION US-BLK DS-BLK US-LIST TRIG-BLK LABEL-RANGE...
  • Page 772 Using the display mpls ldp lsp command, you can view relevant LSP information created via LDP. For the related command, see display mpls lsp. Example Display LSP. [3Com-Ethernet3/0/0] display mpls ldp lsp display mpls ldp peer Syntax display mpls ldp peer View...
  • Page 773 LDP Configuration Commands For the related commands, see mpls ldp remote and remote-peer. Example Display the configured remote-peer information. [3Com] display mpls ldp remote display mpls ldp session Syntax display mpls ldp session View Any view Parameter None Description Using the display mpls ldp session command, you can display the session between peers.
  • Page 774 8: MPLS B HAPTER ASIC ONFIGURATION [3Com] mpls ldp mpls ldp advertise Syntax mpls ldp advertise { implicit-null | explicit-null | non-null } undo mpls ldp advertise { implicit-null | explicit-null | non-null } View System view Parameter explicit-null: Specifies to assign explicit null label to the penultimate hop at egress.
  • Page 775 LDP Configuration Commands [3Com-mpls] mpls label advertise non-null mpls ldp enable Syntax mpls ldp enable mpls ldp disable View Interface view Parameter None Description Using the mpls ldp enable command, you can enable LDP on an interface. Using the undo mpls ldp enable command, you can disable LDP on an interface.
  • Page 776 ASIC ONFIGURATION OMMANDS Example Set the maximum hops of loop detection to be 22. [3Com] mpls ldp hops-count 22 Set the maximum hops of loop detection as 32, the default value. [3Com] undo mpls ldp hops-count mpls ldp loop-detect Syntax...
  • Page 777 Using the undo mpls ldp password command, you can remove the configuration. Example Configure the LDP authentication mode to be in plain text, with a password of 123. [3Com-Ethernet0/0/0.1] mpls ldp password simple 123 mpls ldp path-vectors Syntax mpls ldp path-vectors pv-number undo mpls ldp path-vectors...
  • Page 778 This command can create/delete a remote-peer so as to create remote session. For the related command, see remote-peer. Example Create a remote-peer. [3Com] mpls ldp remote-peer 22 [3Com-mpls-remote22] Delete a remote-peer. [3Com-mpls-remote22] undo mpls ldp remote-peer 12 [3Com] mpls ldp reset-session Syntax mpls ldp reset-session peer-address View Interface view Parameter peer-address: Corresponding LDP Peer address (in IP address format).
  • Page 779 For the related commands, see mpls ldp and mpls ldp enable. Example Modify the duration of a Hello timer. [3Com-Ethernet3/0/0] mpls ldp timer hello 30 mpls ldp transport-ip Syntax mpls ldp transport-ip { interface | ip-address }...
  • Page 780: Bgp/Mpls Vpn Configuration Commands

    Example Take the address of the local interface as a transport address. [Quidwa-Ethernet3/0/0] mpls ldp transport-ip interface Take the address of another interface as the transport address. [3Com-Ethernet3/0/0] mpls ldp transport-ip 10.1.11.2 remote-ip Syntax remote-ip remoteip View Remote-peer view Parameter remote-ip: IP address of a remote peer.
  • Page 781 Example Specify the configured VPN instance. [3Com-route-policy] apply access-vpn vpn-instance vpn1 debugging bgp Syntax debugging bgp [ { { keepalive | open | packet | update | route-refresh } [ receive |...
  • Page 782 ONFIGURATION OMMANDS Description The debugging bgp command you can display the information concerning BGP processing. The undo debugging bgp command you can disable debugging function. Example <3Com> debugging bgp vpnv4 description Syntax description vpn-instance-description undo description View Vpn-instance view Parameter vpn-instance-description: Specify the description information of VPN instance.
  • Page 783 Using the display ip routing-table vpn-instance command, you can view the specified information in the IP routing table of vpn-instance. Example Display the IP routing table associated with the vpn-instance. [3Com] display ip routing-table vpn-instance vpn-instance1 Routing Table: vpn-instance1 1233:11...
  • Page 784 Using the display ip vpn-instance command, you can view such information associated with vpn-instance as the VPN instance RD, description and associated interface. Example Display the information about vpn-instance 3Com. [3Com] display ip vpn-instance 3com VPN-Instance : vpn1 display ospf sham-link...
  • Page 785 LSP Information: L3vpn Transit Lsp -------------------------------------------------------------------- TOTAL: 0 Record(s) Found. Display the label swith path relative information of mpls l3vpn. [3Com] display mpls l3vpn-lsp include 3com display mpls l3vpn-lsp Syntax vpn-instance display mpls l3vpn-lsp [ vpn-instance vpn-instance-name ] [ transit | egress | ingress...
  • Page 786 The specified domain ID will not take effect until the reset ospf command is executed. Example Configure domain ID 100 for OSPF procedure 100. [3Com-ospf-100]domain-id 100 [3Com-ospf-100]domain-id 0.0.0.100 import-route Syntax import-route { ospf | ospf-ase | ospf-nssa } [ process-id ] [ med value | route-policy...
  • Page 787 Using the undo ip binding vpn-instance command, you can disable to import OSPF route. CAUTION: By default, the procedure ID IS 1. Example Enable to import an OSPF route with procedure ID 100. [3Com] ip vpn-instance sphinx [3Com-vpn-sphinx] route-distinuisher 168.168.55.1:85 [3Com-vpn-sphinx] quit [3Com] bgp 352 [3Com-bgp] ip vpn-instance sphinx...
  • Page 788 IP address of the interface needs to be reconfigured. Example Bind VPN instance vpn1 to the interface atm0/0/0. [3Com] interface atm1/0/0 [3Com-Atm1/0/0] ip binding vpn-instance vpn1 ip route-static Syntax vpn-instance ip route-static vpn-instance { vpn--name1 vpn-name2 …| ip-address1 } { mask |...
  • Page 789 BGP/MPLS VPN Configuration Commands Example Configure static route with destination address 100.1.1.1, next hop address 1.1.1.2. [3Com] ip route-static vpn-instance vpn1 100.1.1.1 16 vpn-instance vpn1 1.1.1.2 ip vpn-instance Syntax ip vpn-instance vpn-name undo ip vpn-instance vpn-name View System view, routing protocol view Parameter vpn-name: Name assigned to vpn-instance.
  • Page 790 Associate the specified vpn-instance example with IPv4 address family to enter MBGP vpn-instance address family view, which can be configured only after vpn-instance has been configured. [3Com] bgp 100 [3Com–bgp] ipv4 family vpn-instance abc [3Com-bgp-af-vpn-instance] Enter VPNv4 address family view. [3Com] bgp 100...
  • Page 791 Description Using the ospf command, you can an enable OSPF procedure. Using the undo ospf command, you can disable an OSPF procedure. After enabling OSPF procedure, you can perform OSPF configurations in the OSPF protocol view. By default, no OSPF protocol is enabled. VRP supports multiple OSPF procedures, so you can specify different procedure IDs to enable multiple OSPF procedures on a router.
  • Page 792 [3Com] ospf 120 [3Com-ospf-120] Enable OSPF procedure 100, specify its route ID as 2.2.2.2 and bind it to the VPN instance vpn1. [3Com] ospf 100 router-id 2.2.2.2 vpn-instance vpn1 [3Com-ospf-100] peer allow-as-loop Syntax peer { group-name | peer-address } allow-as-loop asn-limit...
  • Page 793 Example Enable route loop detection in the received route updates. [3Com-bgp] ipv4-family vpn-instance one [3Com-bgp-af-vpn-instance] peer 1.1.1.1 allow-as-loop 1 peer as-number Syntax peer { group-name | [ peer-address group group-name ] } as-number as-number undo peer { group-name | [ peer-address group group-name] } as-number...
  • Page 794 TCP connection valid even when the interface fails, the internal BGP session can be configures to be allowed to use any operable TCP-connected interface (For example, Loopback interface). Example Allow the internal BGP session to use any operable interface that connects with TCP. [3Com-bgp-af-vpn-instance] peer 1.1.1.1 connect-interface loopback 0...
  • Page 795 Example Enable the peer (group) test to import a default route. [3Com–bgp] peer test as-number [3Com–bgp] peer test default-route-advertise peer next-hop-local Syntax peer { group-name | peer-address } next-hop-local...
  • Page 796 8: MPLS B HAPTER ASIC ONFIGURATION OMMANDS [3Com-bgp-af-vpn] peer test next-hop-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 group name.
  • Page 797 BGP/MPLS VPN Configuration Commands [3Com-bgp] ipv4-family vpnv4 [3Com-bgp-af-vpn] peer 1.1.1.1 upe route-distinguisher Syntax route-distinguisher route-distinguisher View vpn-instance view Parameter route-distinguisher: Configures a VPN IPv4 prefix by adding an 8-byte value to a IPv4 prefix. Description Using the route-distinguisher command, you can configure RD for an MPLS VPN instance.
  • Page 798 For the related commands, see import-route and default. Example Configure route-tag 100 to OSPF procedure 100. [3Com-ospf-100] route-tag 100 OSPF: Process 100's route tag has been changed OSPF: Reload or use 'reset ospf' command for this to take effect vpn-target...
  • Page 799 16-bit ASN: 32-bit number defined by user, for example, 100:1. 32-bit IP address: 16-bit number defined by user, for example, 172.1.1.1:1. Example Create vpn-target extended community for the vpn-instance. [3Com] ip vpn-instance vpn_red [3Com-vpn-vpn_red] vpn-target 1000:1 both [3Com-vpn-vpn_red] vpn-target 1000:2 export-extcommunity [3Com-vpn-vpn_red] vpn-target 173.27.0.130:2 import-extcommunity...
  • Page 800 Example [3Com] ip vpn-instance vpn1 [3Com-vpn- vpn1] route-distinguisher 100:1 [3Com-vpn- vpn1] vpn-target 100:1 import-extcommunity [3Com-vpn- vpn1] routing-table limit 1000 simply-alert sham-link Syntax sham-link source-addr destination-addr [ cost cost-value ] [ dead seconds ] [ hello seconds ] [ md5 keyid key seconds ] [ retransimit seconds ] [ simple password ] [...
  • Page 801 The same sham link cannot be configured in the different OSPF procedures. A maximum of 50 sham link can be configured in an OSPF procedure. Example Configure a sham link, with source address 1.1.1.1 and destination address 2.2.2.2. [3Com-ospf-100-area-0.0.0.1] sham-link 1.1.1.1 2.2.2.2 cost 100 BGP/MPLS VPN Configuration Commands...
  • Page 802: Mpls L2Vpn Ccc Configuration Commands

    “Multi-VPN-Instance enable on CE router”. CAUTION: OSPF process will set up all peers again after this command is run. Example Configure OSPF procedure 100 as Multi-VPN-Instance CE. [3Com-ospf-100] vpn-instance-capability simple Restore the OSPF procedure 100 as PE. [3Com-ospf-100] undo vpn-instance-capability MPLS L2VPN CCC...
  • Page 803 You can delete a CCC connection in the interface or system view. For the related command, see ccc interface out-interface. Example Create a remote CCC connection clink, with the transmit-LSP being tlsp and the receive-LSP being rlsp. [3Com-Ethernet3/0/0] ccc clink interface serial0/0/0 transmit-lsp tlsp receive-lsp rlsp ccc interface Syntax out-interface...
  • Page 804 Example Create a local CCC connection clink, with two CEs connected respectively to Ethernet0/0/0 and Ethernet2/0/0. [3Com] ccc clink interface serial0/0/0 out-interface Ethernet 2/0/0 debugging mpls l2vpn Syntax debugging mpls l2vpn { all | advertisement | error | event | connections [ interface...
  • Page 805 CCC connection. For related commands, see static-lsp ingress l2vpn and debugging mpls. Example Add the static LSP bj-sh at egress LSR. [3Com-mpls] static-lsp egress bj-sh l2vpn incoming-interface serial8/0/0 in-label 233 static-lsp ingress l2vpn Syntax static-lsp ingress lsp-name { l2vpn | destination ip_addr } { nexthop next-hop-addr |...
  • Page 806 For related commands, see static-lsp egress lvpn, static-lsp transit, and debugging mpls. Example Add the static LSP with destination address 202.25.38.1 at ingress LSR. [3Com-mpls] static-lsp ingress bj-sh destination 202.25.38.1 24 nexthop 202.55.25.33 out-label 237 static-lsp transit l2vpn Syntax static-lsp transit lsp-name l2vpn incoming-interface interface-type interface-num...
  • Page 807: Svc Mpls L2Vpn Configuration Commands

    Example Add a static LSP used in 12vpn for the Serial0/0/0 of transit LSR, with inbound label being 123 and outbound label being 253. [3Com-mpls] static-lsp transit bj-sh l2vpn incoming-interface serial0/0/0 in-label 123 nexthop 202.34.114.7 out-label 253 SVC MPLS L2VPN...
  • Page 808: Martini Mpls L2Vpn Configuration Commands

    Using the mpls static-l2vc command, you can create an SVC MPLS L2VPN connection. Using the undo mpls static-l2vc command, you can delete the connection. Example Create SVC MPLS L2VPN connection. [3Com-s1/1/0] mpls static-l2vc destination 192.1.1.1 transmit-vpn-label 333 receive-vpn-label 111 Martini MPLS L2VPN Configuration Commands...
  • Page 809: Kompella Mpls L2Vpn Configuration Commands

    Enable MPLS L2VPN and encapsulate CCC on the interface before using this command. For the related command, see mpls l2vpn and ccc. Example Create LDP connection. [3Com-Ethernet3/0/0] mpls l2vc 10.0.0.11 Kompella MPLS L2VPN Configuration Commands Syntax ce name [ id id range range ] [ default-offset offset ] ]...
  • Page 810 Configure RD for MPLS L2VPN first before establishing a CE connection. For related commands, see mpls l2vpn encapsulation and ccc. Example Establish a CE connection. [3Com] mpls l2vpn vpna [3Com-l2vpn-vpna] ce ce-a id 1 range 4 [3Com-l2vpn-vpna-ce-ce-a] connection s0/0/0 ce-offset 2...
  • Page 811 Using the display bgp l2vpn all command, you can view system operating information and all L2VPN information. Example Display all L2VPN information. [3Com] display bgp l2vpn all BGP local router ID is 172.16.1.5 , ? - incomplete bgp.l2vpn: 3 destinations...
  • Page 812 Description Using the display mpls l2vpn forwarding-info command, you can view the L2VPN information under a specific interface. Example Display the L2VPN information under a specific interface. [3Com] display mpls l2vpn forwarding-info interface serial1/0/0 VCLABEL TUNNELTYPE 102402 FALSE Record(s) Found.
  • Page 813 After creating Kompella MPLS L2VPN, system will create a L2VPN mode, all the parameters of which are configured in L2VPN mode. For related commands, see ce and mtu. Example Create a Kompella MPLS L2VPN, named “3Com”, with encapsulation type being vlan:...
  • Page 814 PEs must be the consistent in the whole SP network. Otherwise, VPN will not work normally. For the related command, see mpls l2vpn encapsulation. Example Configure the mtu of VPN “3Com” as 1000. [3Com-l2vpn-3Com] mtu 1000 peer enable Syntax peer { group-name | peer-address } enable...
  • Page 815: Mpls Te Configuration Commands

    Example Add a node into the explicit path. [3Com] mpls te explicit-path 3Com enable [3Com-mpls-te-expl-path-3Com] add hop 10.0.0.1 after 10.0.0.2 loose debugging mpls rsvp-te Syntax debugging mpls rsvp-te { all | error | path | ptear | resv | rtear | rconf | hello | perr |...
  • Page 816 Description Using the delete hop command, you can delete a node in the explicit path view. Example Delete a node. [3Com] mpls te explicit-path 3Com enable [3Com-mpls-te-expl-path-3Com] delete hop 10.0.0.1 display mpls rsvp-te Syntax display mpls rsvp-te { interface interface-type interface-number }...
  • Page 817 PATH and RESV message refresh interval is 30 second PATH and RESV message resent times is 3 Blockade keep times is 4 # Display information of the interface Ethernet0/0/0. [3Com] display mpls rsvp-te interface e0/0/0 IF Name Ethernet0/0/0 display mpls rsvp-te...
  • Page 818 RSVP. By default, the peer information of all RSVP interfaces will be displayed. Example Display the peer information of all RSVP interfaces. [3Com] display mpls rsvp-te peer display mpls rsvp-te Syntax path display mpls rsvp-te path [ destination ip-address | lsp-id ip-address | source...
  • Page 819 Using the display mpls rsvp-te resv command, you can view reserved resources of RSVP. By default, the reserved resources of all RSVP interfaces will be displayed. Example Display the reserved resources of all RSVP interfaces. [3Com] display mpls rsvp-te resv display mpls te Syntax explicit-path display mpls te explicit-path [ path-name ]...
  • Page 820 For the related command, see display mpls te link-administration bandwidth-distribution. Example Display the admission control information of all RSVP interfaces. [3Com] display mpls te link-administration admission-control System Information:: CrLsp Count: 4 CrLsp Selected: 4 CrLsp ID 10.106.0.6:1 AT1/0/0.2 - 10.106.0.6:2 Et4/0/1...
  • Page 821 By default, the link information of all RSVP interfaces will be displayed. Example Display MPLS TE link-administration bandwidth distribution. [3Com] display mpls te link-administration bandwidth-distribution Ethernet4/0/1 System Information:: Links Count: 2 Link ID: Et4/0/1 (10.1.0.6) Physical Bandwidth: 10000 kbits/sec Max Reservable BW: 5000 kbits/sec (reserved:0% in, 60% out)
  • Page 822 Description Using the display mpls te tunnel commit-last command, you can view the latest tunnel configuration information. Example Display the latest tunnel configuration information. [3Com] display mpls te tunnel commit-last 0/0/0 Tunnel0 Status: Down Loop detection: Enable Record label: Disable...
  • Page 823 LSP has been created. Example Display the configuration information of the CR-LSPs created successfully. [3Com] display mpls te tunnel running 0 Tunnel0 Status: Down Loop detection: Enable...
  • Page 824 Using the modify hop command, you can specify or modify the addresses of the nodes along explicit path in the explicit path view by index. Example Modify node information. [3Com-mpls-te-expl-path-3Com] modify hop 10.0.0.1 10.0.0.2 loose mpls rsvp-te Syntax mpls rsvp-te...
  • Page 825 For the related commands, see mpls rsvp-te timer refresh. Example Set the multiplier as 5. [3Com] mpls rsvp-te blockade-multiplier 5 Restore the default multiplier. [3Com] undo mpls rsvp-te blockade-multiplier mpls rsvp-te hello Syntax...
  • Page 826 For the related command, see mpls rsvp-te timer hello. Example Set the times value to 5 when no Hello response messages are received consecutively. [3Com] mpls rsvp-te hello-lost 5 mpls rsvp-te Syntax keep-multiplier mpls rsvp-te keep-multiplier times...
  • Page 827 Hello messages. Using the undo mpls rsvp-te timer hello command, you can restore the default value. For the related commands, see mpls rsvp-te hello and mpls rsvp-te hello-lost. Example Set Hello message refreshing period as 5 seconds. [3Com] mpls rsvp-te timer hello 5...
  • Page 828 8: MPLS B HAPTER ASIC ONFIGURATION Restore the default value. [3Com] undo mpls rsvp-te timer hello mpls rsvp-te timer Syntax refresh mpls rsvp-te timer refresh seconds undo mpls rsvp-te timer refresh View System view Parameter seconds: Time interval for refreshing Path/Resv messages, in the range of 1~65535 seconds.
  • Page 829 MPLS TE Configuration Commands 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 enable mpls te Syntax mpls te undo mpls te View MPLS view, interface view Parameter None Description Using the mpls te command, you can enable MPLS TE feature. Using the undo mpls te command, you can disable MPLS TE feature.
  • Page 830 The maximum reservable bandwidth must be greater than sum of the bandwidth of all tunnels. For related commands, see mpls te max-reservable-bandwidth. Example Set the tunnel bandwidth as 8kbps. [3Com-tunnel1/0/0] mpls te bandwidth 8 mpls te commit Syntax mpls te commit View...
  • Page 831 Using the undo mpls te explicit-path command, you can delete a specified path. By default, no explicit is specified. For related commands, see mpls te path explicit-path. Example Enter the explicit path “3Com” view. [3Com] mpls te explicit-path 3Com mpls te Syntax flooding-thresholds mpls te flooding-thresholds { down | up } percent [ percent ] ...
  • Page 832 LSP as 20. By default, link management group is not configured. Example Configure link management group at the interface ethernet1/0/0 to 20. [3Com-ethernet1/0/0] mpls te link-administrative-group 20 mpls te metric Syntax mpls te metric metric undo mpls te metric...
  • Page 833 Using the undo mpls te max-link-bandwidth command, you can restore the default value. Example Set the maximum bandwidth at the interface as 64kbps. [3Com-Ethernet1/0/0] mpls te max-link-bandwidth 64 mpls te Syntax max-reservable-bandwi mpls te max-reservable-bandwidth bandwidth...
  • Page 834 Using the mpls te path explicit-path command, you can configure explicit for a tunnel. Using the undo mpls te path explicit-path command, you can delete the route. For related commands, see mpls te explicit-path. Example [3Com-tunnel1] mpls te path explicit-path 3Com mpls te record-label Syntax mpls te record-label undo mpls te record-label...
  • Page 835 By default, actual route is not recorded. Example Indicate to record actual route and label in creating tunnels. [3Com-tunnel1] mpls te record-label mpls te resv-style Syntax mpls te resv-style [ ff | se ] undo mpls te resv-style...
  • Page 836 Using the mpls te signal-protocol rsvp-te command, you can set signaling protocol in creating tunnels as RSVP. Example Select RSVP in creating RSVP tunnels. [3Com-tunnel] mpls te signal protocol cpldp mpls te timer Syntax periodic-flooding mpls te timer periodic-flooding seconds...
  • Page 837 Using the next hop command, you can specify next IP address on the explicit path. Using the undo next hop command, you can delete the IP address specified. By default, strict is selected. Example Specify the next IP address as 10.0.0.1. [3Com-mpls-te-expl-path-3Com]] next hop 10.0.0.1 loose tunnel-protocol mpls te Syntax tunnel-protocol mpls te View...
  • Page 838 OMMANDS View Explicit path view Parameter ip-address: IP address of the node Description Using the view hop command, you can view node information. Example Display node information. [3Com-mpls-te-expl-path-tandoon] view hop explicit-path id : 0, name : xhy, status : enable...

Table of Contents