Page 2
3119A00F Huawei Technologies Co., Ltd. provides customers with comprehensive technical support and service. If you purchase the products from the sales agent of Huawei Technologies Co., Ltd., please contact our sales agent. If you purchase the products from Huawei Technologies Co., Ltd. directly, Please feel free to contact our local office, customer care center or company headquarters.
Page 4
About This Manual Release Notes The product version that corresponds to the manual is VRP3.10. Related Manuals The following manuals provide more information about the Quidway S8500 Series Routing Switches. Manual Content It provides information for the system installation, Quidway S8500 Series Routing booting, hardware/software maintenance &...
Page 5
NAT&URPF&VPLS This module details the commands for NAT, URPF, VPLS configurations. Integrated Management This module details the commands for HGMP V1 configuration. Appendix This appendix offers an index for all the commands available in the S8500 series. Huawei Technologies Proprietary...
Page 6
Optional alternative items are grouped in square brackets [ x | y | ... ] * and separated by vertical bars. Many or none can be selected. A line starting with the # sign is comments. Huawei Technologies Proprietary...
Page 7
Select and release the primary mouse button without Click moving the pointer. Press the primary mouse button twice continuously and Double-Click quickly without moving the pointer. Press and hold the primary mouse button and move the Drag pointer to a certain position. Huawei Technologies Proprietary...
Page 8
Eye-catching symbols are also used in the manual to highlight the points worthy of special attention during the operation. They are defined as follows: Caution: Means reader be extremely careful during the operation. Note: Means a complementary description. Huawei Technologies Proprietary...
Page 9
HUAWEI Quidway S8500 Series Routing Switches Command Manual Getting Started Huawei Technologies Proprietary...
Command Manual – Getting Started Quidway S8500 Series Routing Switches Table of Contents Table of Contents Chapter 1 Commands Used to Log in to Switch ................ 1-1 1.1 Logging in to Switch Commands ..................1-1 1.1.1 authentication-mode....................1-1 1.1.2 auto-execute command................... 1-2 1.1.3 command-privilege level ..................
Page 11
Command Manual – Getting Started Quidway S8500 Series Routing Switches Table of Contents Chapter 2 Password Control Configuration Commands............2-1 2.1 Password Control Configuration Commands ..............2-1 2.1.1 display password-control..................2-1 2.1.2 display password-control blacklist................2-2 2.1.3 display password-control super................2-2 2.1.4 password .........................
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Chapter 1 Commands Used to Log in to Switch 1.1 Logging in to Switch Commands 1.1.1 authentication-mode Syntax authentication-mode { password | scheme | none }...
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch <Quidway>system-view System View: return to User View with Ctrl+Z. [Quidway] user-interface aux 0 [Quidway-ui-aux0] authentication-mode password 1.1.2 auto-execute command Syntax auto-execute command text...
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Example # Configure to automatically execute telnet 10.110.100.1 after the user logs in via VTY <Quidway>system-view System View: return to User View with Ctrl+Z.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Example # Configure the precedence of the command "interface" as 0. <Quidway>system-view System View: return to User View with Ctrl+Z. [Quidway] command-privilege level 0 view system interface 1.1.4 databits...
Page 16
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Parameter Command-Number: The number of history commands the user wants to query. The value range is 1 to 256. |: Operator, indicating that a regular expression follows.
Page 17
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch You can either specify the number of commands to be queried (Command-Number) or input a string to query commands that match the string. You can the two methods separately or in combination.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch quit display history-command # Display all the buffered history commands that do not match the specified regular expression. <Quidway>display history-command | exclude ip...
Page 19
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Example # Display the relational information of user interface 0. <Quidway> display user-interface 0 Type Tx/Rx Modem Privi Auth CON 0 9600 : Current user-interface is active.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Table 1-2 Description on the fields of the display the user-interface summary command Field Description 0: U User interface type 1 character mode users.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Field Description Display the name of the user using this user interface, namely the Username login username of the user. 1.1.8 flow-control...
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Parameter type: Specifies the user interface type. number: Specifies the absolute/relative number of the user interface. Configured together with the type, it will specify the user interface number of the corresponding type.
Page 23
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch word, can be input. The text starts and ends with the first character. After inputting the end character, press the <Enter> key to exit the interact process.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Input banner text, and quit with the character '%'. Go on inputting the rest text and end your input with the first letter: Hello! Welcome % (Press the <Enter>...
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch 1.1.12 idle-timeout Syntax idle-timeout minutes [ seconds ] undo idle-timeout View User interface view Parameter minutes: Specifies the minute, ranging from 0 to 35791.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Description Use the language-mode command to switch between different language environments of command line interface for convenience of different users. By default, the value is English.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch both: Configures to allow call-in and call-out. Description Use the modem command to configure the call-in and call-out attributes of the Modem.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch System View: return to User View with Ctrl+Z. [Quidway] user-interface aux 0 [Quidway] user-interface aux 0 [Quidway-ui-aux0] modem auto-answer 1.1.17 modem timer answer...
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Parameter even: Configures to perform even parity. mark: Configures to perform mark parity. none: Configures not to perform parity. odd: Configures to perform odd parity.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Example # Set the Telnet protocol to be used for user login. <Quidway>system-view System View: return to User View with Ctrl+Z.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch 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.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch <Quidway>system-view System View: return to User View with Ctrl+Z. [Quidway] user-interface aux 0 [Quidway-ui-aux0] screen-length 20 1.1.23 send Syntax send { all | number | type number }...
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Description Use the service-type telnet command to configure which level of command a user can use after login. Use the undo service-type telnet command to restore the default level of command a user can use after login.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Parameter cipher: Displays the current password with cipher text. simple: Displays the current password with plain text. password: If the authentication is in the simple mode, the password must be in plain text.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch View User interface view Parameter None Description Use the shell command to enable terminal service of a user interface. Use the undo shell command to disable the terminal service of a 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 Quidway S8500 Series Routing Switches at present. Example # Set stop bits to 2.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch System View: return to User View with Ctrl+Z. [Quidway] user-interface aux 0 [Quidway-ui-aux0] stopbits 2 1.1.29 super Syntax super [ level ]...
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch 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.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch Parameter text: Specifies the hostname with a character string, ranging from 1 to 30 characters. The default name is Quidway. Description Use the sysname command to configure the hostname of the switch.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch first-number: Specifies the number of the first user interface to be configured. It must be an integer in the range of 0 to 6.
Page 42
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 1 Commands Used to Log in to Switch <Quidway>system-view System View: return to User View with Ctrl+Z. [Quidway] user-interface vty 0 [Quidway-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.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 2 Password Control Configuration Commands Chapter 2 Password Control Configuration Commands 2.1 Password Control Configuration Commands 2.1.1 display password-control Syntax display password-control View Any view Parameter None Description The display password-control command is used to view the password control...
Page 47
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 2 Password Control Configuration Commands Description Use the password-control aging aging-time command to configure the aging time for system login passwords. This command can also be carried out in the local user view.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 2 Password Control Configuration Commands # Disable password aging. [Quidway]undo password-control aging Password aging disabled for all users. # Enable history password recording. [Quidway]password-control history enable Password history enabled for all users.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 2 Password Control Configuration Commands 2.1.8 reset password-control history-record Syntax reset password-control history-record [ username username ] View User view Parameter Username: Specifies a user whose history password record will be deleted.
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 2 Password Control Configuration Commands View User view Parameter level-value: Specifies to delete the history records of super passwords of users at a certain level. The value range is 1 to 3.
Page 52
Command Manual – Getting Started Quidway S8500 Series Routing Switches Chapter 2 Password Control Configuration Commands Example # Check the user information in the blacklist. Suppose the blacklist contains three users: test, tes, and test2. <Quidway> display password-control blacklist USERNAME test 192.168.30.25...
Page 53
HUAWEI Quidway S8500 Series Routing Switches Command Manual Port Huawei Technologies Proprietary...
Page 54
Command Manual – Port Quidway S8500 Series Routing Switches Table of Contents Table of Contents Chapter 1 Ethernet Port Configuration Commands..............1-1 1.1 Ethernet Port Configuration Commands................1-1 1.1.1 broadcast-suppression.................... 1-1 1.1.2 copy configuration ....................1-2 1.1.3 description ....................... 1-3 1.1.4 display counters ......................
Page 55
Command Manual – Port Quidway S8500 Series Routing Switches Table of Contents 2.1.8 display link-aggregation interface................2-7 2.1.9 lacp enable ......................2-8 2.1.10 lacp port-priority..................... 2-9 2.1.11 lacp system-priority ..................... 2-10 2.1.12 link-aggregation....................2-10 2.1.13 link-aggregation group agg-id description............2-11 2.1.14 link-aggregation group agg-id mode ..............
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands Caution: You cannot enable both broadcast suppression and multicast suppression simultaneously on the same card. 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.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands interface-list: Destination port list, interface-list = interface-type interface-number [ to interface-type interface-number ] &<1-10>. &<1-10> indicates that the former parameter can be input 10 times repeatedly at most.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands Note: Statistic values are comma-separated decimal numbers. For the Total, BroadCast and MultiCast items, decimal numbers of 14 digits can be displayed at most, and those of more than 14 digits are indicated with “OverFlow”;...
Page 62
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands The Maximum Frame Length is 1552 Broadcast MAX-ratio: 100% Allow jumbo frame to pass MixInsert-Port VPN status:not enable MixInsert access PVID: 48 Mdi type: auto...
Page 63
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands Field Description Flow-control is not enabled Port flow control status Maximum length of the Ethernet frames The Maximum Frame Length that can pass the port...
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands 1.1.6 display jumboframe configuration Syntax display jumboframe configuration View Any view Parameter None Description Use the display jumboframe configuration command to view the Jumbo frame configuration on all cards.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands Example # Display the Hybrid ports in the current system. <Quidway> display port hybrid The following hybrid ports exist: Ethernet2/1/1 Ethernet2/1/2 The above information displays that the current system has two Hybrid ports, Ethernet2/1/1 and Ethernet2/1/2.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands 1.1.9 flow-control Syntax flow-control undo flow-control View Ethernet port view Parameter None Description Use the flow-control command to enable flow control feature on the Ethernet port to avoid discarding data packets due to congestion.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands Description Use the link-status hold hold-time command to set port hold time. If the Down/Up operation is implemented on ports too frequently, the switch may fail. Therefore, the function is provided to prohibit frequent change of the port status.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands Example # Enter the Ethernet2/1/1 port view. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] interface ethernet2/1/1 1.1.12 jumboframe enable Syntax jumboframe enable [ jumboframe-value ] slot slot-num...
Ethernet port view Parameter external: Ethernet port in external loop mode. Presently, the Ethernet ports of the Quidway S8500 Series Routing Switches do not support this mode. internal: Ethernet port in internal loop mode. Description Use the loopback command to set the Ethernet port in loop mode.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands Parameter across: Network cable type is cross-over cable. auto: Network cable will be recognized whether it is straight-through cable or cross-over cable. normal: Network cable of the port is straight-through cable.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands Use the undo multicast-suppression command to disable the broadcast suppression function. The default multicast suppression ratio is 100%. You can use the multicast-suppression command repeatedly. The effective multicast suppression ratio value is the one last updated.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands 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.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands Example # Configure the default VLAN of the hybrid port Ethernet2/1/1 to 100. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] interface ethernet2/1/1 [Quidway-Ethernet2/1/1] port hybrid pvid vlan 100 1.1.18 port hybrid vlan...
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands View Ethernet port view Parameter wan: Configures the port works in WAN mode, and then only common data exchange can be implemented on the port.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands Description Use the port trunk permit vlan command to join trunk port to specified VLAN. Use the undo port trunk permit vlan command to cancel trunk port from specified VLAN.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands Example # Configure the default VLAN of the trunk port Ethernet2/1/1 to 100. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] interface Ethernet2/1/1 [Quidway-Ethernet2/1/1] port trunk pvid vlan 100 1.1.23 reset counters interface...
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands View Ethernet port view Parameter None Description Use the shutdown command to disable the Ethernet port. Use the undo shutdown command to enable the Ethernet port.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 1 Ethernet Port Configuration Commands Example # Configure Ethernet port Ethernet2/1/1 port speed as 100 Mbps. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] interface Ethernet2/1/1 [Quidway-Ethernet2/1/1] speed 100 1.1.26 vlan-vpn enable...
Command Manual – Port Chapter 2 Ethernet Link Aggregation Configuration Quidway S8500 Series Routing Switches Commands undo debugging link-aggregation error View User view Parameter None Description Use the debugging link-aggregation error command to enable link aggregation error debugging. Use the undo debugging link-aggregation error command to disable link aggregation error debugging.
Command Manual – Port Chapter 2 Ethernet Link Aggregation Configuration Quidway S8500 Series Routing Switches Commands 2.1.5 display lacp system-id Syntax display lacp system-id 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.
Command Manual – Port Chapter 2 Ethernet Link Aggregation Configuration Quidway S8500 Series Routing Switches Commands group type, peer device ID, number of Selected ports, number of Standby ports, load sharing type and master port number. Example # Display summary information of all aggregation information.
Page 85
Command Manual – Port Chapter 2 Ethernet Link Aggregation Configuration Quidway S8500 Series Routing Switches Commands Parameter agg-id: Aggregation group ID, which must be existing ones, in the range of 1 to 920. IDs 1 through 31 indicate manual or static aggregation groups; IDs 32 through 64 are reserved;...
Command Manual – Port Chapter 2 Ethernet Link Aggregation Configuration Quidway S8500 Series Routing Switches Commands Table 2-3 Description on the fields of the display link-aggregation verbose command Field Description Aggregation ID Aggregation group ID Aggregation group type, which can be...
Command Manual – Port Chapter 2 Ethernet Link Aggregation Configuration Quidway S8500 Series Routing Switches Commands 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.
Command Manual – Port Chapter 2 Ethernet Link Aggregation Configuration Quidway S8500 Series Routing Switches Commands View Ethernet port view Parameter None Description Use the lacp enable command to enable LACP. Use the undo lacp enable command to disable LACP.
Command Manual – Port Chapter 2 Ethernet Link Aggregation Configuration Quidway S8500 Series Routing Switches Commands [Quidway-Ethernet1/1/1] lacp port-priority 64 2.1.11 lacp system-priority Syntax lacp system-priority system-priority-value undo lacp system-priority View System view Parameter system-priority-value: System priority, in the range of 0 to 65,535. By default, it is 32,768.
Command Manual – Port Chapter 2 Ethernet Link Aggregation Configuration Quidway S8500 Series Routing Switches Commands Description Use the link-aggregation command to configure a series of ports to aggregation port. Related command: link-aggregation group agg-id mode, port link-aggregation group. Note: When a port is added into an aggregation group, the original ARP information of the port will be lost.
Command Manual – Port Chapter 2 Ethernet Link Aggregation Configuration Quidway S8500 Series Routing Switches Commands System View: return to User View with Ctrl+Z. [Quidway] link-aggregation group 22 mode manual 2.1.15 port link-aggregation group Syntax port link-aggregation group agg-id undo port link-aggregation group...
Page 93
Command Manual – Port Chapter 2 Ethernet Link Aggregation Configuration Quidway S8500 Series Routing Switches Commands Parameter interface interface-type interface-number [ to interface-type interface-number ]: Specifies a port or ports. The command without the parameter to specifies one port, while the command with the parameter to specifies several contiguous ports.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 3 POS Port Configuration Commands Parameter 16: CRC checkbit is 16 bits. 32: CRC checkbit is 32 bits. Description Use the crc command to define CRC checkbit length at the POS port.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 3 POS Port Configuration Commands [Quidway] interface pos2/1/1 [Quidway-Pos2/1/1] description pos-interface 3.1.4 display interface pos Syntax display interface pos [ interface-number ] View Any view Parameter interface-number: POS port number, in the format of board slot ID/daughter card slot ID/ port ID, where board slot ID refers to the ID of the slot for LPU, in the range of 2 to 6 (for S8505), or 0 to 3 and 6 to 9 (for S8508), or 0 to 5 and 8 to 13 (for S8512);...
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 3 POS Port Configuration Commands View User view Parameter ipcp: IPCP debugging switch. lcp: LCP debugging switch. all: All POS debugging switch core event: PPP core event debugging switch. ip packet: IP packet debugging switch.
Page 100
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 3 POS Port Configuration Commands undo flag { j0 | j1 } { sdh | sonet } View POS port view/Ethernet GE port view Parameter c2: Signal label byte C2 belongs to high-order path overhead byte, and is used to indicate the multiplexing structure and message payload of the VC (virtual container) frame.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 3 POS Port Configuration Commands (for S8505), or 0 to 3 and 6 to 9 (for S8508), or 0 to 5 and 8 to 13 (for S8512); daughter card slot ID refers to the ID of the slot for daughter, with the value of 1; port ID refers to the sequence number on the LPU for the port, in the range of 1 to 4.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 3 POS Port Configuration Commands Syntax mtu mtu-value View POS port view Parameter mtu: MTU on the POS port. mtu-value: MTU value, in the range of 64 to 9,192 (in bytes). By default, it is 1,500 bytes.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 3 POS Port Configuration Commands Use the pos access vlan command to add the POS port into the designated VLAN. Use the undo pos access vlan command to delete the POS port from the designated VLAN.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 3 POS Port Configuration Commands 3.1.13 reset counters interface pos Syntax reset counters interface pos [ interface-number ] View User view Parameter interface-number: POS port number, in the format of board slot ID/daughter card slot ID/ port ID, where board slot ID refers to the ID of the slot for LPU, in the range of 2 to 6 (for S8505), or 0 to 3 and 6 to 9 (for S8508), or 0 to 5 and 8 to 13 (for S8512);...
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 3 POS Port Configuration Commands System View: return to User View with Ctrl+Z. [Quidway] interface pos2/1/1 [Quidway-Pos2/1/1] scramble 3.1.15 shutdown Syntax shutdown undo shutdown View POS port view Parameter None Description Use the shutdown command to shut down the POS port.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 3 POS Port Configuration Commands Description Use the threshold command to set the thresholds of SD (signal degrade) and SF (signal failure) alarms. Use the undo threshold command to restore the defaults.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands Parameter all: All RPR debugging. topology: RPR topology database modular debugging switch. protection: RPR protection modular request debugging switch. controlframe: RPR control frame processing debugging switch.
Page 110
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands information, including the status information about RPR POS logical and physical ports. If you specify port number, the command displays the information about the specified port.
Page 111
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands - broadcasts, - multicasts, 0 pauses Output: 0 output errors, - underruns, - buffer failures 0 aborts, 0 deferred, - collisions, 0 late collisions - lost carrier, - no carrier...
Page 112
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands 496377 496378 Mode Packet Byte SaStrip TtlDrop TxFlood RxFlood Table 4-1 Description on the fields of the display interface command Field Description RprPos4/1/1 current state...
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands Field Description Identifies the untagged packets in the Untagged VLAN ID port’s VLANs Last 300 seconds input: 0 packets/sec 0 bits/sec Input and output rates and number of...
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands Description Use the display rpr defect command to view all RPR defects. The value 1 indicates defects are found. The value 0 indicates there is no defect.
Page 115
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands View Any view Parameter None Description Use the display rpr fairness command to view configurable RPR fairness parameter values. Example # Query main RPR fairness parameters.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands Field Description Local Rate-limiter bandwidth for medium Local rate-limiter bandwidth for class on ringlet0 B-CIR on ringlet0 Local Rate-limiter bandwidth for medium Local rate-limiter bandwidth for class...
Page 117
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands Example # Display protection information. <Quidway> dis rpr protection Protection information of the interface: RprPos6/1/1 Protection mode configured: steer Protection mode effective: steer Protection reversion mode: revertive...
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands Field Description Protection start time on the east span Protection start time on the east span Protection start time on the west span Protection start time on the west span 4.1.7 display rpr rs-table...
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands Description Use the display rpr timers command to display all configurable RPR timer values. Example #Query all RPR timer values. <Quidway> display rpr timers RPR2/1/1...
Page 121
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands View Any view Parameter all: Displays complete RPR topology information. ring: Displays ring-level topology information. local: Displays local node topology information. stations: Displays all node topology information on the ring.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands Last known neighbour on ringlet0:00e0-fc5a-6fd9 Last known neighbour on ringlet1:00e0-fc39-aa35 Local topology state:topology is valid 4.1.11 flag Syntax flag { c2 c2-value | j0 j0-value | j1 j1-value }...
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands idle: Clears forced switchover or manual switchover and enters Idle state. ringlet0: Requests switchover in Ringlet0. ringlet1: Requests switchover in Ringlet1. Description Use the rpr admin-request fs command to generate a forced switchover request, making the node enter forced switchover status.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands View RPR logical port view Parameter mac: MAC address of the destination node to be detected. station-name: Name of the destination node to be detected. You can select either node name or MAC address.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands Description Use the rpr default-rs command to configure the default RPR ring ID. Broadcast, multicast and Flooding packets are transmitted in the default ring. Note that the default ring selection is the sending sub-ring.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands Example # Configure Tag priorities 6 and 7 as class A service, priorities 2, 3, 4 and 5 as class B service, and priorities 0 and 1 as class C service.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands Parameter high: Class A service; the default value is 20 Mbps. low: Class C and class B-EIR service. medium: Class B-CIR service. reserved: Configures the reserved bandwidth for class A0 service, which has the highest priority;...
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands Parameter non-revertive: Sets the protection reversion mode to non-revertive. After the WTR timer times out, the service cannot be restored till others request high priority protection in the ring.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands Note that two nodes’ bridge MAC addresses cannot be the same on the ring. Here both Ringlet0 and Ringlet1 refer to sending sub-rings. Example # Transport data packets to the destination node with MAC address 0001-0002-0003 over ringlet0, and transport data packets to the destination node with MAC address 0001-0002-0004 over ringlet1.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands View PRP logical port view Parameter atd value: Ranges from 1 to 10 (in seconds). fdd value: Ranges from 10 to 1,000 (in milliseconds). holdoff value: Ranges from 0 to 200 (in milliseconds), in steps of 10 milliseconds.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 4 RPR Port Configuration Commands value: Node weight. The default value is 1. Description Use the rpr weight command to configure the node weight. Fairness algorithm uses node weight to calculate local fairness rate. The default weight is 1.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 5 IDS Linkage Configuration Commands name: Name of the IDS item to be displayed. source ip-addr: Displays IDS linkage information about the specified source IP address. destination ip-addr: Displays IDS linkage information about the specified destination IP address.
Page 137
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 5 IDS Linkage Configuration Commands Use the undo debugging ids-acl command to disable IDS linkage debugging. By default, IDS linkage debugging is disabled. Example # Enable IDS linkage debugging. <Quidway>debugging ids-acl # Disable IDS linkage debugging.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 6 Port Isolation Configuration Commands Chapter 6 Port Isolation Configuration Commands 6.1 Port Isolation Configuration Commands 6.1.1 port-isolate group Syntax port-isolate group isolate-group-id undo port-isolate group isolate-group-id View System view Parameter isolate-group-id: Isolated group number, ranging from 1 to 64.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 6 Port Isolation Configuration Commands Parameter isolate-group-id: Isolated group number, ranging from 1 to 64. The system supports 64 isolated groups. Description Use the port-isolate uplink-port group command to configure the port as an upstream port.
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 6 Port Isolation Configuration Commands Note that: You can configure isolated ports for the isolated group only after you create the isolated group. An isolated port can only be an Ethernet port or RPR logic port.
Page 141
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 6 Port Isolation Configuration Commands Port-isolate-group ID: 2 Uplink-port: Ethernet3/1/4 Isolate-Port(s): Ethernet3/1/5, Ethernet3/1/6 Huawei Technologies Proprietary...
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 7 Port Packet Statistics Commands After you user the set egress counter command to set the monitoring mode of a card, the counters will be automatically reset. By default, a card does not implement egress packet statistics.
Page 144
Command Manual – Port Quidway S8500 Series Routing Switches Chapter 7 Port Packet Statistics Commands The mode of counter0: Interface : all VLAN : all TC : all DP : all The outgoing packets: Unicast : 5000 packets Multicast : 2000 packets...
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 1 VLAN Configuration Commands Parameter None Description Use the display trap-to-cpu command to view the related information about the CPU port. Example # Display related information about the CPU port <Quidway>...
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 1 VLAN Configuration Commands Description : Vlan-interface1 Interface The Maximum Transmit Unit is 1500 Table 1-1 Description on the fields of the display interface Vlan-interface command Field Description Vlan-interface1 current state...
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 1 VLAN Configuration Commands Description Use the interface vlan-interface command to configure VLAN interface or enter VLAN interface view. Use the undo interface vlan-interface command to cancel one VLAN interface.
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 1 VLAN Configuration Commands Parameter None Description Use the shutdown command to disable the VLAN interface. 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.
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 1 VLAN Configuration Commands Parameter vlan-id-list: vlan-id-list = [ vlan-id1 [ to vlan-id2 ] ]&<1-10>, specifies the range of VLANs to be created. The value range of vlan-id is 1 to 4094. &<1-10> means that the preceding parameter can be repeated up to 10 times.
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 1 VLAN Configuration Commands Parameter interface-list: List of Ethernet ports, expressed as interface-list= { interface-type interface-number [ to { interface-type interface-number ] }&<1-10>. interface-type is interface type, interface-number is interface number. The interface number after the keyword to must be larger than or equal to the interface number before to.
Page 160
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 1 VLAN Configuration Commands Description Use the protocol-vlan command to specify the parameters of VLANs based on AppleTalk, IP, IPX, etc. Use the undo vlan-type protocol command to cancel this configuration.
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 2 GARP/GVRP Configuration Commands View Any view Parameter interface-list: List of Ethernet ports of which the GRRP timer information is to be displayed, expressed as interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1-10>.
Page 163
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 2 GARP/GVRP Configuration Commands join: GARP Join timer. GARP application entity will send out Join message after the Join timer goes timeout to make other GARP application entity register its own information.
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 2 GARP/GVRP Configuration Commands 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.
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 2 GARP/GVRP Configuration Commands GVRP Failed Registrations GVRP Last Pdu Origin : 0000-0000-0000 GVRP Registration Type : Normal Table 2-1 Description on the fields of the display gvrp statistics command...
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 2 GARP/GVRP Configuration Commands undo gvrp View System view/Ethernet port view Parameter None Description Use the gvrp command to enable GVRP. Use the undo gvrp command to disable GVRP. By default, GVRP is disabled.
Page 168
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 2 GARP/GVRP Configuration Commands Description Use the gvrp registration command to configure GVRP registration type. Use the undo gvrp registration command to restore the default type. By default, the registration type is normal.
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 3 Super VLAN Configuration Commands Chapter 3 Super VLAN Configuration Commands 3.1 Super VLAN Configuration Commands 3.1.1 display supervlan Syntax display supervlan [ supervlan-id ] View Any view Parameter supervlan-id: VLAN ID of a configured super VLAN. This argument ranges from 1 to 4094.
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 3 Super VLAN Configuration Commands Untagged Ports: none [Quidway]display vlan 3 VLAN ID: 3 VLAN Type: static It is a Sub VLAN. And the Super VLAN is VLAN 2 ARP proxy enabled.
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 3 Super VLAN Configuration Commands 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.
Page 172
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 3 Super VLAN Configuration Commands Use the undo supervlan command to cancel the super VLAN type of a VLAN. By default, no type is configured for a VLAN. Note that: You cannot add ports to a super VLAN.
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 4 Isolate-User-Vlan Configuration Commands 4.1.3 isolate-user-vlan enable Syntax isolate-user-vlan enable undo isolate-user-vlan enable View VLAN view Parameter None Description Use the isolate-user-vlan enable command to set a VLAN as an isolate-user-VLAN.
Page 177
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 4 Isolate-User-Vlan Configuration Commands Note: One isolate-user-vlan can be mapped to up to 64 Secondary VLANs. You can configure up to 32 isolate-user-VLANs for the system. You can configure up to 1024 Secondary VLANs for the system.
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 5 Q-in-Q Configuration Commands Chapter 5 Q-in-Q Configuration Commands 5.1 Q-in-Q Configuration Commands 5.1.1 display port vlan-vpn Syntax display port vlan-vpn View Any view Parameter None Description Use the display port vlan-vpn command to display VLAN VPN-related information of the current system by port number, including current TPID, the information about VLAN-VPN ports, and the information about VLAN-VPN uplink ports.
Page 179
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 5 Q-in-Q Configuration Commands II. Use the following command to deliver Layer 2 and Layer 3 traffic classification rules simultaneously. traffic-redirect inbound ip-group { acl-number | acl-name } [ rule rule ] link-group...
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 5 Q-in-Q Configuration Commands modified-vlan modified-vlanid: Changes the outer VLAN tags of the packets that match the specified ACL rules. The modified-vlanid argument is the new VLAN ID to be inserted in the packets.
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 5 Q-in-Q Configuration Commands Parameter None Description Use the vlan-vpn enable command to enable VLAN VPN feature for the port. Use the undo vlan-vpn command to disable VLAN VPN feature for the port.
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 5 Q-in-Q Configuration Commands Parameter value: TPID value to be set (in hexadecimal format). This argument ranges from 1 to 0xFFFF. Description Use the vlan-vpn tpid command to set the TPID value of the VLAN-VPN uplink ports.
Page 183
Command Manual – VLAN&QinQ Quidway S8500 Series Routing Switches Chapter 5 Q-in-Q Configuration Commands Parameter None Description Use the vlan-vpn uplink enable command to set a port to be a VLAN-VPN uplink port. Use the undo vlan-vpn uplink command to remove the configuration.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 1 IP Address Configuration Commands Chapter 1 IP Address Configuration Commands 1.1 IP Address Configuration Commands 1.1.1 display ip host Syntax display ip host View Any view Parameter None...
Page 189
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 1 IP Address Configuration Commands View Any view Parameter interface-type interface-number: interface-type refers to the interface type, and interface-number refers to the interface number. Refer to the interface command in Port Command Manual for more information.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 1 IP Address Configuration Commands Table 1-2 Description on the fields of the display ip interface command Field Description Vlan-interface1 current state Current state of the VLAN interface 1...
Page 191
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 1 IP Address Configuration Commands View VLAN interface view, loopback interface view, or console view Parameter ip-address: IP address of VLAN interface in dotted decimal format. mask: Corresponding subnet mask in dotted decimal format.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 1 IP Address Configuration Commands Note: When you use the ip address command to configure IP addresses of VLAN interfaces, the system will prompts if you continue if the IP address you configure is in different network segment from the existing IP address.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 1 IP Address Configuration Commands Description Use the ip host command to configure the host name and the host IP address. Use the undo ip host command to cancel the host name and the host IP address.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 2 ARP Configuration Commands ARP mapping entries with port parameters can be configured on manually aggregated ports or static aggregated ports, but cannot be configured on LACP-enabled dynamic aggregated ports.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 2 ARP Configuration Commands vpn-instance-name: The VPN instance name of the VPN which the IP address belongs Description Use the arp static multi-port command to add a multicast ARP port. When you add the first port, the system generates a multicast ARP entry.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 2 ARP Configuration Commands System view Parameter aging-time: Aging time of dynamic ARP aging timer, which is in the range of 1 to 1440 minutes. By default, the aging time is 20 minutes.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 2 ARP Configuration Commands Use the display arp command to view the ARP mapping table. Related command: arp static, reset arp, debugging arp. Example # Display all the ARP entries.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 2 ARP Configuration Commands Description 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;...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 2 ARP Configuration Commands Use the undo gratuitous-arp-learning enable command to disable the gratuitous ARP packet learning function. By default, the gratuitous ARP packet learning function is enabled. By sending gratuitous ARP packets, a network device can: Determine whether or not IP address conflicts exist between it and other network devices.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 3 ARP Table Size Configuration Commands 3.1.2 arp max-aggregation-entry Syntax arp max-aggregation-entry max-aggnum undo arp max-aggregation-entry View System view Parameter max-aggnum: Maximum number of ARP entries for aggregation port (that is, aggregation ARP entries) supported by each card.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 3 ARP Table Size Configuration Commands View System view Parameter 4: Configures the maximum number of ARP entries of the whole switch to 4K (1K = 1024). 64: Configure the maximum number of ARP entries of the whole switch to 64K.
Page 208
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 3 ARP Table Size Configuration Commands View Any view Parameter None Description Use the display arp max-entry command to display the current maximum numbers of ARP entries and the intending counterparts that will take effect after the switch restarts next time.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands Chapter 4 DHCP Configuration Commands 4.1 General DHCP Configuration Commands 4.1.1 dhcp enable Syntax dhcp enable undo dhcp enable View System view Parameter None Description Use the dhcp enable command to enable DHCP service.
Page 210
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands undo dhcp select { interface vlan-interface vlan-id [ to vlan-interface vlan-id ] | all } View VLAN interface view, system view Parameter global: Specifies to forward DHCP packets to local DHCP server and let the local server assign IP addresses in global address pools to DHCP clients.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands [Quidway] interface vlan-interface 1 [Quidway-Vlan-interface1] dhcp select global 4.1.3 dhcp server detect Syntax dhcp server detect undo dhcp server detect View System view Parameter None Description Use the dhcp server detect command to enable fake DHCP server detection.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands event: Used to enable/disable debugging for DHCP server events, including the assigning of IP addresses and timing out of ping packets. packet: Specifies debugging for packets received/sent by DHCP servers, including DHCP packets and ping packets.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands Example # Set the IP address lease time of the DHCP address pool of VLAN interface 1 to unlimited. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands 4.2.7 dhcp server ip-pool Syntax dhcp server ip-pool pool-name undo dhcp server ip-pool pool-name 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.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands View VLAN interface view, system view Parameter ip-address: NetBIOS server IP address. You can specify up to eight IP addresses (separated by spaces) in one command.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands Parameter all: Specifies all IP addresses. ip ip-address: Specifies an IP address. Description Use the display dhcp server conflict command to display the statistics about DHCP address conflicts.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands Description Use the display dhcp server expired command to display information about lease-expired addresses. If no available IP address exists in a DHCP address pool, the DHCP server assigns the lease-expired IP addresses in the pool to DHCP clients as needed.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands Example # Display the ranges of available (unassigned) IP addresses in DHCP address pools. <Quidway> display dhcp server free-ip IP Range from 1.0.0.0 2.2.2.1 IP Range from 2.2.2.3 2.255.255.255...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands 5.5.5.1 0050-ba28-930a Jun 5 2003 10:56: 7 AM Auto:COMMITED Table 4-3 Description on the fields of the display dhcp server ip-in-use command Fields Description The information followed is about bound IP addresses in...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands Field Description The valid period of the leased IP addresses in the expired address pool, including number of days, hours and minutes The list of outbound gateways configured for the DHCP...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands System View: return to User View with Ctrl+Z. [Quidway] dhcp server ip-pool 0 [Quidway-dhcp-0] dns-list 1.1.1.254 4.2.20 domain-name Syntax domain-name domain-name undo domain-name View DHCP address pool view Parameter domain-name: Domain name, a string that is of 3 to 50 characters in length.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands Parameter day day: Specifies the number of days. The day argument ranges from 0 to 365. hour hour: Specifies the number of hours. The hour argument ranges from 0 to 23.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands Use the undo gateway-list command to remove one or all outbound gateway addresses configured for DHCP clients. By default, no outbound gateway address is configured for DHCP clients.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands Example # Configure a NetBIOS server with an IP address of 10.12.1.99 for the global DHCP address pool named 0. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands View User view Parameter ip-address: Clears statistics about the specified IP address conflicts. all: Clears all statistics about address conflicts. Description Use the reset dhcp server conflict command to clear statistics information about DHCP address conflicts.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands <Quidway> reset dhcp server ip-in-use ip 10.110.1.1 4.2.29 reset dhcp server statistics Syntax reset dhcp server statistics View User view Parameter None Description Use the reset dhcp server statistics command to clear statistics information about...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands Use the undo static-bind ip-address command to free a statically bound IP address. By default, no IP address is statically bound. The static-bind ip-address command and the static-bind mac-address command...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands 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. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands ServerIpAddress: 192.168.1.2 *0.7200230-DHCP-8-dhcp_debug: From server to client: Interface: VLAN-Interface 1 ServerGroupNo: 0 Type: dhcp-ack ClientHardAddress: 0010-dc19-695d your ip address: 10.1.1.1 *0.7200580-DHCP-8-largehop: Discard DHCP request packet because of too large hop count! *0.7200725-DHCP-8-invalidpkt:...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands Description Use the dhcp relay security command to add a user address entry for the DHCP server. Use the undo dhcp relay security command to remove a user address entry configured for the DHCP server.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands 4.3.4 dhcp-server detect Syntax dhcp server detect undo dhcp server detect View System view Parameter None Description Use the dhcp server detect command to enable fake DHCP server detecting.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands Description Use the display dhcp relay address command to display information about DHCP servers configured for a VLAN interface. Example # Display information about DHCP servers configured for all VLAN interfaces.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands Table 4-7 Description on the fields of the display dhcp-security command Field Description IP Address User IP address MAC Address User MAC address Type of the user address entry, which...
Page 246
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 4 DHCP Configuration Commands Example # Specify users belonging to VLAN interface 1 to acquire their IP addresses from a specified DHCP server. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 5 DHCP Option 82 Configuration Commands [Quidway] undo dhcp relay information enable 5.1.2 dhcp relay information strategy Syntax dhcp relay information strategy { drop | keep | replace }...
Page 249
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 5 DHCP Option 82 Configuration Commands View System view Parameter None Description Use the dhcp server relay information enable command to enable the function of Option 82 support on DHCP server.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 6 DNS Configuration Commands 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.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 6 DNS Configuration Commands By default, DNS debugging is disabled. Example # Enable DNS debugging <Quidway> debugging dns make DNS packet for name adcd.com succeed The information above indicates that the query packet for the domain name “abcd.com”...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 6 DNS Configuration Commands Table 6-2 Description on the fields of the display dns domain command Field Description Sequence number Domain-name Domain name suffix name 6.2.3 display dns dynamic-host...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 6 DNS Configuration Commands 6.2.4 display dns server Syntax display dns server View Any view Parameter None Description Use the display dns server command to view the related information of the domain name server.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 6 DNS Configuration Commands Description Use the dns domain command to add the domain name suffix. 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.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 6 DNS Configuration Commands 6.2.7 dns server Syntax dns server ip-address undo dns server [ ip-address ] View System view Parameter ip-address: IP address of the domain name server.
Page 257
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 6 DNS Configuration Commands Example # Clear the dynamic domain name buffer. <Quidway> reset dns dynamic-host Huawei Technologies Proprietary...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands Chapter 7 IP Performance Configuration Commands 7.1 IP Performance Configuration Commands 7.1.1 display fib Syntax display fib View Any view Parameter None Description Use the display fib command to view the entries of the forwarding information base.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands Field Description The flag options include: B – Blackhole route D – Dynamic route G – Gateway route Flag H – Local host route S –...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands Example # Display the FIB entries whose destination addresses match 169.253.0.0 in the natural mask range or which match most of 169.253.0.0.. <Quidway> display fib 169.253.0.0...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands 7.1.4 display fib | Syntax display fib | { { begin | include | exclude } text } View Any view Parameter begin: Displays the FIB entries from the first one containing the character string text.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands Example # Display the FIB entries matching the prefix list abc0. <Quidway> display fib ip-prefix abc0 Route Entry matched by prefix-list abc0: Summary count: 3...
Page 263
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands 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.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands Field Description time exceeded Number of packets that exceeds the time 7.1.8 display ip socket Syntax display ip socket [ socktype sock-type ] [ task-id socket-id ]...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands socket state = SS_ISCONNECTED SS_PRIV SS_ASYNC Table 7-3 Description on the fields of the display ip socket command Field Description SOCK_STREAM The socket type...
Page 266
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands bad checksum bad options Output: forwarding local dropped no route compress fails 0 Fragment:input output dropped fragmented couldn't fragment 0 Reassembling:sum timeouts Table 7-4 Description on the fields of the display ip statistics command...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands 7.1.10 display tcp statistics Syntax display tcp statistics View Any view Parameter None Description Use the display tcp statistics command to view the statistics information about TCP packets.
Page 268
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands Initiated connections: 0, accepted connections: 0, established connections: Closed connections: 0 (dropped: 0, initiated dropped: 0) Packets dropped with MD5 authentication: 0 Packets permitted with MD5 authentication: 0...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands Field Description Number of window probe packets: 0 window probe packets: 0, window update packets: 2 Number of window update packets: 2 Number of data packets: 618 (total of...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands Parameter None Description Use the display tcp status command to view all TCP connection states. This helps user monitor TCP connection at any time.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands <Quidway> display udp statistics Received packet: Total:0 checksum error:0 shorter than header:0, data length larger than packet:0 no socket on port:0 broadcast:0 not delivered, input socket full:0...
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands Description Use the reset ip statistics command to clear the IP statistics information. Related command: display ip interface, display ip statistics. Example # Clear the IP statistics information.
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands Parameter time-value: TCP synwait timer value measured in seconds, whose value ranges from 2 to 600. The default time-value is 75 seconds. Description Use the tcp timer syn-timeout command to configure the TCP synwait timer.
Page 275
Command Manual – Network Protocol Quidway S8500 Series Routing Switches Chapter 7 IP Performance Configuration Commands System View: return to User View with Ctrl+Z. [Quidway] tcp window 3 Huawei Technologies Proprietary 7-18...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 1 Static Route Configuration Commands Chapter 1 Static Route Configuration Commands Note: 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 S8500 series routing switch running routing protocols.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 1 Static Route Configuration Commands Destination/Mask Protocol Pre Cost Nexthop Interface 1.1.1.0/24 DIRECT 0 1.1.1.1 Vlan-interface1 1.1.1.1/32 DIRECT 0 127.0.0.1 InLoopBack0 2.2.2.0/24 DIRECT 0 2.2.2.1 Vlan-interface2 2.2.2.1/32 DIRECT 0 127.0.0.1...
Page 286
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 1 Static Route Configuration Commands Description 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 287
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 1 Static Route Configuration Commands Age: 7:24 Cost: 0/0 Tag: 0 Table 1-2 Description of the fields of the display ip routing-table acl verbose command Field Description Destination Destination address...
Page 288
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 1 Static Route Configuration Commands Field Description Route state description: ActiveU Valid unicast route. U stands for unicast. Blackhole route is similar to Reject route, but it will not...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 1 Static Route Configuration Commands 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.
Page 290
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 1 Static Route Configuration Commands This command displays all destination address route matching with destination address in natural mask range. Example # There is a corresponding route in natural mask range. Display the summary.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 1 Static Route Configuration Commands Routing tables: Generate Default: no + = Active Route, - = Last Active, # = Both * = Next hop in use Summary count: 1 **Destination: 192.168.1.0...
Page 292
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 1 Static Route Configuration Commands <Quidway>display ip routing-table 1.1.1.0 24 2.2.2.0 24 Routing tables: Summary count: 3 Destination/Mask Protocol Pre Cost Nexthop Interface 1.1.1.0/24 DIRECT 1.1.1.1 Vlan-interface1 1.1.1.1/32 DIRECT 127.0.0.1...
Page 294
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 1 Static Route Configuration Commands View Any view Parameter inactive: With the parameter, this command displays the inactive route information. Without the parameter, this command displays the active and inactive route information.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 1 Static Route Configuration Commands Table 1-3 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 1.1.8 display ip routing-table statistics...
Page 301
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 1 Static Route Configuration Commands Parameter vpn-instance: Specifies VPN instance parameter. vpn-instance-name-list: instance name list. vpn-instance-name-list= vpn-instance-name & <1-6>. &<1-6> in the command represents that the preceding parameter can be input repeatedly up to 6 times.
Page 302
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 1 Static Route Configuration Commands Example # Configure the next hop of the default route as 129.102.0.2. [Quidway] ip route-static 0.0.0.0 0.0.0.0 129.102.0.2 # Configure static route 129.102.0.2 255.255.255.0 in multiple VPNs.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands Chapter 2 RIP Configuration Commands Note: 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 S8500 series routing switch running routing protocols.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands Example # Configure not to perform zero check for RIP-1 packet. [Quidway-rip] undo checkzero 2.1.2 default cost Syntax default cost value undo default cost View...
Page 305
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands Description Use the display rip command to view the current RIP running state and its configuration information. Example # Display the current running state and configuration information of the RIP.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands View RIP view Parameter acl-number: Access control list number used for filtering the destination addresses of the routing information. ip-prefix-name: Name of address prefix list used for filtering the destination addresses of the routing information.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands Description Use the host-route command to control the RIP to accept the host route. Use the undo host-route command to reject the host route. By default, RIP accepts the host route.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands 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”.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands not forward the routes of the interface using this command and it seems that the interface disappeared. When the network command is used on an address, the effect is that the interface on the network segment at this address is enabled.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands undo preference View RIP view Parameter value: Preference level, ranging from 1 to 255. By default, the value is 100. Description Use the preference command to configure the route preference of RIP.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands 2.1.12 rip Syntax undo rip View system view Parameter None Description Use the rip command to enable the RIP and enter the RIP view. Use the undo rip command to disable RIP.
Page 313
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands View Interface view Parameter simple: Simple text authentication mode. password: Simple text authentication key. It is a character string of 1 to 16 characters. md5: MD5 cipher text authentication mode.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands Parameter value: Additional route metric added when an interface receives a packet, ranging from 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.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands View Interface view Parameter None Description Use the rip split-horizon command to configure an interface to use split horizon when transmitting RIP packets. Use undo rip split-horizon command to configure an interface not to use split horizon when transmitting RIP packets.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands 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.
Page 319
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 2 RIP Configuration Commands Example # Disable the interface Vlan-interface 10 to run the RIP. [Quidway] interface Vlan-interface 10 [Quidway-Vlan-interface10] undo rip work 2.1.21 summary Syntax summary undo summary...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Chapter 3 OSPF Configuration Commands Note: 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 S8500 series routing switch running routing protocols.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands areas. Route summarization refers to that the routing information is processed in the ABR and for each network segment configured with route summarization, there is only one route transmitted to other areas.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands View OSPF view Parameter ip-address: Matched IP address in dotted decimal format. mask: IP address mask in dotted decimal format. not-advertise: Do not advertise routes matching the specified IP address and mask.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Parameter simple: Uses simple text authentication mode. md5: Uses MD5 cipher text authentication mode. Description Use the authentication-mode command to configure one area of OSPF to support the authentication attribute.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Description Use the default cost command to configure the default cost for OSPF to import external routes. Use the undo default cost command to restore the default value of the default routing cost configured for OSPF to import external routes.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands 3.1.8 default limit Syntax default limit routes undo default limit View OSPF view Parameter routes: Default value to the imported external routes in a unit time, ranging from 200 to 2,147,483,647.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Description 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.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Example # Specify the default type as type 1 when OSPF imports an external route. [Quidway-ospf-1] default type 1 3.1.11 default-cost Syntax default-cost value undo default-cost...
Page 330
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands undo default-route-advertise [ always | cost | type | route-policy ]* View OSPF view Parameter always: The parameter will generate an ASE LSA which describes the default route and will advertise it if the local router is not configured with the default route.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands 3.1.13 display debugging ospf Syntax display debugging ospf View Any view Description Use the display debugging ospf command to view the debugging states of global OSPF and all processes.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Example # Display the information of the OSPF area border routers and autonomous system border routers. <Quidway> display ospf abr-asbr OSPF Process 1 with Router ID 10.110.98.138...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Example # Display the summary information of all OSPF imported routes. <Quidway> display ospf asbr-summary OSPF Process 1 with Router ID 1.1.1.1 Summary Addresses Total summary address count: Summary Address : 168.10.0.0...
Page 334
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 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 brief command to view the main summary of OSPF.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Field Description Default Default ASE parameters of OSPF, including metric, type parameters and tag computation SPF computation count since OSPF is enabled count Area Count...
Page 336
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Description Use the display ospf cumulative command to view the OSPF cumulative information. Example # Display the OSPF cumulative information. <Quidway> display ospf cumulative OSPF Process 1 with Router ID 1.1.1.1...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Field Description Router Number of all Router LSAs SumNet Number of all Sumnet LSAs SumASB Number of all SumASB LSAs Neighbors Number of neighbors in this area...
Page 340
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 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. interface-type interface-number: Specifies an interface.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Forwarding Address: 0.0.0.0 Tag: 1 Table 3-8 Description of the fields of the display ospf lsdb ase command Field Description type Type of the LSA...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands 85.1.1.2 63.56.1.1 Vlan-interface561 Down Table 3-10 Description of the fields of the display ospf peer brief command Field Description Router ID Router ID of neighbor router...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Table 3-11 Description of the fields of the display ospf request-queue command Field Description RouterID Router ID of neighbor router Address of the interface, through which neighbor routers...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Type: ASE LSID:129.11.108.0 AdvRouter:103.160.1.1 Table 3-12 Description of the fields of the display ospf retrans-queue command Field Description RouterID Router ID of neighbor router Address...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Intra Area: 2 Inter Area: 0 ASE: 0 NSSA: 0 Table 3-13 Description of the fields of the display ospf routing command Field Description Destination...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands OSPF Process 1 with Router ID 1.1.1.1 Virtual Links Virtual-link Neighbor-id -> 2.2.2.2, State: Full Cost: 0 State: Full Type: Virtual Transit Area: 0.0.0.2 Timers: Hello 10, Dead 40, Poll 0, Retransmit 5, Transmit Delay 1...
Page 351
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands routing-protocol: Protocol advertising the routing information, including direct, isis, bgp, rip and static at present. Description Use the filter-policy export command to configure the rule used by OSPF to filter advertised routing information.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Description Use the filter-policy export command to set the filter condition for the Type-3 LSAs advertised from an OSPF area. Use the undo filter-policy export command to cancel the set filter condition.
Page 353
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Description Use the filter-policy import command to configure the OSPF rules of filtering the routing information received. Use the undo filter-policy import command to cancel the filtering of the routing information received.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Description Use the filter-policy import command to set the filter condition for the Type-3 LSAs received by an OSPF area. Use the undo filter-policy import command to cancel the set filter condition.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands type value: Specifies the cost type of imported external routes. The value ranges from 1 to 2. tag value: Specifies the value of tag for imported external routes.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands 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.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands 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.
# Set the area 1 where the network segment 131.119.0.0 of Interface Vlan-interface 1 is located to support MD5 cipher text authentication. The authentication key identifier is set to 15 and the authentication key is Huawei. [Quidway-ospf-1] area 1 [Quidway-ospf-1-area-0.0.0.1] network 131.119.0.0 0.0.255.255 [Quidway-ospf-1-area-0.0.0.1] authentication-mode md5...
Use the ospf cost command to configure different message sending costs so as to send messages from different interfaces. Use the undo ospf cost command to restore the default cost. For Quidway S8500 Series Routing Switches, the default cost for running OSPF protocol on the VLAN interface is 10. Example # Specify the cost spent when an interface runs OSPF as 33.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands [Quidway] interface Vlan-interface 10 [Quidway-Vlan-interface10] ospf dr-priority 8 3.1.40 ospf mib-binding Syntax ospf mib-binding process-id undo ospf mib-binding 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.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Parameter None Description Use the ospf mtu-enable command to enable the interface to write MTU value when sending DD packets. Use the undo ospf mtu-enable command to restore the default settings.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands OSPF divides networks into four types by link layer protocol: Broadcast: If Ethernet or FDDI is adopted, OSPF defaults the network type to broadcast. Non-Broadcast Muli-access (nbma): If Frame Relay, ATM, HDLC or X.25 is adopted, OSPF defaults the network type to NBMA.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands minimal: Specifies the port to run Fast Hello function. multi-hello: Sends multiple hello packets. packets: Number of Hello packets sent within one second. Description Use the ospf timer dead command to configure the dead interval of the OSPF peer.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Description Use the ospf timer hello command to configure the interval for transmitting Hello packets on an interface. Use the undo ospf timer hello command to restore the interval to the default value.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Parameter seconds: Transmitting delay of LSA on an interface. It ranges from 1 to 3600. By default, the value is 1 second. Description Use the ospf trans-delay command to configure the LSA transmitting delay on an interface.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Because multiple dynamic routing protocols could be running on a router, there is the problem of routing information sharing among routing protocols and selection. Therefore, a default preference is specified for each routing protocol. When a route is identified by different protocols, the protocol with a high preference will play a decisive role.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands <Quidway> reset ospf 200 3.1.50 router id Syntax router id router-id undo router id View System view Parameter router-id: Router ID that is a 32-bit unsigned integer.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands viriftxretransmit, originatelsa, maxagelsa, lsdboverflow, lsdbapproachoverflow: Types of TRAP packets that the switch produces in case of OSPF anomalies. Description Use the snmp-agent trap enable ospf command to enable the OSPF TRAP function.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Example # Set the OSPF route calculation interval of Quidway to six seconds. [Quidway-ospf-1] spf-schedule-interval 6 3.1.55 stub Syntax stub [ no-summary ] undo stub...
Page 374
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands View OSPF area view Parameter route-id: Router ID of virtual link peer. dead seconds: Specifies the interval of dead timer. It ranges from 1 to 8192 seconds.
Page 375
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 3 OSPF Configuration Commands Related command: authentication-mode, display ospf. Example # Create a virtual link to 10.110.0.3 and use the MD5 cipher authentication mode. [Quidway-ospf-1] area 10.0.0.0 [Quidway-ospf-1-area-10.0.0.0] vlink-peer 10.110.0.3 md5 3 345 # Specify this virtual link to run Fast Hello function and send five Hello packets.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands Chapter 4 Integrated IS-IS Configuration Commands Note: 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 S8500 series routing switch running routing protocols.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands osi: If this argument is configured, the system checks the corresponding OSI field in LSP. The configuration of ip or osi authentication password is independent of the real network environment.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands narrow-compatible: Receives packets whose cost type is narrow or wide, but only sends packets whose cost type is narrow wide-compatible: Receives packets whose cost type is narrow or wide, but only sends packets whose cost type is wide.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands undo default-route-advertise [ route-policy route-policy-name ] View IS-IS view Parameter route-policy-name: Name of a route-policy. Description Use the default-route-advertise command to create the default route of L1, L2 router.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands This command displays the information of the enabled IS-IS interface, including interface name, IP address of the interface, link state of the interface and so on.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands Description Use the display isis lsdb command to view the link state database of the IS-IS. Example # Display the information of an LSP.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands 4.1.8 display isis peer Syntax display isis peer [ verbose ] View Any view Parameter verbose: When this parameter is configured, the area address carried in the Hello packet from the neighbor will be displayed.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands authentication password into all the level-2 routing packets sent by this node, in a certain mode. Related command: area-authentication-mode, isis authentication-mode. Example # When you need to authenticate the level-2 routing packets, you can select the simple mode, and the password is “huawei”.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands Description Use the ignore-lsp-checksum-error command to configure the IS-IS to discard LSPs with checksum errors. Use the undo ignore-lsp-checksum-error command to configure the IS-IS to ignore the checksum error of LSP.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands level-1-2: Configures to import the route into Level-1 and Level-2 routing table. route-policy route-policy-name: Configures to import the routes matching the conditions defined in the specified route-policy only.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands Example # Import routing information of a router from a Level-2 area to a Level-1 area through the ACL. [Quidway] isis [Quidway-isis] import-route isis level2 into level1 acl 2100 4.1.17 isis...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands View Interface view Parameter value: The priority when selecting DIS. Its value ranges 0 to 127, and the default priority is 64. level-1: Specifies the priority when selecting Level-1 DIS.
IS-IS process. The IS-IS protocol is actually enabled upon the completion of these configurations. Related command: isis, network-entity. Example # Create an IS-IS routing process named “huawei”, and activate this routing process on interface Vlan-interface 10. [Quidway] isis huawei [Quidway-isis] network-entity 10.0001.1010.1020.1030.00...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands 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.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands View Interface view Parameter minimal: Sets the sending interval to the minimum value. In this case, the hold time is 1 second. level-1: Specifies that the sending interval resulting from this command is for level-1 Hello packets.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands Parameter value: Number of consecutive Hello packets that haven't been received from the IS-IS neighbor for it to be considered dead. It ranges from 3 to 1000.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands View Interface view Parameter time: Specifies the LSP interval, ranging from 1 to 1000 and measured in milliseconds. The default value is 33 milliseconds.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands Description Use the timer lsp-generaion command to set the time interval to generate LSPs (link state packets). Use the undo timer lsp-generation command to restore the default setting.
Use the undo md5-compatible command to return to the defaults. By default, the system uses the MD5 algorithm in IS-IS which is compatible with that of Huawei. To authenticate the devices of the vendors other than Huawei using MD5 algorithm in IS-IS, configure this command. Example # Set the IS-IS to use the MD5 algorithm compatible with that of the other vendors.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands [Quidway] isis [Quidway-isis] md5-compatible 4.1.34 network-entity Syntax network-entity network-entity-title undo network-entity network-entity-title View IS-IS view Parameter network-entity-title: Specify the network entity title in the X…X.XXXX..XXXX.00 format, in which the first “X…X”...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands 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.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands Description Use the set-overload command to set overload flag for the current router. Use the undo set-overload command to cancel the overload flag. By default, no overload flag is set.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands 4.1.40 spf-delay-interval Syntax spf-delay-interval number undo spf-delay-interval 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.
Page 410
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands Parameter seconds: Duration of one cycle in seconds of SPF calculation in the range from 0 to 120. When the calculation duration time reaches or exceeds the set value, the calculation of this time ends.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands Description Use the summary command to configure to summarize IS-IS routes. Use the undo summary command to cancel the summarization. By default, no routes will be summarized.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands [Quidway-isis] timer lsp-max-age 1500 4.1.44 timer lsp-refresh Syntax timer lsp-refresh seconds undo timer lsp-refresh View IS-IS view Parameter seconds: Specifies the LSP refreshment interval, measured in seconds. The range is 1 to 65535.
Page 413
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 4 Integrated IS-IS Configuration Commands 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. z: Interval (in milliseconds) between two successive SPF calcaulation operations. It ranges from 1 to 120,000 and defaults to 5,500.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Chapter 5 BGP Configuration Commands Note: 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 S8500 series routing switch running routing protocols.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Description Use the aggregate command to establish an aggregated record in the BGP routing table. Use the undo aggregate command to disable the function. By default, there is no route aggregation.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Parameter balance-number: Specifies the number of BGP equivalent routes. Description Use the balance command to set the number of BGP equivalent routes currently supported by the system.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands 5.1.4 compare-different-as-med Syntax compare-different-as-med undo compare-different-as-med View BGP view Parameter None Description Use the compare-different-as-med command to enable comparison of MED values from different AS neighboring routes.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Description Use the confederation id command to configure confederation identifier. Use the undo confederation id command to cancel the BGP confederation specified by as-number argument.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Parameter None Description Use the confederation nonstandard command to configure the router to be compatible with routers not following RFC1965. Use the undo confederation nonstandard command to disable this function.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands ASs in this command are inside the confederation and each AS uses fully meshed network. The confederation appears as a single AS to the routers outside it.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Use the debugging bgp keepalive command to enable the information debugging of BGP Keepalive packets. Use the debugging bgp packet command to enable the information debugging of BGP packets.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands View BGP view Parameter med-value: MED value to be specified. The range is 0 to 4294967295. By default, the med-value is 0. Description Use the default med command to configure the default system metric.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands as-number : 200 members in this group : 10.1.1.1 11.1.1.1 configuration within the group : no export policy route-policy no export policy filter-policy no export policy acl...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Example # Display the routing information that has been configured. <Quidway> display bgp network Network Mask Route-policy 133.1.1.0 255.255.255.0 None 112.1.0.0 255.255.0.0 None Table 5-3 Description of the fields of the display bgp network command...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Table 5-4 Description of the fields of the display bgp paths command Field Description State flags: # - valid (valid) ^ - best (selected) Flags D –...
Page 427
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Description Use the display bgp peer command to view the information about BGP peers. Example # Display the detail information of the peer 201.1.1.2. <Quidway> display bgp peer 201.1.1.2 verbose Peer: 201.1.1.2+179...
Page 428
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Field Description State State of peer Flags Flags of peer Last State Last state before entering the current state Last Event Last event of neighbor state machine...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands 129.1.8.0/24 5.5.5.5 129.1.9.0/24 5.5.5.5 129.1.10.0/24 5.5.5.5 Table 5-6 Description of the fields of the display bgp routing-table command Field Description State flags: # - valid (valid) ^ - best (selected) D –...
Page 430
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Parameter acl-number: Specifies matched AS path list number ranging from 1 to 199. Description Use the display bgp routing-table as-path-acl command to view routes that match an as-path acl.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands 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.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands For detailed description of the output information, see Table 5-6. 5.1.19 display bgp routing-table community Syntax display bgp routing-table community [ aa:nn | no-export-subconfed |...
Page 433
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands View Any view Parameter community-list-number: Specifies a community-list. whole-match: Configures to display the exactly matched routes. Description Use the display bgp routing-table community-list command to view the routing information matching the specified BGP community list.
Page 434
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Description Use the display bgp routing-table dampened command to view BGP dampened routes. Example # View BGP dampened information. <Quidway> display bgp routing-table dampened Flags:...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands 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.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Parameter peer-address: Specifies the peer to be displayed. advertised: Routing information advertised by the specified peer. received: Routing information the specified peer received. network-address mask : IP address and address mask of destination network.
Page 439
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Example # Display the routing information matched with ^600$. <Quidway> display bgp routing-table regular-expression ^600$ Flags: # - valid, ^ - best, D - damped,...
Page 440
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Peer: 200.1.7.2+1062 Advertised routes total: 516 Peer: 150.1.1.2+179 Advertised routes total: 346 Peer: 2 133.1.1.2+179 Advertised routes total: 116 # Display the routing information received by all BGP peers.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands 5.1.29 group Syntax group group-name [ internal | external ] undo group group-name View BGP view Parameter group-name: Specifies the name of the peer group. It can consist of numbers or letters with a length ranging from 1 to 47.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Parameter protocol: Specifies source routing protocols which can be imported, which include direct, ospf, ospf-nssa , ospf-ase, rip, isis and static at present. med med-value: Specifies the MED value loaded by an imported route, ranging from 0 to 4294967295.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands 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 AS.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands undo peer group-name as-path-acl acl-number export View BGP view Parameter group-name: Specifies name of the peer group. acl-number: Number of an AS path list, in the range of 1 to 199.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Description Use the peer as-path-acl import command to configure filtering policy of BGP received routes based on AS path list. Use the undo peer as-path-acl import command to cancel the existing configuration.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands 5.1.38 peer default-route-advertise Syntax peer group-name default-route-advertise undo peer group-name default-route-advertise View BGP view Parameter group-name: Specifies name of the peer group. Description Use the peer default-route-advertise command to configure a peer group to generate a default route for a peer.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Description Use the peer description command to configure the description information of the peer/peer group. Use the undo peer description command to cancel the description information of the peer/peer group.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Description Use the peer filter-policy export command to configure the filter-policy list of routes advertised by a peer group. Use the undo peer filter-policy export command to cancel the existing configuration.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Example # Configure to use acl 2000 to filter the routes received by the peer group test.. [Quidway-bgp] peer test filter-policy 2000 import 5.1.44 peer graceful-restart...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands [Quidway-bgp] undo peer 10.1.1.1 graceful-restart 5.1.45 peer group Syntax peer peer-address group group-name [ as-number as-number ] undo peer peer-address View BGP view Parameter group-name: Specifies the name of the peer group, which can consist of letters and numbers with a length ranging from 1 to 47.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands 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.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Description Use the peer ip-prefix import command to configure the route filtering policy of routes received by the peer/peer group based on the ip-prefix. Use the undo peer ip-prefix import command to cancel the route filtering policy of the peer/peer group based on the ip-prefix.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands 5.1.50 peer public-as-only Syntax peer group-name public-as-only undo peer group-name public-as-only View BGP view Parameter group-name: Name of a peer group. Description Use the peer public-as-only command to configure not to carry the AS number when transmitting BGP update packets.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands time-value: Restart-time value of the peer, in seconds. Description Use the peer restart-timer command to configure the Graceful-restart Restart-time of a peer or peer group.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands route-policy-name: The specified Route-policy. Description Use the peer route-policy import command to assign the Route-policy to the route coming from the peer/peer group. Use the undo peer route-policy import command to delete the specified Route-policy.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Example # Configure the interval of sending the route update packet of the BGP peer group “test” as 10 seconds. [Quidway-bgp] peer test as-number 100 [Quidway-bgp] peer test route-update-interval 10 5.1.56 peer shutdown...
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands undo peer { group-name | peer-address } timer View BGP view Parameter group-name: Name of peer group. peer-address: IP address of the peer. keepalive-interval: Keepalive interval to be specified. The range is 1 to 4294967295. By default, its value is 60 seconds.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Description Use the preference command to configure BGP preference. Use the undo preference command to restore the default preference. Three types of routes may be involved in BGP: routes learned from external peers, routes learned from internal peers and local-originated routes.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands 5.1.60 reflector cluster-id Syntax reflector cluster-id { cluster-id | address } undo reflector cluster-id View BGP view Parameter cluster-id: Specifies the cluster ID of the route reflector with the range from 1 to 4294967295.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands Parameter all: Resets all the connections with BGP. peer-address: Resets the connection with a specified BGP peer. group-name: Resets the connection with a specified BGP peer group.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands If the BGP policy or the protocol configuration changes, resetting the BGP connection can make the newly configured policy take effect immediately. Example # Reset all the BGP connections to enable the new configuration (after configuring the new Keepalive interval and Holdtime interval using the timer command).
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands 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.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 5 BGP Configuration Commands View BGP view Parameter None Description Use the summary command to configure auto aggregation of sub-network routes. Use the undo summary command to disable auto aggregation of sub-network routes.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands Chapter 6 IP Routing Policy Configuration Commands Note: In this chapter, a router refers to a general router or an Ethernet switch. To improve readability, such a description of a router will not be given in the other parts of the manual.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands Description Use the apply as-path command to configure AS number to be added in front of the original AS path in Route-policy. Use the undo apply as-path command to cancel the AS sequence number added in front of the original AS path.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands If the matching conditions defined in the Route-policy are satisfied, the BGP community attribute is set. Related command: ip community-list, if-match community-list, route-policy, display bgp routing-table community.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands 6.1.4 apply cost-type Syntax apply cost-type [ internal | external ] undo apply cost-type View Route policy View Parameter internal: 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.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands By default, no Apply sub-statement is defined. This command is one of the Apply sub-statements of Route-policy. When it is used for setting route information attribute, it sets the next hop address area of route information passing filtration.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands 6.1.7 apply local-preference Syntax apply local-preference local-preference undo apply local-preference View Route policy view Parameter local-preference: Newly set local preference. Description Use the apply local-preference command to configure to apply the local preference of route information.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands Description Use the apply origin command to configure to apply the route source. Use the undo apply origin command to cancel the Apply sub-statement.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands View 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.
Page 478
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands Description Use the display route-policy command to view the configured Route-policy. If the route-policy-name argument is not specified, all configured Route-policies are displayed.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands Parameter acl-number: Number of the access control list used for matching the destination address field of the routing information. ip-prefix-name: Address prefix list used for matching the routing information destination address field.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands gateway ip-prefix-name: The prefix address list name of the neighbor router address. Its matching object is the routing information advertised by the specified neighbor router.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands 6.1.16 if-match community Syntax if-match community basic-community-number whole-match adv-community-number } undo if-match community View Route policy view Parameter basic-community-list-number: Basic community list number, ranging from 1 to 99.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands Description Use the if-match interface command to configure to match the route whose next hop is designated interface. Use the undo if-match interface command to cancel the setting of matching condition.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands By default, no if-match sub-statement is defined. This command is an if-match sub-statement of route-policy used to filter the routing information based on next hop address by referencing an ACL or an address prefix list.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands ip as-path-acl acl-number { permit | deny } as-regular-expression undo ip as-path-acl acl-number View System view Parameter acl-number: Number of AS path list, ranging from 1 to 199.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands no-export-subconfed: Used not to advertise the matched route beyond the sub-ASs. no-advertise: Used not to send the matched route to any peer. no-export: Does not advertise routes beyond the AS or the confederation, but can advertise routes to other sub-ASs within the confederation.
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands prefix list, the route is denied without further check. If otherwise, the IP address is checked against the next address prefix entry. network: The IP address prefix range (IP address). If it is 0.0.0.0 0, all the IP addresses are matched.
Page 489
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 6 IP Routing Policy Configuration Commands Parameter route-policy-name: Specifies the Route-policy name to identify one Route-policy uniquely. permit: Specifies the match mode of the defined Route-policy node as permit mode.
Page 491
Command Manual – Routing Protocol Quidway S8500 Series Routing Switches Chapter 7 Route Capacity Configuration Commands Parameter 256: Sets the maximum number of VPN routing & forwarding instances (VRFs) supported by current system to 256. 512: Sets the maximum number of VRFs supported by current system to 512.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 1 IGMP Snooping Configuration Commands Parameter vlan vlan-id: Specifies the VLAN where the multicast group to be viewed is located. When the parameter is omitted, the command will display the information about all the multicast groups on the VLAN.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 1 IGMP Snooping Configuration Commands Parameter None Description Use the display igmp-snooping statistics command to view the statistics information on IGMP Snooping. This command displays the information such as the number of received general IGMP...
Page 502
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 1 IGMP Snooping Configuration Commands Parameter enable: Enables IGMP Snooping. disable: Disables IGMP Snooping; Description Use the igmp-snooping enable command to enable IGMP Snooping. Use the igmp-snooping disable command to disable IGMP Snooping.
Page 504
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 1 IGMP Snooping Configuration Commands Note: 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.
Page 505
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 1 IGMP Snooping Configuration Commands [Quidway-Ethernet2/1/1] igmp-snooping fast-leave vlan 5 7 to 8 30 to 40 50 55 60 to 61 # Enable IGMP Snooping fast leave on the Ethernet2/1/1 port in all VLANs.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 1 IGMP Snooping Configuration Commands 1.1.8 igmp-snooping host-aging-time Syntax igmp-snooping host-aging-time seconds undo igmp-snooping host-aging-time View System view Parameter seconds: Port aging time for the multicast group member, ranging from 200 to 1000 seconds.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 1 IGMP Snooping Configuration Commands Description Use the igmp-snooping max-response-time command to configure the maximum response time for a query. Use the undo igmp-snooping max-response-time command to restore the default value.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 1 IGMP Snooping Configuration Commands Example # Enable multicast packets not to be broadcasted within the VLAN. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] igmp-snooping nonflooding-enable 1.1.11 igmp-snooping router-aging-time...
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 1 IGMP Snooping Configuration Commands Caution: You will fail to configure a port to be a static routing port if the port identified by the port-number argument does not exist or does not belong to the VLAN.
Page 512
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 1 IGMP Snooping Configuration Commands Description Use the igmp-snooping mrouter vlan command to configure the port to be a static routing port of the specified VLAN, through which IGMP packets can be transparently transmitted, so as to meet the requirements of specific networks.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 3 Multicast Common Configuration Commands Caution: You cannot enable both broadcast suppression and multicast suppression simultaneously on the same card. 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.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 3 Multicast Common Configuration Commands Description Use the debugging multicast forwarding command to enable multicast packet forwarding debugging functions. Use the undo debugging multicast forwarding command to disable the debugging functions.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 3 Multicast Common Configuration Commands View User view Parameter None Description Use the debugging multicast status-forwarding command to enable multicast forwarding status debugging functions. Use the undo debugging multicast status-forwarding command to disable the debugging functions.
Page 519
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 3 Multicast Common Configuration Commands Multicast Forwarding Cache Table Total 1 entry (entries) 00001. (10.11.113.110, 226.1.1.1) in-vlan Vlan1 2 out-vlan(s): Vlan20 Ethernet5/1/33 Vlan10 Ethernet5/1/31 Total 1 entry(entries) Listed The descriptions about the displayed information are shown in Table 3-3.
Page 520
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 3 Multicast Common Configuration Commands Parameter vlan vlan-id: Specifies the VLAN the desired multicast group resides in. ip-address: IP address of the desired multicast group. Description Use the display mpm group command to display the information about the IP multicast groups or MAC multicast groups in a specified VLAN.
Page 521
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 3 Multicast Common Configuration Commands Member port(s):Ethernet2/1/2 MAC group(s): MAC group address:01-00-5e-2d-2d-01 Member port(s):Ethernet2/1/2 Table 3-2 Description on the fields of the display mpm group command Field Description Vlan(id):2.
Page 522
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 3 Multicast Common Configuration Commands Description Use the display multicast forwarding-table command to view the information of multicast forwarding table. Caution: You must use multicast routing-enable command in system view to enable IP multicast routing before you can view the multicast forwarding table information.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 3 Multicast Common Configuration Commands Field Description Multicast forwarding cache table has an iif Vlan-interface1, 1 oifs incoming interface Vlan-interface 1 and one outgoing interface List of outgoing interface:...
Page 524
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 3 Multicast Common Configuration Commands 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.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 3 Multicast Common Configuration Commands Description Use the multicast command to configure the multicast groups so that users can join the multicast group (the managed multicast). Use the undo multicast command to remove the configuration.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 3 Multicast Common Configuration Commands Parameter limit: Limits the capacity of multicast routing table. Description Use the multicast route-limit command to limit the capacity of multicast routing table. When the preset capacity is exceeded, the router will discard new (S, G) protocol and data packets.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 3 Multicast Common Configuration Commands Caution: You cannot enable both broadcast suppression and multicast suppression simultaneously on the same card. 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.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 3 Multicast Common Configuration Commands all: All MFC forward entries. group-address: Specifies multicast group address. group-mask: Specifies Mask of multicast group address group-mask-length: Specifies mask length of multicast group address.
Page 532
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 3 Multicast Common Configuration Commands Parameter all: All route entries in the core multicast routing table. group-address: Specifies multicast group address. group-mask: Specifies Mask of multicast group address group-mask-length: Specifies mask length of multicast group address.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 4 IGMP Configuration Commands Parameter group-address: Address of the multicast group. vlan-interface interface-number: VLAN interface number. Description Use the display igmp group command to view the member information of the IGMP multicast group.
Page 535
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 4 IGMP Configuration Commands Parameter vlan-interface interface-number: VLAN interface number of the router, used to specify the interface. If the parameters are omitted, information about all the interfaces running IGMP will be displayed.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 4 IGMP Configuration Commands Field Description query timeout Query timeout for IGMP V1 Policy to accept IGMP Filter policy for the IGMP multicast group to control the reports accesses to the IP multicast group...
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 4 IGMP Configuration Commands Example # Enable IGMP on Vlan-interface 10. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway]interface vlan-interface 10 [Quidway-Vlan-interface10] igmp enable 4.1.5 igmp fast-leave Syntax igmp fast-leave [ vlan { vlan-id [ to vlan-id ] } &<1-10>...
Page 538
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 4 IGMP Configuration Commands Note: 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.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 4 IGMP Configuration Commands # Enable IGMP fast leave on all Ethernet ports in VLAN 5. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] igmp fast-leave vlan 5 # Enable IGMP fast leave for on all Ethernet ports except those in VLAN 5.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 4 IGMP Configuration Commands Parameter group-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.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 4 IGMP Configuration Commands 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.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 4 IGMP Configuration Commands Description Use the igmp timer other-querier-present command to configure the timer of presence of the IGMP querier. Use the undo igmp timer other-querier-present command to restore the default value.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 4 IGMP Configuration Commands A multicast router periodically sends out IGMP query messages to check whether there are multicast group members on the network. The query interval can be modified according to the practical conditions of the network.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 5 PIM Configuration Commands Problems may still exist if a legal BSR is attacked, though these two measures can effectively guarantee high BSR security. The source parameter in the rule command is translated as BSR address in the bsr-policy command.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 5 PIM Configuration Commands When configure the candidate BSR, the larger bandwidth should be guaranteed since a great amount of information will be exchanged between BSR and other devices in the PIM domain.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 5 PIM Configuration Commands 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.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 5 PIM Configuration Commands command, and the destination parameter as the service group range of this C-RP address. For the C-RP messages received, only when their C-RP addresses match the source address and their server group addresses are subset of those in ACL, can the be considered as matched.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 5 PIM Configuration Commands 5.1.8 display pim bsr-info Syntax display pim bsr-info View Any view Parameter None Description Use the display pim bsr command to view the BSR information.
Page 557
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 5 PIM Configuration Commands View Any view Parameter interface-type interface-number: Interface type and interface number, used to specify the interface. Description Use the display pim interface command to view the PIM interface configuration information.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 5 PIM Configuration Commands 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.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 5 PIM Configuration Commands Caution: The pim bsr-boundary command cannot build a multicast boundary. It just sets up a PIM bootstrap message boundary. Related command: c-bsr. Example # Configure domain border on VLAN-interface10.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 5 PIM Configuration Commands Description Use the pim neighbor-policy command to set to filter the PIM neighbors on the current interface. Use the undo pim neighbor-policy command to remove the setting.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 5 PIM Configuration Commands Related command: multicast routing-enable. Example # Enable PIM-SM on VLAN-interface10. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway]interface vlan-interface 10 [Quidway-Vlan-interface10] pim sm 5.1.19 pim timer hello...
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 5 PIM Configuration Commands Note: You must enable a PIM protocol (PIM-DM or PIM-SM) in VLAN interface view before you can proceed with this configuration. When you configure the time interval for a port to send Hello packets, the PIM neighbor hold-time value is automatically set to 3.5 times the Hello interval.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 5 PIM Configuration Commands View PIM view Parameter acl-number: Basic or advanced ACL, in the range of 2000 to 3999. Description Use the source-policy command to set the router to filter the multicast data packets based on source (or group) address.
Page 571
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 5 PIM Configuration Commands View PIM view Parameter rp-address: Static RP address, only being legal unicast IP address. acl-number: Basic ACL, used to control the range of multicast group served by static RP, which ranges from 2000 to 2999.
Page 572
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 5 PIM Configuration Commands # Remove the static RP with the IP address of 10.110.0.6. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] multicast routing-enable [Quidway] pim [Quidway-pim] undo static-rp 10.110.0.6...
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands Chapter 6 MSDP Configuration Commands Note: An Ethernet switch functions as a router when it supports the layer 3 protocols. A router that is referred to in the following represents a generalized router or a layer 3 Ethernet switch running related protocols.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands Example # Display the state of MSDP peer. <Quidway> display msdp brief MSDP Peer Brief Information Peer's Address State Up/Down time SA Count Reset Count 20.20.20.20...
Page 576
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands Sending SA-Requests status: disable Minimum TTL to forward SA with encapsulated data: 0 SAs learned from this peer: 0, SA-cache maximum for the peer: none...
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands undo import-source View MSDP view Parameter acl-number: Number of basic or advanced IP ACL, ranging from 2000 to 3999, controlling which sources SA messages will advertise and to which groups it will be sent in the domain.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands Parameter None Description Use the msdp command to enable MSDP and enter the MSDP view. Use the undo msdp command to clear all configurations of MSDP, release all resources that MSDP occupies, and restore the initial state.
Page 580
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands error. After the transmission path of SA messages is determined, correct configuration can avoid the overflow of SA messages. Example # Trace (10.10.1.1, 225.2.2.2, 20.20.20.20) path information.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands Item Description The local router is an RP, but it is not necessarily the source RP-bit: 1 RP in (S, G, RP) entry. NC-bit: 0 The local router enables SA cache.
Page 582
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands Description Use the originating-rp command to allow a MSDP to use the IP address of specified interface as the RP address when the SA message originated.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands View MSDP view Parameter name: Name of a Mesh Group, being case sensitive. The maximum length is 32 characters. peer-address: Address of an MSDP peer to be a member of the Mesh Group.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands 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.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands undo peer peer-address sa-cache-maximum View MSDP view Parameter peer-address: Address of MSDP peer. sa-limit: Maximum value that the SA cache allows, ranging from 1 to 2048.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands acl acl-number: Number of advanced IP ACL, ranging from 3000 to 3999. If no ACL is specified, all (S, G) entries are filtered. Description Use the peer sa-policy command to configure a filter list for SA messages received or forwarded from the specified MSDP peer.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands Use the undo peer sa-request-policy command to remove the limitation. 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.
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands 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.
Page 592
Command Manual – Multicast Protocol Quidway S8500 Series Routing Switches Chapter 6 MSDP Configuration Commands Parameter seconds: Value of connection request retry period in second, ranging from 1 to 60. Description Use the timer retry command to configure the value of connection request re-try period.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands Example # Create an aggregation entry in the MBGP routing table, with aggregated route address as 192.213.0.0. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands You can affect BGP route selection by configuring different local precedence values. Example # Configure the default local precedence value as 180. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands 7.1.6 display bgp multicast group Syntax display bgp multicast group [ group-name ] View Any view Parameter group-name: Specified peer group. If no peer group is specified, the information about all peer groups will be displayed.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands Description Use the display bgp multicast routing-table community-list command to view the routing information of a specified MBGP community list. Example # Display routing information of the specified MBGP community list.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands network-address: IP address of the destination network. mask: Mask of the destination network. statistic: Displays 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.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands Parameter acl-number: Specifies the ACL used in matching the destination address domain of routing information, in the range of 2000 to 3999. ip-prefix-name: Specifies the IP prefix used in matching the destination address domain of routing information, in the range of 1 to 19.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands Parameter acl-number: Specifies the ACL used in matching the destination address domain of routing information, in the range of 2000 to 3999. ip-prefix ip-prefix-name: Specifies the IP prefix used in matching the destination address domain of routing information, in the range of 1 to 19.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands med-value: Specifies the metric value loaded by an imported route, ranging from 0 to 4,294,967,295. route-policy-name: Specifies the route policy used for importing routes.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands Parameter group-name: Name of the peer group. Description Use the peer advertise-community command to set to send community attributes to a peer group.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands View IPv4 multicast sub-address family view Parameter group-name: Name of the multicast peer group. Description Use the peer enable command to enable the MBGP peer group.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands Description Use the peer filter-policy export command to configure the peer group to apply the ACL-based filter policy to the advertised routes. Use the undo peer filter-policy export command to cancel the existing configuration.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands Example # Configure the peer group test to use ACL 2000 to filter the received routes. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands View IPv4 multicast sub-address family view Parameter group-name: Name of peer group. peer-address: IP address of the peer, in dotted decimal format. prefixname: Name of the specified ip-prefix, a character string of 1 to 19 characters.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands 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.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands Parameter group-name: Name of peer group. peer-address: IP address of the peer. Description Use the peer route-policy export command to assign the Route-policy to the routes advertised to the peer group.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands Use the undo peer route-policy import command to delete the specified Route-policy. By default, the peer has no Route-policy association. The inbound route policy configured for the peer takes precedence over the configurations for the peer group.
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands Parameter all: Refreshes multicast sub-address family router of all peer . peer-address: Refreshes multicast sub-address family router of all specified address peer .
Page 621
Command Manual – Multicast Protocol Chapter 7 MBGP Multicast Extension Quidway S8500 Series Routing Switches Configuration Commands multiple route reflectors can improve network stability, then you can use this command to specify the same cluster ID for them all. Related command: reflect between-clients and peer reflect-client.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands Chapter 1 ACL Commands Caution: The syntax of the QoS/ACL command used for service processor cards (LSB1NATB0 cards in the context of this document) is somewhat different from that for interface cards.
Page 626
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands auto: In depth-first order during matching ACL rules. all: Deletes all ACLs (both number- and name-identified ones). Description Use the acl command to define a number- or name-identified ACL and enter its view.
Page 628
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands Description Use the display acl running-packet-filter command to display the total number of ACL rules that are applied on the specified card. Example # Display the total number of ACL rules that are applied on the slot 5.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands View Any view Parameter all: Displays all the ACLs that have been applied (including the number-identified ones and name-identified ones) interface interface-type interface-number: The port of the switch. Refer to the description in the Port Module Command Manual for details.
The configuration includes which parameters the flow template defines and which ports/cards is the flow template applied on. Quidway S8500 Series Routing Switches (hereinafter referred to as S8500 series) support two flow templates: one is user-defined; the other is the default one. If you do not input any parameter for this command, the detailed configuration of all flow templates will be displayed.
Page 631
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands A delay, about one minute, exists in system’s updating ACLs, but the result of the display time-range command is based on the current time. 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.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands Table 1-3 Description of displayed information Filed Description Current time is 14:36:36 The current time of the system. 4-3-2003 Thursday Time range tml. “Inactive” means that the time range...
Page 633
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands flow-template user-defined slot slotid template-info undo flow-template user-defined slot slotid View System view Parameter template-info: Information available in defining a traffic template, its value can be: bt-flag: BT flag bit, in the length of 6 bytes.
Page 634
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands vlanid: VLAN ID which the switch assigns to the packet , in the length of 2 bytes. vpn: the flow template which is pre-defined for the MPLS L2VPN, in the length of 2 bytes.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] flow-template user-defined slot 3 sip 0.0.0.0 dip 0.0.0.0 sport dport dscp 1.1.9 packet-filter Syntax I. Command Format Which Only Applies IP Group ACL...
Page 636
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands ip-group { acl-number | acl-name }: Activates IP ACLs, including basic and advanced ACLs. acl-number : Sequence number of ACL, ranging from 2000 to 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 or quotation mark in it.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands Example # Activate ACL 2000. <Quidway>system-view System View: return to User View with Ctrl+Z. [Quidway]interface ethernet5/1/1 [Quidway-Ethernet5/1/1] packet-filter inbound ip-group 2000 1.1.10 reset acl counter Syntax reset acl counter { all | acl-number | acl-name }...
Page 638
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands [ destination-port operator port1 [ port2 ] ] [ icmp-type type code ] [ established ] [ [ precedence precedence | tos tos ]* | dscp dscp ] [ fragment ] [ bt-flag ]...
Page 639
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands protocol: Specifies the protocol type which is represented by a name or a number. For name format, the options include icmp, igmp, tcp, udp, ip, gre, ospf, ipinip etc. The IP parameter represents all IP protocols.
Page 640
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands cos: Specifies 802.1p priority in the most external 802.1QTag carried by the packet. cos-value: In number format (ranging 0 to 7) or just entering the priority name. See Table 1-4 for their correspondence.
Page 641
0 permit source 10.1.1.2 0 fragment time-range Huawei That is, the source option is replaced with 10.1.1.2, the fragment option which the original rule does not contain is added, and the time-range Huawei option which the original rule contains is reserved.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands Example # Add a rule to the advanced ACL. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway]acl number 3000 [Quidway-acl-adv-3000] rule 1 permit tcp established source 1.1.1.1 0 destination 2.2.2.2 0...
Page 643
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 1 ACL Commands The defined time range includes absolute time range and period time range. start-time and end-time days-of-the-week define period time range together. from start-time start-date and end-time end-date define absolute time range together.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands Chapter 2 QoS Commands Caution: The syntax of the QoS/ACL command used for service processor cards (LSB1NATB0 cards in the context of this document) is somewhat different from that for interface cards.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands 2.1.2 display qos conform-level Syntax display qos conform-level [ conform-level-value ] { dscp-policed-service-map [ dscp-list ] | 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.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands Description Use the display qos cos-drop-precedence-map command to view the “CoS—> Drop-precedence” mapping table. Example # Display the “CoS—> Drop-precedence” mapping table. <Quidway> display qos cos-drop-precedence-map cos-drop-precedence-map:...
Page 648
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands View Any view Parameter interface-type interface-number: Port of the switch, for detailed description, please refer to 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.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands about one specific VLAN (with vlan-id parameter) or all VLANs (without vlan-id parameter) on the switch. Example # Display all the QoS parameter configurations of all the VLANs.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands Parameter vlan-id: ID of a VLAN, in the range of 1 to 4094. Description Use the display qos-vlan traffic-limit command to display the parameter configuration for traffic limit, including the configuration information about related ACL and policing actions.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands View Any view Parameter traffic-index: Traffic parameter index, in the range of 0 to 173 and defaulting to 1. Description Use the display traffic-params command to display the parameter configuration for traffic policing, including cir, cbs, ebs, pir, and so on.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands In the case of network congestion, the switch drops packets to release system resources. And then no packets are put into long-delay queues. The following two drop...
Page 660
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands Description Use the dscp command to configure the “DSCP + Conform-level — > Service-parameter” mapping table of current conform level. Use the undo dscp command to restore default configuration of the “DSCP + Conform-level —>...
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands Police Policed- Policed-Dr Policed-DSC Policed-e DSCP d-802.1 Localpr opPrecede 2.1.21 exp Syntax exp-list dscp-value exp-value cos-value local-precedence-value drop-precedence undo exp exp-list View Conform level view Parameter exp-list: Original EXP value, which can be a single value or several values, in the range of 0 to 7.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands 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 —>...
Page 664
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands II. Command Format Which Applies IP Group and Link Group ACL at Same time mirrored-to inbound ip-group { acl-number | acl-name } { rule rule link-group { acl-number | acl-name } [ rule rule [ system-index index ] ] | link-group { acl-number...
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands Note: If you remove the card with QoS/ACL configured when the system operates, the corresponding system index value is automatically released, and is then used for a newly delivered flow rule.
Page 666
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands mirroring-port-list: Ethernet port list, including multiple Ethernet ports, in the form of port-list = { interface-type interface-number } &<1-8>. &<1-8> means the parameter can be typed eight times at most.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands Example # Configure mirroring group 1, the monitored ports are Ethernet3/1/1 to Ethernet3/1/3, and the monitoring port is Ethernet3/1/4, monitoring only inbound packets. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands qos conform-level conform-level-value View System view Parameter conform-level conform-level-value: Conform level, in the range of 0 to 2 inclusive. Description Use the qos conform-level command to create a conform level and enter it.
Page 669
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands cos3-map-drop-prec: Mapping value from CoS 3 to drop precedence, in the range of 0 to 2. cos4-map-drop-prec: Mapping value from CoS 4 to drop precedence, in the range of 0 to 2.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands Example # Configure the “CoS —> Drop-precedence” mapping table. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] qos cos-drop-precedence-map 2 2 1 1 1 0 0 0 Modified “CoS —>...
Page 671
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands cos3-map-local-prec: Mapping value from CoS 3 to local precedence, in the range of 0 to 7. cos4-map-local-prec: Mapping value from CoS 4 to local precedence, in the range of 0 to 7.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands yellow-min-threshhold: Minimum queue length to trigger random yellow packet dropping, in the range of 0 to 65535. It must be a multiple of 256 bytes. yellow-max-threshhold: Queue length to trigger complete yellow packet dropping, in the range of 0 to 65535.
Page 674
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands View Ethernet port view Parameter wrr: Weighted round robin algorithm. group1: Adds the queue to WRR priority group 1. group2: Adds the queue to WRR priority group 2.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands Example # Clear traffic statistics of the ACL 4000. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway]interface e thernet3/1/1 [Quidway-Ethernet3/1/1] reset traffic-statistic inbound link-group 4000 2.1.32 traffic-limit...
Page 677
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands View Ethernet port view, VLAN view Parameter inbound: Sets traffic limitation for the inbound packets at the port. ip-group { acl-number | acl-name }: Activates IP ACLs, including basic and advanced ACLs.
Page 678
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands cir: Committed information rate in Kbps. cbs: Committed burst size in bytes. ebs: Excess burst size in bytes. pir: Peak information rate in Kbps. conform: Optional parameter used to set the action to be taken when the traffic does not exceed the set value.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands Note: The interface cards support the command syntax in Ethernet port view; while the service processor cards (LSB1NATB0 cards in the context of this document) support the command syntax in VLAN view.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands Example # Set the traffic parameter index to 10, committed average information rate to 8192 Kbps, committed burst size to 2000 bytes, and the maximum bust size to 2500 bytes.
Page 682
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands in number (ranging 0 to 7) or name; cos-value is 802.1p priority, in number (ranging 0 to 7) or name; drop-level is drop level, in number (ranging 0 to 2) or name.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands Note: The interface cards support the command syntax in Ethernet port view; while the service processor cards (LSB1NATB0 cards in the context of this document) support the command syntax in VLAN view.
Page 684
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands undo traffic-redirect inbound ip-group { acl-number | acl-name } [ rule rule ] slot slotid II. Command Format Which Applies IP Group and Link Group ACL at Same...
Page 685
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands can also assign a system index for it when delivering an ACL rule with this command. However, you are not recommended to manually assign a system index if not urgently necessary.
Page 686
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands Note: The Interface cards support the command syntax in Ethernet port view; while the service processor cards (LSB1NATB0 cards in the context of this document) support the command syntax in VLAN view.
Page 688
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 2 QoS Commands II. Command Format Which Only Applies Link Group ACL traffic-statistic inbound link-group { acl-number | acl-name } [ rule rule [ system-index index ] ] [ tc-index index ]...
Command Manual – QoS/ACL Chapter 3 ACL Control Commands to Control Quidway S8500 Series Routing Switches Login Users Chapter 3 ACL Control Commands to Control Login Users 3.1 The ACL Control Commands to Control Login Users 3.1.1 acl Syntax acl acl-number1 { inbound | outbound }...
Command Manual – QoS/ACL Chapter 3 ACL Control Commands to Control Quidway S8500 Series Routing Switches Login Users Note: You can only apply number-based ACLs to implement the ACL control to users accessing through Telnet or SSH. When you use a basic or advanced ACL to implement the ACL control to the users accessing through Telnet or SSH, incoming/outgoing connecting requests are restricted based on the source or destination IP addresses.
By default, SNMPV1 and SNMPV2C use community name to perform access. Example # Set the community name as “Huawei”, permit the user to perform read-only access by using this community name, and reference the ACL 2000 to perform ACL control to the network management users (basic ACL 2000 has already been defined ).
Use the undo snmp-agent group command to remove a specified SNMP group. Example # Create a SNMP group “huawei”, and reference the ACL 2001 to perform ACL control to the network management users (basic ACL 2001 has already been defined).
Page 694
SNMP group as well as the configuration of the ACL control of the user. Example # Add a user “huawei” to the SNMP group “huaweigroup”. Specify the security level to “to be authenticated”, the authentication protocol to HMAC-MD5-96 and the authentication password to “quidway”, and reference the ACL 2002 to perform ACL...
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 4 VLAN-ACL Configuration Commands Chapter 4 VLAN-ACL Configuration Commands 4.1 VLAN-ACL Configuration Commands The VLAN-ACL configuration is subject to the following limitations: Limitations on flow templates: The system only applies VLAN-ACL to ports with the default flow template applied.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 4 VLAN-ACL Configuration Commands Parameter inbound: Mirrors inbound packets at the port. ip-group { acl-number | acl-name }: Activates IP ACLs, including basic and advanced ACLs. acl-number: Sequence number of ACL, ranging from 2000 to 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 or quotation mark in it.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 4 VLAN-ACL Configuration Commands Parameter inbound: Mirrors inbound packets at the port. ip-group { acl-number | acl-name }: Activates IP ACLs, including basic and advanced ACLs. acl-number: Sequence number of ACL, ranging from 2000 to 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 or quotation mark in it.
Page 698
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 4 VLAN-ACL Configuration Commands acl-number: Sequence number of the ACL, ranging from 2000 to 3999. acl-name: Name of the ACL, a string beginning with character a-z or A-Z. Note that this argument cannot contain spaces or quotation marks.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 4 VLAN-ACL Configuration Commands drop: Drops the packet. Description Use the traffic-limit command to activate ACL flow identification to perform flow limit for the matching data flow in the VLAN and perform different actions on the packets withinin the flow limit and those beyond the flow limit.
Page 700
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 4 VLAN-ACL Configuration Commands Parameter inbound: Sets priority for packets received on the port. ip-group { acl-number | acl-name }: Activates the ACL identified by the acl-number or acl-name argument. The ACL here can be a basic ACL or an advanced ACL.
Page 701
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 4 VLAN-ACL Configuration Commands The system can perform the following operations to the service parameters of the matched flow: Employ the service parameters automatically allocated by the switch. Upon receiving a packet, the switch allocates a set of service parameters for it according to a specific rule.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 4 VLAN-ACL Configuration Commands Note: Traffic redirection setting is only available for the permit rules in the ACL. The packet redirected to the CPU cannot be forwarded normally. You can achieve policy route by selecting the next-hop keyword in this command.
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 4 VLAN-ACL Configuration Commands Use the undo traffic-statistic command to cancel traffic statistics. The statistics information contains the hardware matching times in packet forwarding. Example # In VLAN 2, run traffic statistics for the packets which match the permit rules in ACL 2000.
Page 705
Command Manual – QoS/ACL Quidway S8500 Series Routing Switches Chapter 4 VLAN-ACL Configuration Commands View Any view Parameter vlan-id: VLAN ID, in the range of 1 to 4,094. Description Use the display vlan-acl-member-ports command to view in this VLAN the ports with the ACL configuration of the VLAN synchronized to.
By default, all debugging is disabled. This command is used to the debug MPLS LSPM. As running the debugging will affect the performance of the Quidway S8500 Series Routing Switches, you are advised to use the command with caution. Example # Enable all MPLS VPN debugging.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 1 MPLS Basic Configuration Commands 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.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 1 MPLS Basic Configuration Commands <Quidway> display mpls statistics lsp all Building the information... LSP Index/LSP Name : 10240/dynamic-lsp There is no information of LSP incoming segment! The statistics of lsp Out :...
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 1 MPLS Basic Configuration Commands <Quidway>system-view [Quidway] mpls [Quidway-mpls] lsp-trigger all 1.1.7 mpls Syntax mpls undo mpls View System view, VLAN interface view Parameter None Description In system, input the mpls command for an initial use to enable MPLS function globally and enter MPLS view.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 1 MPLS Basic Configuration Commands 1.1.8 mpls lsr-id Syntax mpls lsr-id ip-address undo mpls lsr-id View System view Parameter ip-address: LSR ID, in the format of IP address, used to identify an LSR.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 1 MPLS Basic Configuration Commands 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.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 1 MPLS Basic Configuration Commands out-label-value: Value of outbound label, ranging 3 (implicit empty label) and from 16 to 1023. Description Use the static-lsp ingress command to configure a static LSP for an ingress LSR.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 1 MPLS Basic Configuration Commands 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.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 1 MPLS Basic Configuration Commands <Quidway> debugging mpls ldp all 1.2.2 display mpls ldp Syntax display mpls ldp View Any view Parameter None Description Use the display mpls ldp command to display LDP and LSR information.
Page 723
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 1 MPLS Basic Configuration Commands Description Use the display mpls ldp buffer-info command to view the LDP buffer information. Example # Display the LDP buffer information. <Quidway> display mpls ldp buffer-info...
Page 724
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 1 MPLS Basic Configuration Commands text: Contents of the regular expression. Description Use the display mpls ldp interface command to display information of the interface with LDP enabled and in the Up state.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 1 MPLS Basic Configuration Commands View VLAN interface view Parameter None Description Use the mpls ldp enable command to enable LDP on a VLAN interface. Use the mpls ldp disable command to disable LDP on a VLAN interface.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 1 MPLS Basic Configuration Commands By default, the maximum hop count of loop detection is 32. This command should be configured before LDP is enabled on all interfaces. Its value,...
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 1 MPLS Basic Configuration Commands Use the undo mpls ldp path-vectors command to restore the default maximum value of path vector. By default, pv-number is 32. This command should be configured before LDP is enabled on all interfaces. Its value,...
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 1 MPLS Basic Configuration Commands 1.2.19 remote-ip Syntax remote-ip remoteip View remote-peer view Parameter remoteip: IP address of the Remote-peer. Description Use the remote-ip command to configure a Remote-IP address. The address should be the lsr-id of the remote LSR.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands 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.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Parameter None Description Use the apply mpls-label command to configure the system to assign MPLS labels to the public network routes that meet the filer condition of Route-policy.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands verbose: Displays detailed information. Description Use the debugging bgp command to enable BGP debugging.. Use the undo debugging bgp command to disable BGP debugging. Caution should be taken in deciding to enable BGP debugging, since debugging affects system performance.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands 2.1.5 default med Syntax default med med-value undo default med View VPNv4 subaddress family view, VPN-instance subaddress family view Parameter med-value: MED value, ranging from 0 to 4294967295. The default value is 0.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands 2.1.8 display bgp routing-table label Syntax display bgp routing-table label View Any view Parameters None Description Use the display bgp routing-table label command to view the routing information and label information in the BGP routing table.
Page 746
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands 2.1.9 display ip routing-table vpn-instance Syntax display ip routing-table vpn-instance vpn-instance-name [ [ ip-address ] | [ verbose ] statistics ] View Any view Parameter vpn-instance-name: Name assigned to VPN-instance.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands View Any view Parameter vpn-instance-name: Name assigned to VPN-instance. verbose: Displays detailed information. 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.
Page 748
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Example # Display MPLS L3VPN transit lsp information on the ASBR. <Quidway> display mpls l3vpn-lsp transit ----------------------------------------------------------------------- LSP Information: Ebgp Transit Lsp ----------------------------------------------------------------------- I/O-LABEL NEXTHOP...
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Table 2-3 Description of command information on display Field Description Number Forwarding equivalent class NEXTHOP Next hop OUTER-LABEL Outer label (MPLS Tunneling Label) OUT-INTERFACE Egress interface # Display MPLS L3VPN egress lsp information on PE <Quidway>...
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Description Use the display rip vpn-instance command to view the configuration related to VPN instance of RIP. Example # View the specified VPN instance configuration of RIP.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands imported to OSPF at the remote end. To achieve this goal, we can configure a Domain-id for each OSPF domain. A Domain-id is attached to a BGP/VPN route when an OSPF route is imported into BGP/VPN for transmission over BGP/VPN routes.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands 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.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands 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.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Parameter None Description Use the if-match mpls-label command to configure the system to match only the public network routes that carries an MPLS label. Use the undo if-match mpls-label command to cancel this configuration.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Use the if-match vpn-target begin vpn-target count command to set the start value and the total number of the vpn-target values to be matched. Example # Define an if-match clause to match the following VPN-target attribute values: 100:1, 200:1, 300:1, 300:2 and 400:3.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Description Use the import-route ospf command to enable to import OSPF route. Use the undo import-route ospf command to disable to import OSPF route. Caution: By default, the process ID is 1.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Description Use the ip route-static vpn-instance command to configure a static route by specifying an interface of a private network as a egress interface. Use the undo ip route-static vpn-instance command to delete the configuration of this static route.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Parameter ip-address: Network address advertised by BGP in dotted decimal format. address-mask: Mask of the network address. policy-name: Name of the routing policy applied to the advertised route.
Page 762
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands You are recommended to specify Route-id in a process using Router-id when enabling the OSPF process. If you want to enable multiple processes on a router, you are recommended to specify different Router IDs for different processes.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Caution: A router can run no more than 1024 OSPF processes, with up to 10 processes enabled in each VPN instance. If you bind an OSPF process to a nonexistent VPN instance, the configuration for the command fails and display the errors: The specified VPN-Instance does not exist, or the VPN-Instance's Route-Distinguisher is not specified.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Description Use the peer advertise-community command to configure to transmit the community attributes to a specified peer group. Use the undo peer advertise-community command to cancel this configuration.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands You can avoid this by using the peer allow-as-loop command, which makes PE router allow the route updates from CE to contain its AS number. You can define asn-imit to control the maximum times for which AS number is received by PE.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands View VPNv4 subaddress family view, VPN-instance subaddress family view Parameter group-name: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric characters. acl-number: AS regular expression ACL number, ranging 1 to 199.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Description Use the peer as-path-acl import command to configure peers from filter received routing information with routing filtering policy based on AS path list. Use the undo peer as-path-acl import command to cancel the configuration.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Example # Allow the internal BGP session to use any operable interface for a TCP connection. [Quidway-bgp] ipv4-family vpn-instance test [Quidway-bgp-af-vpn-instance] peer 1.1.1.1 connect-interface loopback 0 2.1.33 peer default-route-advertise...
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Parameter ip-address: Peer IP address. vpn-instance name: Name of the created VPN instance. Description Use the peer default-route-advertise vpn-instance command to enable a peer to import a default route.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Example # Set description of the peer group group1 to be city 1. [Quidway-bgp-af-vpn-instance] peer group1 description city1 2.1.36 peer ebgp-max-hop Syntax peer group-name ebgp-max-hop [ ttl ]...
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Parameter group-name: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric characters. Description Use the peer enable command to enable a specified peer group.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Example # Configure the test peer group to filter the advertised route with ACL 3000. [Quidway-bgp] ipv4-family vpnv4 [Quidway-bgp-af-vpn] peer test filter-policy 3000 export 2.1.39 peer filter-policy import...
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands View VPNv4 subaddress family view, VPN-instance subaddress family view Parameter group-name: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric characters. prefixname: Name of prefix list, a string of one to 19 characters.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Description Use the peer ip-prefix import command to apply the filtering policy based on IP prefix list to the advertised route for peer groups. Use the undo peer ip-prefix import command to cancel the configuration.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands simple: Displays the password in plain text. password: Password string. When you choose the cipher parameter and input the password in plain text, or you choose the simple parameter, the password is one to 16 characters in length.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Description Use the peer public-as-only command to configure BGP not to carry private AS numbers when transmitting update packets. Use the undo peer public-as-only command to configure BGP to carry private AS numbers when transmitting update packets.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Parameter group-name: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric characters. peer-address: Peer IP address in dotted decimal format. policy-name: Name of the applied routing policy.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Example # Set the minimum interval for sending routing update packet to the BGP peer group group1 to be 10 seconds. [Quidway-bgp-af-vpn-instance] peer group1 route-update-interval 10 2.1.51 peer timer...
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands undo peer peer-address upe View VPNv4 subaddress family view Parameter peer-address: Peer IP address. Description Use the peer upe command to configure BGP peer as the UPE of hierarchical BGP/MPLS VPN.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Description Use the peer vpn-instance substitute-as command to enable the BGP AS number substitution on the PE. Use the undo peer vpn-instance substitute-as command to disable the function.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands 2.1.58 port trunk mpls vlan Syntax port trunk mpls vlan from vlan-id [ to ] vlanid undo port trunk mpls View Ethernet port view Parameters vlan-id: The vlan-id range of MPLS/VPN VLANs allowed to the port.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Parameter ebgp-preference: Preference of the routes learned from the EBGP peer, in the range 1 to 256. ibgp-preference: Preference of the routes learned from the IBGP peer, in the range 1 to 256.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands View VPN-instance view Parameter route-distinguisher: Configures a VPN IPv4 prefix by adding an 8-byte value to a VPN IPv4 prefix. Description Use the route-distinguisher command to configure RD for an MPLS VPN instance. A VPN-instance cannot run until it is configured with an RD.
Page 790
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands 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.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Parameter link-group { acl-number | acl-name } [ rule rule ]: Layer 2 ACL, acl-number is in the range of 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.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands View VPN-instance view Parameter integer: The Maximum routes allowed for a VPN-instance, ranging from 1 to 65536. alarm-integer: Route threshold for alarming. syslog-alert: When the route maximum specified for a VPN-instance exceeds the threshold, routes can be added and only a SYSLOG error message is sent out.
Page 794
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Parameter source-addr: Source address of a Sham-link, a Loopback interface address with a 32-bit mask. destination-addr: Destination address of a Sham-link, a Loopback interface address with a 32-bit mask.
Page 795
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands backbone, you need to configure a Sham-link between the two PE routers. The sham link between VPN PE routers is taken as a link within the OSPF area. When configuring the Sham-link command, the optional parameters are not mutually exclusive.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Use the undo summary command to cancel this summary. By default, BGP does not perform the auto summary to subnet routes. After auto summary is enabled, BGP cannot receive the subnet routes imported from IGP.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands Caution: OSPF processes will set up all its neighbors again after this command is executed. Example # Configure OSPF process 100 as Multi-VPN-Instance CE. [Quidway-ospf-100] vpn-instance-capability simple # Restore the OSPF process 100 as PE.
Page 798
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 2 BGP/MPLS VPN Configuration Commands By default, the default value is both. Use the vpn-target command you can create ingress and egress route target extended community lists for a specified VPN-instance. Execute this command once for each target community.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 3 MPLS L2VPN Configuration Commands [Quidway] 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.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 3 MPLS L2VPN Configuration Commands 3.1.3 display ccc Syntax display ccc [ ccc-name | type [ local | remote ] ] View Any view Parameter ccc-name: Name of the CCC connection whose information is to be displayed.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 3 MPLS L2VPN Configuration Commands Description Use the static-lsp egress l2vpn command to create a static L2VPN LSP for the egress label switching router (LSR). Use the undo static-lsp egress command to remove a L2VPN LSP created for the egress LSR.
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 3 MPLS L2VPN Configuration Commands Example # Create a static LSP with the destination IP address of 202.25.38.1 for the ingress LSR. [Quidway-mpls] static-lsp ingress bj-sh l2vpn nexthop 1.1.1.1 out-label 100 3.1.6 static-lsp transit l2vpn...
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 3 MPLS L2VPN Configuration Commands 2.2.2.2 131072/134137 LSP/14 VSI name : vpn4 , Service: VPLS , Service Status : Open VC-ID Destination State Lcl-Label/Rmt-Label Tunnel/Index 2.2.2.2 132956/131076 LSP/14 VSI name : vpn5 , Service: VPLS , Service Status : Open...
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 3 MPLS L2VPN Configuration Commands Example # Create a virtual connection with the ID of 23. [Quidway-Vlan-interface201] mpls l2vc 10.0.0.11 23 3.3 Kompella MPLS L2VPN Configuration Commands 3.3.1 ce Syntax...
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 3 MPLS L2VPN Configuration Commands Example # Create a CE for VPNA named “beijing”, with the CE ID of 1. Use the default range (10). [Quidway] mpls l2vpn [Quidway] mpls l2vpn vpna encapsulation ethernet...
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 3 MPLS L2VPN Configuration Commands View Any view Parameter all: Displays all the L2VPN information about the address family. peer: Displays the information about a specified BGP Peer in brief.
Page 811
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 3 MPLS L2VPN Configuration Commands 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.
You can create a Kompella MPLS L2VPN only after you enable MPLS L2VPN. All L2VPN parameters are configured in L2VPN view. Example # Create a Kompella MPLS L2VPN, with the name of Huawei, the encapsulation type of Ethernet. [Quidway] mpls l2vpn huawei encapsulation ethernet...
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 3 MPLS L2VPN Configuration Commands 3.3.8 mtu Syntax mtu mtu View MPLS L2VPN view Parameter mtu: Layer 2 MTU (maximum transmission unit) of the VPN. This argument ranges from 0 to 10,200 and the default value is 1,500.
Page 815
Command Manual – MPLS Quidway S8500 Series Routing Switches Chapter 3 MPLS L2VPN Configuration Commands Use the undo peer enable command to deactivate a specified peer or peer group in L2VPN address family view. By default, the unicast peers or peer groups of IPv4 address family are active. Whereas other types of peers or peer groups are inactive.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Chapter 1 MSTP Configuration Commands 1.1 MSTP Configuration Commands 1.1.1 active region-configuration Syntax active region-configuration View MST region view Parameter None Description Use the active region-configuration command to activate the configurations of MST region.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands 1.1.2 check region-configuration Syntax check region-configuration View MST region view Parameter None Description Use the check region-configuration command to view the configuration information (including switch region name, revision level, and VLAN mapping table) to be activated.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Table 1-1 Description on the fields of the check region-configuration command Field Description Format selector The selector defined by MSTP Region name Region name of MST region...
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Use the undo debugging stp instance instance-id command to disable specified instance debugging of MTSP. Use the debugging stp lacp-key command to enable MD5 summary information debugging of LACP protocol.
Page 823
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Description Use the display stp command to view the state information and statistics information of the spanning tree. The MSTP state and statistics information can help analyze and maintain the network topology and maintain the normal operation of MSTP.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Related command: reset stp. Example # Display the state and statistics information about the spanning tree. <Quidway> display stp instance 0 interface Ethernet 2/1/1 to Ethernet 2/1/4...
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands MST region configuration information includes: region name, region revision level, and associations between VLANs and MSTIs. All these configurations together determine to which MST region a switch belongs.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands all: All TC statistics, including those detected, received and sent by the bridge. Description Use the display stp tc command to view TC (transaction capabilities) statistics.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Description Use the instance command to map the specified VLAN list to the specified MSTI. Use the undo instance command to cancel the specified VLAN list from the specified MSTI, and the removed VLAN will then be mapped to the CIST (i.e., the Instance 0).
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Description 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.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Related command: display stp. Example # Clear the statistics information on the ports from Ethernet2/1/1 through Ethernet2/1/3 <Quidway> reset stp interface Ethernet 2/1/1 to Ethernet 2/1/3 1.1.10 revision-level...
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands View System view, Ethernet port view Parameter enable: Enables global or port MSTP. disable: Disables global or port MSTP. Description Use the stp command to enable or disable MSTP on a device or a port.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands View System view Parameter None Description Use the stp bpdu-protection command to enable the BPDU protection on the switch. Use the undo stp bpdu-protection command to restore the default state of BPDU protection.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Description Use the stp bridge-diameter command to configure the switching network diameter. Use the undo stp bridge-diameter command to restore the default network diameter. The definition of network diameter: Maximum count of switches between the farthest communication ends.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Parameter instance instance-id: Specifies the spanning tree instance ID, ranging from 0 to 48. The Instance 0 represents CIST. cost cost: Port path cost. Its range depends on the selected standard of path cost.
Page 834
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Description Use the stp edged-port enable command to configure the current Ethernet port as an edge port. Use the stp edged-port disable command to configure the current Ethernet port as a non-edge port.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Caution: In a switching network, you can configure only one root bridge for each MSTI and one or more secondary switches. Do not configure more than one root bridge for an MSTI at the same time.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands When MSTP is disabled, the corresponding port stays in forwarding state and does not take part in any MSTI calculation. Caution: If you disable MSTP on a port, a loop may be generated.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Use the undo stp interface cost command to restore the path cost of the specified port on the specified MSTI to the default value in system view.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Use the stp interface edged-port disable command to configure a port as a non-edge port in system view. Use the undo stp interface edged-port command to restore the port to the default type (that is, non-edge port) in system view.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands instance-id: Specifies the spanning tree instance ID, ranging from 0 to 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.
Page 841
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Description Use the stp interface loop-protection command to enable loop protection on the switch in system view. Use the undo stp interface loop-protection command to restore the default loop protection state.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Example # Set the mcheck parameter of Ethernet2/1/3 in system view. <Quidway>system-view System View: return to User View with Ctrl+Z. [Quidway] stp interface Ethernet2/1/3 mcheck 1.1.23 stp interface point-to-point...
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands 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.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Root protection function is used against such problem. The port configured with Root protection only plays a role of designated port on every instance. Whenever such port...
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands 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.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Caution: If the equipment connected to the port of the switch cannot send STP packets to the switch, do not configure the loop-protection command; otherwise the port will be congested for a long time.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Example # Set the Max Hops of an MST region to 35. <Quidway>system-view System View: return to User View with Ctrl+Z. [Quidway] stp max-hops 35 1.1.28 stp mcheck...
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Description Use the stp point-to-point command to configure the current Ethernet port (not) to connect with point-to-point link. Use undo stp point-to-point command to configure the link state to the default state in which MSTP automatically detects if the link to the Ethernet port is point-to-point link.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Description Use the stp port priority command to configure the priority of a port on a specified MSTI. Use the undo stp port priority command to restore the default priority of the port on the specified MSTI.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands You can enter MST region view, using the stp region-configuration command. Then you can configure the parameters including region name, revision level, and VLAN mapping table of the region.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands You can configure one or more secondary root bridges in an MSTI. If the primary root is down or powered off, the secondary root will take its place. Among several secondary root bridges, the one with the smallest MAC address takes the place of the failed primary root.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands high-speed link may be pulled to the low-speed link and congestion will occur on the network. MSTP provides Root protection function to protect the root bridge: The port configured with Root protection only plays a role of designated port on every instance.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands When the protection from TC-BPDU packet attack is enabled, the switch just perform one delete operation in a specified period (generally, 15 seconds) after receiving TC-BPDU packets, as well as monitoring whether it receives TC-BPDU packets during this period.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands Max Age >= 2 x (Hello Time + 1.0 second) Only if the above-mentioned formulas are equal can the MSTP normally operate on the entire network. Otherwise, the network may flap frequently. You are recommended to...
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands root bridge transmits BPDU packets at an interval as you configured, while other switches apply the Hello Time configured on the root bridge. When configuring Hello time, Forward Delay and Max Age, remember to guarantee the following equations: 2 x (Forward Delay -1.0 second) >= Max Age...
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands the port expires according to the 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.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands the switch will decide the upstream switch is dead and will recalculate the topology of the network. Then in steady network, the recalculation may be caused when the upstream is busy.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 1 MSTP Configuration Commands 1.1.43 vlan-mapping modulo Syntax vlan-mapping modulo modulo undo vlan-mapping modulo View MST region view Parameter modulo: Specifies the modulus, ranging from 1 to 48. Description Use the vlan-mapping modulo command to map fast and symmetrically all VLAN lists to the specified MSTIs according to the modulo operation results.
Page 864
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 2 Digest Snooping Configuration Commands BPDUs destined for these switches. In this way, switches of different manufacturers are capable of communicating with each other in an MSTP domain. Note: You must enable digest snooping on a port first before enabling it globally.
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 3 BPDU Tunnel Configuration Commands Chapter 3 BPDU Tunnel Configuration Commands 3.1 BPDU Tunnel Configuration Commands 3.1.1 vlan-vpn enable Syntax vlan-vpn enable undo vlan-vpn View Ethernet port view Parameter None Description Use the command vlan-vpn enable to enable VLAN VPN (QinQ) on the port.
Page 866
Command Manual – STP Quidway S8500 Series Routing Switches Chapter 3 BPDU Tunnel Configuration Commands Parameter None Description Use the vlan-vpn tunnel command to enable bridge protocol data unit (BPDU) Tunnel on the switch. Use the undo vlan-vpn tunnel command to disable BPDU Tunnel on the switch.
Page 872
Command Manual – Security Quidway S8500 Series Routing Switches Chapter 1 802.1x Configuration Commands View Any view Parameter enabled-interface: Configures to display the Ethernet port that starts Dot1x. guest vlan: Displays Guest VLAN IDs and specifies the port that enables Guest VLAN.
Page 873
Command Manual – Security Quidway S8500 Series Routing Switches Chapter 1 802.1x Configuration Commands Configuration: Transmit Period 30 s, Handshake Period 30 s Quiet Period 60 s, Quiet Period Timer is disabled Supp Timeout 30 s, Server Timeout 100 s The maximal retransmitting times Total maximum 802.1x user resource number is 2048...
Command Manual – Security Quidway S8500 Series Routing Switches Chapter 1 802.1x Configuration Commands Field Description Total current used 802.1x resource Number of access users currently on line number Ethernet3/1/1 is link-up The state of Ethernet 2/1/1 is Up. 802.1X protocol is disabled 802.1X protocol is disabled on the port...
Command Manual – Security Quidway S8500 Series Routing Switches Chapter 1 802.1x Configuration Commands By default, 802.1x is disabled on all the ports and globally on the device. When the dot1x command is used in system view, if the parameter interface-list is not specified, 802.1x will be globally enabled.
Command Manual – Security Quidway S8500 Series Routing Switches Chapter 1 802.1x Configuration Commands Description Use the dot1x authentication-method command to configure the authentication method for 802.1x user. Use the undo dot1x authentication-method command to restore the default authentication method of 802.1x user.
Command Manual – Security Quidway S8500 Series Routing Switches Chapter 1 802.1x Configuration Commands Use the undo dot1x dhcp-launch command to set 802.1x to enable the switch to trigger the authentication over them. By default, the switch can trigger the user ID authentication over the users who configure static IP addresses in DHCP environment.
Command Manual – Security Quidway S8500 Series Routing Switches Chapter 1 802.1x Configuration Commands 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.
Command Manual – Security Quidway S8500 Series Routing Switches Chapter 1 802.1x Configuration Commands This command is used to set the base for 802.1x to perform access control, namely authenticate the users, on the specified interface. When macbased is adopted, the...
Command Manual – Security Quidway S8500 Series Routing Switches Chapter 1 802.1x Configuration Commands Example # Enable quiet-period timer. [Quidway] dot1x quiet-period 1.1.11 dot1x retry Syntax dot1x retry max-retry-value undo dot1x retry View System view Parameter max-retry-value: Specifies the maximum times an Ethernet switch can retransmit the authentication request frame to the supplicant, ranging from 1 to 10.
802.1x access users via proxy. Note that when performing this function, the user logging on via proxy need to run Huawei 802.1x client program,( Huawei 802.1x client program version V1.29 or above is needed). This command is used to set on the specified interface when executed in system view.
Command Manual – Security Quidway S8500 Series Routing Switches Chapter 1 802.1x Configuration Commands [Quidway] dot1x supp-proxy-check logoff interface Ethernet 2/1/1 to Ethernet 2/1/8 # Configure the switch to send trap message upon detecting the use of proxy on Ethernet 2/1/9.
Page 885
Command Manual – Security Quidway S8500 Series Routing Switches Chapter 1 802.1x Configuration Commands server-timeout-value: Specifies how long the duration of a timeout timer of an Authentication Server is. The value ranges from 100 to 300 in units of second and defaults to 100 seconds.
Command Manual – Security Quidway S8500 Series Routing Switches Chapter 1 802.1x Configuration Commands interaction process. It could be necessary for some special and hard network environment. Generally, the user should keep the default values of the timers. Related command: display dot1x.
Page 888
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands undo accounting optional View ISP domain view Parameter None Description Use the accounting optional command to enable accounting to be optional. Use the undo accounting optional command to disable accounting to be optional.
ISP domain authentication scheme is a RADIUS authentication scheme and the type of the RADIUS scheme is HUAWEI. It should be noted that the argument nas-ip must be defined for a user bound with a remote port, which is unnecessary, however, in the event of a user bound with a local port.
Page 890
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands View System view Parameter all : Configures to disconnect all connection. access-type dot1x: Configures to disconnect the user connections that are of specified access category.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Description Use the display connection command to view the relevant information of all the supplicants or the specified one(s). The output can help you with the user connection diagnosis and troubleshooting.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands <Quidway> display domain Domain = system State = Active Scheme = LOCAL Access-limit = Disable Vlan-assignment-mode = Integer Domain User Template: Idle-cut = Disable...
Page 894
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands 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.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Field Description VLAN ID VLAN that the user belongs to IP address IP address of the user MAC address MAC address of the user 2.1.8 domain...
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands complete set of exclusive ISP domain attributes for each ISP domain, which includes AAA schemes ( RADIUS scheme group applied and so forth.) For a switch, each supplicant belongs to an ISP domain.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Because a user template only works in one ISP domain, it is necessary to configure user template attributes for users from different ISP domain respectively.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Ethernet port, PPP users of the ISP can obtain their IP addresses from the IP address pool, through which the tension of the port address pool can be eased.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands 2.1.13 local-user password-display-mode Syntax local-user password-display-mode { cipher-force | auto } undo local-user password-display-mode View System view Parameter cipher-force: Forced Cipher mode specifies that the passwords of all the accessed users must be displayed in cipher text.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands 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.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Example # Set the user huawei1 to display the password in simple text, given the password is 20030422. [Quidway-luser-huawei1] password simple 20030422 2.1.16 scheme...
# With huawei163.net as the current ISP domain, specify to adopt the RADIUS scheme named huawei. [Quidway-isp-huawei163.net] scheme radius-scheme huawei # Specify the ISP domain named huawei to adopt the Scheme named rd, with Local authentication as the secondary authentication Scheme. [Quidway-isp-huawei] scheme radius-scheme rd local # Specify the ISP domain named huawei to adopt hwtacacs-scheme hwtac Scheme, with Local authentication as the secondary authentication Scheme.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Example # Specify the URL of the Web page used to change password on the self-service server to be http://10.153.89.94/selfservice/modPasswd1x.jsp|userName. [Quidway] domain system...
Page 906
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Description Use the service-type command to configure a service type for a particular user. Use the undo service-type command to cancel the specified service type for the user.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Note: When configuring a VLAN delivering mode, keep the mode configured on the switch consistent with the mode configured on the Radius Server.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Use the undo accounting optional command to disable the RADIUS accounting option. 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 Huawei is kilo-byte and the data packet unit is kilo-packet. [Quidway-radius-huawei] data-flow-format data kilo-byte packet kilo-packet 2.2.3 debugging radius...
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Parameter 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.
Page 912
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands <Quidway> display radius ------------------------------------------------------------------ SchemeName =system Index=0 Type=huawei Primary Auth IP =127.0.0.1 Port=1645 State=active Primary Acct IP =127.0.0.1 Port=1646 State=active Second Auth IP =0.0.0.0...
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Field Description Permitted send realtime PKT maximum times sending real-time failed counts no-response accounting packet Retry sending times The maximum retry times of buffered no-response...
Page 914
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands View Any view Parameter None Description Use the display radius statistics command to view the statistics information of RADIUS packet. The displayed packet information can help with RADIUS diagnosis and troubleshooting.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands session-id session-id: Configures to display the saved stopping accounting requests according to the Session ID. session-id specifies the Session ID with a character string not exceeding 50 characters.
Related command: primary accounting, primary authentication, radius scheme. Example # Set the authentication/authorization key of the RADIUS scheme, huawei, to hello. [Quidway-radius-huawei] key authentication hello # Set the accounting packet key of the RADIUS scheme, huawei, to ok. [Quidway-radius-huawei] key accounting ok 2.2.10 local-server Syntax...
The password configured by this command must be the same as that of the RADIUS authentication/authorization packet configured by the command key authentication in RADIUS scheme view. When operating as a local RADIUS server, a Quidway S8500 Series Routing Switch supports CHAP and PAP authentications but not EAP MD5-challenge authentication.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands undo nas-ip View RADIUS scheme view Parameter ip-address: Source IP address which is expressed in the format of dotted decimal notation. Description Use the nas-ip command to configure the source IP address which NAS switch uses to send RADIUS packets.
RADIUS servers. Related command: key, radius scheme, state. Example # Set the IP address of the primary accounting server of RADIUS scheme, “huawei”, to 10.110.1.2 and the UDP port 1813 to provide RADIUS accounting service. [Quidway-radius-huawei] primary accounting 10.110.1.2 1813 2.2.13 primary authentication...
Related command: key, radius scheme , state. Example # Set the IP address of the primary authentication/authorization server of RADIUS scheme, “huawei”, to 10.110.1.1 and the UDP port 1812 to provide RADIUS authentication/authorization service. [Quidway-radius-huawei] primary authentication auth 10.110.1.1 1812 2.2.14 radius nas-ip...
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands network. Only one nas-ip can be configured for each private network and a maximum of 16 private networks can be configured. Use the undo radius nas-ip command to cancel the nas-ip configuration for global public network.
Related command: key, retry realtime-accounting, radius-scheme, timer realtime-accounting, stop-accounting-buffer enable, retry stop-accounting, server-type, state, user-name-format, retry, display radius, display radius statistics. Example # Create a RADIUS scheme named “huawei” and enters its view. [Quidway] radius scheme huawei [Quidway-radius-huawei] 2.2.16 reset radius statistics Syntax...
Page 924
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Parameter radius-scheme radius-server-name: Configures to delete the stopping accounting requests from buffer according specified RADIUS scheme. radius-server-name specifies the RADIUS scheme name with a character string not exceeding 32 characters.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands 2.2.18 retry Syntax retry retry-times undo retry View RADIUS scheme view Parameter retry-times: Specifies the maximum times of retransmission, ranging from 1 to 20. By default, the value is 3.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Parameter retry-times: Specifies the maximum times of real-time accounting request failing to be responded, ranging from 1 to 255. By default, the accounting request can fail to be responded up to 5 times.
Page 927
Related command: reset stop-accounting-buffer, radius scheme, display stop-accounting-buffer. Example #Perform the following configuration such that the switch can retransmit a buffered stop-accounting request to the server configured for the RADIUS scheme “Huawei” for up to 1000 times [Quidway-radius-huawei] retry stop-accounting 1000 2.2.21 secondary accounting...
For detailed information, read the description of the primary accounting command. Related command: key, radius scheme, state. Example # Set the IP address of the secondary accounting server of RADIUS scheme, huawei, to 10.110.1.1 and the UDP port 1813 to provide RADIUS accounting service. [Quidway-radius-huawei] secondary accounting 10.110.1.1 1813 2.2.22 secondary authentication...
RADIUS scheme view Parameter huawei: Configures the switch system to support the RADIUS scheme of Huawei type, which requires the RADIUS client end (switch system) and RADIUS server to interact according to the private RADIUS protocol regulation and packet format of Huawei Technologies Co., Ltd.
Related command: radius scheme, primary authentication, secondary authentication, primary accounting, secondary accounting. Example # Set the secondary authentication server of RADIUS scheme, “huawei”, to be Active. [Quidway-radius-huawei] state secondary authentication active Huawei Technologies Proprietary 2-44...
Related command: reset stop-accounting-buffer, radius scheme, display stop-accounting-buffer. Example # ,Enable the switch to buffer the stop-accounting requests that get no answer from the server configured for the RADIUS scheme "huawei". [Quidway-radius-huawei] stop-accounting-buffer enable 2.2.26 timer quiet Syntax timer quiet minutes...
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Parameter minutes: The parameter ranges from 1 to 255 in minutes. By default, the primary server waits for 5 minutes before it resumes the Active state.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Example # Specify to send the username without domain name to RADIUS scheme. [Quidway-radius-huawei] user-name-format without-domain 2.2.30 vpn-instance Syntax vpn-instance vpn-name View RADIUS scheme view Parameter vpn-name: The name of the VPN instance, which is a string of 1 to 19 characters.
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 Huawei to kilo-byte and the data packet unit to kilo-packet. [Quidway-hwtacacs-huawei] data-flow-format data kilo-byte packet kilo-packet...
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Description Use the display hwtacacs command to view configuration information of one or all HWTACACS schemes. By default, configuration information of all HWTACACS schemes is displayed.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands hwtacacs-scheme-name, a character string not exceeding 32 characters, excluding “?”. Description Use the display stop-accounting-buffer command to view information on the stop-accounting requests buffered in the switch.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands This command specifies only one source address; therefore, the newly configured source address may overwrite the original one. Example # Configure the switch to send hwtacacs packets from 129.10.10.1.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands authentication: Shared key of the authentication server. authorization: Shared key of the authorization server. string: Shared key, a string up to 16 characters excluding the characters “?”.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Specifying the source address for sending HWTACACS packet avoids the unreachability of packet returned from the server when the physical interface fails. Generally, the Loopback interface address is recommended.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands View User view Parameter accounting: Clears all the HWTACACS accounting statistics. authentication: Clears all the HWTACACS authentication statistics. authorization: Clears all the HWTACACS authorization statistics.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands <Quidway> reset stop-accounting-buffer hwtacacs-scheme Huawei 2.3.14 retry stop-accounting Syntax retry stop-accounting retry-times undo retry stop-accounting View HWTACACS view Parameter retry-times: The maximum number of stop-accounting request attempts. It is in the range 1 to 300 and defaults to 100.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands port-number: Port number of the server, which is in the range 1 to 65535 and defaults to Description Use the secondary accounting command to configure a secondary TACACS accounting server.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Use the undo secondary authentication command to delete the configured secondary authentication server. By default, IP address of TACACS authentication server is all zeros.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands If you repeatedly use this command, the latest configuration overwrites the previous one. You can remove a TACACS scheme authorization server only when no Active TCP connection used to send authorization packets is now using the server, and the removal impacts only packets forwarded afterwards.
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands 2.3.20 timer response-timeout Syntax timer response-timeout seconds undo timer response-timeout 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.
Page 952
Command Manual – Security Chapter 2 AAA and RADIUS/HWTACACS Protocol Quidway S8500 Series Routing Switches Configuration Commands Parameter with-domain: Specifies that the domain name is taken along with the username that will be sent to the TACACS server. without-domain: Specifies that no domain name is taken along with the username that will be sent to the TACACS server.
Page 956
Command Manual – Reliability Quidway S8500 Series Routing Switches Chapter 1 VRRP Configuration Commands virtual-router-ID: VRRP virtual router ID, ranging from 1 to 255. Description Use the display vrrp command to view the information about the VRRP state. 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.
Command Manual – Reliability Quidway S8500 Series Routing Switches Chapter 1 VRRP Configuration Commands Field Description Auth Type Authentication type Track IF Track interface Reduced priority value for virtual router when track Pri Reduced interface is Down Virtual IP Virtual IP address list of virtual router...
Command Manual – Reliability Quidway S8500 Series Routing Switches Chapter 1 VRRP Configuration Commands Initialize NONE 15.15.15.192 Initialize NONE 16.16.16.192 Initialize NONE 17.17.17.192 Table 1-2 Description on the fields of the display vrrp summary command Field Description Run Method Run method: real or virtual MAC method...
Command Manual – Reliability Quidway S8500 Series Routing Switches Chapter 1 VRRP Configuration Commands 1.1.7 vrrp method Syntax vrrp method { real-mac | virtual-mac } undo vrrp method View System view Parameter real-mac: Uses the real MAC address of the interface to match the virtual IP address of the virtual router in VRRP backup.
Command Manual – Reliability Quidway S8500 Series Routing Switches Chapter 1 VRRP Configuration Commands undo vrrp ping-enable View System view Parameter None Description Use vrrp ping-enable command to enable the function to ping the virtual IP address of the virtual router.
Command Manual – Reliability Quidway S8500 Series Routing Switches Chapter 1 VRRP Configuration Commands View VLAN interface view Parameter virtual-router-ID: VRRP virtual router ID, ranging from 1 to 255. priority: Priority value, ranging from 1 to 254; By default, the priority value is 100.
Command Manual – Reliability Quidway S8500 Series Routing Switches Chapter 2 HA Configuration Commands Chapter 2 HA Configuration Commands 2.1 HA Configuration Commands 2.1.1 debugging ha Syntax debugging ha { all | event | message | state } undo debugging ha { all | event | message | state }...
Command Manual – Reliability Quidway S8500 Series Routing Switches Chapter 2 HA Configuration Commands Description Use the display switchover state command to view the switchover state of master or slave board. This command is used to display the switchover state of master or slave board according to the specified slot number.
Command Manual – Reliability Quidway S8500 Series Routing Switches Chapter 2 HA Configuration Commands undo slave auto-update config View System view Parameter None Description Use the slave auto-update config command to enable automatic synchronization between the master and slave systems.
Command Manual – Reliability Quidway S8500 Series Routing Switches Chapter 2 HA Configuration Commands 2.1.6 slave switchover Syntax slave switchover View User view Parameter None Description Use the slave switchover command to start the master-slave switchover manually. In the environment in which the slave board is available and master in real-time backup state, the user can inform the slave board of a master-slave switchover by using a command if he expects the slave board to operate in place of the master board.
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands Chapter 1 File System Management Commands 1.1 File System Note: 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;...
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands This command supports wildcard characters. The deleted files are kept in the recycle bin and will not be displayed when you use the dir command. However they will be displayed, using the dir /all command.
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands -rwxrwxrwx 1 noone nogroup Sep 20 2003 14:28:52 test.txt -rw- Apr 04 2005 20:13:47 [snmpboots] 31877 KB total (2182 KB free) The files that have already been deleted and kept in the recycle bin are displayed with the [ ] prompt.
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands 1.1.6 file prompt Syntax file prompt { alert | quiet } View System view Parameter alert: Performs interactive confirmation on dangerous file operations; The default value is alert, which configures to perform interactive confirmation on dangerous file operations.
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands Currently, the switch does not support this command on the compact flash (CF) card. Example # Restore the space of the storage device flash.
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands Description Use the mkdir command to create directory in the specified directory on the storage device. The directory to be created cannot have the same name as that of other directory or file in the specified directory.
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands Parameter None Description Use the pwd command to view the current path. Error may occur without setting the current path. Example # Display the current path.
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands View User view Parameter file-url: Name of the file to be deleted. Description Use the reset recycle-bin command to permanently delete files from the recycle bin.
Page 992
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands Table 1-1 Special characters in the regular expression Special Description Restriction characters If the first character in the regular expression is not a underscore, then...
Page 993
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands server-type nec primary authentication 127.0.0.1 1645 primary accounting 127.0.0.1 1646 user-name-format without-domain domain system radius-scheme system access-limit disable state active idle-cut disable domain default enable system local-server nas-ip 127.0.0.1 key huawei...
Page 994
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands interface Ethernet4/1/6 interface Ethernet4/1/7 … interface NULL0 ospf area 0.0.0.0 network 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.
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands sysname Quidway radius scheme system server-type nec primary authentication 127.0.0.1 1645 primary accounting 127.0.0.1 1646 user-name-format without-domain domain system radius-scheme system access-limit disable state active...
Page 996
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands Description Use the display saved-configuration command to view the configuration files in the flash memory or CF card of Ethernet Switch. If the Ethernet Switch works abnormally after electrified, execute the display saved-configuration command to view the startup configuration of the Ethernet Switch.
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands The displayed information is global, port and user configurations. 1.2.3 display this Syntax display this View Any view Parameter None Description Use the display this command to display the running configuration of the current view.
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands View Any view Parameter None Description Use the display startup command to display the related system software and configuration filenames used for the current and the next start-ups.
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands After upgrade of software, configuration files in flash memory may not match the new version's software. Perform the reset saved-configuration command to erase the old configuration files.
Command Manual – System Management Quidway S8500 Series Routing Switches Chapter 1 File System Management Commands <Quidway> save The configuration will be written to the device. Are you sure?[Y/N]y Now saving current configuration to the device. Saving configuration flash:/8500.cfg. Please wait..