Page 31
Conventions Related Documentation OMMAND NTERFACE OMMANDS Command Line Interface Commands OMMANDS SED TO OG IN TO WITCH Logging in to Switch Commands ONFIGURATION ANAGEMENT OMMANDS Configuration File Management Commands VLAN C ONFIGURATION OMMANDS VLAN Configuration Commands Port-Based VLAN Configuration Commands...
Page 32
ACL C OMMANDS ACL Commands OMMANDS QoS Commands ACL C ONTROL OMMANDS TO ONTROL OGIN SERS The ACL Control Commands to Control Login Users VLAN-ACL C ONFIGURATION OMMANDS VLAN-ACL Configuration Commands 802.1 ONFIGURATION OMMANDS 802.1x Configuration Commands RADIUS/HWTACACS P ROTOCOL...
Page 33
TATIC OUTE ONFIGURATION OMMANDS Display Commands of the Routing Table Static Route Configuration Commands RIP C ONFIGURATION OMMANDS RIP Configuration Commands OSPF C ONFIGURATION OMMANDS OSPF Configuration Commands IS-IS C NTEGRATED ONFIGURATION OMMANDS Integrated IS-IS Configuration Commands BGP C ONFIGURATION...
Page 36
1001 NFORMATION ENTER Information Center Configuration Commands 1003 YSTEM AINTENANCE OMMANDS Basic System Configuration and Management Commands 1025 System Status and System Information Query Commands 1028 System Debug Commands 1033 Network Connection Test Commands 1035 ROTOCOL ECURITY ONFIGURATION OMMANDS Protocol Port security Configuration Commands...
Page 37
(+), for example: Press Ctrl+Alt+Del The words “enter” and “type” When you see the word “enter” in this guide, you must type something, and then press Return or Enter. Do not press Return or Enter when an instruction simply says “type.”...
Convention Description Words in italics Italics are used to: Emphasize a point. Denote a new term at the place where it is defined in the text. Identify menu names, menu commands, and software button names. Examples: From the Help menu, select Contents.
When a user logs in to the switch, the command level that it can access depends on two points. One is the command level that the user itself can access, the other is the set command level of this user interface.
The display history-command command is used to query selectively the history commands. All the history commands are stored in the history command buffer. When the history command buffer is full, the oldest information in the buffer will be replaced by new information.
Page 41
If you only specify Command-Number, the Command-Number pieces of ■ commands executed recently will be displayed. If you specify a regular expression "| { begin | include | exclude } ■ Match-string", all the commands that have been successfully executed by the user and that match the regular expression.
Use the super command to enable the user to change to user level from the current user level. If the user has set the super password [ level level ] { simple | cipher } password, then user password of the higher level is needed, or the former...
Parameter level: Specifies the entering password of the specified priority, ranging from 1 to 3. The default value is 3, i.e. do not specify user level. It means the password to be set is used for entering level 3. simple: Displays the current password with plain text.
Page 44
1: C HAPTER OMMAND NTERFACE OMMANDS <SW8800>system-view System View: return to User View with Ctrl+Z. [SW8800] super password level 3 simple zbr...
By default, terminal authentication is not required for local users log in via the Console port. However, password authentication is required for local users and remote Modem users to log in via the AUX port, and for Telnet users and VTY users to log in through Ethernet port.
Therefore use caution when using this command. Ensure that you will be able to log in to the system in some other way to cancel ■ the configuration, before you configure the auto-execute command command and save the configuration.
Use the databits command to configure the data bits for the user interface. Use the undo databits command to restore the default bits of the user interface. This command can only be performed in Console and AUX user interface view.
Tx/Rx User interface speed Modem Modem operation mode Privi Which levels of commands can be used after logging in from the user interface Auth User interface authentication method The physical location of user interfaces # Display the summary information of user interface 0.
Field Description Current user interface is in use and work in asynchronous mode. Number of the first list is the absolute number of user interface. Number of the second list is the relative number of user interface. Delay Indicates the interval from the latest input till now in seconds.
# Release user interface 1 after logged in to the switch via user interface 0. <SW8800> free user-interface 1 After the command is executed, user interface 1 will be disconnected. It will not be connected to the switch until you log in via the user interface 1 for the next time. header...
Page 51
The system supports two types of input modes: one is to input all the text in one line, and altogether 256 characters, including command key word, can be input; the other is to input all the text in several lines using the <Enter>...
Page 52
"Hello, welcome!" is displayed on the terminal screen. The initial character 0 is not header content. 2 You can also input the header content in a single line. In this case, the beginning and the end character serve as the identifiers and must be the same. For example, <SW8800>...
View User interface view Parameter value: Defines the size of the history buffer, ranging from 0 to 256. By default, the size is 10, that is, 10 history commands can be saved. Description Use the history-command max-size command to configure the size of the history command buffer.
Specifies the minute, ranging from 0 to 35791. seconds: Specifies the second, ranging from 0 to 59. Description Use the idle-timeout command to configure the timeout function. If there is no user operation performed before idle-timeout expires, the user interface will be disconnected.
Syntax lock View User view Parameter None Description Use the lock command to lock the user interface to prevent unauthorized user from operating it. Example # Lock the current user interface. <SW8800> lock Password: xxxx Again: xxxx modem Syntax...
By default, the mode is set to manual answer. This command can only be performed in AUX user interface view. Example # Configure the answer mode of the Modem on the AUX port as auto-answer. <SW8800>system-view System View: return to User View with Ctrl+Z.
Configures to perform space parity. Description Use the parity command to configure the parity mode on the user interface. Use the undo parity command to restore the default parity mode. This command can only be performed in Console and AUX user interface view.
None Description Use the quit command to return to the lower level view from the current view. If the current view is user view, you can quit the system. There are three levels of views, which are listed from low to high as follows: User view ■...
View System view or above Parameter None Description Use the return command to return to user view from a view other than user view. Combination key <Ctrl+Z> performs the same function with the return command. Related command: quit. Example # Return to user view from system view.
For Aux or Console user types, it can be 0 only. For VTY user type, it ranges from 0 to 4. If the type is not specified, it is an absolute number, which ranges from 0 to 6.
If the authentication is in the cipher mode, the password can be either in encrypted text or in plain text. The result is determined by the input. A plain text password is a sequential character string of no more than 16 digits, for example, 3com918.
■ You will be asked to confirm before executing this command on any legal user ■ interface. Example # Disable terminal service on the vty user interface 0 to 4 after logging in to the switch via user interface 0.
View User interface view Parameter speed-value: Specifies the transmission rate on the user interface in bps, which can be 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, or 115200. The default rate is 9600 bps. Description Use the speed command to configure the transmission rate on the user interface.
Use the undo stopbits command to restore the default stop bits. This command can only be performed in Console and AUX user interface view. By default, the value is 1. Note that setting 1.5 stop bits is not available on 3Com Switch 8800 Family Series Routing Switches at present. Example # Set stop bits to 2.
0 to 65535. Description Use the telnet command to log in to another switch from the current one via telnet for remote management. To terminate the Telnet login, press <Ctrl+K>. By default, when the service-port is not specified, the default telnet port number is Related command: display tcp status and ip host.
0 to 6. last-number: Specifies the number of the last user interface to be configured. It must be an integer in the range of 1 to 6 and it must be greater than the value of first-number.
Page 67
System View: return to User View with Ctrl+Z. [SW8800] user-interface vty 0 [3Com-ui-vty0] user privilege level 0 # After you telnet from VTY 0 user interface to the switch, you will view the terminal only displays commands at level 0. <SW8800> ?
Page 68
2: C HAPTER OMMANDS SED TO OG IN TO WITCH...
Commands display Syntax current-configuration display current-configuration [ controller | interface interface-type interface-number | configuration [ configuration ] ] [ | { begin | exclude | include } regular-expression ] View Any view Parameter controller: Views the configuration information of controllers.
Page 70
If a user needs to authenticate whether the configurations are correct after finishing a set of configuration, the display current-configuration command can be used to display the running parameters. Although the user has configured some parameters, but the related functions are not effective, they are not displayed.
Page 71
10.1.1.0 0.0.0.255 user-interface aux 0 user-interface vty 0 4 return # View the lines containing the character string "10*.110" in the configuration information. The "*" indicates that the "0" before it can appear 0 times or multiple consecutive times.
Page 72
10.1.1.0 0.0.0.255 # View configuration information begin with "user". <SW8800> display current-configuration | include ^user user-interface aux 0 user-interface vty 0 4 # View the pre-positive and post-positive configuration information. <SW8800> display current-configuration configuration sysname 3Com radius scheme system server-type nec primary authentication 127.0.0.1 1645...
Switch. Related command: save, reset saved-configuration and display current-configuration. Example # Display configuration files in flash memory or CF card of the switch. <SW8800> display saved-configuration sysname 3Com local-user abc password simple abc...
Use the display this command to display the running configuration of the current view. If you need to authenticate whether the configurations is correct after you have finished a set of configurations under a view, you can use the display this command to view the running parameters.
Erase the original configuration files for reconfiguration. If the configuration files do not exist in the flash memory when the switch is electrified and initialized, it will enter setup switch view automatically.
View User view Parameter cfgfile: Name of the configuration file. It is a string with a length of 5 to 56 characters. Description Use the startup saved-configuration command to configure the configuration file used for enabling the system for the next time.
Page 77
Configuration File Management Commands The extension of configuration file must be .cfg, and the startup configuration file must be saved under the directory where the memory resides. The memory is Flash. Related command: display startup. Example # Configure the configuration file for the next start-up...
Page 78
3: C HAPTER ONFIGURATION ANAGEMENT OMMANDS...
Description character string of current VLAN or VLAN interface. For VLAN, it ranges from 1 to 32 characters. For VLAN interface, it ranges from 1 to 64 characters. The default description character string of current VLAN is VLAN ID of the VLAN, e.g.
MAC address, IP address and sub-net mask, description character string and MTU, etc. With vlan-id specified, only the information about the specified VLAN interface will be displayed. If no vlan-id is specified, the information about all the existing VLAN interfaces will be displayed. Related command: interface vlan-interface.
If vlan-id or all is specified, information of specified VLAN or all VLANs is displayed. It includes: VLAN ID, VLAN type (dynamic or static), whether the routing function has been enabled on this VLAN (if enabled, the main IP address and mask will be displayed), VLAN description, and the ports VLAN contains.
View VLAN view Parameter string: Name of the current VLAN, a string of 1 to 32 characters. The default value is the VLAN ID of the VLAN. Description Use the name command to name the current VLAN. Use the undo name command to restore the default name of the current VLAN.
Use the undo shutdown command to enable the VLAN interface. By default, when all the Ethernet ports in a VLAN are in the Down state, this VLAN interface is also Down. When there are one or more Ethernet ports in the Up state, this VLAN interface is also Up.
Specifies the list of VLANs that contain a CPU port, expressed in form of vlan-list = { vlan-id [ to vlan-id ] } &<1-10>. The vlan-id before the keyword to must be larger than or equal to the vlan-id after to. &<1-10> means that the preceding parameter can be repeated up to 10 times.
Port-Based VLAN Configuration Commands all: Deletes all VLANs. Description Use the vlan vlan-id-list command to enter VLAN view or to create a range of VLANs. Use the undo vlan command to delete the specified VLAN. If only one VLAN is created, the system will automatically enter the view of the VLAN just created.
4: VLAN C HAPTER ONFIGURATION OMMANDS Note that you can add/delete trunk port and hybrid port to/from VLAN by the port and undo port commands in Ethernet port view, but not in VLAN view. Related command: display vlan. Example # Add Ethernet2/1/1 through Ethernet2/1/3 to VLAN 2.
Any view Parameter vlan-list: Specifies a VLAN list. It is expressed in the form of vlan-list = { vlan-id [ to vlan-id ] }, where the vlan-id after the keyword to must be larger than or equal to the vlan-id before to.
View Any view Parameter vlan-list: Displays the information of a specified IP subnet-based VLAN, in the form of vlan-list = { vlan-id [ to vlan-id ] }. all: Displays the protocol information and indexes of all the IP subnet-based VLANs.
Description Use the display vlan-ip vlan command to display the information and index of the IP subnet-based VLAN configured on the specified VLAN. You can refer to this command for using an IP subnet-based VLAN and adding/deleting an IP subnet-based VLAN.
View Ethernet port view Parameter vlan-id: Specifies the ID of the IP subnet-based VLAN to be delivered or deleted. Description Use the port hybrid ip-vlan vlan command to associate a specified port with an IP subnet-based VLAN.
VLAN view Parameter ip-address: IP address net-mask: Mask of an IP address. If no mask is specified, the default mask is 255.255.255.0. net-mask-length: Mask length of an IP address index-begin: Initial value of an IP subnet-based VLAN index, ranging from 0 to 11.
[ supervlan-id ] View Any view Parameter supervlan-id: VLAN ID of a configured super VLAN. This argument ranges from 1 to 4094. Description Use the display supervlan command to display mapping relationship between a specified super VLAN and sub VLANs, and the ports that identify the mapping relationship.
VLAN view of super VLAN Parameter sub-vlan-list: List of sub VLANs. It is expressed in the form of sub-vlan-list = { vlan-id [ to vlan-id }&<1-10>. The vlan-id after the keyword to must be larger than or equal to that before to. &<1-10> means that the preceding parameter can be repeated up to 10 times.
The undo subvlan command cancels all mapping relationships between the ■ specified super VLAN and all sub VLANs. If you do not specify the sub-vlan-list argument. Otherwise, this command cancels the mapping relationship between the specified sub VLAN and the specified super VLAN.
Page 96
5: S VLAN C HAPTER UPER ONFIGURATION OMMANDS...
Parameter isolate-user-vlan-num: VLAN ID of an isolate-user-VLAN. Description Use the display isolate-user-vlan command to view the mapping relationships between isolate-user-VLANs and Secondary VLANs and the ports identifying the mapping relationships between isolate-user-vlan and Secondary VLAN. Related command: isolate-user-vlan enable, isolate-user-vlan.
Route Interface Whether VLAN has route function Description VLAN description Tagged Ports Identifies the ports on which the VLAN packets are to be tagged Untagged Ports Identifies the ports on which the VLAN packets are not to be tagged isolate-user-vlan...
After this command is executed, the mapping relationship between isolate-user-vlan and Secondary VLAN is established. The actual operation include: for access ports or hybrid ports whose PVIDs are the same as isolate-user-VLAN IDs and join to isolate-user-vlans in the untagged mode, add the ports of isolate-user-VLAN to every Secondary VLAN and add the ports of all Secondary VLANs to isolate-user-VLAN.
Page 100
VLAN, such as Secondary VLAN, multicast VLAN, Super VLAN/Sub VLAN, Guest VLAN and VLAN running L2VPN services. You cannot directly configure Secondary VLAN as other type of VLAN than common VLAN, such as isolate-user-VLAN, multicast VLAN, super VLAN/sub VLAN, guest VLAN and VLAN running L2VPN services.
IP address is static. If you resolve the host name through DNS, the relationship between the host name and the IP address is dynamic.
Page 102
Refer to the interface command in Port Command Manual for more information. Description Use the display ip interface command to display information about an interface. Example # Display the information about interface VLAN-interface 1.
Corresponding subnet mask in dotted decimal format. mask-length: Mask length. That is, the number of bits with a value of 1. sub: Specifies the IP address to be configured to be the secondary IP address of the VLAN interface/loopback interface.
Page 104
IP address configured. Normally, a VLAN interface/loopback interface/console interface only needs to be configured with one IP address. But you can also assign up to 21 IP addresses to a VLAN interface/loopback interface/console interface to enable it to connect to multiple subnets.
IP Address Configuration Commands Parameter hostname: Name of the host. It is a character string that consists of 1 to 20 characters, including letters, numbers, "_", or ",", and it must contain at least one letter. ip-address: Host IP address (the corresponding IP address to the host name) in dotted decimal notation.
ARP mapping entries, and existing dynamic ARP mapping entries will be removed. At the same time, the switch will enable the MAC address auto filling function, so that the user can configure static ARP entries that have only IP address.
Any view Parameter None Description Use the display fib command to view the entries of the forwarding information base. Each line outputs indicates a FIB entry. The information includes destination address/mask length, next hop, current flag, timestamp and outbound interface. Example # Display the entries of the Forwarding Information Base.
ACL in number form, in the range 2000 to 2999 name: ACL in name form, a string of 1 to 32 characters. Description Use the display fib command to view the FIB entries matching a specific ACL. Example # Display the FIB entries matching ACL 2000.
ONFIGURATION OMMANDS Description Use the display fib | command to view the FIB entries which are output from the buffer according to regular expression and related to the specific character string. Example # Display the lines starting from the first one containing the string 169.254.0.0 <SW8800>...
View Any view Parameter None Description Use the display icmp statistics command to view the statistics information about ICMP packets. Related command: display ip interface, reset ip statistics. Example # View statistics about ICMP packets. <SW8800> display icmp statistics...
The type of a socket (tcp:1, udp: 2, raw ip: 3). task-id: The ID of a task, with the value ranging from 1 to 100. socket-id: The ID of a socket, with the value ranging from 0 to 3072.
The receiving buffer size of the socket sb_cc The current data size in the sending buffer. The value makes sense only for the socket of TCP type, because only TCP is able to cache data rb_cc The current data size in the receiving buffer...
8: IP P HAPTER ERFORMANCE ONFIGURATION OMMANDS Table 15 Description on the fields of the display ip statistics command Field Description Sum of input packets local Number of received packets whose destination is the local device bad protocol Number of packets with...
Page 115
Initiated connections: 0, accepted connections: 0, established connections: 0 Closed connections: 0 (dropped: 0, initiated dropped: 0) Packets dropped with MD5 authentication: 0 Packets permitted with MD5 authentication: 0 Table 16 Description on the fields of the display tcp statistics command Field Description Received packets...
Packets permitted with MD5 authentication: 0 Number of packets permitted with MD5 authentication: 0 display tcp status Syntax display tcp status View Any view Parameter None Description Use the display tcp status command to view all TCP connection states. This helps user monitor TCP connection at any time.
The displayed information indicates that a TCP connection is established. The local IP address of this TCP connection is 100.0.0.204, and the local port number is 23. The remote IP address is 100.0.0.253, and the remote port number is 65508. In addition, there is a local server process which listens to the port 4001.
8: IP P HAPTER ERFORMANCE ONFIGURATION OMMANDS Table 17 Description on the fields of the display udp statistics command Field Description checksum error: 0 Number of checksum errors: 0 shorter than header: 0, data Cases that the length of the packets is shorter than the...
View System view Parameter time-value: TCP finwait timer value in second, with the value ranging from 76 to 3600; By default, it is 675 seconds. Description Use the tcp timer fin-timeout command to configure the TCP finwait timer.
Use the undo tcp timer syn-timeout command to restore the default value of the timer. TCP enables the synwait timer if a SYN packet is sent. The TCP connection is terminated if the response packet is not received. Related command: tcp timer fin-timeout, tcp window.
Page 121
IP Performance Configuration Commands <SW8800> system-view System View: return to User View with Ctrl+Z. [SW8800] tcp window 3...
Page 122
8: IP P HAPTER ERFORMANCE ONFIGURATION OMMANDS...
[ to interface-type interface-number] }&<1-10>. interface-type is interface type, and interface-number is interface number. The interface number after the keyword to must be larger than or equal to that before to. &<1-10> represents that the preceding parameter can be repeated up to 10 times.
] }&<1-10>. interface-type is interface type, and interface-number is interface number. The interface number after the keyword to must be larger than or equal to that before to. &<1-10> means that the preceding parameter can be repeated up to 10 times.
Use the undo garp timer command to restore the default value of GARP timer. The value range of a timer varies with the values of other timers. So if the value of a timer you want to set is not within the available value range, you can change the value range by changing the values of other related timers.
[ to interface-type interface-num] }&<1-10>. interface-type is interface type, and interface-number is interface number. The interface-number after the keyword to must be larger than or equal to that before to. &<1-10> means that the preceding parameter can be repeated up to 10 times.
}&<1-10>. interface-type is interface type, and interface-number is interface number. The interface-number after the keyword to must be larger than or equal to that before to. &<1-10> means that the preceding parameter can be repeated up to 10 times.
View Ethernet port view Parameter fixed: Enables to create or register VLAN on the port manually and disables to register or deregister VLAN dynamically. forbidden: Deregisters all VLANs except VLAN 1 and disables to create or register any other VLAN on the port.
Page 129
GVRP Configuration Commands Use the undo gvrp registration command to restore the default type. By default, the registration type is normal. This command can be only used on Trunk port. Related command: display gvrp statistics. Example # Set the GVRP registration type of Ethernet2/1/1 as fixed.
Page 130
9: GARP&GVRP C HAPTER ONFIGURATION OMMANDS...
Specifies the maximum wire speed ratio of the broadcast traffic allowed on the port. The value range is 1 to 100, and the default value is 50. The smaller the ratio is, the smaller the broadcast traffic is allowed.
Source or destination aggregation group ID. If it is a source aggregation group, the port with minimum port number is the source port; if it is a destination aggregation group, the configurations of all its member ports change to be consistent with that of the source.
View Any view Parameter rate: Displays the rate information of the ports in the Up state during the latest sampling period. If this keyword is not specified in the command, the system displays packet counts. inbound: Displays the import statistic information.
MultiCast items, decimal numbers of 14 digits can be displayed at most, and those of more than 14 digits are indicated with "OverFlow"; for the Err item, decimal numbers of 7 digits can be displayed at most, and those of more than 7 digits are indicated with "OverFlow".
Page 135
0 aborts, 0 deferred, - collisions, 0 late collisions - lost carrier, - no carrier Receive Packet Peak Value Info: 7215 bytes, happened at 03:30:35 3-7-2001 Transmit Packet Peak Value Info: 64 bytes, happened at 03:30:35 3-7-2001 Table 19 Description on the fields of the display interface command...
None Description Use the display jumboframe configuration command to view the Jumbo frame configuration on all cards. The supported Jumbo frame length ranges, as well as the default values, may vary from card to card. Example # Display the current Jumboframe configuration in the system.
Ethernet 3/1/1 and Ethernet 3/1/2. The tagged VLANs that pass Ethernet3/1/1 are 3, 5, 7, 9, and 11, and the untagged VLANs that pass it are 1, 2, 4, and 6. No tagged VLAN passes Ethernet3/1/2, and untagged VLAN 1 passes Ethernet 3/1/2.
OMMANDS Description Use the duplex command to configure the duplex attribute of the Ethernet port. Use the undo duplex command to restore the duplex attribute of the port to default auto-negotiation mode. By default, the duplex attribute is auto. Related command: speed.
Ethernet Port Configuration Commands Parameter interval: Interval of performing statistics on ports in seconds. It is 300 seconds by default. Description Use the flow interval command to set the interval of performing statistics on ports. The switch performs the statistics about the average speed during the interval.
Module slot number of the port. For Switch 8807, it ranges from 2 to 6. For Switch 8810, it ranges from 0 to 3 and 6 to 9 (slot number 4 and 5 are Fabric). For Switch 8814, it ranges from 0 to 5 and 8 to 13 (slot number 6 and 7 are Fabric).
1553-9022 section is 9022, that for the 9023-9192 section is 9192, and that for the 9193-10240 section is 10240. Example # Permit jumbo frames to pass the card on slot 6 and set the maximum size of Jumbo frames to 9022 . <SW8800>system-view...
Specifies the maximum wire speed ratio of the multicast traffic allowed on the Ethernet port. The value range is 1 to 100, and the default value is 50. The smaller the ratio is, the smaller the multicast traffic is allowed.
View Ethernet port view Parameter vlan-id: VLAN ID defined in IEEE802.1Q, ranging from 2 to 4094. Description Use the port access vlan command to add the access port into a specified VLAN.
Use the undo port hybrid pvid command to restore the default VLAN ID of the local hybrid port. The default VLAN ID of local hybrid port shall be consistent with that of the peer one, otherwise, the packet cannot be properly transmitted.
= [ vlan-id1 [ to vlan-id2 ] ]&<1-10>: Specifies which VLAN the hybrid port will be added to. It can be discrete. The vlan-id ranges from 1 to 4,094. &<1-10> indicates that the former parameter can be input 10 times repeatedly at most.
You must turn it first into access port and then set it as other type. For example, you cannot configure a trunk port directly as hybrid port, but first set it as access port and then as hybrid port.
= [ vlan-id1 [ to vlan-id2 ] ]&<1-10> is the VLAN range joined by the trunk port. It can be discrete. The vlan-id ranges from 2 to 4,094. &<1-10> indicates that the former parameter can be input 10 times repeatedly at most.
Use the undo port trunk pvid command to restore the default VLAN ID of the port. The default VLAN ID of local trunk port should be consistent with that of the peer one, otherwise, the packet cannot be properly transmitted.
10 Mbps, 100 Mbps, and 1000 Mbps. You can select proper port speed as you require. But when the duplex mode is changed into half duplex mode, the port speed can be set to 1000 Mbps or auto.
Use the vlan-vpn enable command to enable port VLAN VPN. Use the undo vlan-vpn command to disable port VLAN VPN. Note that if anyone of GComware, STP, NTP or 802.1x has been enabled on a port, VLAN VPN cannot be enabled on it.
Description Use the debugging lacp packet command to enable LACP packet debugging for the port. If you do not specify a port, the command enables packet debugging on all LACP-enabled ports. Use the undo debugging lacp packet command to disable LACP packet debugging for the port.
View Any view Parameter None Description Use the display lacp system-id command to display the device ID of local system, including system priority and system MAC address. Related command: link-aggregation. Example # Display the device ID of the local system.
ONFIGURATION OMMANDS Table 20 Description on the fields of the display lacp system-id command Field Description Actor System ID The device ID of the local system, including system priority and system MAC address. display link-aggregation Syntax summary display link-aggregation summary...
Page 155
Note that since the manual aggregation group cannot get the information of the peer end, every item of the peer end is displayed as 0, which does not indicate the actual status of the peer system. Example # Display the detailed information of aggregation group 5.
Note that since the manual aggregation group cannot get the information of the peer end, every item of the peer end is displayed as 0, which does not indicate the actual status of the peer system.
System View: return to User View with Ctrl+Z. [SW8800] interface Ethernet1/1/1 [3Com-Ethernet1/1/1] lacp enable lacp port-priority Syntax lacp port-priority port-priority-value undo lacp port-priority View Ethernet port view Parameter port-priority-value: Port priority, in the range of 0 to 65,535. By default, it is 32,768.
View System view Parameter system-priority-value: System priority, in the range of 0 to 65,535. By default, it is 32,768. Description Use the lacp system-priority command to configure system priority. Use the undo lacp system-priority command to restore the default system priority.
System view Parameter agg-id: Aggregation group ID, in the range of 1 to 920. IDs 1 though 31 indicate manual or static aggregation groups; IDs 32 through 64 are reserved; IDs 65 though 192 indicate Routed Trunks; IDs 193 through 920 indicate dynamic aggregation groups.
System view Parameter agg-id: Aggregation group ID, in the range of 1 to 920. IDs 1 though 31 indicate manual or static aggregation groups; IDs 32 through 64 are reserved; IDs 65 though 192 indicate Routed Trunks; IDs 193 through 920 indicate dynamic aggregation groups.
Ethernet port view Parameter agg-id: Aggregation group ID, in the range of 1 to 920. IDs 1 though 31 indicate manual or static aggregation groups; IDs 32 through 64 are reserved; IDs 65 though 192 indicate Routed Trunks; IDs 193 through 920 indicate dynamic aggregation groups.
Page 162
11: E HAPTER THERNET GGREGATION ONFIGURATION OMMANDS...
The above information indicates that the aging time of the dynamic entry in the MAC address is 300s. display mac-address Syntax display mac-address [ mac-addr [ vlan vlan-id ] | [ static | dynamic ] [ interface interface-type interface-number ] [ vlan vlan-id ] [ count ] ] View Any view Parameter mac-addr: Specifies the MAC address.
Specifies the interface type. interface-number: Specifies the interface number. count: the display information will only contain the sum number of MAC addresses in the MAC address table if user choice this parameter when using this command. Description Use the display mac-address command to view MAC address table information.
MAC addresses learned by an Ethernet port. By default, a port can learn as many MAC addresses as on an I/O Module. You can change the default value by using this command: if you set the value to count,...
ANAGEMENT OMMANDS this port will no longer learn any more MAC addresses; and you can use the undo mac-address max-mac-count command to remove the limit on the number. The maximum number of MAC addresses on an I/O Module ranges from 12 K ■...
Page 167
MAC addresses learned by a port reach the maximum number of MAC addresses that the port can learned, the port will send an alarm to network administrator to prompt that the port will no longer learn any MAC addresses.
Use the undo mac-address max-mac-count command to cancel the configuration. If you have set the maximum number, MAC addresses will not be learned in the VLAN when the maximum number is reached. By default, the number of learned MAC addresses is not limited in a VLAN.
VLAN. This will affect the switch operation performance. If aging time is too long, the switch will store a great number of out-of-date MAC address tables. This will consume MAC address table resources and the switch will not be able to update MAC address table according to the network change.
Page 170
DDRESS ABLE ANAGEMENT OMMANDS Vlan vlan-id: Clears all of the MAC address entries in the specified VLAN. For the range of the vlan-id argument, see the introduction to the interface command in the port module of the command manual. Description Use the reset mac-address command to clear corresponding MAC address entries.
This command is used for manually activate the configurations of MST region. Configuring the related parameters, especially the VLAN mapping table, of the MST region, will lead to the recalculation of spanning tree and network topology flapping. To bate such flapping, MSTP applies the configured parameters and launches recalculation of the spanning tree only when you activate the configured MST region parameters or enable MSTP.
| packet | event } command to disable specified port debugging of MSTP. Example # Enable STP global event debugging. <SW8800> debugging stp global-event display stp Syntax display stp [ instance instance-id ] [ interface interface-list | slot slot-num ] [ brief ]...
Page 175
MSTIs on the port in port number order. If both instance ID and port list are specified, the command will display the spanning tree information of the specified instance and port according to the port list of the instance ID.
3 Global MSTIs parameter: MSTI instance ID, bridge priority of the instance, region root, internal path cost, MSTI root port, MASTER bridge, path cost to region root and number of the received TC packets. If you specify the relationship between master roots and slave roots in an instance, the global MSTI parameters can also be displayed in MSTI Root Type.
Instance Vlans Mapped VLAN mapping table of MST region display stp tc Syntax display stp [ instance instanceid ] tc { all | detected | received | sent } View Any view Parameter instance instanceid: Instance to be displayed. By default, TC (Topology Change) statistics of all the instances will be displayed.
Specifies the spanning tree instance ID, ranging from 0 to 48. The value 0 indicates a CIST. vlan vlan-list: Specifies the VLAN list, ranging from 1 to 4094. vlan-list = { vlan-id [ to vlan-id ] }&<1-10>. Where, &<1-10> represents that you can input vlan-ids up...
Use the region-name command to configure the MST region name of a switch. Use the undo region-name command to restore the default MST region name. By default, the MST region name of the switch is the switch MAC address in hexadecimal notation.
BPDU are counted on CIST. If you specify a port list, the command clears the spanning tree statistics information of the specified port. If you do not specify any port, the command clears the spanning tree statistics information of all ports.
Page 181
Description Use the stp command to enable or disable MSTP on a device or a port. Use the undo stp command to restore the default MSTP state on a device or a port. By default, MSTP is disabled on the switch.
Generally, the access ports of the access layer devices are directly connected to user terminals (such as PC) or file servers. In this case, the access ports are set to edge ports to implement fast state transition. However, when such access ports receive configuration BPDU, the system will automatically set them to non-edge ports and recalculate the spanning tree, which makes the network topology flap.
Indicates that the port sends and receives standard MSTP packets. auto: Indicates the port has the auto-sensing function. The port can automatically adjust the format of the packet to be sent based on the format of the received packet.
You may specify the instance-id parameter as 0 to configure CIST path cost of the port. The path cost has effect on the port role selection. A port can be configured with different path costs on different MSTIs. Thus the traffic from different VLANs can run over different physical links, thereby implementing the VLAN-based load-balancing.
Accordingly, you can configure a port as an edge port, so that it can transit to forwarding state fast. For this purpose, configure the Ethernet port directly connected to the user terminal as an edge port.
Page 186
Use the stp root primary command to configure the current switch as the primary root of the specified MSTI. Use the undo stp root command to cancel the current switch for the primary root of the designated MSTI. If you execute these commands without using the instance instance-id option, your configuration takes effect only on the CIST instance.
Use the stp interface command to enable/disable MSTP on a switch port in system view. By default, if MSTP is enabled globally, it is enabled on every port. If MSTP is disabled globally, it is also disabled on every port.
Related command: stp cost. Example # Set the path cost of Ethernet 2/1/3 on MSTI 2 to 400 in system view. <SW8800>system-view System View: return to User View with Ctrl+Z. [SW8800] stp interface Ethernet 2/1/3 instance 2 cost 400...
Page 189
Accordingly, you can configure a port as an edge port, so that it can transit to forwarding state fast. For this purpose, configure the Ethernet port directly connected to the user terminal as an edge port.
Instance 0 represents CIST. port priority priority: Specifies the port priority, ranging from 0 to 240 with a step length of 16, e.g., 0, 16 and 32. By default, the port has a priority of 128 on every MSTI. Description Use the stp interface instance port priority command to configure the priority of the specified port on the specified MSTI in system view.
Due to link congestion or unidirectional link failure, these ports may be unable to receive BPDUs and the switch will select root port again. In this case, the former root port will turn into the specified port and the former blocked ports will change to the forwarding state, and link loop appears.
Use the stp interface mcheck command to perform mCheck operation on the port in system view. If a port of an MSTP switch on a switching network has ever been connected to an STP switch, the port will automatically transit to operate in STP-compatible mode.
Use the undo stp interface point-to-point command to restore the default state of the link to the Ethernet port. By default, the parameter defaults to auto, that is, MSTP checks if the link to the Ethernet port is a point-to-point link.
ONFIGURATION OMMANDS This configuration takes effect on the CIST and all the MSTIs. The settings of a port whether to connect the point-to-point link will be applied to all the MSTIs where the port belongs. Note that a temporary loop may be redistributed if you configure a port not physically connected with the point-to-point link as connected to such a link by force.
Use the undo stp interface transmit-limit command to restore the default limit on the specified port in system view. The larger the value is, the more packets can be transmitted in a time unit, yet the more switch resources will be occupied. With a moderate value, the amount of the BPDUs transmitted during Hello Time via every port can be limited and MSTP will not occupy too many bandwidth resources when the network topology flaps.
In this way, if the peer end cannot send BPDU packets due to error operation, and the port enters forwarding state directly for not receiving configuration message for a long time, no loop will be generated by enabling the loop protection.
0 hops left, thereby limiting the network scale inside the region. If the current switch is a CIST root bridge or MSTI root bridge in an MST region, the Max Hops configured on it will be the network diameter of the spanning tree to limit its scale in the local MST region.
STP-compatible mode, the switch sends STP BPDU packets via every port. In MSTP mode, the switch ports send MSTP BPDU packets. When detecting it is connected to an STP switch (it receives config BPDU packets from the STP switch), the switch port enters automatically STP-compatible mode and sends config BPDU packets from the STP switch.
Use the undo stp interface no-agreement-check command to disable port fast transition. By default, port fast transition is disabled. Related command: stp interface no-agreement-check. You can configure fast transition only on a root port or an alternate port. Example # Enable fast transition on GigabitEthernet1/1/1. <SW8800> system-view System View: return to User View with Ctrl+Z.
Use the stp pathcost-standard command to set the path cost calculation standard on STP port. The port rate must be obtained first before you can calculate the path cost of a port as the path cost is associated with the port rate. The three standards use their own way to work out the port rate, based on which each standard calculates the port path cost by a certain algorithm.
48. The Instance 0 represents CIST. port priority priority: Specifies the port priority, ranging from 0 to 240, with a step length of 16, e.g., 0, 16, and 32. By default, the priorities of a port on the MSTIs are 128.
By default, the three MST region parameters take the default values. The MST region name of the switch is the first MAC address, all the VLANs are mapped to CIST, and MSTP revision level takes 0. You can enter MST region view, using the stp region-configuration command.
If you enable the function of clearing dynamic ARP entries in system view, the ARP entries of all the ports will be deleted. If you enable the function of clearing dynamic ARP entries in port view, only the ARP entries of the specified port will be deleted.
Page 204
Forward Delay and Max Age, of the switch can be determined. To configure the current switch as the root bridge of CIST, simply specify instance-id as 0. You can configure only one root bridge for an MSTI and one or more secondary root bridges for it.
Whenever such a port receives a higher-priority BPDU, it will be set to listening state and not forward packets any more (as if the link to the port is disconnected). If the port has not received any higher-priority BPDU for a certain period of time thereafter, it will resume the normal state.
(generally, 15 seconds) after receiving TC-BPDU packets, as well as monitoring whether it receives TC-BPDU packets during this period. Even if it detects a TC-BPDU packet is received in a period shorter than the specified interval, the switch shall not run the delete operation till the specified interval is reached.
System view Parameter centi-senconds: Specifies Hello Time value with an integer in the range of 100 to 1000 in units of centiseconds. By default, the Hello Time of the switch is 200 centiseconds. Description Use the stp timer hello command to configure Hello Time of the switch.
Max Age. If the BPDU expires, the MSTI has to be calculated again. Max Age takes no effect on MSTIs. If the current switch is CIST root bridge, it will check if the configuration BPDU expires according to the configured Max Age.
In this case, users can redefine the timeout interval to a longer time (four times the hello time or larger) by define the multiple of hello time. It is recommended to set 5, 6 or 7 as the value of multiple in the steady network.
Use the undo stp transmit-limit command to restore the default limit. The larger the value is, the more packets can be transmitted in a time unit, yet the more switch resources will be occupied. With a moderate value, the amount of the BPDUs transmitted during Hello Time via every port can be limited and MSTP will not occupy too many bandwidth resources when the network topology flaps.
Page 211
Use the undo By default, all the VLANs are mapped to CIST, namely Instance 0. vlan-mappin Related command: region-name, revision-level, check region-configuration, active region-configuration Example # Map VLAN to MSTI based on modulo 16.
Page 212
13: MSTP C HAPTER ONFIGURATION OMMANDS...
As switches of some manufacturers come with some proprietary protocols concerning spanning trees employed, a switch of this type cannot communicate with other switches in an MSTP domain even if it is configured with the same domain settings as other switches in the MSTP domain.
Page 214
VLANs and VPN instances of each switch. If you want to change the configuration of a domain with one or multiple of its ■ switches being digest snooping-enabled, be sure to disable digest snooping on...
Parameter None Description Use the command vlan-vpn enable to enable VLAN VPN (QinQ) on the port. Use the undo vlan-vpn command to disable VLAN VPN (QinQ) on the port. By default, VLAN VPN is disabled on all the ports. Example # Enable VLAN VPN on the switch.
Page 216
By default, BPDU Tunnel is disabled. CAUTION: To enable BPDU Tunnel on a switch, you must first enable STP on it. Otherwise, ■ the client network BPDU will not be processed by the CPU when entering the switch, nor MAC address replacement or transparent transmission will be implemented.
4000 to 4999: Represents Layer 2 ACL. name acl-name: Character string, which must be started with an English letter (i.e., a-z or A-Z), and there should not be a space in it; case insensitive, key words all and any are not allowed to use.
(matching the rules with smaller range first). By default, the former mode is selected. You cannot modify the matching order once you specify it. To do so, you have to delete all rules of the ACL and specify a matching order for it again.
The number of the reserved ACL rules Configured Number The number of the ACL rules that have been configured Remaining Number The number of the remaining ACL rules Start Port Name, End Port Name The names of the start port and the end port...
The port of the switch. Refer to the description in the Port Module Command Manual for details. The ACL application information on the specified port of a normal card displays when the parameter is specified. vlan: Displays the ACL application information under the VLAN configured through the service process card.
Then there may the case where a time range have been shown active using the display time-range command, while it is still inactive in importing the ACL. You just take it as a normal case.
Time-range : tm1 Time range tml. "Inactive" means that the time range is inactive ( Inactive ) currently (active means the time range is active), and the time range is from 08:30 2-5-2005 to 18:00 2-19-2005 from 08:30 2-5-2005 to 18:00 2-19-2005 The displayed information below is similar.
Page 223
802.1p priority in the most external 802.1QTag carried by the packet, in ■ the length of 2 bytes together with s-tag-vlan in the flow template. dip wildcard: Destination IP domain in the IP packet header, in the length of 4 ■ bytes.
Page 224
■ in the length of 2 bytes together with cos in the flow template. sip wildcard : Source IP domain in the IP packet header, in the length of 4 bytes. ■ smac wildcard: Source MAC domain in the Ethernet packet header, in the ■...
Serial number of the ACL, in the range of 2000 to 3999. acl-name: ACL name, string parameter ranging from 1 to 32 bytes. It must start with an English letter ([a-z, A-Z]). No space is allowed in it. It is case insensitive. The keywords all is forbidden.
Define or delete the subrules of an advanced ACL rule [ rule-id ] { permit | deny } protocol [ source { source-addr wildcard | any } ] [ destination { dest-addr wildcard | any } ] [ source-port operator port1 [ port2 ] ]...
Page 228
(equal to), gt (greater than), lt (less than), neq (not equal to) and range (in the range of). Note that it appears only when the protocol parameter is set as TCP or UDP. port1 [ port2 ] stands for source TCP or UDP port ID of the packet, in characters or digits.
Page 229
It is only effective to fragmented messages and is ignored by non-fragmented messages. bt-flag: It indicates that the rule is effective to BT data messages only. If you use this key word, the protocol in the rule must be tcp. The parameter is applicable to defining the advanced ACLs.
Page 230
This parameter is used to specify the protocol type carried by the Ethernet frame. The protocol type can be expressed by either a name or a hexadecimal number. When the protocol type is expressed by a name, the value can be arp, ip, ipv6, mpls, nbx, pppoe-control, pppoedata and rarp.
Use the rule command to add a rule to the ACL. Use the undo rule command to delete a rule from the ACL. You can define multiple rules for an ACL. Only the specified rules will be deleted if you select parameters in the undo rule command.
Page 232
If a time range only defines the period time range, the time range is only active within the period time range. If a time range only defines the period time range and multiple ranges of this time...
Page 233
ACL Commands If a time range only defines the absolute time range, the time range is only active within the absolute time range. If a time range only defines the absolute time range and multiple ranges of this time range are available (repeating this time range name can configure multiple absolute time ranges of the same name), the time range is active only within these absolute time ranges.
After QACL is configured in port view, the QACL configuration of all the member ports in the port group keeps the same all the time. After a port is added to the port group, the port configuration is overwritten by that of the port group. You cannot apply the ACL rule as per port.
] | exp-policed-service-map | local-precedence-cos-map } View Any view Parameter conform-level-value: Conform level, in the range of 0 to 2. If you type value(s) for this parameter, then only the specified conform-level DSCP items will be displayed. Otherwise, the system displays the whole mapping connection.
Page 237
DSCP value "46", or DSCP values "0 8 10 16" (a space is required between two values). If you type value(s) for this parameter, then only the specified DSCP items will be displayed. Otherwise, the system displays the whole mapping connection.
View Any view Parameter None Description Use the display qos cos-local-precedence-map command to view the "CoS -> Local -precedence" mapping table. Example # Display the "CoS -> Local -precedence" mapping table. <SW8800> display qos cos-local-precedence-map cos-local-precedence-map: cos :...
Command Manual - Port. Description Use the display qos-interface all command to view the QoS configuration of all ports, including drop mode, queue scheduling, traffic shaping etc. If you specify port IDs, only their QoS configuration will be displayed, including drop mode, queue scheduling, traffic shaping etc.
Command Manual - Port. Description Use the display qos-interface drop-mode command to view drop mode configuration of outbound queues at a port. If no port is specified, drop mode configuration of all ports will be displayed. Related command: drop-mode.
QoS Commands Description Use the display qos-interface queue-scheduler command to view queue scheduling mode and parameters of a port. If no port is specified, queue scheduling mode and the parameters of all ports will be displayed. Related command: queue-scheduler. Example # Display queue scheduling mode and parameters.
Command Manual - Port. Description Use the display qos-interface traffic-priority command to view traffic priority configuration of a port, including the target ACL, priority type, priority values etc. Related command: traffic-priority. Example # Display traffic priority marking configuration.
Description Use the display qos-interface traffic-shape command to view traffic shaping configuration of a port, including the maximum rate, MBS (in units of kbyte), the maximum queue length. If no port is specified, traffic shaping configuration of all ports will be displayed.
OMMANDS rate: Port rate. This parameter is available only when you select interface-type interface-number. timeinterval: Interval for making statistics of rates, ranging from 1 to 5 seconds. The default value is one second. Description Use the display qos-interface traffic-statistic command to view traffic statistics of a port, including the target ACL, number of calculated packets etc.
Page 245
Vlan 2 traffic-statistic Inbound: There is no configuration. Outbound: There is no configuration. ---- More ---- display qos-vlan Syntax traffic-limit display qos-vlan [ vlan-id ] traffic-limit View Any view Parameter vlan-id: ID of a VLAN, in the range of 1 to 4094.
[ vlan-id ] traffic-priority View Any view Parameter vlan-id: ID of a VLAN, in the range of 1 to 4094. Description Use the display qos-vlan traffic-priority command to display the priority marking configuration in VLAN, including the ACL associated with the traffic priority marking, the type and value of the priority marking.
Description Use the display qos-vlan traffic-statistic command to display the traffic statistics information in VLAN. The displayed information includes the ACL corresponding to the traffic flow to be output, action type, and statistics result. Related command: traffic-statistic. Example # Display the traffic statistics information of VLAN 2.
Tail drop mode. wred: WRED drop mode. wred-index: WRED index, in the range of 0 to 3. By default, it is 0. If you type nothing for this parameter, the system will use the parameters specified when WRED index is 0.
"0 8 10 16" (space is required between two values). dscp-value: Modified DSCP value, in the range of 0 to 63. exp-value: Modified EXP value, in the range of 0 to 7. EXP is MPLS priority of MPLS packets.
Page 250
After entering conform level view, you can configure the "DSCP + Conform-level -> Service-parameter" mapping table of the corresponding level. For example, you can enter conform level 0 view and configure the "DSCP + Conform-level 0 -> Service-parameter" mapping table.
Original EXP value, which can be a single value or several values, in the range of 0 to 7. For example, you can type single EXP value "2", or EXP values "2 3 4" (space is required between values). EXP is MPLS priority of MPLS packets.
Page 252
Use the undo local-precedence command to restore default configuration of the "Local-precedence + Conform-level -> 802.1p priority" mapping table. After entering conform level view, you can configure the " Local-precedence + Conform-level -> 802.1p priority " mapping table of the corresponding level. For example, you can enter conform level 0 view and configure the "...
English letter (a-z or A-Z), and without any space in it. rule rule: Specifies the rule of an active ACL, ranging from 0 to 127; if not specified, all rules of ACL will be activated.
OMMANDS Interface: Mirrors traffic to the designated destination port. Description Use the mirrored-to command to activate an ACL and mirror data streams to the CPU or the designated destination port. Use the undo mirrored-to command to remove traffic mirroring setting.
Page 255
You can only configure eight monitored ports for all the mirroring groups in ■ transmit group. One port can act as mirroring port and mirrored port at the same time for ■ different mirroring group. More issues for the GV48 or GP48 card: For the mirroring (including inbound port mirroring and outbound port ■...
Use the undo port command to add remove a port from a port group. For common interface cards except for the XP4 card, confider the following issues: Do not add the ports of different cards to the same port group. Do not add the ■...
View Ethernet port view, port group view Parameter priority-level: Port priority value, in the range of 0 to 7. By default, it is 0. Trust: Trusts the local priority in the input packet all the time. Description Use the priority command to set the default local precedence value for a port.
HAPTER OMMANDS After receiving a packet, the switch allocates a set of service parameters to it according to a specific rule. The procedure to obtain local precedence: First obtain it according to the "CoS ->Local-precedence" mapping table. If failed, the system uses the default local precedence of the port as that for the packet.
Page 259
CoS Value Drop-precedence After receiving a packet, the switch allocates a set of service parameters to it according to a specific rule. The service parameters, including CoS value, local precedence and drop level, are determined according to the packet 802.1p priority value.
17: Q HAPTER OMMANDS mapping table and the "CoS -> Drop-precedence" mapping table. You can modify the CoS -> Drop-precedence mapping table using this command. Example # Configure the "CoS -> Drop-precedence" mapping table. <SW8800> system-view System View: return to User View with Ctrl+Z.
Page 261
CoS Value Local Precedence After receiving a packet, the switch allocates a set of service parameters to it according to a specific rule. The service parameters, including CoS value, local precedence and drop level, are determined according to the packet 802.1p priority value.
Outbound queue ID, in the range of 0 to 7 green-min-threshhold: Minimum queue length to trigger random green packet dropping, in the range of 0 to 65535. It must be a multiple of 256 bytes. green-max-threshhold: Queue length to trigger complete green packet dropping, in the range of 0 to 65535.
Use the undo queue command to restore the default parameters for the WRED index. The switch provides four sets of default WRED parameters, respectively numbered as 0, 1, 2 and 3. Each set includes 80 parameters, 10 parameters for each of the eight queues. The ten parameters are green-min-threshhold, yellow-min-threshhold, red-min-threshhold, green-max-threshhold, yellow-max-threshhold, red-max-threshhold, green-max-prob, yellow-max-prob, red-max-prob and exponent.
20:20:30 Example # Set queues 0 to 5 in WRR algorithm, queues 0, 1 and 2 belong to group 1, with weight respectively as 20, 20 and 30; queues 3, 4 and 5 belong to group 2, with weight respectively as 20, 20 and 40. Set queues 6 and 7 in SP algorithm, the default one.
| acl-name } [ rule rule [ system-index index ] ] | link-group { acl-number | acl-name } rule rule } [ tc-index index ] cir cbs ebs [ pir ] [ conform { { remark-cos | remark-drop-priority }* | remark-policed-service } ] [ exceed {...
Page 266
For example, configure cir of the traffic that matches rule 1 to 10 kbps, and that of the rule 2 to 10 kbps too; and both of the rules have the same index value of traffic conditioner, then the sum of the average rates of rule 1 and rule 2 is restricted to 10 kbps.
Page 267
This command is only applicable to the packets which match the permitted rules in the ACL. It is required that CIR is less than or equal to PIR and CBS is less than or equal to EBS. You are recommended to configure CBS and EBS to numbers that are 100 to 150 times of CIR.
Example # Set traffic limitation for the packets match the permitted rules in the ACL 4000: CIR is 200 kbps, CBS is 2000 bytes, EBS is 2500 bytes, drop the excessive packets. <SW8800> system-view System View: return to User View with Ctrl+Z.
Page 269
EXP values. For IP packets, dscp-value is the specified DSCP priority value (six bits in the packet header) and in the range of 0 to 63; for MPLS packets, other than that the dscp-value stands for their DSCP priority value, the three high-order bits of the value represent the EXP flag field.
Page 272
[ ip-addr2 ]: Redirects packets to the specified IP address. You can define two IP addresses at a stoke, but the first one is with higher priority. That is, the system redirects packets to the second IP address only if the first one is unreachable.
# Configure traffic redirection on a service processor card for packets that match the permit rules in ACL 3000. 1 Redirect the packets of VLAN4 that match the permit rules in ACL 3000 to a service processor card in Ethernet port view.
English letter (a-z or A-Z), and without any space in it. rule rule: Specifies the rules of an active ACL, ranging from 0 to 127; if not specified, all rules of ACL will be activated.
Related command: display qos-interface traffic-statistic. Example # Run traffic statistics for the packets which match the permitted rules in the ACL 2000. <SW8800> system-view System View: return to User View with Ctrl+Z.
Use the undo wred command to restore the default WRED parameters. The switch provides four sets of default WRED parameters, respectively numbered as 0, 1, 2 and 3. The ten parameters for a port are green-min-threshhold, yellow-min-threshhold, red-min-threshhold, green-max-threshhold, yellow-max-threshhold, red-max-threshhold, green-max-prob, yellow-max-prob, red-max-prob and exponent.
Page 277
Telnet or SSH. Description Use the acl command to apply an ACL to implement the ACL control to the users accessing through Telnet or SSH. Use the undo acl command to remove the ACL control configured for users accessing through Telnet or SSH.
OGIN SERS you use the rules of a basic or advanced ACL, only the source IP address and its mask, the destination IP address and its mask, and the time-range parameter in them are valid. Similarly, when you use Layer 2 ACLs to implement the ACL control to the users accessing through Telnet or SSH, incoming/outgoing requests are restricted based on the source MAC addresses.
Description Use the snmp-agent community command to set the community access name, permit the access to the switch using SNMP, and reference the ACL to perform ACL control to the network management users by acl-number. Use the undo snmp-agent community command to remove the setting of community access name.
Page 281
Use the undo snmp-agent usm-user command to remove the user from the related SNMP group as well as the configuration of the ACL control of the user. Example # Add a user "3com" to the SNMP group "3comgroup". Specify the security level to "to be authenticated", the authentication protocol to HMAC-MD5-96 and the...
Page 282
18: ACL C HAPTER ONTROL OMMANDS TO ONTROL OGIN SERS...
VLAN-ACL already applied to a customized flow template. 2 If both a VLAN and one of its ports have QACL rules applied, only those applied to the port work. In this case, the VLAN-ACL takes effect only after the QACL rules applied to the port are removed and the flow template applied to the port changes to the default flow template.
When using the mirrored-to command to deliver a rule, you can also specify a system index value for the rule, but this value may change while the system is running. In general, you are not recommended to specify this parameter manually.
3999. acl-name: Name of the ACL, which must be a character string starting with an English letter (a-z or A-Z), and without any space in it. rule rule: Specifies the subitem of an active ACL, ranging from 0 to 127; if not specified, all subitems of ACL will be activated.
Page 286
2 is configured to be 10kbps. The tc-index values of the two rules are the same at the same time. Then the sum of the average rate of the flow matching rule 1 and the flow matching rule 2 will be limited to 10kbps.
Example # Perform flow limit on packets received on the ports in VLAN 2 if they match the permit rule in ACL3000. Set the CIR to 2000 kbps, the CBS to 2000 bytes and the EBS to 2500 bytes. Drop packets when this threshold is exceeded.
Page 288
EXP values. For IP packets, dscp-value is the DSCP priority (six bits in length in the packet header) ranging from 0 to 63 and is set by users. For MPLS packets, the dscp-value argument indicates the DSCP priority. In addition, the least three bits of the value also act as the EXP flag field, which is set simultaneously when the user specifies the dscp-value argument.
Example # Choose automatically-allocated service parameters for the packets matching the rules that permit packets in the ACL 3000 in the data flow that the ports in VLAN receives. <SW8800> system-view System View: return to User View with Ctrl+Z.
IP address. invalid { forward | drop }: Sets the method of processing packets (forward or drop) when the IP address of the next hop is invlaid. The packet will be dropped by default.
3999. acl-name: Name of the ACL, which must be a character string starting with an English letter (a-z or A-Z), and without any space in it. rule rule: Specifies the subitem of an active ACL, ranging from 0 to 127; if not specified, all subitems of ACL will be activated.
Use the display vlan-acl-member-ports command to view in this VLAN the ports with the ACL configuration of the VLAN synchronized to. When a port is added to a VLAN, you may fail to synchronize the VLAN-ACL configuration of the VLAN because the resources are not enough or user-defined flow templates are applied to ports.
Page 294
19: VLAN-ACL C HAPTER ONFIGURATION OMMANDS...
:dot1 packet. ip: IP packet. Description Use the anti-attack { arp | dot1x | ip } enable command to enable packet attack prevention. Use the anti-attack { arp | dot1x | ip } disable command to disable packet attack prevention.
Page 296
The interface number after the key word to should be no smaller than the interface number before to. &<1-10> in the command means that the preceding parameter can be entered up to 10 times.
The maximal times for the Ethernet switch to retransmit authentication request frames to access user Total maximum 802.1x user resource number The maximum number of access users allowed Total current used 802.1x resource number Number of access users currently on line Ethernet3/1/1 is link-up The state of Ethernet 2/1/1 is Up.
CHAP is more secure and reliable. In the process of EAP authentication, switch directly sends authentication information of 802.1x user to RADIUS server in the form of EAP packet. It is not necessary to transfer the EAP packet to standard RADIUS packet first and then send it to RADIUS server.
View System view, Ethernet interface view Parameter vlan-id: ID of the VLAN specified as the Guest VLAN. It ranges from 1 to 4094. interface-list: List of Guest VLAN-enabled ports expressed in the format interface-list =interface-type interface-number [ to interface-type interface-number ] &<1-10>. interface-type means the interface type, interface-number is the interface number.
802.1x. Use the undo dot1x max-user command to restore the default value. This command is used for setting a limit to the amount of supplicants that 802.1x can hold on the specified interface. This command has effect on the interface specified by the parameter interface-list when executed in system view.
By default, the access control mode is auto. This command is used to set the mode, or the interface state, for 802.1x to perform access control on the specified interface. This command has effect on the interface specified by the parameter interface-list when executed in system view. It...
The interface number after the key word to should be no smaller than the interface number before to. &<1-10> in the command means that the preceding parameter can be entered up to 10 times.
OMMANDS This command has effect on the interface specified by the parameter interface-list when executed in system view. It has effect on all the interfaces when no interface is specified. The parameter interface-list cannot be input when the command is executed in Ethernet interface view and it has effect only on the current interface.
2 indicates that the switch is configured to transmit authentication request frame once again when no response is received for the first time and so on. This command has effect on all the port after configuration.
The parameter interface-list cannot be input when the command is executed in Ethernet Port view and it has effect only on the current interface. After globally enabling proxy user detection and control in system view, only if you enable this feature on a specific port can this configuration take effects on the port.
Page 307
Authenticator will resend the above packet. supp-timeout-value: Specifies how long the duration of an authentication timeout timer of a Supplicant is. The value ranges from 10 to 120 in units of second and defaults to 30. tx-period: Has two major effects, which are described in detail in the following section.
When it is run, 802.1x enables many timers to control the rational and orderly interacting of the Supplicant, the Authenticator and the Authenticator Server. This command can set some of the timers (while other timers cannot be set) to adapt the interaction process. It could be necessary for some special and hard network environment.
Page 309
802.1x Configuration Commands be cleared. If the port type and port number are specified, the 802.1x statistics on the specified port will be cleared. Related command: display dot1x. Example # Clear the 802.1x statistics on Ethernet 3/1/2. <SW8800> reset dot1x statistics interface Ethernet 3/1/2...
Use the undo access-limit command to restore the limit to the default setting. By default, there is no limit to the amount of supplicants in the current ISP domain. This command limits the amount of supplicants contained in the current ISP domain.
The argument max-user-number is in the range of 1 to 2048. vlan vlanid: Sets the VLAN attribute of user, in other words, the VLAN to which a user belong. The argument vlanid is an integer in the range of 1 to 4094.
Use the undo attribute command to cancel the attributes that have been defined for this local user. As for attributes of the users that are of local LAN service type, user IP address and MAC address attribute are valid only when the ISP domain authentication scheme is a local authentication scheme, or the ISP domain authentication scheme is a RADIUS authentication scheme and the type of the RADIUS scheme is 3COM.
The pure username (the part before @, namely the user ID) cannot exceed 55 characters. Description Use the cut connection command to disconnect a user or a category of users by force. Related command: display connection.
It is a character string not exceeding 32 characters, excluding "/", ":", "*", "?", "<" and ">". The @ character can only be used once in one username. The pure username (the part before @, namely the user ID) cannot exceed 24 characters.
Page 317
Specifies Telnet users. terminal: Specifies terminal users. state { active | block }: Configures to display the local users in the specified state. active means that the system allows the user requesting network service and block means the system does not allow the user requesting network service.
Parameter isp-name: Specifies an ISP domain name. The name is expressed with a character string not exceeding 24 characters, excluding "/", ": ", "*", "? ", "<", and ">". default enable isp-name: Enables the default ISP domain specified by isp-name.
16 ISP domains. When this command is used, if the specified ISP domain does not exist, the system will create a new ISP domain. All the ISP domains are in the active state when they are created.
Page 320
The IP addresses in an IP address pool created in ISP domain view are mainly for PPP users of the ISP domain. This kind of IP address pools is suitable for ports with many PPP users connected to them and the available IP address these ports provide are not sufficient.
View VLAN view Parameter string: Name of the delivered VLAN. The name can contain up to 32 characters. Description Use the name command to configure the name of a delivered VLAN. Use the undo name command to remove the name configured for a delivered VLAN.
Specifies to display passwords in cipher text. password: Defines a password, which is a character string of up to 16 characters if it is in simple text and of up to 24 characters if it is in cipher text. Description Use the password command to configure a password display mode for local users.
# With 3com163.net as the current ISP domain, specify to adopt the RADIUS scheme named 3com. [3Com-isp-3com163.net] scheme radius-scheme 3com # Specify the ISP domain named 3com to adopt the Scheme named rd, with Local authentication as the secondary authentication Scheme. [3Com-isp-3com] scheme radius-scheme rd local # Specify the ISP domain named 3com to adopt hwtacacs-scheme hwtac Scheme, with Local authentication as the secondary authentication Scheme.
ROTOCOL ONFIGURATION OMMANDS By default, a switch does not support a VLAN ID delivered by a RADIUS server to be of string type. Dynamic VLAN delivering enables an Ethernet switch to monitor network resources available to users by adding the ports to which the authenticated users connect to different VLANS according to the attributes delivered by RADIUS servers.
Configures the current ISP domain (ISP domain view)/current user (local user view) as being in block state, that is, the system does not allow the users in the domain (ISP domain view) or the current user (local user view) to request network service.
Page 329
Currently, the VLAN IDs delivered by RADIUS servers can be of integer or string type. As for a VLAN ID that is of integer type, a switch adds the port to the ■...
By default, selection of RADIUS accounting option is disabled. If no RADIUS server is available or if RADIUS accounting server fails when the accounting optional is configured, the user can still use the network resource, otherwise, the user will be disconnected.
By default, the data unit is byte and the data packet unit is one-packet. Related command, see display radius. Example # Set the unit of data flow that send to RADIUS Server 3Com is kilo-byte and the data packet unit is kilo-packet. [3Com-radius-3com] data-flow-format data kilo-byte packet kilo-packet...
None Description Use the display local-server statistics command to view the statistics of local RADIUS scheme. Use the display local-server nas-ip command to view the Nas-ip that is allowed to access the Local-server. Related command: local-server. Example # Display the statistics of local RADIUS scheme.
Page 333
RADIUS Protocol Configuration Commands Description Use the display radius command to view the configuration information of all RADIUS scheme or a specified one. By default, This command outputs the configuration information about the specified or all the RADIUS scheme. Related command: radius scheme.
NAS-IP information of public network and private network. When the NAS-IP information of global private network is displayed, the name of the VPN that the NAS-IP belongs to is also displayed. Related command: radius nas-ip.
Page 335
Update request ,Num=0 Leaving ack ,Num=0 Cut req ,Num=0 RecError_MSG_sum:0 SndMSG_Fail_sum :0 Timer_Err Alloc_Mem_Err State Mismatch Other_Error No-response-acct-stop packet=0 Discarded No-response-acct-stop packet=0 Table 43 Description on the fields of the display radius statistics command Field Description state State statistics (total=2312) statistic(total=4120)
Configures to display the saved stopping accounting requests according to the saving time. start-time specifies the start time of the saving time range and stop-time specifies the stop time of the saving time range. The time is expressed in the format hh:mm:ss-yyyy/mm/dd. When this parameter is specified, all the stopping accounting requests saved in the time range since start-time to stop-time will be displayed.
Page 337
Only when the keys are identical can both ends accept the packets from each other and give responses. So it is necessary to ensure that the keys set on the switch and the RADIUS scheme are identical. If the...
Parameter nas-ip ip-address: Sets Nas-IP address of access server. ip-address is expressed in the format of dotted decimal. By default, there is a local server with the NAS-IP address of 127.0.0.1. key password: Sets password of logon user. password is a character string...
MD5-challenge authentication. 3Com series switches support up to 16 local RADIUS scheme. Related command: radius scheme, state. Example # Set the IP address of local RADIUS scheme to 10.110.1.2 and the password to 3com. [SW8800] local-server nas-ip 10.110.1.2 key 3Com nas-ip...
HAPTER ROTOCOL ONFIGURATION OMMANDS By default, the source IP address of packets is the IP address of the VLAN interface to which the port connecting with the server belongs. Related commands: display radius, radius nas-ip Example # Configure the IP address that NAS (switch) uses to send RADIUS packets as 10.1.1.1.
By default, the primary authentication server of the RADIUS scheme created by the system, whose name is "system", uses IP address of 127.0.0.1 and UDP port of 1645. The secondary authentication server uses IP address of 0.0.0.0 and UDP port of 1812.
Use the radius client enable command to enable the port 1812. You must use this command to enable ports before using RADIUS authentication. Use the undo radius client to disable the port 1812. You can use this command to disable ports when you do not use RADIUS authentication. The system does not receive (or respond to) UDP packets whose destination port is the port 1812 after the port 1812 is disabled.
RADIUS scheme and enter its view before performing other RADIUS protocol configurations. A RADIUS scheme can be used by several ISP domains at the same time. You can configure up to 16 RADIUS schemes, including the default scheme named as system.
Start-time specifies the start time of the saving time range and stop-time specifies the stop time of the saving time range. The time is expressed in the format hh:mm:ss-yyyy/mm/dd. When this parameter is set, all the stopping accounting requests saved since start-time to stop-time will be deleted.
After transmitting the stopping accounting requests, if there is no response from the RADIUS scheme, the switch will save the packet in the buffer and retransmit it for several times, which is set through the retry stop-accounting command.
T and the real-time accounting interval of NAS is t, then the integer part of the result from dividing T by t is the value of count. Therefore, when applied, T is suggested the numbers which can be divided exactly by t.
Because the stopping accounting request concerns account balance and will affect the amount of charge, which is very important for both the user and ISP, NAS shall make its best effort to send the message to RADIUS accounting server.
Related command: key, radius scheme, state. Example # Set the IP address of the secondary accounting server of RADIUS scheme, 3com, to 10.110.1.1 and the UDP port 1813 to provide RADIUS accounting service. [3Com-radius-3com] secondary accounting 10.110.1.1 1813 secondary...
# Set RADIUS scheme type of RADIUS scheme "3com", to 3com. [3Com-radius-3com] server-type 3com state Syntax state { primary | secondary } { accounting | authentication } { block | active } View RADIUS scheme view Parameter primary: Configures to set the state of the primary RADIUS server.
RADIUS server is in the state of block. For a new RADIUS scheme, the RADIUS server is in the state of block if an IP address is not configured for the server; the RADIUS server is in the state of active if an IP address is configured for the server.
By default, enable to save the stopping accounting requests in the buffer. Because the stopping accounting request concerns account balance and will affect the amount of charge, which is very important for both the user and ISP, NAS shall make its best effort to send the message to RADIUS accounting server.
After the attribute is set, NAS will transmit the accounting information of online users to the RADIUS server regularly. The value of minute is related to the performance of NAS and RADIUS server. The smaller the value is, the higher the requirement for NAS and RADIUS server is.
View RADIUS scheme view Parameter seconds: The value range is 1 to 10 in seconds. The default response timeout value of the RADIUS server is 3 seconds. Description Use the timer response-timeout command to set the response-timeout value of RADIUS server.
View RADIUS scheme view Parameter vpn-name: The name of the VPN instance, which is a string of 1 to 19 characters. Description Use the vpn-instance command to configure the VPN that the RADIUS scheme belongs to. Use the undo vpn-instance command to cancel the configuration for VPN.
By default, the data unit is byte and the data packet unit is one-packet. Related command: display hwtacacs. Example # Set the unit of data flow sent to TACACS Server 3Com to kilo-byte and the data packet unit to kilo-packet. [3Com-hwtacacs-3com] data-flow-format data kilo-byte packet kilo-packet...
Use the display stop-accounting-buffer command to view information on the stop-accounting requests buffered in the switch. Related command: reset stop-accounting-buffer, stop-accounting-buffer enable, retry stop-accounting. Example # Display information on the buffered stop-accounting requests related to the HWTACACS scheme "3com". <SW8800> display stop-accounting-buffer hwtacacs-scheme 3com %No accounting stop packet exists.
Parameter ip-address: IP address of a specified source, which is that of the local host and cannot be a broadcast address of class A, B or C, a class D address, an all-zero address, or an address begins with 127.
Only when the same key is used can both ends accept the packets from each other and give responses. So it is necessary to ensure that the same key is set on the switch and the HWTACACS server. If the authentication/authorization and accounting are performed on two server devices with different shared keys, you must set one shared key for each.
Generally, the Loopback interface address is recommended. By default, the source IP address of the packets is the IP address of the interface of the VLAN to which the port connecting the server belongs.
HWTACACS Configuration Commands You are not allowed to assign the same IP address to both primary and secondary accounting servers. If you repeatedly use this command, the latest configuration overwrites the previous one. You can remove a TACACS scheme accounting server only when no Active TCP connection used to send accounting packets is now using the server, and the removal impacts only packets forwarded afterwards.
Parameter ip-address: IP address of the server, a valid unicast address in dotted decimal format. port-number: Port number of the server, which is in the range 1 to 65535 and defaults to 49. Description Use the primary authorization command to configure a primary TACACS authorization server.
Related command: stop-accounting-buffer enable, retry stop-accounting, display stop-accounting-buffer. Example # Delete the buffered stop-accounting requests that are related to the HWTACACS scheme "3com". <SW8800> reset stop-accounting-buffer hwtacacs-scheme 3Com retry stop-accounting...
Parameter ip-address: IP address of the server, a valid unicast address in dotted decimal format. port-number: Port number of the server, which is in the range 1 to 65535 and defaults to 49. Description Use the secondary accounting command to configure a secondary TACACS accounting server.
Parameter ip-address: IP address of the server, a valid unicast address in dotted decimal format. port-number: Port number of the server, which is in the range 1 to 65535 and defaults to 49. Description Use the secondary authentication command to configure a secondary TACACS authentication server.
IP address of the server, a legal unicast address in dotted decimal format. port-number: Port number of the server, ranging from 1 to 65535. By default, it is Description Use the secondary authorization command to configure a secondary TACACS authorization server.
View HWTACACS view Parameter seconds: TACACS server response timeout time, which is in the range of 1 to 300 seconds and defaults to 5 seconds. Description Use the timer response-timeout command to set the TACACS server response timeout time.
Page 369
ISP domains but with the same name as one user. Related command: hwtacacs scheme. Example # Specify that no domain name is taken along with the username that will be sent out with the HWTACACS scheme 3com. [3Com-hwtacacs-3com] user-name-format without-domain...
Page 370
21: AAA RADIUS/HWTACACS P HAPTER ROTOCOL ONFIGURATION OMMANDS...
Page 372
Displays the authentication network section. auth-vlan-id is the ID of the VLAN where the access port (where the authentication users access into the switch across the network) lies in. free-ip: Displays the configured authentication-free IP addresses.
Page 373
Description Run Method Portal servers run in one of the three methods: direct, ReDHCP and Layer3 Free IP Free IP addresses. A Portal server will use one free IP address automatically Free User Authentication-free users Portal Server The basic information about the configuration of a Portal server,...
22: P HAPTER ORTAL ONFIGURATION OMMANDS Table 47 Description on the fields of the display portal acm statistics command Field Description ACM Statistics Statistics about state machines WAIT_MAC_ACK Time of waiting for MAC address acknowledgements. This value is 0 for the Layer 3 method...
When you enable the Portal authentication function on a VLAN interface, you must first make sure that VLAN IDs are in the range of 2 to 4094, and the make sure that a valid IP address is configured for this VALN interface and that the specified Portal server exists.
ONFIGURATION OMMANDS If the user PC still does not respond after the sending times exceed the retry times, the switch will regard the handshakes as abnormal, cut the connection with this user actively and notify the Portal server about this case.
Free IP addresses can be the IP addresses of DNS servers or the IP addresses that ISP provides to access free websites. All users can access these free IP addresses unrestrictedly. Up to 8 free IP addresses can be configured in one system. .A Portal server will use one free IP address automatically. Example # Set the IP address 10.1.1.0 as a free IP address...
ID of the VLAN that the authentication-free users belongs to, in the range of 1 to 4094. interface: Port of the switch that the authentication-free users lie in. This port must belong to the VLAN that this command specifies.
IP address of the interface belong to the same network section. The Direct authentication method requires that the IP address of an authentication-free user and that of the VLAN interface belong to the same network section.
Shared keys that the Portal server needs when it communicates with the switch. It is a string in the range of 1 to 16 characters. It is "3com" by default. port: Port that a switch uses to send packets to a Portal server. It is in the range of 1 to 65534.
Syntax reset portal { acm | server | tcp-cheat } statistics View User view Parameter acm: Clears the statistics about ACM, that is to say, clears the statistics about the state machines related with authentication, connection and management.
Page 382
Clears the statistics about the Portal server. tcp-cheat: Clears the statistics about TCP cheats. Description Use the reset portal command to clear the related statistics about Portal. Example # Clear the statistics about ACM of the Portal client. <SW8800> reset portal acm statistics...
When a switch runs a routing protocol, it can perform the router functions. A router that is referred to in the following or its icon represents a generalized router or an Switch 8800 Family series routing switch running routing protocols. To improve readability, this will not be described in the other parts of the manual.
Use the display ip routing-table acl command to view the route filtered through specified basic access control list (ACL). This command is used in track display of route policy to display the route that passed the filtering rule according the input basic ACL number or name.
Page 385
Display Commands of the Routing Table For detailed description of the output information, see Table 48. # Display the verbose information of the Active and Inactive routes that are filtered through basic acl 2000. <SW8800> display ip routing-table acl 2000 verbose...
Page 386
23: S HAPTER TATIC OUTE ONFIGURATION OMMANDS Table 49 Description of the fields of the display ip routing-table acl verbose command Field Description Route state description: ActiveU Valid unicast route. U stands for unicast. Blackhole Blackhole route is similar to Reject...
Field Description Lifetime of a route entry, in hh : mm : ss, where hh is hours, mm is minutes, and ss is seconds. The displayed time should be read from right to left. For example, 7:24 indicates that the lifetime of a route is seven hours and 24 minutes.
STATIC 192.168.1.2 Vlan-interface10 For detailed description of the output information, see Table 48. # There is no corresponding route (only the longest matching route is displayed) in natural mask range and summary is displayed. <SW8800>display ip routing-table 192.168.1.2 Destination/Mask Protocol Pre...
Anding ip-address1 with mask1 specifies the start of the range while anding ip-address2 with mask2 specifies the end. This command is used to display the routes in this address range.
48.48.48.2 Vlan-interface48 For detailed description of the output information, see Table 48. # Display the details of the active and inactive routes filtered by the prefix list abc2. <SW8800> display ip routing-table ip-prefix abc2 verbose Routes matched by ip-prefix abc2:...
Page 391
Without the parameter, this command displays the active and inactive route information. verbose: With the verbose keyword, this command displays the verbose route information. Without the parameter, this command displays the route summary. protocol: The parameter has multiple selectable values: direct: Displays direct connection route information ■...
Radix tree for INET (2) inodes 7 routes 5: +-32+--{210.0.0.1 +--0+ | | +--8+--{127.0.0.0 | | | +-32+--{127.0.0.1 | +--1+ +--8+--{20.0.0.0 +-32+--{20.1.1.1 Table 50 Description of the fields of the display ip routing-table radix command Field Description INET Address suite inodes Number of nodes routes...
Number of routes Active Number of active routes Added Number of added routes after the router is rebooted or the routing table is cleared last time Deleted Number of deleted routes (such routes will be freed in a period of time) Total...
First, display statistics of the whole routing table and then output detailed information of every route entry in turn. The meaning of route status is shown in Table 49, and the statistics of routing table is shown in the following table.
Static Route Configuration Commands Table 52 Description of the fields of the display ip routing-table verbose command Field Description Holddown Number of held-down routes Delete Number of deleted routes Hidden Number of hidden routes Static Route Configuration Commands delete static-routes all...
Description Use the delete vpn-instance command to remove all the static routes of the VPN. When you use this command to remove the static routes, the system will prompt your acknowledgement. The system removes all configured static routes after the acknowledgement.
Page 397
Use the undo ip route-static command to delete the configured static route. By default, the system can obtain the sub-net route directly connected with the router. If it is not specified as reject or blackhole, the route will be reachable by default.
Page 398
23: S HAPTER TATIC OUTE ONFIGURATION OMMANDS...
You can use the checkzero command to enable the zero field check operation on RIP-1 packet. During the zero field check operation, if the RIP-1 packet in which the zero fields are not zeros is received, it will be rejected.
View RIP view Parameter value: The default routing cost to be set, ranging from 1 to 16. The default value is Description Use default cost command to set the default routing cost of an imported route. Use the undo default cost command to restore the default value.
Use the filter-policy export command to configure to filter the advertised routing information by RIP. Use the undo filter-policy export command to configure not to filter the advertised routing information. By default, RIP does not filter the advertised routing information.
Use the filter-policy gateway import command to configure to filter the received routing information distributed from the specified address. Use the undo filter-policy gateway import command to configure not to filter the received routing information distributed from the specified address.
Use the undo host-route command to reject the host route. By default, RIP accepts the host route. In some special cases, RIP receives a great number of host routes in the same network segment. These routes cannot help the path searching much but occupy a lot of resources.
If the cost value is not specified, routes will be imported according to the default cost ranging from 1 to 16. If the cost value of the imported route is 16, then RIP continues to advertise this cost to other routers running RIP, and marks this route "Hold Down".
When the network command is used on an address, the effect is that the interface on the network segment at this address is enabled. For example, the results of viewing the network 129.102.1.1 with both the display...
Every routing protocol has its own preference. Its default value is determined by the specific routing policy. The preference will finally determine the routing algorithm to obtain the optimal route in the IP routing table. This command can be used to modify the RIP preference manually.
Specifies the MD5 cipher text authentication packet to use the general packet format (RFC1723 standard format). key-string: MD5 cipher text authentication key. If it is input in a plain text form, MD5 key is a character string not exceeding 16 characters. And it will be displayed in a cipher text form in a length of 24 characters when the display current-configuration command is executed.
One of them is that described in RFC 1723, which was brought forward earlier. The other format is the one described specially in RFC 2082. The router supports both of the packet formats and the user can select either of them on demands. Related command: rip version.
0 to 16. By default, the value is 0. Description Use the rip metricin command to configure the additional route metric added to the route when an interface receives RIP packets. Use the undo rip metricin command to restore the default value of this additional route metric.
Interface view Parameter None Description Use the rip output command to allow an interface to transmit RIP packets to the external. Use the undo rip output command to disable an interface to transmit RIP packets to the external. By default, all interfaces except loopback interfaces are enabled to transmit RIP packets to the external.
Transmission mode of RIP-2 packet is multicast. Description Use the rip version command to configure the version of RIP packets on an interface. Use the undo rip version command to restore the default value of RIP packet version on the interface.
Description Use the rip work command to enable the running of RIP on an interface. Use the undo rip work command to disable the running of RIP on an interface. By default, RIP is running on an interface. This command is used in cooperation with rip input, rip output and network commands.
By default, RIP-2 route summarization is used. Automatic route summarization can be performed to reduce the routing traffic on the network as well as to reduce the size of the routing table. If RIP-2 is used, route summarization function can be disabled with the undo summary command, when it is necessary to broadcast the subnet route.
Page 414
24: RIP C HAPTER ONFIGURATION OMMANDS Example # Set the values of Period Update timer and Timeout timer of RIP to 10 seconds and 30 seconds respectively. [SW8800] rip [3Com-rip] timers update 10 timeout 30...
When a switch runs a routing protocol, it can perform the router functions. A router that is referred to in the following or its icon represents a generalized router or an Switch 8800 Family series routing switch running routing protocols. To improve readability, this will not be described in the other parts of the manual.
View OSPF view Parameter area-id: ID of the OSPF area, which can be a decimal integer (ranging from 0 to 4,294,967,295) or in IP address format. Description Use the area command to enter OSPF Area view. Use the undo area command to remove the specified area.
Type-7 LSAs in the summary address range. If the local router acts as both an ABR and a router in the NSSA, this command summarizes Type-5 LSAs transformed from Type-7 LSAs. If the router is not the router in the NSSA, the summarization is disabled.
If you do not specify a process ID, the command is applied to all processes. While the router is operating, the debugging state always remains regardless of the existing OSPF process.
Because OSPF can import the external routing information and broadcast it to the entire autonomous system, and importing routes too often will greatly affect the performances of the device, it is necessary to specify the default interval for the protocol to import external routes.
Use the default tag command to configure the default tag that OSPF assigns to imported routes. Use the undo default tag command to restore the default of the default tag that OSPF assigns to imported routes. When OSPF imports a route found by other routing protocols in the router and...
The stub command is used to configure the Stub attribute for this area. Related command: stub, 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...
The cost value of this ASE LSA. The metric-value ranges from 0 to 16,777,214. If the parameter is not configured, the default value is 1. type type-value: Cost type of this ASE LSA. It ranges from 1 to 2. If the parameter is not configured, the default value is 2.
# Display the information of the OSPF area border routers and autonomous system border routers. <SW8800> display ospf abr-asbr OSPF Process 1 with Router ID 10.110.98.138 Routing Table to ABR and ASBR I = Intra i = Inter A = ASBR B = ABR S = SumASBR Destination Area Cost Nexthop Interface IA 2.2.2.2...
View Any view Parameter process-id: Process ID of OSPF. The command is applied to all current OSPF processes if you do not specify a process ID. ip-address: Matched IP address in dotted decimal format. mask: IP address mask in dotted decimal format.
View Any view Parameter process-id: Process ID of OSPF. The command is applied to all current OSPF processes if you do not specify a process ID. Description Use the display ospf brief command to view the main summary of OSPF.
[ process-id ] cumulative View Any view Parameter process-id: Process ID of OSPF. The command is applied to all current OSPF processes if you do not specify a process ID. Description Use the display ospf cumulative command to view the OSPF cumulative information.
1 net: 0 sumasb: 1 sumnet: 1 Routing Table: Intra Area: 2 Inter Area: 0 ASE: 1 Table 57 Description of the fields of the display ospf cumulative command Field Description Type of input/output OSPF Type packet IO Statistics...
Page 429
OSPF Configuration Commands Parameter process-id: Process ID of OSPF. The command is applied to all current OSPF processes if you do not specify a process ID. Description Use the display ospf error command to view the OSPF error information. Example # Display the OSPF error information.
[ process-id ] interface [ interface-type interface-number ] View Any view Parameter process-id: Process ID of OSPF. The command is applied to all current OSPF processes if you do not specify a process ID. interface-type interface-number: Specifies an interface. Description Use the display ospf interface command to view the OSPF interface information.
Page 432
Views the IP address of the LSA generator. self-originate: Views the database information of self-originated LSA. Description Use the display ospf lsdb command to view the link-state database (LSDB) of OSPF. Example # Display the LSDB of OSPF.
Address Address of next hop Type Type of next hop Refcount Reference count of the next hop, i.e., number of routes using this address as the next hop Intf Addr IP address of the outgoing interface to the next hop...
Use the display ospf peer command to view information about OSPF peers. Use the display ospf peer brief command to view the brief information of every peer in OSPF, mainly the numbers of peers at all states in every area.
[ process-id ] retrans-queue View Any view Parameter process-id: ID of an OSPF process. The command is applied to all current OSPF processes if you do not specify a process ID. Description Use the display ospf retrans-queue command to view information about the OSPF retransmission queue.
View Any view Parameter process-id: ID of an OSPF process. The command is applied to all current OSPF processes if you do not specify a process ID. Description Use the display ospf routing command to view information about the OSPF routing table.
OSPF Configuration Commands Table 66 Description of the fields of the display ospf routing command Field Description NSSA Number of NSSA routes display ospf Syntax abr-summary display ospf [ process-id ] abr-summary View Any view Parameter process-id: OSPF process number. If no process number is specified, the command functions on all the currently active OSPF processes.
OMMANDS View Any View Parameter process-id: ID of an OSPF process. If the process ID is not specified, the major information about all the OSPF processes will be displayed in the order in which IDs are configured. Description Use the display ospf graceful-restart status command to display the information about OSPF Graceful Restart.
OSPF Configuration Commands Description Use the display ospf vlink command to view the information about OSPF virtual links. Example # View OSPF virtual links information. <SW8800> display ospf vlink OSPF Process 1 with Router ID 1.1.1.1 Virtual Links Virtual-link Neighbor-id ->...
HAPTER ONFIGURATION OMMANDS Description Use the filter-policy export command to configure the rule used by OSPF to filter advertised routing information. Use the undo filter-policy export command to cancel the filtering rules that have been set. By default, no filtering of the advertised routing information is performed.
Use the filter-policy export command to filter the Type-3 LSAs generated locally in an OSPF area so that only those Type-3 LSAs having passed the filtration can be added into the link state database of the other areas. The filtration is implemented according to the link state ID of the Type-3 LSAs.
Use the filter-policy import command to filter the Type-3 LSAs generated locally in an OSPF area so that only those Type-3 LSAs having passed the filtration can be added into the link state database of the other areas. The filtration is implemented...
View OSPF view Parameter value: GR period in the way defined in the RFC3623 standard. It is 120 seconds by default. compatible: Performs GR in compatible way. Description Use the graceful-restart [ value ] command to configure the OSPF protocol for the switch to perform GR in the way defined in the RFC3623 standard.
Otherwise, the new configuration overwrites the old one. Example # 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...
By default, a maximum of 20K exterior routes are allowed to be imported. Example # Set the maximum number of exterior routes allowed to be imported to 50K. [3Com-ospf-1] import-route-limit 50000 log-peer-change...
View System view Parameter process-id: ID of an OSPF process, in the range 1 to 65,535. By default, the process ID is 1. process-id is locally significant. router-id: Router ID in dotted decimal format for the specified OSPF process. vpn-instance: Specifies VPN instance parameter.
ID of the authentication key in MD5 authentication mode in the range from 1 to 255. key: MD5 authentication key. If it is input in a plain text form, MD5 key is a character string in the range 1 to 16 characters. It will be displayed in a cipher text form in a length of 24 characters when the display current-configuration command is executed.
"designated router" is elected. The interface with higher priority will be considered first when vote collision occurs. Example # Set the priority of the interface Vlan-interface 10 to 8, when electing the DR. [SW8800] interface Vlan-interface 10 [3Com-Vlan-interface10] ospf dr-priority 8...
View System view Parameter process-id: ID of an OSPF process, in the range 1 to 65,535. If no OSPF process is specified, the default process ID 1 applies. Description Use the ospf mib-binding command to bind the MIB operation to the specified OSPF process.
Changes the interface network type to NBMA. p2mp: Changes the interface network type to p2mp. p2p: Changes the interface network type to point-to-point. Note: Due to the media type used on the Switch 8800, Broadcast is the only valid option. Description Use the ospf network-type command to configure the network type of OSPF interface.
OMMANDS View Interface view Parameter seconds: Dead interval of the OSPF neighbor. It is in seconds and ranges from 1 to 65,535. minimal: Specifies the port to run Fast Hello function. multi-hello: Sends multiple hello packets. packets: Number of Hello packets sent within one second.
Use the undo ospf timer retransmit command to restore the default interval value for LSA re-transmitting on the interface. If a router running OSPF transmits a "link state advertisement" (LSA) to the peer, it needs to wait for the acknowledgement packet from the peer. If no acknowledgement is received from the peer within the LSA retransmit, this LSA will be re-transmitted.
Use the undo ospf trans-delay command to restore the default value of the LSA transmitting delay on an interface. LSA will age in the "link state database" (LSDB) of the router as time goes by (add 1 for every second), but it will not age during network transmission. Therefore, it is necessary to add a period of time set by this command to the aging time of LSA before transmitting it.
The following are the benefits of the reset ospf all command: Clear invalid LSA immediately without waiting for LSA timeout. ■ If the Router ID changes, a new Router ID will take effect by executing the ■ command. Re-elect DR and BDR conveniently.
ID, the router will automatically select one from configured IP address as the ID of this router. If no IP address is configured for any interface of the router, the router ID must be configured in OSPF view. Otherwise, OSPF protocol cannot be enabled.
Use the undo silent-interface command to restore the default setting. By default, the interface is enabled to transmit OSPF packets. You can use this command to disable an interface to transmit OSPF packets, so as to prevent the router on some network from receiving the OSPF routing information.
OMMANDS Description Use the sham-link command to run Fast Hello function on the sham-link link, that is, to specify multiple Fast Hello packets to be sent within one second. The default dead interval time is one second. Example # Specify the sham-link link 1.1.1.1 2.2.2.2 to run Fast Hello Function. The dead interval time is one second.
View OSPF view Parameter interval: SPF calculation interval of OSPF, which is in the range of 1 to 10 and is measured in seconds. The default value is five seconds. Description Use the spf-schedule-interval command to configure the route calculation interval of OSPF.
ONFIGURATION OMMANDS If the router is an ABR, it will send a default route to the connected Stub area. Using the default-cost command, you can configure the default route cost value. In addition, on an ABR, you can configure the no-summary argument in the stub command to prevent type-3 LSAs from entering the Stub area connected to this ABR.
Page 461
Specifies the MD5 authentication key. If it is input in a plain text form, MD5 key is a character string in the range 1 to 16 characters. It will be displayed in a cipher text form in a length of 24 characters when the display current-configuration command is executed.
Page 462
25: OSPF C HAPTER ONFIGURATION OMMANDS...
When a switch runs a routing protocol, it can perform the router functions. A router that is referred to in the following or its icon represents a generalized router or an Switch 8800 Family series routing switch running routing protocols. To improve readability, this will not be described in the other parts of the manual.
Permits to receive routes whose cost value is larger than 1024. If it is not set, routes whose metrics values are larger than 1024 will be discarded. This setting is only valid for compatible, narrow-compatible and...
By default, IS-IS only receives/sends packets whose cost type is narrow. Related command: isis cost. Example # Set IS-IS to receive packets whose cost type is narrow or wide, but only send packets whose cost type is narrow. [SW8800] isis...
Use the default-route-advertise command to create the default route of L1, L2 router. Use the undo default-route-advertise command to cancel this configuration. By default, this command uses the L2 router to create the default route. There is another mechanism for L1 routers. Namely, the system discovers the default route...
L1/L2 router. The nearest L1/L2 router can be found by searching the ATT bit in the L1 LSP. This command can be set on L1 router or L2 router. By default, the route is generated on L2 LSP. If the apply isis level-1 command is executed in route-policy view, the default route will be generated on L1 LSP.
Description Use the display isis peer command to view IS-IS peer information. The display isis peer verbose command yields not only all the outputs of the display isis peer command, but also the area address, Uptime and IP address of the directly connected interface of the peer.
View Any view Parameter None Description Use the display isis spf-log command to view the SPF calculation log information of the IS-IS. . Example # View the SPF calculation log of IS-IS. <SW8800> display isis spf-log Details of Level 1 SPF Run: ------------------------------------------------------------------------- Trig.Event...
(TT8F]Y5SQ=^Q‘MAF4<1!!. password: Specifies the authentication password which can be a character string with 1 to 16 characters. If md5 is specified, the password will be displayed in a cipher text form with 24 characters when the display current-configuration command is executed. Inputting password in a cipher text form with 24 characters is also supported.
At the same time, this command will let IS-IS insert the domain authentication password into all the level-2 routing packets sent by this node, in a certain mode.
View IS-IS view Parameter acl-number: Specifies the number of the access control list, ranging from 2000 to 3999. Description Use the filter-policy import command to configure to filter the routes received by IS-IS. Use the undo filter-policy import command to configure not to filter the received routes.
Use the undo graceful-restart suppress-sa command to disable the suppression on the SA bit. Routers that are started for the first time (excluding routers being restarted) does not maintain the forwarding status. If this router is not started for the first time,...
Integrated IS-IS Configuration Commands the LSP generated during the last run may still exist in the LSP database of other routers in the network. Because LSP fragment sequence numbers are initialized when a router is reset, the LSP copy stored in the other routers in the network seems newer than the new LSPs generated after this router is restarted.
Integrated IS-IS Configuration Commands View IS-IS view Parameter acl-number: ACL number. It is in the range of 2000 to 3999, which means basic ACLs and advanced ACLs can be used. Description Use the import-route isis level-2 into level-1 command to enable routing information in a Level-2 area to be imported to a Level-1 area.
This command is only applicable to Level-1-2 routers. If the local router is a Level-1-2 router and it is required to establish a correlation with the peer router on a certain level (Level-1 or Level-2), this command can specify the interface to send and receive Hello packets of this level.
SPF calculation. Use the undo isis cost command to restore the default link cost. If neither Level 1 nor Level 2 is specified in the configuration, Level-1 will be the default value. The user is recommended to configure the appropriate link cost for all the interfaces.
Use the undo isis dis-priority command to restore the default priority. The IS-IS protocol does not concern the concept of backup DIS. The router with the priority 0 can also run for the DIS, which is different from the DR election of OSPF.
The interface joining a mesh group only floods the received LSP to the interfaces beyond the local mesh group. Make sure to provide some redundancy when adding an interface to a mesh group or blocking it, avoiding the affect to the normal flooding of the LSP due to link failure. Example # Add Vlan-interface 20 running IS-IS to mesh group 3.
The default value is 10 seconds. level-1: Specifies the Level-1 Hello interval. level-2: Specifies the Level-2 Hello interval. If no level is not specified, the Hello interval is set to Level-1-2, that is, both Level-1 and Level-2 take effect.
Related command: isis timer holding-multiplier. Example # Set the Hello packet of Level-2 to be transmitted every 20 seconds on Interface Vlan-interface 10. [SW8800] interface Vlan-interface 10 [3Com-Vlan-interface10] isis timer hello 20 level-2...
Given a broadcast network, you may configure this command specific to Level-1 or Level-2 neighbors by specifying the keyword level-1 or level-2. Given a PPP link, you do not need to specify Level-1 or Level-2, because only one kind of Hello packet is available.
View IS-IS view Parameter x: Maximum interval (in seconds) for generating LSP. It ranges from 1 to 120 and defaults to 5. y: Interval (in milliseconds) between each trigger operation and each LSP generation operation. It ranges from 1 to 120,000 and defaults to 5,000.
Use the undo timer lsp-generation command to restore the default setting. When an event occurs, a new LSP needs to be generated for the IS-IS protocol. But the frequent generation of LSPs will result in the occupancy of huge resources and thus decrease the performance of the routing switch.
We recommend setting the system Level, when you configure IS-IS. If there is only one area, you are recommended to set the level of all the routers as Level-1 or Level-2, because it is not necessary for all the routers to maintain two identical databases.
Use the undo log-peer-change command to configure not to log the peer changes. By default, peer changes log disabled. After peer changes log is enabled, the IS-IS peer changes will be output on the configuration terminal until the log is disabled. Example # Configure to output the IS-IS peer changes on the current router.
NET means the Network Service Access Point (NSAP). An IS-IS NET is 8 to 20 bytes long. It consists of three parts. Part one is area ID, which is variable (1 to 13 bytes), and the area IDs of the routers in the same area are identical. Part two is system ID (6 bytes) of this router, which must be unique in the whole area and backbone area.
By default, IS-IS data structure will not be cleared. This command is used when LSPs need refreshing immediately. For example, after the area-authentication-mode and domain-authentication-mode commands are executed, the old LSP still remain on the router. This command can be used to clear them. Related command: area-authentication-mode, domain-authentication-mode.
Use the undo set-overload command to cancel the overload flag. By default, no overload flag is set. If a router is configured with the overload flag, the routes it calculates will be ignored by other routers in SPF calculation. (However the directly connected routes will not be ignored.) And other routers should not send this router the packets...
View IS-IS view Parameter number: Specifies number of routes to process before releasing CPU. It is in unit of piece with the range from 1000 to 50000. By default, the value is 2500 pieces. Description Use the spf-delay-interval command to configure the number of routes to process before releasing CPU in the SPF calculation.
120. When the calculation duration time reaches or exceeds the set value, the calculation of this time ends. If seconds is set to 0, it indicates that SPF calculation is not divided into slices and it will operate until the end. By default, the value is 0. Description Use the spf-slice-size command to enable IS-IS to calculate SPF routes in slices and configure the duration of each calculation.
LSP will be deleted from the LSDB. Related command: timer lsp-refresh. Example # Set the lifetime of an LSP generated by the current system to 25 minutes, i.e., 1500 seconds. [3Com-isis] timer lsp-max-age 1500...
View IS-IS view Parameter x: Maximum interval (in seconds) for SPF calculation. It ranges from 1 to 120 and defaults to 10. y: Interval (in milliseconds) between a trigger operation and an SPF calculation operation. It ranges from 1 to 120,000 and defaults to 5,500.
Page 497
By setting a proper interval for performing SPF calculation, you can avoid the above situation. This setting can be made according to actual conditions. Example # Set the SPF calculation interval of the router to 3, 100 and 500 seconds. [3Com-isis] timer spf 3 100 500...
Page 498
26: I IS-IS C HAPTER NTEGRATED ONFIGURATION OMMANDS...
When a switch runs a routing protocol, it can perform the router functions. A router that is referred to in the following or its icon represents a generalized router or an Switch 8800 Family series routing switch running routing protocols. To improve readability, this will not be described in the other parts of the manual.
Used to produce 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. detail-suppresse This keyword does not suppress any aggregated route, but it restrains the advertisement of all the specific routes.
Use the bgp command to enable BGP and enter the BGP view. Use the undo bgp command to disable BGP. By default, the system does not run BGP. This command is used to enable and disable BGP as well as to specify the local AS number of BGP. Example # Enable BGP.
If there are several routes available to one destination address, the route with smaller MED parameter can be selected as the final route item. Do not use this command unless it is determined that the same IGP and routing selection mode are adopted by different autonomous systems.
View BGP view Parameter as-number-1...as-number-n: Sub-AS number. The range is 1 to 65535. This command can configure a maximum of 32 Sub-ASs belonging to a confederation. Description Use the confederation peer-as command to configure a confederation consisting of which Sub-ASs.
1 to 45 minutes. By default, the value is 15 minutes. half-life-unreachable: Specifies the semi-dampening when the route is unreachable. The range is 1 to 45 minutes. By default, the value is 15 minutes. reuse: When the penalty is reduced under this value, the route is reused. The range is 1 to 20000.
The command can be used to configure the default local preference of RTB as 180 so that the route via RTB is selected first when the same route goes through RTA and RTB at the same time.
# Routers RTA and RTB belong to AS100 and router RTC belongs to AS200. RTC is the peer of RTA and RTB. So the MED of RTA can be configured as 25 to allow RTC to select the route transmitted by RTB first.
Any view Parameter group-name: Specified a peer group. Description Use the display bgp group command to view the information of peer groups. Example # View the information of the peer group aaa. <SW8800> display bgp group aaa Group : aaa...
View Any view Parameter None Description Use the display bgp network command to view the routing information that has been configured. Example # Display the routing information that has been configured. <SW8800> display bgp network Network Mask Route-policy 133.1.1.0...
Aggregator Mask length of aggregate route Origin attribute of route, which indicates that the route updates its origin relative to the route originating it from AS. It has three optional values: The route belongs to inside of AS. BGP treats...
Table 73 Description of the fields of the display bgp peer verbose command Field Description Peer IP address of peer and port number used by the peer to establish TCP connection Local IP address and port number used to establish TCP connection of local end Type...
Page 512
Local-Pref Local preference, which ranges from 0 to 4294967295 Origin attribute of route, which indicates that the route updates its origin relative to the route originating it from AS. It has three optional values: The route belongs to inside of AS. BGP treats aggregate route and the route defined by the command network as inside of AS, and origin type as IGP.
BGP Configuration Commands Table 74 Description of the fields of the display bgp routing-table command Field Description AS-path attribute of route, which records all AS areas that the route passes. With As-path it, route loop can be avoided display bgp...
(learned by other methods). BGP sets the origin of the route imported through other IGP protocols as INCOMPLETE AS-path attribute of route, which records all AS areas that the route passes. With As-path it, route loop can be avoided...
Does not send matched route outside AS. no-advertise: Sends matched route to no peers. no-export: Does not advertise the route to outside the AS or the confederation, but can advertise the route to other sub-Ass in the confederation. whole-match: Configures to display the exactly matched routes.
Source Damping-limit Origin As-path ----------------------------------------------------------------- 11.1.0.0/16 133.1.1.2 1:20:00 Table 76 Description of the fields of the display bgp routing-table dampened command Field Description State flags: # - valid (valid) ^ - best (selected) Flags D - damped (discarded) H - history (history)
BGP Configuration Commands Table 76 Description of the fields of the display bgp routing-table dampened command Field Description Origin attribute of route, which indicates that the route updates its origin relative to the route originating it from AS. It has three optional values: The route belongs to inside of AS.
Page 518
27: BGP C HAPTER ONFIGURATION OMMANDS acl-number: Number of the specified AS path to be matched, ranging from 1 to 199. network-address: Displays the flap information of this IP address. mask: Network mask. longer-match: Shows the route flap-info that is more specific than address, mask.
BGP Configuration Commands Table 77 Description of the fields of the display bgp routing-table flap-info command Item Description AS-path attribute of route, which records all AS areas that the route passes. As-path With it, route loop can be avoided display bgp...
Parameter advertised: Routing information advertised by the peers. received: Routing information received by the peers. statistic: The total number of routes advertised or received by the peer. Description Use the display bgp routing-table statistic command to display the total number of routes advertised or received by all BGP peers.
View BGP view Parameter acl-number: Number of IP access control list, in the range of 2000 to 3999. ip-prefix-name: Name of ip prefix list. Its length ranges from 1 to 19. routing-protocol: Specified protocols advertising routing information which include direct, ospf, ospf-ase, ospf-nssa, rip, isis and static.
BGP view Parameter acl-number: Number of IP access control list, in the range of 2000 to 3999. ip-prefix-name: Name of an address prefix list. It is used for filtering routing information by destination address. Its length ranges from 1 to 19.
The default type of BGP peer group is internal. Rather than existing alone, a BGP peer must belong to a peer group. Therefore, when creating a BGP peer, you must create a BGP peer group first and then add the peer into the group.
Description Use the log-peer-change command to enable the switch for reporting the BGP peer changes and print the BGP state change messages onto the screen. Use the undo log-peer-change command to disable this function. The switch for reporting BGP peer changes is disabled by default.
Specifies name of the peer group. peer-address: Specifies IP address of the peer. number: Specifies the repeating times of local AS, ranging from 1 to 10. Description Use the peer allow-as-loop command to configure the repeating time of local Use the undo peer allow-as-loop command to remove the repeating time of local AS.
View BGP view Parameter group-name: Name of peer group. as-number: Peer AS number of the peer group, the range is 1 to 65535. Description Use the peer as-number command to configure the peer AS number of the specified peer group.
The priority of the inbound filter policy configured for the peer is higher than that configured for the peer group. Related command: peer as-path-acl export. Example # Set the AS path ACL of the peer group test to filter BGP received routes. [3Com-bgp] peer test as-path-acl 1 import...
By default, BGP uses the best source interface. Usually, BGP uses the optimal route to update the source interface of the packets. However, you can set the mode of the interface to Loopback in order to send route updates even if the interface is not work normally.
By default, a peer group does not import the default route. For this command, no default route needs to exist in the routing table. A default route is sent unconditionally to a peer with the next hop as itself.
BGP view Parameter group-name: Specifies the name of the peer group. ttl: Maximum hop value. The range is 1 to 255. By default, the value is 64. Description Use the peer ebgp-max-hop command to allow the router to establish EBGP connection with the peer on indirectly connected network.
The peer filter-policy export command can only be configured on peer groups. Related command: peer filter-policy export, ip as-path-acl, peer as-path-acl. Example # Configure to use acl 2000 to filter the routes advertised by the peer group test. [3Com-bgp] peer test filter-policy 2000 export peer filter-policy import...
The priority of the inbound filter policy configured for the peer is higher than that configured for the peer group. Example # Configure to use acl 2000 to filter the routes received by the peer group test.. [3Com-bgp] peer test filter-policy 2000 import peer graceful-restart...
If the peer group is not assigned an AS number, you need to assign an AS number to each peer when adding it to the group. The peers in the same peer group may use different AS numbers.
View BGP view Parameter group-name: Name of peer group. prefixname: Name of the specified ip-prefix. It is a character string of 1 to 19 characters. export: Applies the filtering policy on the route transmitted to the specified peer/peer group. Description Use the peer ip-prefix export command to configure the route filtering policy of routes advertised by the peer group based on the ip-prefix.
Description Use the peer next-hop-local command to configure to perform the process of the next hop in the route to be advertised to the peer/peer group and take the address of itself as the next hop. Use the undo peer next-hop-local command to cancel the existing configuration.
Displays the configured password in simple text mode. password: Password in character string form with 1 to 16 characters when parameter simple is configured in the command or in the event of inputting the password in simple text mode but parameter cipher is configured in the command;...
By default, private AS number is carried when transmitting BGP update packets. Generally, BGP transmits BGP update packets with the AS number (either public AS number or private AS number). To enable some outbound routers to ignore the AS number when transmitting update packets, you can configure not to carry the AS number when transmitting BGP update packets.
By default, the peer/peer group has no Route-policy association. The peer route-policy export command only applies to peer groups. Related command: peer route-policy import. Example # Apply the Route-policy named test-policy to the route going out of the peer group test.
Use the undo peer route-policy import command to delete the specified Route-policy. By default, the peer/peer group has no Route-policy association. The priority of the inbound filter policy configured for the peer is higher than that configured for the peer group. Related command: peer route-policy export.
Use the undo peer route-update-interval command to restore the interval to the default value. Example # Configure the interval of sending the route update packet of the BGP peer group "test" as 10 seconds. [3Com-bgp] peer test as-number 100 [3Com-bgp] peer test route-update-interval 10...
Use the peer timer command to configure the Keepalive and Holdtime intervals for the specified peer/peer group. Use the undo peer timer command to restore the default timer settings. 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".
After the route reflector is configured, the route reflector reflects the routes of one client to other clients by default. By default, the clients of a route reflector need not be fully connected. If the clients are fully connected, a route reflector is not required.
By default, each route reflector uses its Router ID as the cluster ID. Usually, there is only one route reflector in a cluster. In this case, the cluster is identified by the router ID of the route reflector. You can configure multiple route reflectors to improve network stability.
After the BGP connection is established, only incremental routes are sent. However, some special cases exist. For example, when the routing policy changes, the routes advertised to the peer or the advertised routes from the peer need refreshing so that they can be filtered according to the new policy.
View User view Parameter group-name: Specifies the name of the peer group. It is a character string of 1 to 47 characters. Description Use the reset bgp group command to reset the connections between the BGP and all the members of a group.
By default, no auto aggregation of sub-network routes is executed. After the summary is configured, BGP cannot receive the sub-network routes imported from the IGP, so the amount of the routing information can be reduced. Example # Make the auto aggregation of the sub-network routes.
Page 547
65535. By default, its value is 180 seconds. Description Use the timer command to configure the Keep-alive and Hold-time timer of BGP. Use the undo timer command to restore the default value of the Keep-alive and Hold-time of the timer. Example # Configure the Keep-alive timer as 120 seconds and Hold-time timer as 360 seconds.
If the match condition of Route-policy is met, the AS attribute of the transmitting route will be changed. You can add up to 10 AS numbers. Example # Configure AS 200 to be added in front of the original AS path in Route-policy.
View Route policy view Parameter none: Deletes the community attribute of the route. This keyword can be input up to 13 times. aa:nn: Community number. no-export-subconfed: Does not send matched route outside the sub-AS. no-advertise: Does not send matched route to any peer.
For BGP, it indicates when a BGP peer advertises routes to its EBGP peer, the peer uses the cost value of IGP as the MED value of BGP. For IS-IS, it indicates the internal cost. For other protocols, it is invalid.
Parameter ip-address: The next-hop address. Description Use the apply ip next-hop command to configure the next hop address in the route information. Use the undo apply ip next-hop command to cancel the Apply sub-statement. By default, no Apply sub-statement is defined.
IP Routing Policy Configuration Commands Description Use the apply isis command to configure to apply the level of a matched route to be imported to Level-1, Level-2 or Level-1-2. Use the undo apply isis command to cancel the Apply sub-statement.
Parameter value: Specifies the tag value of route information. Description Use the apply tag command to configure to set the tag area of OSPF route information. Use the undo apply tag command to cancel the Apply sub-statement. Related command: if-match interface, if-match acl, if-match ip-prefix, if-match ip next-hop, if-match cost, if-match tag, route-policy, apply ip next-hop, apply local-preference, apply cost, apply origin.
Any view Parameter ip-prefix-name: Specifies displayed address prefix list name. Description Use the display ip ip-prefix command to view the address prefix list. If no ip-prefix-name is specified, all configured address prefix lists are displayed. Related command: ip ip-prefix. Example # Display the information of the address prefix list named as p1.
Use the undo filter-policy export command to cancel the filtering conditions set. By default, the advertised routing information is not filtered. In some cases, it may be required that only the routing information meeting some conditions can be advertised. Then, the filter-policy command can be used to set...
Related command: filter-policy import. Example # 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.
Specifies the name of the prefix address list used for filtration. Description Use the if-match { acl | ip-prefix } command to specify one matching rule for the route-policy and configure the IP address range to match the Route-policy.
IP Routing Policy Configuration Commands Description Use the if-match as-path command to match the AS path domain of the BGP routing information. Use the undo if-match as-path command to cancel the match of AS path domain. By default, AS path list number is not matched.
Example # First define a community-list numbered 1, allowing it to contain the routing information of AS 100 and AS 200. Then, define a route-policy named "test". An if-match sub-statement is defined for Node 10 of the route-policy, which quotes the definition of the community-list.
Example # Define an if-match sub-statement to match the route whose next hop interface is Vlan-interface 1 [3Com-route-policy] if-match interface Vlan-interface 1 if-match ip next-hop...
Example # Define an if-match sub-statement, allowing the routing information whose route next hop address passes the filtration of the prefix address list p1 to pass this if-match sub-statement. [3Com-route-policy] if-match ip next-hop ip-prefix p1...
AS regular expression. acl-number: Description Use the ip as-path-acl command to configure an AS path regular express. Use the undo ip as-path-acl command to disable the defined regular expression. The configured AS path list can be used on BGP policy.
Specifies the match mode of the defined address prefix list items as deny mode. In this case, if the IP address of the route to be filtered matches an entry in the address prefix list, the route is denied without further check. If otherwise, the IP address is checked against the next address prefix entry.
The meaning of greater-equal is "larger less-equal: The than or equal to", and the meaning of less-equal is "less than or equal to". The range is len <= greater-equal <= less-equal <= 32. When only greater-equal is used, it denotes the prefix range [greater-equal, 32].
Page 566
OMMANDS deny: Specifies the match mode of the defined Route-policy node as deny mode. When a route satisfy all if-match sub-statements of this node and fails to pass the filtration, it will not tested by the next node. node: Node of the route policy.
Use the router route-limit command to set the maximum number of route entries supported by the current system. If the maximum number of route entries supported by a card is less than this number, the system will inhibit the card from working.
Page 568
Use the router VRF-limit command to set the maximum number of VPN routing and forwarding instances (VRFs) supported by current system. If the number of VRFs supported by a card is less than this number, the system will inhibit the card from working. This number is 256 by default.
View System view Parameter bgp: Specifies routes learned by the BGP as the type of routes to be controlled. static: Specifies static routes as the type of routes to be controlled. Description Use the route-rely command to enable recursive routing.
Page 570
30: R HAPTER ECURSIVE OUTING ONFIGURATION...
The information above tells us that: IGMP Snooping is enabled; the router port aging time is set to be 105 seconds; the max response time of a query is set to be 1 seconds; the aging time of a multicast group member is set to be 260 seconds.
IGMP Snooping Configuration Commands IP multicast group address, member ports in the IP multicast group, MAC multicast group, MAC multicast group address, and the member ports in the MAC multicast group. Example # Display the multicast group information about VLAN2.
IGMP Snooping in VLAN view. Otherwise the IGMP Snooping function will not take effect. If the VLAN VPN is enabled on a port, the IGMP Snooping feature cannot be ■ enabled on the VLAN for the port or the IGMP feature cannot be enabled on the corresponding VLAN interface.
System view, Ethernet port view Parameter vlan { vlan-id [ to vlan-id ] }&<1-10>: Specifies any VLAN or VLAN scope for port you want to enable/disable the IGMP Snooping fast leave feature on. The vlan-id argument ranges from 1 to 4094.
Page 576
■ configuration takes effect only on primary aggregation ports. If you add an IGMP V1 host of the same multicast group to the port, the switch ■ does not remove the port when the port receives an IGMP Leave packet of the multicast group even you enable IGMP Snooping fast leave for the port.
<SW8800> system-view System View: return to User View with Ctrl+Z. [SW8800] igmp-snooping fast-leave # Enable IGMP Snooping fast leave for all Ethernet ports except those in VLAN 5. <SW8800> system-view System View: return to User View with Ctrl+Z. [SW8800] igmp-snooping fast-leave [SW8800] undo igmp-snooping fast-leave vlan 5 # Disable IGMP Snooping fast leave in all VLANs.
Use the undo igmp-snooping group-policy command to cancel the configuration. By default, no filtering rule is set in a VLAN. In this case, a host can join any multicast group. Example # Create ACL2001 and configure the flow rule for basic ACL, using the source IP address serves as the destination multicast address.
IGMP Snooping Configuration Commands This command is used to set the aging time of the multicast group member so that the refresh frequency can be controlled. When the group members change frequently, the aging time should be comparatively short, and vice versa.
The port here refers to the Ethernet switch port connected to the multicast router. The Layer-2 Ethernet switch receives general query packets from the router via this port. The timer should be set to about 3.5 times of the general query period of the router.
Multicast Static Routing Port Configuration Commands Example # Set the aging time of the IGMP Snooping router port to 500 seconds. <SW8800> system-view System View: return to User View with Ctrl+Z. [SW8800] igmp-snooping router-aging-time 500 reset igmp-snooping Syntax statistics reset igmp-snooping statistics...
Page 582
ONFIGURATION OMMANDS Parameter port-number: Port number of the port to be configured as a static routing port. Provide this argument in the format of interface-type interface-number, where the interface-type argument can only be Ethernet port type. vlan-id: ID of the VLAN where the port belongs to.
If you configure multicast VLAN, add the corresponding switch ports to the multicast VLAN and enable IGMP Snooping, users in different VLANs can share one multicast VLAN, and multicast flow can be transmitted in the multicast VLAN only, thus saving bandwidth. The completely isolated multicast VLAN and user VLAN can effectively ensure security.
Page 584
32: M VLAN C HAPTER ULTICAST ONFIGURATION OMMANDS...
Maximum wire speed ratio of the broadcast traffic allowed on the port. The value range is 1 to 100, and the default value is 50. The smaller the ratio is, the smaller the broadcast traffic is allowed to pass.
33: M HAPTER ULTICAST OMMON ONFIGURATION OMMANDS No distinction is made between known multicast and unknown multicast for multicast suppression. Related command: multicast-suppression. Example # Set the broadcast suppression ratio to 40%. <SW8800> system-view System View: return to User View with Ctrl+Z.
None Description Use the debugging multicast kernel-routing command to enable multicast kernel routing debugging functions. Use the undo debugging multicast kernel-routing command to disable the debugging functions. By default, the multicast kernel routing debugging is disabled. Example # Enable multicast kernel routing debugging functions.
Use the display mpm forwarding-table command to view the port-carrying multicast forwarding table information. When a group address or a source address is specified, this command shows only the matched (S, G) entry; otherwise, this command shows all entries. Related command: display multicast forwarding-table Example # View the port-carrying multicast forwarding table information.
Page 589
Description Use the display mpm group command to display the information about the IP multicast groups or MAC multicast groups in a specified VLAN. If you do not specify the vlan-id argument, this command displays the information about multicast groups in all VLANs.
Page 592
VLAN interface number. register: Register interface of PIM-SM. Description Use the display multicast routing-table command to view the information of IP multicast routing table. CAUTION: You must use multicast routing-enable command in system view to enable IP multicast routing before you can view the multicast routing table information.
Multicast Common Configuration Commands Table 83 Description on the fields of the display multicast routing-table command Field Description Matched 3 entries 3 entries in total meeting the requirement ip managed-multicast Syntax ip managed-multicast undo ip managed-multicast View System view Parameter...
&<1-9>: Multicast group IP address. &<1-9> implies that the preceding parameter can repeatedly input up to 9 times. mask-length: Mask length. The default value of this argument is to 32. If you do not specify this argument, this command specifies a specific multicast group instead of a network segment.
[SW8800] multicast route-limit 800 # Limit multicast routing table capacity at 1000, here the default value of the multicast routing table capacity is 512, and interface I/O modules with slot 5 in the current system do not support the specification.
Maximum wire speed ratio of the multicast traffic allowed on the port. The value range is 1 to 100, and the default value is 50. The smaller the ratio is, the smaller the multicast traffic is allowed to pass.
Namely, once you have enabled broadcast suppression on some ports of a card, you cannot enable multicast suppression on the other ports of the card, and vice versa. Although the commands are based on ports, the mutual exclusion between these two commands is based on cards.
Use the reset multicast forwarding-table command to clear MFC forwarding entries or the statistic information of MFC forwarding entries. You can type in source address first and group address after in the command, as long as they both are valid addresses. The system prompts error information if you type in invalid addresses.
Page 599
Use the reset multicast routing-table command to clear route entries from the core multicast routing table, as well as MFC forwarding entries. You can type in source address first and group address after in the command, as long as they both are valid addresses. The system prompts error information if you type in invalid addresses.
Page 600
33: M HAPTER ULTICAST OMMON ONFIGURATION OMMANDS...
Interface type and interface number. Refer to the Port Configuration part of the book. to: Defines a range of multicast MAC ports. Before to is the initial interface and after to is the terminal interface. Interfaces from the initial interface to the terminal interface form an interface list.
The information includes multicast MAC address, VLAN ID, address status, port name, and aging time. If all ports in the configured static multicast MAC group are out of position (the corresponding module has been pulled out after configuration), the port name in the MAC information is displayed as N/A when you use this command.
View User view Parameter None Description Use the reset mac-address multicast command to delete all static multicast MAC groups. Related command: mac-address multicast Example # Delete all the static multicast MAC groups. <SW8800> reset mac-address multicast...
Page 604
34: S MAC A HAPTER TATIC ULTICAST DDRESS ONFIGURATION OMMAND...
Use the display igmp group command to view the member information of the IGMP multicast group. You can specify to show the information of a group or the member information of the multicast group on a VLAN interface. The information displayed contains the multicast groups which the downstream hosts join through IGMP or through command line.
IGMP leave packet from a host query timeout Query timeout for IGMP V1 Policy to accept IGMP reports Filter policy for the IGMP multicast group to control the accesses to the IP multicast group Querier for IGMP IGMP querier IGMP group limit Quantity limit of IGMP groups added to the interface.
You can optionally specify multiple vlan keywords for the igmp fast-leave command, through which you can enable IGMP fast leave in corresponding VLANs. If you do not specify the vlan keyword, IGMP fast leave is enabled in all VLANs. As mentioned earlier, the igmp fast-leave command can be executed in both system view and Ethernet port view.
Page 609
Fast leaves that are configured in system view and Ethernet port view operate ■ separately. Fast leave works on all ports of the specified VLANs if you configure it in system ■ view. However, it only works on the current port (e.g., when a Trunk port belong to multiple VLANs) in the specified VLANs if you configure it in Ethernet port view.
Quantity of multicast groups, in the range of 0 to 512. Description Use the igmp group-limit command to limit multicast groups to be added on an interface. After the limit is reached, the router does not process IGMP join messages.
ACL rule for each VLAN, and the new configured rule will replace the old one. Use the undo igmp group-policy command to cancel the configuration. By default, no filtering rule is set in a VLAN. In this case, a host can join any multicast group. Example # Create ACL2001 and configure the flow rule for basic ACL, using the source IP address serves as the destination multicast address.
Address of the multicast group to be joined. vlan-id: VLAN where the port belongs to. Description Use the igmp host-join vlan command to make an Ethernet join a multicast group. Use the undo igmp host-join vlan command to cancel the configuration.
This command is valid only when the query router runs IGMP v2. If the host runs IGMP v1 , it does not send an IGMP Leave message when it leaves a group, so this command is invalid for the IGMP query router.
35: IGMP C HAPTER ONFIGURATION OMMANDS Example # Set the maximum response time carried in host-query message to 8 seconds. <SW8800> system-view System View: return to User View with Ctrl+Z. [SW8800]interface vlan-interface 10 [3Com-Vlan-interface10] igmp max-response-time 8 igmp-report enhance Syntax...
Interface view Parameter seconds: IGMP querier present timer value in second ranging from 1 to 131070. By default, the value is twice the value of IGMP query message interval, i.e., 120 seconds. Description Use the igmp timer other-querier-present command to configure the timer of presence of the IGMP querier.
1 to 65535. By default, the value is 60 seconds. Description Use the igmp timer query command to configure the interval at which a router interface sends IGMP query messages. Use the undo igmp timer query command to restore the default value.
IGMP Configuration Commands Description Use the igmp version command to specify the version of IGMP that a router uses. Use the undo igmp version command to restore the default value. The system does not automatic switching between different IGMP versions.
A VLAN interface cannot be the IGMP proxy interface for two or more other ■ VLAN interfaces simultaneously. Example # Enable IGMP proxy for the interface of VLAN 100 and specify the interface of VLAN 200 to be its IGMP proxy interface. <SW8800> system-view System View: return to User View with Ctrl+Z.
RPF checks can be used to stop this type of attacks. If a router in the network is manipulated by an attacker, or an illegal router is ■ accessed into the network, the attacker may set itself as C-BSR and try to win the contention and gain authority to advertise RP information among the network.
Length of the mask. The value ranges from 0 to 32. priority: Priority of the candidate BSR. The larger the value of the priority, the higher the priority of the BSR. The value ranges from 0 to 255. By default, the priority is 0.
Related command: c-bsr. Example # Configure the switch to advertise itself as a C-RP in the PIM domain to BSR. The standard access list 2000 defines the groups related to the RP. The address of C-RP is designated as the IP address of VLAN-interface10.
3999. Description Use the crp-policy command to limit the range of legal C-RP, as well as target service group range of each C-RP, and prevent C-RP proofing. Use the undo crp-policy command to restore the default setting, that is, no range limit is set and all received messages are taken as legal.
PIM Configuration Commands send: Debugging information of PIM-SM sending packets. assert | bootstrap | crpadv | jp | reg | regstop: Packets type. Description Use the debugging pim sm command to enable PIM-SM debugging functions. Use the undo debugging pim sm command to disable the debugging functions.
Use the display pim interface command to view the PIM interface configuration information. If no interface type or interface number is specified, this command displays the PIM configurations on all interfaces. If the interface type and interface number are specified, only the PIM configuration on the specified interface is displayed.
Specifies the multicast routing protocol as PIM-SM. Description Use the display pim routing-table command to view the contents of the PIM multicast routing table. The displayed information of the PIM multicast routing table includes the SPT and RPF information.
Page 629
None Description Use the pim command to enter the PIM view and configure the PIM global parameters. Note that the command does not enable the PIM protocol. Use the undo pim command to return to system view, clear the PIM global...
Use the undo pim bsr-boundary command to remove the border. By default, no domain border is set. You can use this command to set border of bootstrap messages, that is to say, bootstrap messages cannot pass interfaces that are configured with pim bsr-boundary command while other PIM messages can.
View Interface view Parameter limit: Limits of PIM neighbors on the interface, in the range of 0~128. Description Use the pim neighbor-limit command to limit the PIM neighbors on an interface. No neighbor can be added any more when the limit is reached.
Use the undo pim neighbor-policy command to remove the setting. Only the routers that match the filtering rule in the ACL can serve as a PIM neighbor of the current interface. The new configuration overwrites the old one if you run the command for a second time.
View Interface view Parameter seconds: Time interval for a port to send Hello packets, in the range of 1 to 18,000 (in seconds). By default, the time interval is 30 seconds. Description Use the pim timer hello command to configure the time interval for a port to send Hello packets.
Use the undo register-policy command to remove the configured message filtering. Example # If the local device is the RP in the network, using the following command can only accept multicast message register of the source sending multicast address in the range of 225.1.0.0/16 on network segment 10.10.0.0/16.
Use the reset pim routing-table command to clear a PIM route entry. You can type in source address first and group address after in the command, as long as they are valid. Error information will be given if you type in invalid addresses.
HAPTER ONFIGURATION OMMANDS must be 224.0.0.0, and source address has no mask), then it means only the (*, *, RP) item will be cleared. If in this command, the group-address is any a group address, and source-address is 0 (where group address can have a mask, and source address has no mask), then only the (*, G) item will be cleared.
Basic ACL, used to control the range of multicast group served by static RP, which ranges from 2000 to 2999. If an ACL is not specified upon configuration, static RP will serve all multicast groups; if an ACL is specified, static RP will only serve the multicast group passing the ACL.
Page 638
System View: return to User View with Ctrl+Z. [SW8800] multicast routing-enable [SW8800] pim [3Com-pim] static-rp 10.110.0.6 # Remove the static RP with the IP address of 10.110.0.6. <SW8800> system-view System View: return to User View with Ctrl+Z. [SW8800] multicast routing-enable [SW8800] pim [3Com-pim] undo static-rp 10.110.0.6...
By default, the router caches the SA state, i.e., (S, G) entry after it receives SA messages. If the router is in cache state, it will not send SA request message to the specified MSDP peer when it receives a new group join message.
View Any view Parameter None Description Use the display msdp brief command to view the state of MSDP peer. Example # Display the state of MSDP peer. <SW8800> display msdp brief MSDP Peer Brief Information Peer’s Address...
Group address of (S, G) entry. source-address: Source address of (S, G) entry. With no source address specified, all the source information of the specified group will be displayed. If neither group address nor source address is determined, all SA caches will be displayed.
OMMANDS autonomous-system-number: Autonomous system number. Displays (S, G) entries from specified autonomous system. Description Use the display msdp sa-cache command to view (S, G) state learnt from MSDP peer. Only cache-sa-enable command is configured, can cache state be displayed. Example # Display the (S, G) state learned from MSDP peer.
MSDP originates an SA message. Use the undo import-source command to remove the configuration. By default, all the (S, G) entries in the domain are advertised by the SA message. Besides controlling SA messages creation, you can filter the forwarded SA messages by the commands peer sa-policy import and peer sa-policy export.
Multicast source address. group-address: Multicast group address. rp-address: IP address of RP. max-hops: The maximum number of hops that are traced, ranging from 1 to 255. By default, the value is 16. next-hop-info: Specifies flag bit for collecting the next hop information.
(S, G, RP) entry existing in SA cache of the local router. But the RP is different from the RP specified in the request message. RP-bit: 1 The local router is an RP, but it is not necessarily the source RP in (S, G, RP) entry. NC-bit: 0 The local router enables SA cache.
Use the peer command to configure an MSDP peer. Use the undo peer command to remove the MSDP peer configured. If the local router is also in BGP peer relation with a MSDP peer, the MSDP peer and the BGP peer should use the same IP address.
MSDP Configuration Commands Example # Configure the router using IP address 125.10.7.6 as an MSDP peer of the local router. <SW8800> system-view System View: return to User View with Ctrl+Z. [SW8800] msdp [3Com-msdp] peer 125.10.7.6 connect-interface Vlan-interface 10 peer description...
Related command: peer. Example # Configure the TTL threshold value to 10, i.e., only those multicast data packets with a TTL value greater than or equal to 10 can be forwarded to the MSDP peer 110.10.10.1. <SW8800> system-view System View: return to User View with Ctrl+Z.
Use the undo peer request-sa-enable command to remove the configuration. By default, when receiving a new group join message, the router sends no SA request messages to MSDP peers but waits to receive the next SA message. Related command: cache-sa-enable.
Related command: display msdp, sa-count, display msdp peer-status, display msdp brief. Example # Limit the number of caches originated to 100 when the router receives SA messages from the MSDP peer 125.10.7.6. <SW8800> system-view System View: return to User View with Ctrl+Z.
By default, the router receives all SA request messages from the MSDP peer. If no ACL is specified, all SA requests will be ignored. If ACL is specified, only those SA request messages from the groups permitted by the ACL will be processed and all the others will be ignored.
User view Parameter group-address: Address of the group, (S, G) entries matching this address are cleared from the SA cache. If no multicast group address is specified, all SA cache entries will be cleared. Description Use the reset msdp sa-cache command to clear SMDP SA cache entries.
MSDP Configuration Commands Description Use the reset msdp statistics command to clear statistics of one or more MSDP peers without resetting the MSDP peer. Example # Clear the statistics of the MSDP peer 25.10.7.6. <SW8800> reset msdp statistics 125.10.7.6 shutdown...
37: MSDP C HAPTER ONFIGURATION OMMANDS which passes filtering. If no filter policy is configured, the router will still accept all SA messages from the static RPF peer. Description Use the static-rpf-peer command to configure static RPF peer. Use the undo static-rpf-peer command to remove the static RPF peer.
Page 655
Related Example command: # Configure the connection request re-try period to 60 seconds. <SW8800> system-view System View: return to User View with Ctrl+Z. [SW8800] msdp [3Com-msdp] timer retry 60...
Page 656
37: MSDP C HAPTER ONFIGURATION OMMANDS...
Advertises the aggregated routes rather than the specific routes. origin-policy route-policy-name: Filters the originate routes of the aggregate. suppress-policy route-policy-name: Does not advertise the specific routes selected. Description Use the aggregate command to create a multicast aggregated record in the BGP routing table.
Use the aggregate command without parameters to create one local aggregated route and set atomic aggregation attributes. Example # Create an aggregation entry in the MBGP routing table, with aggregated route address as 192.213.0.0. <SW8800> system-view System View: return to User View with Ctrl+Z.
View IPv4 multicast sub-address family view Parameter value: Default local precedence you configured, in the range of 0 to 4294967295. By default, it is 100. The greatest value corresponds to the highest precedence level. Description Use the default local-preference command to configure the default local precedence.
MED is exchanged, between ASs, and one it enters an AS, it does not leave the AS. MED attribute is used in best route selection. When a router running BGP travels through different external peers and get the routes with identical destination, but different next-hop addresses, it selects these routes according to their MED values.
HAPTER ULTICAST XTENSION ONFIGURATION OMMANDS Parameter ip-address: IP address of the network segment whose MBGP routing information with specified IP address. Description Use the display bgp multicast routing-table command to view MBGP routing information. Example # Display MBGP routing information of network segment 14.1.0.0.
Does not send matched routes outside the local autonomous system. no-advertise: Does not advertise matched routes to any peer. no-export: Does not advertise routes outside the local autonomous system but advertise routes to other sub-autonomous systems. whole-match: Exact match.
Mask of the destination network. statistic: Statistic information of the route. Description Use the display bgp multicast routing-table peer command to view the routes received/advertised at/to the specified peer. Example # Display routing information advertised to the peer 10.10.1.11.
Description Use the filter-policy export command to set to filter the advertised routes. Only those pass through the filter can be advertised by BGP. Use the undo filter-policy export command to cancel route filtering.
1 to 19. gateway ip-prefix-name: Specifies IP prefix of the neighbor router, in the range of 1 to 19, to filter the routing information advertised by a specified neighbor router. Description Use the filter-policy gateway import command to set to filter the routes advertised by a specified neighbor router.
Use the ipv4-family multicast command to enter the IPv4 multicast sub-address family view. Use the undo ipv4-family multicast command to exit the IPv4 multicast sub-address family view, return to the unicast view and remove all the information in multicast. Example...
Mask of the network address. route-policy policy-name: Route-policy applied to the routes advertised. Description Use the network command to configure the network addresses to be sent by the local MBGP. Use the undo network command to remove the configuration.
Parameter group-name: Name of the peer group. peer-address: IP address of the peer. number: Repetition number of local AS IDs, in the range of 1 to 10. By default ,the repetition number is 3. Description Use the peer allow-as-loop command to specify repetition number of local AS IDs.
Related command: peer as-path-acl import, ip as-path-acl (refer to the "Routing Protocol" part). Example # Configure the peer group test to use AS path list 2 to filter the advertised routes. <SW8800> system-view System View: return to User View with Ctrl+Z.
Related command: peer as-path-acl export, ip as-path-acl (refer to the "Routing Protocol" part). Example # Set the AS path ACL of the peer group test to filter BGP received routes. <SW8800> system-view System View: return to User View with Ctrl+Z.
Parameter group-name: Name of the peer group. acl-number: Number of IP ACL ranging from 2000 to 3999. That is, you can use basic ACLs or advanced ACLs. export: Applies the filter policy to the advertised routes. This keyword is only valid for the peer groups.
Use the peer group command to add a peer into a peer group. Use the undo peer group command to delete the peer. CAUTION: You must first add the specific peer in the peer group in BGP view and enable the peer group in the IPv4 multicast sub-address family view before you can issue this command.
The peer ip-prefix export command can only be configured on the peer groups. Related command: ip ip-prefix, peer ip-prefix import. Example # Configure the route filtering policy of the peer group1 based on the ip-prefix list1. <SW8800> system-view System View: return to User View with Ctrl+Z.
Description Use the peer next-hop-local command to remove the processing of the next hop in routes which BGP will advertise to the peer group and set the local address as the next hop. Use the undo peer next-hop-local command to cancel the configuration.
Name of the peer group. Description Use the peer public-as-only command to set to contain only public AS IDs in the MBGP Update message, but not private AS IDs. Use the undo peer public-as-only command to restore the default setting, the router contains only private AS IDs in the MBGP Update message.
MBGP Multicast Extension Configuration Commands Description Use the peer reflect-client command to configure a peer (group) as a client of the route reflector. Use the undo peer reflect-client command to remove the configuration. By default, there is no route reflector in the autonomous system.
IPv4 multicast sub-address family view Parameter ebgp-value: EBGP route priority, in the range of 1 to 256. By default, it is 256. ibgp-value: IBGP route priority, in the range of 1 to 256. By default, it is 256. local-value: Local route priority, in the range of 1 to 256. By default, it is 130.
Use the undo reflect between-clients command to disable route reflection between clients. When configured, the route reflector can reflect routes of a client to other clients. By default, all-connection is not required for the clients with route reflectors configured, since the routes are by default reflected from one client to others. For all-connection clients, route reflection is unnecessary.
By default, each route reflector uses its own route ID as cluster ID. In general, one cluster has only one route reflector, and then the router ID for the route reflector can be used to identify the cluster. If a cluster has several route reflectors, for multiple route reflectors can improve network stability, then you can use this command to specify the same cluster ID for them all.
Use the undo summary command to remove the configuration. By default, subnet routes cannot be aggregated automatically. After the summary command is executed, MBGP cannot receive the subnet routes imported by IGP. You can use this command to reduce route selection information. Example # Enable subnet route auto-aggregation.
Page 682
38: MBGP M HAPTER ULTICAST XTENSION ONFIGURATION OMMANDS...
HAPTER ASIC ONFIGURATION OMMANDS This command is used to the debug MPLS LSPM. As running the debugging will affect the performance of the 3Com Switch 8800 Family Series Routing Switches, you are recommended to use the command with caution. Example # Enable all MPLS VPN debugging.
Displays the matching string including the specified information . verbose: Displays detailed information. Description Use the display mpls static-lsp command to view the information of one static LSP or all. Related command: display mpls interface, display mpls lsp and display mpls statistics.
By default, all kinds of routing protocols are filtered out. If no route-triggered policy is configured, LSPs can be triggered at all host routes with 32-bit masks. If you import an IP-prefix rule without contents, LSPs can be triggered at all routes. Related command: ip ip-prefix. Example # Triggers LSPs at all routes.
By default, no LSR has an ID. You must configure the mpls lsr-id command first and then you can use the other MPLS-related commands. An LSR ID is in the format of IP address, thus a loopback address is recommended. Related command: display mpls interface. Example # Set the LSR ID to 202.17.41.246.
MPLS Basic Configuration Commands Parameter None Description Use the snmp-agent trap enable ldp command to enable Trap function in MPLS LDP creation. Use the undo snmp-agent trap enable ldp command to disable Trap function in MPLS LDP creation. By default, Trap function is not enabled during MPLS LDP creation.
1023. Description Use the static-lsp egress command to configure a static LSP for an egress LSR. Use the undo static-lsp egress command to delete an LSP for an egress LSR. Related command: static-lsp ingress, static-lsp transit and debugging mpls.
Use the undo static-lsp transit command to delete an LSP for a transit LSR. Related command: static-lsp egress and static-lsp ingress. Example # Configure a static LSP for the VLAN201 interface on a transit LSR, with an inbound label of 123 and an outbound label of 253. <SW8800> system-view...
LDP Configuration Commands Description Use the display mpls ldp command to display LDP and LSR information. By default, it displays information of LDP and LSR. Related command: mpls ldp, mpls ldp hops-count, mpls ldp loop-detection and mpls ldp path-vectors. Example # Display LDP and LSR information.
----------------------------------------------------------------- Buffer no error. display mpls ldp Syntax interface display mpls ldp interface [ | begin text | exclude text | include text ] View Any view Parameter |: Displays matched outputs. begin: Displays the outputs matching the regular expression from the first line.
Configured KeepAlive hold time:60, Configured Hello hold time:15 Negotiated Hello hold time:0 Hello packets sent/rcv:15296/0 display mpls ldp lsp Syntax display mpls ldp lsp [ | begin text | exclude text | include text ] View Any view Parameter |: Displays matched outputs.
---- 23.23.23.3 Vlan23 display mpls ldp peer Syntax display mpls ldp peer [ | begin text | exclude text | include text ] View Any view Parameter |: Displays matched outputs. begin: Displays the outputs matching the regular expression from the first line.
Peer Distribution Method: Downstream Unsolicited Peer Type: Local Peer RowStatus: Active display mpls ldp remote Syntax display mpls ldp remote [ | begin text | exclude text | include text ] View Any view Parameter |: Displays matched outputs. begin: Displays the outputs matching the regular expression from the first line.
Configured KeepAlive hold time:60, Configured Hello hold time:45 Negotiated Hello hold time:0 Hello packets sent/rcv:0/0 display mpls ldp session Syntax display mpls ldp session [ | begin text | exclude text | include text ] View Any view Parameter |: Displays matched outputs.
Use the mpls ldp command to enable LDP. Use the undo mpls ldp command to disable LDP. By default, LDP is disabled. Before enabling LDP, you must enable MPLS and configure LSR ID first. Related command: mpls lsr-id. Example # Enable LDP.
Use the mpls ldp disable command to disable LDP on a VLAN interface. By default, LDP is disabled on an interface. To enable an interface, you must enable LDP first. After LDP is enabled on an interface, peer discovery and session creation proceed.
# Set the maximum hop count of loop detection to 22. <SW8800> system-view [SW8800] mpls ldp hops-count 22 # Set the maximum hop count of loop detection to its default value 32. [SW8800] undo mpls ldp hops-count mpls ldp loop-detect...
[SW8800] ip ip-prefix fec index 3 deny 1.1.1.3 32 [SW8800] ip ip-prefix fec index 100 permit 0.0.0.0 0 greater-equal 0 less-equal 32 # Then, configure a specific IP Prefix that will be used in the policy for filtering ingress label mapping. [SW8800] mpls ldp label-accept fec...
4.1.1.1 32 [SW8800]ip ip-prefix peer2 index 2 permit 4.1.1.2 32 # Apply the configured IP Prefix of FEC address and the configured IP Prefix of the peer address in the filtering policy for outgoing label mapping advertisement. <SW8800> system-view [SW8800] mpls ldp label-advertise fec1 to peer1 # Configure to advertise the FEC message corresponding to FEC2 but not to create Ingress LSP.
Parameter pv-number: Maximum value of path vector, ranging from 1 to 32. Description Use the mpls ldp path-vectors command to set the maximum value of path vector. Use the undo mpls ldp path-vectors command to restore the default maximum value of path vector.
After LDP is configured on an interface and LDP session is created, this command can be used to reset a specific session on the interface. You only need to specify the address of the peer corresponding to the session to be reset.
Page 706
6 to 65535 (seconds). By default it is 15 seconds. session-hold session-holdtime: Specifies the time interval for Session hold timer to send a session packet, in the range of 1 to 65535 (seconds). By default it is 60 seconds.
By default, an LSR ID is the address of some Loopback interface and the Remote peer can route to this address for a session. For a Local peer, the address of the local interface or the Router ID of LSR can be adopted as its transport address.
Use the remote-ip command to configure a Remote-IP address. The address should be the lsr-id of the remote LSR. As Remote Peers adopt LSR ID as their transport addresses, the last two Remote Peers use the lsr-id as their transport addresses for creating TCP connection.
Selects source route for aggregation. attribute-policy route-policy-name: Sets the attributes of an aggregated route. Description Use the aggregate command to create an aggregation entry in the BGP routing table of VPN instance. Use the undo aggregate command to disable this function.
40: BGP/MPLS VPN C HAPTER ONFIGURATION OMMANDS The function of the keywords involved in the above commands is shown in the following table. Table 93 Keywords function Keyword Function as-set By setting this keyword, you can create an aggregated route whose AS path contains the information of all the aggregation routes.
Example # The routers RTA and RTB belong to AS100 and the router RTC belongs to AS200. RTC associates with RTA and RTB. Set the MED value of RTA 25. This makes the RTC prefer the route sent by RTB.
BGP routing table. For an unlabelled common IPv4 route, the label in the displayed information is null. If you use the display bgp routing-table address [ mask ] command to view the BGP routing information, the label information will be displayed if the route has a label.
HAPTER ONFIGURATION OMMANDS Description Use the display ip vpn-instance command to view the information related to VPN-instance, such as RD, description, and interfaces of the VPN instance. Example # Display the information about VPN-instance VPN 1. <SW8800> display ip vpn-instance vpn1...
Page 717
I/O-LABEL Incoming/Outgoing label. VPN labels (labels advertised with VPNV4 routes) will be displayed in case of uni-hop EBGP cross-AS MPLS L3 VPN networking, and tunneling labels (labels advertised with unicast routes and labels advertised by LDP protocol) will be displayed in case of multi-hop EBGP cross-AS MPLS L3 VPN networking.
PE, their original OSPF attributes cannot be restored. As these BGP VPN IP routes are issued to CE as ASE LSA (type-5 LSA), OSPF cannot distinguish them from the routes imported from other route domains. In order to distinguish external routes...
Use the undo filter-policy export command to cancel the configuration. By default, the redistribute routing will not be filtered. Related command: filter-policy import. Example # Define that only the routes that can pass the filtering of ACL 3 can be received by BGP. [3Com-bgp-af-vpn-instance] filter-policy 3 export...
By default, no filtering is performed on the received information. Related command: filter-policy export. Example # Define a filtering rule for receiving routing information: Only the routing information matching the IP prefix ACL P1 can it be received by VPN. [3Com-bgp-af-vpn-instance] filter-policy ip-prefix p1 import group syntax...
LDP Configuration Commands Parameter group-name: Name of a neighbor peer group. It can be expressed in string of letters and numbers from 1 to 47 in length. internal: Creates an internal peer group. external: Creates an external peer group including other sub-AS groups in federation.
Page 722
With the above-mentioned configuration, if a route’s attribute value is 100:1 300:1, the route will pass the matching; if the route’s attribute value is 200:1 500:1, it will not pass the matching because 500:1 is not one of the attribute values that have been configured.
Destination address of a static route. mask: Subnet mask. mask-length: Length of the mask, ranging to 0 to 32. As it requires consecutive 1s in a 32-bit mask, the mask in dotted decimal notation can be substituted by mask-length (mask-length is represented by the number of consecutive 1s in the mask).
LDP Configuration Commands preference-value: Specifies preference value, ranging from 1 to 255, By default it is public: Configures a route as public network route. reject: Configures a route as unreachable. blackhole: Configures a route as blackhole. Description Use the ip route-static vpn-instance command to configure a static route by specifying an interface of a private network as an egress interface.
Use the ipv4-family vpn-instance command to enter MBGP VPN-instance sub-address family view. Use the undo ipv4-family vpn-instance command to delete the association of a VPN-instance with MBGP address family, and return to BGP unicast view. Use the ipv4-family vpnv4 command to enter MBGP VPNv4 sub-address family view.
Use the undo nesting-vpn command to disable this function. By default, the nested VPN function is disabled. If VPNv4 route advertisement is needed for a CE connected to a PE, the nested VPN function must be enabled on the PE.
OSPF process. If you want to enable multiple processes on a router, you are recommended to specify different Router IDs for different processes. To enable an OSPF process belonging to a public network without a Router ID, the following conditions should be satisfied: RM (Route Manage) is configured with a Router ID.
Page 729
VPN instance, the VPN instance should have an interface that is configured with an IP address. If you want to bind a process to a VPN instance, you must specify the VPN instance name. One VPN instance may include several processes. For example, for VPN1, you can configure the commands OSPF 1 VPN-instance VPN1, OSPF2 VPN-instance VPN1, and OSPF3 VPN-instance VPN1.
View VPNv4 sub-address family view, VPN-instance sub-address family view Parameter group-name: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric characters. Description Use the peer advertise-community command to configure to transmit the community attributes to a specified peer group.
EBGP between PE and CE, PE carries its own AS number when advertising route information to CE. Accordingly, the updated route information will contain PE’s AS number when it is sent from CE. In this case, PE will not accept the route updates.
40: BGP/MPLS VPN C HAPTER ONFIGURATION OMMANDS Example # Set the opposite AS number of a specified peer (group) to 100. [3Com-bgp] ipv4-family vpn-instance test [3Com-bgp-af-vpn-instance] peer test as-number 100 peer as-path-acl export Syntax peer group-name as-path-acl acl-number export undo peer group-name as-path-acl acl-number export...
The incoming filtering policy applied to peers takes precedence over the configuration to peer groups. Example # Configure the test peer group to filter the received routes with AS path ACL 3. [3Com-bgp] ipv4-family vpnv4 [3Com-bgp-af-vpn] peer test as-path-acl 3 import...
40: BGP/MPLS VPN C HAPTER ONFIGURATION OMMANDS Example # Allow the internal BGP session to use any operable interface for a TCP connection. [3Com-bgp] ipv4-family vpn-instance test [3Com-bgp-af-vpn-instance] peer 1.1.1.1 connect-interface loopback 0 peer Syntax default-route-advertise peer group-name default-route-advertise undo peer group-name default-route-advertise...
Use the undo peer default-route-advertise vpn-instance to restore the configuration. By default, a peer does not import a default route. This command does not require any default route in the routing table but transmits a default route whose next hop address is itself to the peer unconditionally.
By default, you can only make a connection with a direct accessing EBGP neighbor. Example # Enable the router to connect the EBGP peer group test that is attached to the network indirectly. [3Com-bgp] ipv4-family vpn-instance test [3Com-bgp-af-vpn-instance] peer test ebgp-max-hop...
Name of a neighbor peer group, consisting of 1 to 47 alphanumeric characters. acl-number: IP ACL number ranging from 2000 to 3999. That is, you can use basic ACL or advanced ACL. export: Uses the filtering policy for the advertised route and this policy is only effective for peer groups.
Name of a neighbor peer group, consisting of 1 to 47 alphanumeric characters. peer-address: Peer IP address, in dotted decimal notation. acl-number: IP ACL number from 2000 to 3999, that is, you can use basic or advanced ACL. import: Performs the filtering policy on the received routes.
AS, the AS number is not needed. A peer must have been added in a group in BGP view before it can be added to another group in multicast sub-address family view or VPNv4 sub-address family view.
The incoming filtering policy configured for peers take precedence over the configuration for peer groups. Related command: peer ip-prefix export. Example # Configure the peer group group1 to filter the received route with the IP prefix list 1. [3Com-bgp] ipv4-family vpnv4 [3Com-bgp-af-vpn] peer group1 ip-prefix list1 import...
Description Use the peer next-hop-local command to cancel the processing of the next hop in the routes that BGP advertises to a peer group and configure to use its own address as the next-hop. Use the undo peer next-hop-local command to cancel the existing setting.
Password string. When you provide the cipher argument but input the password in plain text, or if you provide the simple argument, the password is one to 16 characters in length. When you provide the cipher argument and input the password in cipher text, the password must be 24 in length.
Name of a neighbor peer group, consisting of 1 to 47 alphanumeric characters. Description Use the peer reflect-client command to set a specified peer group to be a client of a router reflector. Use the undo peer reflect-client command to cancel this setting.
The peer route-policy export command is only used to configure peer groups. Related command: peer route-policy import. Example # Apply the routing policy test-policy to the outgoing routes of the peer group test. [3Com-bgp] ipv4-family vpnv4 [3Com-bgp-af-vpn] peer test route-policy test-policy export...
Use the undo peer route-update-interval command to restore the default setting. By default, the Update interval is 5 seconds for IBGP peer group, and for EBGP it is 30 seconds. Example # Set the minimum interval for sending routing update packet to the BGP peer group group1 to be 10 seconds.
180. Description Use the peer timer command to set the Keepalive interval and holdtime for peers. Use the undo peer timer command to restore the default setting. The timer set with the peer timer command enjoys higher precedence than the timer with the timer command.
Name of the VPN instance the CE peer belongs to. group-name: Name of a peer group. Description Use the peer vpn-instance group command to join a CE neighbor into a BGP peer group. Use the undo peer vpn-instance group command to clear the CE neighbor from the BGP peer group.
The ingress routing policy configured for a peer takes precedence over the configuration for the peer group. Example # Configure the peer group ebgp to apply the routing policy named comtest to the ingress routes. [3Com-bgp-af-vpn] peer ebgp vpn-instance vrf1 route-policy comtest import...
Use the undo port trunk mpls command to restore the default value of vlan-id. The default value is 0. By default, the range of MPLS/VPN VLANs is from 0 to 1023 and the range of vlan-id is from 1 to 3071. The command must be executed on a Trunk port.
■ After you cancel the port vpn-range share-mode configuration, the label ■ range does not take effect if the VLAN configuration on the port exceeds 1K. In this case, you need to delete the labels manually. Example # Enable the range of MPLS/VPN VLAN vlan-id on Ethernet3/1/1 as 4K.
LDP Configuration Commands Example # Set the preference of the preference of the routes learned from the EBGP peer to 2, the preference of the routes learned from the IBGP peer to 3 and the preference of the local routes to 4.
If an RD is associated with an autonomous system number (ASN), it is composed of the ASN and an arbitrary number; if the RD is associated with an IP address, it is a combination of the IP address and an arbitrary number.
4294967295. By default, its first two bytes are fixed to 0xD000, while the last two bytes are the ASN of local BGP. For example, if the local BGP ASN is 100, then the default tag value in decimal is 3489661028. The value is an integer from 0 to 4294967295.
4000 to 4999. acl-name is a string beginning with English letters (a to z and A to Z) with no spaces or quotation marks between. rule rule: Optional, ACL matching statement, in the range of 0 to 127. All matching...
Description Use the traffic-redirect command to redirect the data flow at the port of the EX card to the port of the MX card and make the port on the EX card act as an MPLS VPN CE side interface.
Destination address of a Sham-link, a Loopback interface address with a 32-bit mask. cost-value: Cost at Sham-link, in the range of 1 to 65535. By default, it is 1. password: Authentication in plain text on the interface, 8 characters at most. It must be consistent with the authentication of a Sham-link peer.
Page 757
LDP Configuration Commands key: Authentication on the interface. keyid is from 1 to 255 and key is a string up to 16 characters. It must be consistent with the authentication of a Sham-link peer. When the display current-configuration command is executed, the system displays the 24-character MD5 authentication in cipher text.
Syntax vlan vpn-range slot slot-number enable undo vlan vpn-range slot slot-number enable View System view Parameter slot-number: Slot number of interface card. Description Use the vlan vpn-range command to set the MPLS label range on the interface on the card.
After vpn-range is enabled on the card, the range of MPLS/VPN VLAN vlan-id that can be configured on the 12 interfaces on the card is 4K, but not the default value of 1K. Related command: port trunk mpls vlan.
Multi-VPN-Instance CE does not necessarily support BGP/OSPF interoperability. When an OSPF process is bound to a VPN instance, the default OSPF router is PE router. This command will remove the default setting and change a router into a Multi-VPN-Instance CE.
Page 761
VPN-target. VPN-target specifies a target VPN extended community. The same as RD, an extended community is either composed of an ASN and an arbitrary number, or composed of an IP address and an arbitrary number.
Page 762
40: BGP/MPLS VPN C HAPTER ONFIGURATION OMMANDS...
Page 763
CCC connection in the PE (provider edge). This argument is 1 to 20 characters in length. vlan-id: ID of the VLAN whose interface is used to establish the connection. It must be the ID of an existing VLAN.
HAPTER ONFIGURATION OMMANDS Example # Create a remote CCC connection, with the name of clink, the transmitting LSP of tlsp, and the receiving LSP of rlsp. [SW8800] ccc clink interface vlan-interface 201 transmit-lsp tlsp receive-lsp rlsp # Create a local CCC connection, with the name of clink, and the interfaces connecting to the two CEs being the interfaces of VLAN 201 and VLAN 301 respectively.
MPLS view Parameter lsp-name: Name of the label switching path (LSP). vlan-id: ID of the VLAN whose interface is to be used to create the LSP. in-label-value: Value of the in-label, ranging from 16 to 1,023. Description Use the static-lsp egress l2vpn command to create a static L2VPN LSP for the egress label switching router (LSR).
CCC connection. Related command: static-lsp egress l2vpn, static-lsp transit, debugging mpls. Example # Create a static LSP with the destination IP address of 202.25.38.1 for the ingress LSR. [3Com-mpls] static-lsp ingress bj-sh l2vpn nexthop 1.1.1.1 out-label 100 static-lsp transit l2vpn...
Related command: static-lsp egress l2vpn, static-lsp ingress l2vpn. Example # Create a static L2VPN LSP for the interface of VLAN 201 on the midway transmitting LSR, with the in-label of 123 and the out-label of 253. [3Com-mpls] static-lsp transit bj-sh l2vpn incoming-interface vlan- interface 201 in-label 123 nexthop 202.34.114.7 out-label 253...
[ id id [ range range | default-offset offset ] undo ce name View MPLS L2VPN view Parameter name: Name of the CE, which must be unique in the current VPN of the PE. This argument is 1 to 20 characters in length.
Kompella MPLS L2VPN Configuration Commands id: CE ID, which is used to uniquely identify a CE in the VPN. This argument ranges from 0 to 499. offset: Specifies the default original CE offset. range: CE Range, the maximum number of CEs that can be connected to the CE.
Kompella MPLS L2VPN Configuration Commands Parameter vsi-name: Name of the VPN instance. local-ce: Displays the state and configuration of the local CE of a specified VPN instance. remote-ce: Displays the state and configuration of the remote CE of a specified VPN instance.
View BGP view Parameter None Description Use the l2vpn-family command to create L2VPN address family view. Use the undo l2vpn-family command to remove L2VPN address family view. Example # Create L2VPN address family view. [SW8800] bgp 100 [3Com-bgp] l2vpn-family [3Com-bgp-af-l2vpn]...
Page 773
Description Use the mtu command to set the MTU for the Kompella MPLS L2VPN. The same MTU value must be configured for all the PE devices of the same VPN to make sure that the configuration is valid. Related command: mpls l2vpn encapsulation.
IP address of a peer. This argument specifies a specific peer. Description Use the peer enable command to activate a specified peer or peer group in L2VPN address family view. Use the undo peer enable command to deactivate a specified peer or peer group in L2VPN address family view.
Note that the rate actually supported ranges from 64 kbps to 2,097,152 kbps. If the rate you set is above 2,097,152 kbps, no rate limitation is performed, and the part of traffic that is under the VSI and exceeding this bandwidth restriction is discarded by the system.
Page 776
6 Interactive Voice 7 Network Control With this mapping table, the cos command specifies available classes of service from 1 to 8 and the CoS and the user priority specified combine to determine the COS of user data transmitted over PSN.
VPLS Configuration Commands You can also customize the mapping relationship between user priority and PSN COS and directly specify the COS for user data transmitted over PSN for each of the user priorities 0 to 7 by configuring p-p-p-p-p-p-p-p. Example # Set the COS of VSI 3Com to 8.
Displays only the number of VSI MAC forwarding entries. Description Use the display mac-address vsi command to display VSI MAC forwarding information.. You can display the MAC forwarding entries of either all VSIs or a specific VSI. Related command: vsi, mac-address static.
View Any view Parameter vsi-name: VSI name. Description Use the display vsi command to display the information of one specific or all VSIs. Related command: vsi. Example # Display the configuration of VSI 3Com. <SW8800> display vsi 3Com VPLS-Instance : 3Com...
After label range redirection is configured, you can change the direction of VSI flow by changing the label range corresponding to the VSI, namely, redirect the new label range to the VPLS module for VSI flow processing so that the load on the VPLS module is shared.
VLAN containing no port. Related command: vsi, peer. Example # Bind VSI 3Com to VLAN 100 in VLAN view. Enabled VLAN VPN on the port of the VLAN indicates the VSI can be accessed through Ethernet. <SW8800> system-view view [SW8800] interface GigabitEthernet3/1/4...
Similarly, if you have enabled VLAN VPN feature for the port, you are prohibited from enabling IGMP Snooping or IGMP for the VLAN which the port belongs If you want to add the ports with VLAN VPN enabled to a VLAN, you cannot ■...
Description Use the mac-address command to configure a static MAC address for a VSI. The address you configured can be either a MAC address on a local VSI or a MAC address on a remote peer. Use the undo mac-address command to disable the configuration.
<SW8800> system-view view [SW8800] vsi 3Com static [3Com-vsi-3Com] mtu 1400 peer Syntax peer peer-ip [ vc-id vc-id ] [ upe | dual-npe ] [ encapsulation { ethernet | vlan } undo peer peer-ip [ vc-id vc-id ] View VSI-LDP View Parameter peer: Specifies the IP address of the peer PE of the VSI.
Page 786
By default, the peer type is NPE. When you specify UPE as the peer type, it indicates the peer is a user convergence node UPE in hierarchical VPLS architecture. You can also specify an ID for a VC to the peer, and the ID must be consistent with that of the remote. Multipoint-to-multipoint connections are needed among specified multiple remote peer NPEs, but not needed between UPEs and NPEs.
Ðó 16K - 1. If no range-id is provided, by default, the label range corresponding to the rule is 128K ~ 256K - 1. Example # Create a rule of the Link ACL. The label range corresponding to the rule is 128K ~ 256K - 1. <SW8800> system-view...
Specifying LDP as the PW signaling protocol for the VSI takes you to the VSI-LDP view. By default, the VSI uses LDP as the PW signaling protocol. Example # Set LDP as the PW signaling protocol for VSI 3Com and enter the VSI-LDP view. <SW8800> system-view [SW8800] vsi 3com static [3Com-vsi-3com] pwsignal ldp...
Use the shutdown command to shut down the service of the VSI. When the service of the VSI is shut down, the system does not process any traffic for this VSI. Use the undo shutdown command to restore the service for the VSI.
VSI view. Description Use the vsi command to create a VSI or enter the VSI view. When you create an instance, you must specify the mechanism for discovering VSIs and the peers. At present, you can only configure the mechanism statically and manually and must specify the configuration mode explicitly.
Debugs VRRP packets. error: Debugs VRRP errors. Description Use the debugging vrrp command to enable the VRRP debugging. Use the undo debugging vrrp command to disable the VRRP debugging. By default, the VRRP debugging is disabled. Example # Enable VRRP state debugging.
If the interface name and virtual router ID are not specified, the state information about all the virtual routers on the switch will be displayed. If only the interface name is specified, the state information about all the virtual routers on the interface will be displayed.
If the interface name and virtual router ID are not specified, the statistics information about all the virtual routers on the switch will be displayed. If only the interface name is specified, the statistics information about all the virtual routers on the interface will be displayed.
View Any view Parameter None Description Use the display vrrp summary command to view the VRRP summary information on the switch. Example # Display the VRRP summary information on the switch. <SW8800> display vrrp summary Run Method...
If the interface name and virtual router ID are not specified, the statistics information about all the virtual routers on the switch will be cleared. If only the interface name is specified, the statistics information about all the virtual routers on the interface will be cleared.
VRRP virtual routers on an interface. As defined in the protocol, all the virtual routers on an interface shall use the same authentication type and key. And all the members joining the same virtual router shall also use the same authentication type and key.
If you set correspondence between the IP address of the virtual router and the real MAC address, then you can configure only one virtual router on VLAN interface. Example # Set the real MAC address of the interface match the virtual IP address of the virtual router. [SW8800] vrrp method real-mac...
Use the undo vrrp un-check ttl command to enable the check of TTL value of VRRP packet. The TTL value must be 225. If the Backup switch finds TTL is not 225 when receiving VRRP packet, the packet will be discarded.
If a higher-priority switch is required to preempt the Master, you need to configure it as preemption. You can also set a delay for the preemption. If you configure it not to preempt, the delay will be set to 0 automatically.
1 to 255; By default, the value is 1s. Description Use the vrrp vrid timer command to set the time interval for the Master in the virtual router to send VRRP packets. Use the undo vrrp vrid timer advertise command to restore the default value.
Virtual IP address. Description Use the vrrp vrid virtual-ip command to create a virtual router or add a virtual IP address to an existing virtual router. Use the undo vrrp vrid virtual-ip command to cancel an existing virtual router or an address from the virtual router.
Page 802
43: VRRP C HAPTER ONFIGURATION OMMANDS # Add a virtual IP address to an existing virtual router. [3Com-vlan-interface2] vrrp vrid 1 virtual-ip 10.10.10.11 # Delete a virtual IP address. [3Com-vlan-interface2] undo vrrp vrid 1 virtual-ip 10.10.10.10 # Delete a virtual router.
HA Configuration Commands debugging ha Syntax debugging ha { all | event | message | state } undo debugging ha { all | event | message | state } View User view Parameter all: All HA debugging switches. event: HA batch backup or tamed event debugging switch.
Use the display switchover state command to view the switchover state of master or slave fabric. This command is used to display the switchover state of the master or slave fabric according to the specified slot number. If slot-id is not specified, the status of the fabric will be displayed.
None Description Use the slave restart command to restart slave fabric. When the slave system works abnormally, and needs to be reloaded, you can use this command to restart the slave fabric. Example # Implement the restart of the slave system.
ONFIGURATION OMMANDS ONFIGURATION using a command if he expects the slave fabric to operate in place of the master fabric. After the switchover, the slave fabric will control the system and the original master fabric will be forced to reset.
Page 807
HA Configuration Commands Example # Configure the system Xbar load mode. [SW8800] xbar load-balance...
Page 808
44: HA C _HA_C HAPTER ONFIGURATION OMMANDS ONFIGURATION...
Description Use the arp non-flooding enable command to enable the feature that the ARP packets of a port are not broadcast in the VLAN where this port lies. Use the undo arp non-flooding command to disable this feature. By default, ARP request packets are broadcast in the VLAN where the port lies.
MAC address of the ARP mapping entry, whose format is H-H-H ( H indicates a hexadecimal number). vlan-id: VLAN to which the static ARP entry belongs, in the range of 1 to 4094. interface-type interface-number: The type and number of the port to which the static ARP entry belongs.
Page 811
Use the arp static command to configure the static ARP mapping entries in an ARP mapping table. Use the undo arp static command to delete a static ARP mapping entry from the ARP table. By default, the mapping table of the system ARP is empty and the switch can obtain its address mapping by means of dynamic ARP.
MAC address of the ARP mapping entry, in the format of H-H-H. For a multiple-outgoing-port ARP entry, this is a multicast MAC address. vlan-id: ID of the VLAN of the static ARP entry, in the range of 1 to 4094. interface-type: Port type.
ARP Configuration Commands You can add multiple ports one by one by setting the multicast static ARP entry. To view the configuration, use the display arp multi-port command. Related commands: reset arp, display arp, debugging arp, arp static. Example # In an ARP entry, the IP address is 10.10.10.98, and the MAC address is 0150-0098-0098.
Source IP address of all the permitted ARP packets, expressed in dotted decimal format. It can be combined with other restrictive conditions at discretion. If it is set to all zeros, ARP packets of all source IP addresses are permitted by default.
Use the display arp multi-port command to display configuration information about multicast ARP. The multicast ARP (that is, multiple-port ARP) feature allows one ARP entry to correspond to multiple outgoing ports; it is used to send one packet to multiple ports simultaneously.
Ethernet6/1/7 Ethernet6/1/8 Ethernet6/1/9 Ethernet6/1/1 VPN-Name :Public-ARP When a "*" precedes a port, the port is in the Up state; otherwise, the port is in the Down state. display arp proxy Syntax display arp proxy [ vlan vlan-id ] View Any view Parameter vlan-id: Specifies the VLAN ID.
View Any view Parameter None Description Use the display debugging arp command to display the ARP packet debugging information. Example # Display the ARP packet debugging information. <SW8800> display debugging arp ARP packet debugging switch is on, Source IP Address is 8.8.8.1, Destination IP Address is 8.8.8.26, Source MAC Address is 000a-ebf2-51a8...
Slot number of the card. max-num: Maximum number of ARP entries that can be supported by the specified card. This argument counts in K (1K = 1024) and ranges from 4K to 8K. Description Use the arp max-entry command to configure the maximum number of ARP entries that can be supported by a specified card in the system.
Use the undo arp max-aggregation-entry command to restore the default maximum number of aggregation ARP entries supported by each card. You can configure the maximum number of ARP entries to be 4K, 5K, 6K, 7K or 8K modules 3C17525, 3C1757, 3C17530, and 3C17531. For all other modules, the maximum number of ARP entries is 4K.
You must restart the system for each of the three configurations to take effect. ■ Do not remove a card or change the place of a card from one slot to another ■ before restarting the system. Otherwise, the configuration may fail to take effect.
Page 824
46: ARP T HAPTER ABLE ONFIGURATION OMMANDS ..... max arp entry config of slot 13: 8192...
Description Use the dhcp select command to specify a method used by the switch to process the DHCP packets it received. You can use this command in VLAN interface view to specify a processing method of DHCP packets for current VLAN interface, or in system view to specify a processing method for multiple VLAN interfaces.
Commands debugging dhcp server Syntax debugging dhcp server { all | error | event | packet } undo debugging dhcp server { all | error | event | packet } View User view Parameter all: Used to enable/disable all types of debugging for DHCP server.
{ ip-address | all } { interface vlan-interface vlan-id [ to vlan-interface vlan-id ] | all } View VLAN interface view, system view Parameter ip-address: IP address of a DHCP server. You can specify up to eight IP addresses (separated by spaces) in one command.
Description Use the dhcp server dns-list command to configure one or more DNS server addresses for the DHCP address pool of current VLAN interface, or for the DHCP address pool(s) of the specified VLAN interface(s). Use the undo dhcp server dns-list command to remove one or more DNS server addresses configured for the DHCP address pool of current VLAN interface, or for the DHCP address pool(s) of the specified VLAN interface(s).
VLAN interface(s). The default lease time is one day. Related command: expired. Example # Set the IP address lease time of the DHCP address pool of VLAN interface 1 to unlimited. <SW8800> system-view System View: return to User View with Ctrl+Z.
View System view Parameter pool-name: Name of the address pool, a string that is of 1 to 64 characters in length. An address pool name uniquely identifies an address pool. Description Use the dhcp server ip-pool command to create a global DHCP address pool and enter the corresponding DHCP address pool view.
Description Use the dhcp server nbns-list command to configure one or more NetBIOS server IP addresses for the DHCP address pool of current VLAN interface, or for the DHCP address pool(s) of the specified VLAN interface(s). Use the undo dhcp server nbns-list command to remove one or all NetBIOS server IP addresses configured for the DHCP address pool of current VLAN interface, or for the DHCP address pool(s) of the specified VLAN interface(s).
View VLAN interface view, system view Parameter b-node: Specifies b-node to be the NetBIOS node type. DHCP clients of this node type establish host name-to-IP address mapping by broadcasting. (b stands for broadcast.) p-node: Specifies p-node to be the NetBIOS node type. DHCP clients of this node type establish host name-to-IP address mapping by communicating with NetBIOS server.
Example # Configure a custom DHCP option for the DHCP address pool of VLAN interface 1, with the code argument of 100 and the hex-string argument of 0x11 and 0x22. <SW8800> system-view System View: return to User View with Ctrl+Z.
30 seconds. When the ping command is used for collision detection, the host will fail to apply for IP addresses if the server’s time to wait for a response to a ping packet is longer than the host’s interval of sending discover packets. So you had better satisfy the condition that the server’s time to wait for a response to...
DHCP Server Configuration Commands Parameter ip-address: IP address to be bound statically. Note that the IP address must be a valid IP address in the address pool of the current VLAN interface. mac-address: MAC address for the IP address to be bound to.
The IP address that causes the conflict Discover Time The time when the conflict is discovered display dhcp server Syntax expired display dhcp server expired { ip ip-address | pool [ pool-name ] | interface [ vlan-interface vlan-id ] | all } View Any view Parameter ip ip-address: Specifies an IP address.
IP Range from 5.5.5.2 5.5.5.255 display dhcp server Syntax ip-in-use display dhcp server ip-in-use { ip ip-address | pool [ pool-name ] | interface [ vlan-interface vlan-id ] | all } View Any view Parameter ip ip-address: Specifies an IP address.
Lease expiration Type 5.5.5.1 0050-ba28-930a Jun 5 2003 10:56: 7 AM Auto:COMMITED Table 107 Description on the fields of the display dhcp server ip-in-use command Fields Description Global pool The information followed is about bound IP addresses in global address pool(s)
View Any view Parameter pool [ pool-name ]: Specifies a global address pool. If you do not specify a global address pool, all global address pools are included. interface [ vlan-interface vlan-id ]: Specifies the address pool of a VLAN interface.
Page 842
3.3.3.3 expired 1 0 0 option 58 hex 00 00 A8 C0 option 59 hex 00 00 00 3C Table 109 Description on the fields of the display dhcp server tree command Field Description Global pool The information followed is about global address pools...
Child node: Indicates the node to which the address pool named 6 corresponds is a child node of that of the address pool named 5. In this case, node 6 stands for a subnet of the network node 5 stands for Parent node: Indicates the node to which the address pool named 6 corresponds is the parent node of that of the address pool named 5.
ONFIGURATION OMMANDS Related command: dhcp server dns-list, dhcp server ip-pool. Example # Configure a DNS server with an IP address of 1.1.1.254 for the global DHCP address pool 0. <SW8800> system-view System View: return to User View with Ctrl+Z. [SW8800] dhcp server ip-pool 0 [3Com-dhcp-0] dns-list 1.1.1.254...
The default valid period is 1 day. Related command: dhcp server ip-pool, dhcp server expired. Example # Set the IP address lease time of the global DHCP address pool 0 to one day plus two hours and three minutes. <SW8800> system-view System View: return to User View with Ctrl+Z.
{ ip-address | all } View DHCP address pool view Parameter ip-address: IP address of a NetBIOS server. You can specify up to eight IP addresses (separated by spaces) in one command. all: Specifies all configured NetBIOS server IP addresses. Description Use the nbns-list command to configure one or more NetBIOS server addresses for a global DHCP address pool.
View DHCP address pool view Parameter b-node: Specifies the NetBIOS node type of DHCP clients to be b-node (b stands for broadcast). Nodes of this type establish their host name-to-IP address mappings by broadcasting. p-node: Specifies the NetBIOS node type of DHCP clients to be p-node (p stands for peer-to-peer).
47: DHCP C HAPTER ONFIGURATION OMMANDS mask-length: Length of the network mask of an IP address pool. It is an integer in the range of 0 to 32. Description Use the network command to configure an address range for dynamic IP address assignment.
Related command: dhcp server ip-pool, dhcp server option. Example # Configure a custom option for the global DHCP address pool, with an option value of 100 and two hexadecimal numbers of 0x11 and 0x22. <SW8800> system-view System View: return to User View with Ctrl+Z.
Specifies a global DHCP address pool. If you do not provide this argument, then all global DHCP address pools are included. vlan-id: Specifies a VLAN interface DHCP address pool. If you do not provide this argument, then all VLAN interface DHCP address pools are included.
DHCP Server Configuration Commands mask netmask: Specifies the subnet mask of the IP address to be bound. If you do not provide the argument, the default subnet mask is used. Description Use the static-bind ip-address command to specify the IP address to be statically bound.
ONFIGURATION OMMANDS Related command: dhcp server ip-pool and static-bind ip-address. Example # Bind the PC with a MAC address of 0000-e03f-0305 to 10.1.1.1, whose subnet mask is 255.255.255.0. <SW8800> system-view System View: return to User View with Ctrl+Z. [SW8800] dhcp server ip-pool 0 [3Com-dhcp-0] static-bind ip-address 10.1.1.1 mask 255.255.255.0...
Before adding/removing a user address entry, you can check user address entries configured for the DHCP server using the display dhcprelay-security command. Example # Configure a user address entry for a DHCP server, with an IP address of 1.1.1.1 and a MAC address of 0005-5D02-F2B3. <SW8800> system-view System View: return to User View with Ctrl+Z.
Use the undo dhcp server detect command to disable fake DHCP server detecting. A private DHCP server in a network also answers IP address request packets and issues IP addresses to DHCP clients. However, the IP addresses they issued always bring addresses conflicts and cause users cannot access networks.
VLAN number. interface vlan-interface: Specifies to display information about the DHCP servers configured for the VLAN interface. all: Specifies to display information about the DHCP servers configured for all VLAN interfaces. Description Use the display dhcp relay address command to display information about DHCP servers configured for a VLAN interface.
IP Address User IP address MAC Address User MAC address IP Address Type Type of the user address entry, which can be static or dynamic ip relay address Syntax ip relay address ip-address undo ip relay address { ip-address | all }...
Related command: dhcp server relay information enable. Example # Enable Option 82 support on DHCP relay so that the relay on VLAN interface 1 adds Option 82 into the request packets from the DHCP clients before it sends these packets to a DHCP server.
DHCP Relay option 82. The normal mode is adopted by default. Example # Configure the mode of the relay option 82 on VLAN interface 1 as 3Com fixed network mode. <SW8800> system-view System View: return to User View with Ctrl+Z...
VLAN interface view Parameter mac: Sets the bridge MAC as the node identifier of the Option 82 of a relay. sysname: Sets the system name as the node identifier of the Option 82 of a relay. user-defined string<1-50>: Sets the bridge-user-defined strings as the node identifier of the Option 82 of the relay.
HAPTER ONFIGURATION OMMANDS Example # Set the system name as the node identifier when the mode of the relay option 82 on VLAN interface 1 is 3Com fixed network mode. <SW8800> system-view System View: return to User View with Ctrl+Z...
Page 861
<SW8800> system-view System View: return to User View with Ctrl+Z [SW8800] dhcp server relay information enable # Disable the DHCP server from returning Option 82 carried in the request packets to the DHCP relay. [SW8800] undo dhcp server relay information enable...
Page 862
47: DHCP C HAPTER ONFIGURATION OMMANDS...
Page 863
View System view Parameter hostname: Name of the host. It is a character string that consists of 1 to 20 characters, including letters, numbers, "_" or ",", and it must contain at least one letter. ip-address: Host IP address (the corresponding IP address to the host name) in dotted decimal notation.
Any view Parameter None Description Use the display ip host command to view all the host names and the corresponding IP addresses. Example # Display all host names and the corresponding IP addresses of the hosts. <3Com< display ip host...
The information above indicates that a correct answer packet is received from the server. query timeout The information above indicates that the query for a domain name from a server times out because no answer is received. display dns domain...
Ipaddress Corresponding IP name of the domain name RR-TTL(S) Time to live, that is, the time for an entry to be stored, in seconds. Alias Alias of the domain name. There can be four of them at the most. display dns server...
Use the undo dns domain command to delete the domain name suffix. The system supports up to 10 domain name suffixes. To delete the domain name suffix, input the suffix name, and the specific suffix is deleted. Otherwise, all of the suffixes are deleted.
Use the dns server command to configure the IP address of a domain name server. Use the undo dns server command to delete the IP address of a domain name server. The system supports up to six domain name server. To delete the domain name server, input the IP address, and the specific server is deleted.
Page 869
Dynamic DNS Configuration Commands Description Use the reset dns dynamic-host command to clear the dynamic domain name buffer. Related command: display dns dynamic-host. Example # Clear the dynamic domain name buffer. <3Com< reset dns dynamic-host...
/stream ---------------------------------------------------- TCP-other 382858 Total 382858 Table 116 Description on the fields of the display Netstream cache command Field Description Stream active timeout(minute) : 5 The current active aging time is 5 minutes Stream inactive timeout(second) : 60 The current inactive aging time is 60 seconds...
Stream source address Stream destination IP(UDP) : 192.168.1.2(9991) Exported stream number Exported UDP datagram number(failed number): 2(0) Table 117 Description on the fields of the display ip Netstream export command Field Description Version 5 export information Version 5 statistics export information...
Netstream Configuration Commands Table 117 Description on the fields of the display ip Netstream export command Field Description Stream destination IP(UDP) Destination address and destination port number of the export packet Exported stream number Number of exported streams Exported UDP datagram...
Use the undo ip netstream enable command to disable the Netstream statistics function. The Netstream statistics function is disabled by default Example # Mirror the inbound packets of GigabitEthernet6/1/2 to the NMM module on slot 2, and enable the Netstream statistics function. <SW8800> system-view [SW8800] mirror-group 1 inbound GigabitEthernet6/1/2 mirror-to slot...
UDP port number of the destination host of Netstream statistics export packets. Description Use the ip netstream export host command to configure the destination host IP address and UDP port number of the Netstream statistics export packet.
You can configure different destination host IP addresses and port numbers in different aggregation modes. A packet can be sent to two different destination hosts at the same time. Example # Set the destination IP address and UDP port number of the Netstream statistics export packet to 192.168.1.2 and 9991 respectively.
Use the undo ip netstream export version command to restore the default setting. By default, the AS option is peer-as, the version number of MPLS packets is 9, the version number of aggregation statistics packets is 8, and the version number of other packets is 5.
NMM modules in the system. Use the undo ip netstream timeout active command to restore the default value of the active aging time of the streams on all the NMM modules in the system.
NMM Application Module and age all the streams in the stream cache. Example # Clear the Netstream statistics information of the NMM moduleon slot 2 and age all the streams in the stream cache. <SW8800> reset ip netstream statistics slot 2...
Page 880
Parameter minutes: Aging time of the template in minutes. Description Use the ip stream template timeout command to set the aging time of the template. Use the undo ip stream template timeout command to restore the aging time of the template to the default value.
Use the display poe interface interface-type interface-num command to display the PoE status of a specific port on the switch. Use the display poe interface command without any option to display the PoE status of all the PoE-capable ports on the switch.
Remaining power on the port power The sampling cycle of the power, current and voltage of ports is 1 second; ■ The sampling cycle of the peak power and average power of ports is 5 minutes ■ display poe interface Syntax...
PSE software version Hardware Version PSE hardware version The sampling cycle of the current power of the interface card is 1 minute, and the sampling cycle of the peak power and average power is 5 minutes. display poe slot Syntax...
Parameter slotnum: Slot number of a PoE card Description Use the display poe slot slotnum command to display the information of a PoE card in the switch. Example # Display the information of the PoE card in slot 8 of the switch.
When detecting the compatibility of PDs, the module can detect and power the PDs incompatible with the 802.3af standard. By default, the module does not detect the compatibility of the PD connected to it. CAUTION: Detecting an incompatible device slows down the detection and decreases system performance;...
OMMANDS Example # Enable the module in slot 2 to detect the compatibility of the PD connected to it. [SW8800] poe legacy enable slot 2 # Disable the detection of the compatibility of the PD connected to the module in slot 2.
By default, the port adopts signal lines to supply power. CAUTION: 3Com Switch 8800 Family series routing switches currently do not support the spare mode. If a PD only supports the spare mode, a conversion will be needed. Example # Configure the PoE mode on current port to signal.
PD connected to the port whose PoE priority is the highest. For example, assume that the PoE priority on port A is set to critical. If a new PD is connected to port A when the external power supply by the switch is almost fully loaded, the switch stops powering the PD connected to the port whose PoE priority is the lowest and begins to power the PD connected to port A.
Use the undo poe priority command to restore the default priority. By default, the PoE priority on each port is low. CAUTION: When the PoE power of the switch is not enough to support all the port, the switch supplies power to ports with higher priority, and powers down...
Page 890
50: P HAPTER ONFIGURATION OMMANDS Example # Set the PoE priority of current port to critical. [3Com-GigabitEthernet3/1/1] poe priority critical # Restore the default priority. [3Com-GigabitEthernet3/1/1] undo poe priority...
<SW8800> display poe-power ac-input state PSU 1 AC Input State : Lack Phase PSU 2 AC Input State : Normal PSU 3 AC Input State : Lack Phase Table 120 Description on the fields of the display poe-power ac-input state command Field Description NORMAL The AC input is normal.
Normal NOTLINK The PSU is disconnected. That is, the controller was able to communicate with the PSU; but it cannot now. Power-cycling the unit or re-inserting a new PSU can resolve this problem. INERROR The PSU input is in trouble. Restoring the AC input can resolve this problem.
Use the display poe-power switch state command to display the number and current state of the AC power distribution switches of the PSUs. Example # Display the number and current state of the AC power distribution switches. <SW8800>display poe-power switch state Switch Number : 0...
Page 894
Rating Output Power Rated output power. When one or two PSUs are available, it is 2250 W for 220 VAC input and 1125 W for 110 VAC input. When three PSUs are available, it is 4500 W for 220 VAC input...
View System view Parameter string: Overvoltage alarm threshold. It ranges from 90 V to 264 V in the format of X.X. Description Use the poe-power input-thresh upper command to set overvoltage alarm threshold of AC input (upper threshold): For 220 VAC input, it is recommended to set the threshold to 264.0 V.
Description Use the poe-power output-thresh lower command to set the undervoltage alarm threshold of DC output (lower threshold): For both 220 VAC and 110 VAC input, it is recommended to set the threshold to 45.00 V. Example # Set the undervoltage alarm threshold of DC output to 45.00 V.
Now, the following config udp-helper port exist(s): 37(time), 49(tacacs), 53(dns), 34, 89, 456, 10000-10005 The information above shows the configuration of the global UDP ports (including the default port 37, 49, 53 and the configured ports) when UDP helper is enabled. udp-helper enable Syntax...
UDP Helper Configuration Commands udp-helper port Syntax udp-helper port { port | dns | netbios-ds | netbios-ns | tacacs | tftp | time } undo udp-helper port { port | dns | netbios-ds | netbios-ns | tacacs | tftp | time }...
Page 900
IP address of the destination server, in dotted decimal notation. This argument can be the address of a host or the broadcast address of a subnet. Up to 20 destination servers can be configured on a VLAN virtual interface.
Description Use the display snmp-agent command to view engine ID of current device. SNMP engine is the core of SNMP entity. It performs the function of sending, receiving and authenticating SNMP message, extracting PDU, packet encapsulation and the communication with SNMP application, and so on.
# Display the currently configured community names. <SW8800> display snmp-agent community Community name:public Group name:public Storage-type: nonVolatile Community name:private Group name:private Storage-type: nonVolatile Table 124 Description on the fields of the display snmp-agent community command Field Description community Community name name Group name Group name...
The name of the notify MIB view corresponding to that group storage-type Storage mode display snmp-agent Syntax mib-view display snmp-agent mib-view [ exclude | include | { viewname mib-view } ] View Any view Parameter exclude: Displays the SNMP MIB view excluded. Include: Displays the SNMP MIB view included.
53: SNMP C HAPTER ONFIGURATION OMMANDS Table 126 Description on the fields of the display snmp-agent mib-view command Field Description View name View name MIB Subtree MIB subtree Subtree Subtree mask mask storage-type Storage type View Type Permit or forbid access to an MIB object...
SNMP Configuration Commands Table 127 Description on the fields of the display snmp-agent statistics command Field Description 9 Get-next PDUs accepted and Total number of the input SNMP packets processed 0 GetBulkRequest-PDU accepted Number of packets with version information error...
<SW8800> display snmp-agent sys-info contact The contact person for this managed node: R&D Beijing, 3Com Corporation co.,Ltd. The above information represents that the contact person for this machine is R&D Beijing, 3Com Corporation co.,Ltd # Display the character string describing the system location.
Parameter None Description Use the enable snmp trap updown command to enable current port or VLAN interface to transmit the LINK UP and LINK DOWN trap messages. Use the undo enable snmp trap updown command to disable current port or VLAN interface to transmit the LINK UP and LINK DOWN trap messages.
53: SNMP C HAPTER ONFIGURATION OMMANDS Example # Enable current port Ethernet6/1/1 to transmit the LINK UP and LINK DOWN trap information with the community name public <SW8800> system-view System View: return to User View with Ctrl+Z. [3Com-Ethernet6/1/1] snmp trap updown enable [SW8800] snmp-agent target-host trap address udp-domain 10.1.1.1...
Specifies the engine ID with a character string, only composed of hexadecimal numbers between 5 and 32 including. Description Use the snmp-agent local-engineid command to configure a name for a local or remote SNMP engine on the switch. Use the command to Using undo snmp-agent local-engineid command, you can restore the default setting of engine ID.
Specifies the view name, with a character string, ranging from 1 to 32 characters. oid-tree: MIB object subtree. It can be a character string of the variable OID, or a variable name, ranging from 1 to 255 characters. By default, OID is 1.3.6.1.
Represent the version of SNMPV2C. v3: Represent the version of SNMPV3. securityname: Specifies the community name, ranging 1 to 32 bytes. It can be the community name of SNMPv1/v2c or the user name of SNMPv3. authentication: Configures to authenticate the packet without encryption.
Example # Enable to send the trap packet of SNMP authentication failure to 10.1.1.1. The community name is public. <SW8800> system-view System View: return to User View with Ctrl+Z.
View System view Parameter length: Length of queue, ranging from 1 to 1,000. By default, the length is 100. Description Use the snmp-agent trap queue-size command to configure the information queue length of Trap packet sent to Destination Host.
SNMP engineID (for authentication) is required when configuring remote user for an agent. This command will not be effective without engineID configured. For V1 and V2C, this command will add a new community name. For V3, it will add a new user for an SNMP group.
: 10(linked with event 1) Falling threshold : 2(linked with event 1) When startup enables : risingOrFallingAlarm Latest value Table 129 Description on the fields of the display rmon alarm command Field Description Alarm table 1 Index 1 in alarm table monitor...
Description Use the display rmon event command to view RMON events. The display includes event index in event table, owner of the event, description to the event, action caused by event (log or alarm information), and occurrence time of the latest event (counted on system initiate/boot time in centiseconds).
Use the display rmon eventlog command to view RMON event log. The display includes event index in the event table, the status of the event, the time at which the event log is generated (this time starts from the system initialization or booting and counted in milliseconds), and event description.
:0 , oversize packets fragments , jabbers collisions , utilization Table 132 Description on the fields of the display rmon history command Field Description Samples interface The sampled interface History control entry Index number in history control table...
: 5(linked with event 1) When startup enables : risingOrFallingAlarm This entry will exist : forever. Latest value Table 133 Description on the fields of the display rmon prialarm command Field Description Prialarm table 1 Index of extended alarm entry.
2147483647. event-entry2: Event number corresponding to the falling threshold, ranging from 0 to 65535. owner text: Specifies the creator of the alarm. Length of the character string ranges from 1 to 127. Description Use the rmon alarm command to add an entry to the alarm table.
RMON Configuration Commands Use the undo rmon alarm command to cancel an entry from this table. In this way, the alarm event can be triggered in the abnormal situations and then decides to log and send trap to the NM station.
Keeping logs and sending the trap messages to NMS ■ Example # Add the entry 10 to the event table and marks it as log event. <SW8800> system-view System View: return to User View with Ctrl+Z. [SW8800] rmon event 10 log...
Related command: display rmon history. Example # Create a history control table entry with the index number of 15, capacity of 100 and sampling interval of 10 seconds. The owner is tester. <SW8800> system-view System View: return to User View with Ctrl+Z.
Page 928
0 to 65535. forever | cycle cycle-period: Specifies the type of the alarm instance line. cycle-period specifies the functional cycle of the instance. owner text: Creator of this entry. Length of the character string ranges from 1 to 127. Description Use the rmon prialarm command to add an entry to the extended RMON alarm table.
RMON Configuration Commands Example # Add an extended alarm entry in the fifth line of the extended alarm table. Perform operation on the corresponding variant by means of the formular ((.1.3.6.1.4.1.43.45.1.6.1.2.1.1.2.1-.1.3.6.1.4.1.43.45.1.6.1.2.1.1.3.1)*100/.1.3. 6.1.4.1.43.45.1.6.1.2.1.1.2.1) to get the port utilization of Gigabit Ethernet interface 1/1/1.
Page 930
54: RMON C HAPTER ONFIGURATION OMMANDS <SW8800> system-view System View: return to User View with Ctrl+Z. [SW8800]interface Ethernet 2/1/1 [3Com-Ethernet2/1/1] rmon statistic 20...
Use the display ntp-service sessions command to display the status of all the SESSIONS maintained by NTP service provided by the local equipment. By default, the status of all the SESSIONS maintained by NTP service provided by the local equipment will be displayed.
Syntax display ntp-service trace View Any view Parameter None Description Use the display ntp-service trace command to display the brief information about every NTP server on the way from the local device to the reference clock source.
By default, there is no limit to the access. Set authority to access the NTP services on a local Ethernet Switch. This is a basic and brief security measure, compared to authentication. An access request will be matched with peer, server, synchronization, and query in an ascending order of the limitation.
NTP Configuration Commands # Give the authority of time request and query control of the local equipment to the peer in ACL 2000. [SW8800] ntp-service access synchronization 2000 ntp-service Syntax authentication enable ntp-service authentication enable undo ntp-service authentication enable View...
Designate an interface on the local Ethernet Switch to receive NTP broadcast messages and operate in broadcast client mode. The local Ethernet Switch listens to the broadcast from the server. When it receives the first broadcast packet, it starts a brief Client/Server mode to switch messages with a remote server for estimating the network delay.
By default, the broadcast service is disabled and number defaults to 3. Designate an interface on the local equipment to broadcast NTP packets. The local equipment runs in broadcast-server mode and regularly broadcasts packets to its clients.
VLAN interface view Parameter ip-address: Multicast IP address of Class D. By default, the ip-address argument is set to 224.0.1.1. Actually, for the Switch 8800 Family series, you can set 224.0.1.1 as the multicast IP address only. Description Use the ntp-service multicast-client command to configure the NTP multicast client mode.
VLAN interface view Parameter ip-address: Multicast IP address of Class D. It defaults to 224.0.1.1. Actually, for the Switch 8800 Family series, you can set 224.0.1.1 as the multicast IP address only. authentication-keyid: Specifies authentication key. keyid: Key ID used in multicast, ranging from 1 to 4294967295.
IP address of an external clock as 127.127.u. If no IP address is specified, the local clock is set as the NTP master clock by default. You can also specify the stratum of the NTP master clock.
You can use this command to designate an interface to transmit all the NTP packets and take the source address of these packets from its IP address. If you do not want any other interface to receive the acknowledgement packets, use this command to specify one interface to send all the NTP packets.
Page 942
NTP version number, ranging from 1 to 3. authentication-keyid: Defines authentication key. keyid: Key ID used for transmitting messages to a remote server, ranging from 1 to 4294967295. source-interface: Specifies the name of an interface, the interface can be VLAN interface and Loopback interface currently.
NTP version number, ranging from 1 to 3. authentication-keyid: Defines authentication key. keyid: Key ID used for transmitting messages to a remote server, ranging from 1 to 4294967295. source-interface: Specifies the name of an interface, the interface can be VLAN interface and Loopback interface.
Page 944
55: NTP C HAPTER ONFIGURATION OMMANDS <SW8800> system-view System View: return to User View with Ctrl+Z. [SW8800] ntp-service unicast-server 128.108.22.44 version 3...
Use the undo debugging ssh server command to disable the debugging. By default, the debugging is disabled. Logs related to the SSH server are recorded into the log file or log buffer only if debugging is enabled. Related command: ssh server authentication-retries, ssh server rekey-interval, ssh server timeout.
Syntax public display rsa local-key-pair public View Any view Parameter None Description Use the display rsa local-key-pair public command to display the public key of the server’s host key pair and server key pair. Related command: rsa local-key-pair create.
<SW8800> display rsa peer-public-key brief Address Bits Name 1023 abcd 1024 1024 1024 hq_all # Display the public key of the specified RSA key pair named abcd of the client. <SW8800> display rsa peer-public-key name 127.0.0.1 ===================================== Key name: 127.0.0.1 Key address:...
Displays the SSH status information. session: Displays the SSH session information. Description Use the display ssh server command to display the status information or session information of an SSH server. Related command: ssh server authentication-retries, ssh server rekey-interval, ssh server timeout.
Use the display ssh user-information command to display information about the current SSH user, including username, peer key name, authentication mode and the types of authorized services. If you specify the argument username in the command, the user information about the specified username will be displayed.
By default, all protocols are supported. This configuration takes effect at the next login. Note that after enabling SSH by this command, you still cannot log in through SSH if the client RSA key is not configured. CAUTION: If the supported protocol configured in the user interface is SSH, make sure to ■...
<Enter> and then continue to input the key. Note that the public key must be a hexadecimal string coded in the public key format and is randomly generated by the SSH 2.0-enabled client software or the client switch.
CAUTION: When you log in through SSH user, the key generated by the server must be longer than 768 bits. The RSA key genetated by the server is 1,024 bits by default. Related command: rsa local-key-pair destroy.
% You already have RSA keys defined for rtvrp_Host % Do you really want to replace them? [yes/no]:y Choose the size of the key modulus in the range of 512 to 2048 for your Keys. Choosing a key modulus greater than 512 may take a few minutes.
View System view Parameter times: Number of authentication retries, in the range from 1 to 5. By default, the value is 3. Description Use the ssh server authentication-retries command to set the number of SSH connection authentication retries.
View System view Parameter hours: Update interval of the server key, in range of 1 to 24 (hours). It cannot be 0. Description Use the ssh server rekey-interval command to set update interval of the server key.
ONFIGURATION OMMANDS View System view Parameter seconds: Login timeout (in seconds), in the range from 1 to 120. By default, the value is 60. Description Use the ssh server timeout command to set the authentication timeout of SSH connections. Use the undo ssh server timeout command to restore the default SSH authentication timeout.
NULL, namely, the unable-to-login mode. The new authentication mode takes effect at the next login. By default, no login authentication mode is specified, that is, SSH users are unable to login. For a new user, you must specify an authentication mode; otherwise, the new user will not be able to log in.
Configures the default user authentication mode as RSA public key authentication. all: Specifies that the default user authentication mode can be either password authentication or public key authentication. password-publickey: Configures the default user authentication mode as a combination of password authentication and public key authentication.
Use the undo ssh client assign rsa-key command to cancel the configuration. Example # Specify the public key of a server with IP address 192.168.0.1 on the client as serverkey01. <SW8800> system-view System View: return to User View with Ctrl+Z.
The first-time authentication means that when the SSH client accesses the server for the first time in the case that there is no local copy of the server’s public key, the user can proceed to access the server and save a local copy of the server’s public key;...
Page 961
HMAC algorithm hmac-md5. md5_96: HMAC algorithm hmac-md5-96. Description Use the ssh2 command to enable the connection between the SSH client and the server, and specify the preferred key exchange algorithm, encryption algorithm and HMAC algorithm of the client and the server.
Syntax ssh service-type default { all [sftp-directory directory ] | sftp [ sftp-directory directory ] | stelnet } undo ssh service-type default View System view Parameter all: Specifies that the default service type can be either Stelnet or SFTP.
Use the undo ssh service-type default command to cancel the default service type and the default directory for SFTP users. The default service type is NULL and the default directory for SFTP users is NULL. Example # Configure the default service type as SFTP and specify cf: as the default directory.
Parameter remote-path: Name of a path on the server. Description Use the cd command to change the current path on the SFTP server. If you do not specify the remote-path argument, the current path will be displayed. Example # Change the current path to d:/temp.
SFTP Client view Parameter remote-path: Name of the directory to view. Description Use the dir command to view the files in the specified directory. If the remote-path argument is not specified, the files in the current directory will be displayed.
Use the get command to download a file from the remote server and save it locally. By default, if no local file name is specified, it is assumed that the local file has the same name as the file on the SFTP server.
Name of the directory to view. Description Use the ls command to view the files in the specified directory. If the remote-path argument is not specified, the files in the current directory will be displayed. This command has the same functionality as the dir command.
Use the put command to upload a local file to the remote SFTP server. By default, if no name of the file on the remote server is specified, it is assumed that the file on the remote server has the same name as the local file.
SFTP Client Configuration Commands Description Use the pwd command to display the current directory on the SFTP server. Example # Display the current directory on the SFTP server. sftp-client> pwd flash: quit Syntax quit View SFTP Client view Parameter None...
Page 971
HMAC algorithm hmac-md5. md5_96: HMAC algorithm hmac-md5-96. Description Use the sftp command to establish the connection with the remote SFTP server and enter the SFTP Client view. Example # Connect to the SFTP server with IP address 10.214.49.126 using the default encryption algorithm.
Page 972
56: SSH T HAPTER ERMINAL ERVICE ONFIGURATION OMMANDS...
File System The limitation on the names of directories and files on switch are as follows: It is recommended that the name of a directory or file should not contain more ■ than 64 characters; otherwise you will not be able to delete such a directory or file, even though the system supports directory or file names containing more than 64 characters.
You can use this command to copy a file from current directory to another directory, or vise versa. Where, the source filename must be the name of a file that has already existed in the specified directory, and the destination filename can be changed as required.
7932928 bytes total (4966400 bytes free) execute Syntax execute filename View System view Parameter filename: Name of the batch file, ranging from 1 to 256, with a suffix of ".bat". Description Use the execute command to execute the specified batch file.
By default, the prompt mode of the file operation is alert, which performs interactive confirmation on dangerous file operations. If the prompt mode is set as quiet, that is, no prompt for file operations, some non-recoverable operations may lead to system damage.
Use the fixdisk command to restore the space of a storage device. Some of the space of a storage device may be unavailable due to some reason (such as abnormal operations). In this case, you can use this command to restore the space.
57: F HAPTER YSTEM ANAGEMENT OMMANDS The directory to be created cannot have the same name as that of other directory or file in the specified directory. Example # Create the directory dd. <SW8800> mkdir dd Created dir flash:/dd more...
File System When the destination filename is the same as that of an existing file, the system will ask whether to overwrite it. Example # Move flash:/test/sample.txt to flash:/sample.txt. <SW8800> move flash:/test/sample.txt flash:/sample.txt Move flash:/test/sample.txt to flash:/sample.txt ?[Y/N]:y %Moved file flash:/test/sample.txt to flash:/sample.txt The switch has the following limitation on directory name and filename: The maximum length of a directory name or filename is 64 characters.
Description Use the rmdir command to cancel a directory. The directory to be deleted must be empty, that is, all the files under the directory should be removed first. When you delete a directory using the rmdir command, the files that originally...
Use the undelete command to recover the file that has not been deleted completely. The file name to be recovered cannot be the same as an existing directory name. If the destination file name is the same as an existing file name, prompt whether to overwrite.
SRPC, the URL of the program must begin with "slot[No.]#[flash: | cf:]/", where, [No.] is the slot number of the standby SRPC and [flash: | cf:] is the name of the equipment, flash card or CF card. For example, if the slot number of the standby SRPC is 1, the URL of the 8500.app program under the root directory...
Specifies the slot number list of switch. The formula is slot-num-list={ slot-num [ to slot-num ] }&<1-n>. &<1-n> indicates that the prior parameter can be input for n times. For Switch 8807, n is 7; for Switch 8814, n is Description Use the boot bootrom command to upgrade Bootrom.
Parameter fan-id: the fan ID. Description Use the display fan command to view the working state of the built-in fans. User can perform this command to see if they work normally. Example # Display the working state of the fans.
[ power-ID ] View Any view Parameter power-ID: Power ID. Description Use the display power command to view the working state of the built-in power supply. Example # Show power state. <SW8800> display power Power 1 State: Absent...
[ yyyy/mm/dd ] undo schedule reboot View User view Parameter hh:mm: Reboot time of the switch, in the format of "hour: minute" The hh ranges from 0 to 23, and the mm ranges from 0 to 59.
Reboot date of the switch, in the format of "year/month/day. The yyyy ranges from 2000 to 2099, the mm ranges from 1 to 12, and the value of dd is related to the specific month. Description Use the schedule reboot at command to enable the timing reboot function of the switch and set the specific reboot time and date.
Waiting time for rebooting a switch, in the format of "hour: minute" The hhh ranges from 0 to 720, and the mm ranges from 0 to 59. mmm: Waiting delay for rebooting a switch, in the format of "absolute minutes" .
Slot for the service processing module to be updated. file-name: Name of upgrading file to be downloaded. The file suffix is .app. server-name: IP address or host name of FTP Server where the file to be updated locates. user-name: User name for file transfer protocol (FTP) login.
Page 992
OMMANDS Example # Update the service processing module in slot 2. The file to be downloaded is place in the host with the IP address 192.168.1.100, and its name is L3PLUS.app. The user name and password for FTP login are 654321 and 123456 respectively.
Description Use the ascii command to configure data transmission mode as ASCII mode. By default, the file transmission mode is ASCII mode. Perform this command if the user needs to change the file transmission mode to default mode. Example # Configure to transmit data in the ASCII mode.
Description Use the cd command to change the working path on the remote FTP Server. This command is used to access another directory on FTP Server. Note that the user can only access the directories authorized by the FTP server.
None Description Use the cdup command to change working path to the upper level directory. This command is used to exit the current directory and return to the upper level directory. Example # Change working path to the upper level directory.
Saves local file name of the query result. Description Use the dir command to query a specified file. If no parameter of this command is specified, then all the files in the directory will be displayed. Example # Query the file temp.c and saves the results in the file temp1.
Parameter ipaddress: IP address of the remote FTP Server. port: Port number of remote FTP Server. Host-name: Name of the remote FTP Server, a string which is 1 to 30 characters long. Description Use the ftp command to establish control connection with the remote FTP Server and enter FTP Client view.
Page 998
Name of a file on the remote FTP Server. Description Use the get command to download a remote file and save it locally. If no local file name is specified, it will be considered the same as that on the remote FTP Server. Example # Download the file temp1.c and saves it as temp.c...
Port number of the remote server. Description Use the open command to set up an FTP connection with a remote FTP server. Example # Set up a FTP connection with the FTP server with the IP address of 10.110.3.1. <SW8800> ftp [ftp] open 10.110.3.1 passive...
Page 1000
If the user does not specify the filename on the remote server, the system will consider it the same as the local file name by default. Example # Upload the local file temp.c to the remote FTP Server and saves it as temp1.c. <SW8800> ftp [ftp] put temp.c temp1.c...
FTP Client Commands Parameter None Description Use the pwd command to view the current directory on the remote FTP Server. Example # Show the current directory on the remote FTP Server. <SW8800> ftp [ftp] pwd "flash:/temp" is current directory. quit...
Logon password. Description Use the user command to register an FTP user. This command is available when you log in FTP server with a specified user account. Example # Log in the FTP Server with username tom and password bjhw.
Need help?
Do you have a question about the 8807 and is the answer not in the manual?
Questions and answers