Page 2
3119A050 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.
It is used for assisting the users in data Switches Operation Manual configurations and typical applications. Organization Quidway S3900 Series Ethernet Switches Command Manual consists of the following parts: 1 CLI Introduces the commands used for switching between the command levels and command level setting.
Page 5
Introduces the commands used for multicast configuration. 19 802.1x Introduces the commands used for 802.1x configuration. 20 AAA&RADIUS&HWTACACS&EAD Introduces the commands used for AAA, RADIUS, HWTACACS, and EAD configuration. 21 VRRP Introduces the commands used for VRRP configuration. 22 Centralized MAC Address Authentication Huawei Technologies Proprietary...
Page 6
Introduces the NTP-related commands. 35 SSH Terminal Service Introduces the commands used for SSH configuration. 36 File System Management Introduces the commands used for file system management. 37 FTP and TFTP Introduces the FTP-/TFTP-related commands. 38 Information Center Huawei Technologies Proprietary...
Page 7
Terminal Display is in Courier New. Courier New II. Command conventions Convention Description Boldface The keywords of a command line are in Boldface. italic Command arguments are in italic. Items (keywords or arguments) in square brackets [ ] are Huawei Technologies Proprietary...
Page 8
<Enter>, <Tab>, <Backspace>, or <A>. Press the keys concurrently. For example, <Ctrl+Alt+A> <Key1+Key2> means the three keys should be pressed concurrently. Press the keys in turn. For example, <Alt, A> means the <Key1, Key2> two keys should be pressed in turn. Huawei Technologies Proprietary...
Page 9
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, Warning, Danger: Means reader be extremely careful during the operation. Note, Comment, Tip, Knowhow, Thought: Means a complementary description. Huawei Technologies Proprietary...
Command Manual - CLI Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 CLI Configuration Commands 1.1.2 display history-command Syntax display history-command View Any view Parameter None Description Use the display history-command command to display history commands. All the history commands are saved in the history command cache. When the history command cache is full, the old information in it will be overlaid.
Command Manual - CLI Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 CLI Configuration Commands well to switch to the higher user level. You will remain in the original user level if you fail to provide the correct password. Note that: Users logging into a switch also fall into four levels, each of which corresponding to one of the command levels.
Page 14
Command Manual - CLI Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 CLI Configuration Commands password: Password to be set. If you specify the simple keyword, provide this argument in plain text. If you specify the cipher keyword, you can provide this argument in either encrypted text or plain text.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands Note: To improve security and avoid malicious attack to the unused SOCKETs, TCP 23 and TCP 22 ports for Telnet and SSH services respectively will be enabled or disabled after corresponding configurations.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands By default, no command is automatically executed. Caution: The auto-execute command command may cause you unable to perform common configuration in the user interface, so use it with caution.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands Example # Set the data bits to 7. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] user-interface aux 0 [Quidway-ui-aux0] databits 7 1.1.4 display telnet-server source-ip...
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands Description Use the display telnet source-ip command to display the source IP address configured for the switch operating as the Telnet client. If the source interface is also configured for the switch, this command displays the IP address of the source interface.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands Type : Type and relative index of user-interface. Privi: The privilege of user-interface. Auth : The authentication mode of user-interface. : The physical location of UIs.
Page 23
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands View Any view Parameter all: Displays the information about all user interfaces. Description Use the display users command to display the information about user interfaces. If you do not specify the all keyword, only the information about the current user interface is displayed.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands 1.1.8 free user-interface Syntax free user-interface [ type ] number View User view Parameter type: User interface type. number: Index of the user interface. This argument can be an absolute user interface index (if you do not provide the type argument) or a relative user interface index (if you provide the type argument).
Page 25
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands login: Sets the login banner. The banner set by this keyword is valid only when users are authenticated before they log into the switch and appears while the switch prompts for user name and password.
Page 26
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands When you log in the next time, “hello” and “my friend !“ is displayed respectively in two lines as the banner. The beginning character “h” appears in the banner.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands View User interface view Parameter minutes: Number of minutes. This argument ranges from 0 to 35,791. seconds: Number of seconds. This argument ranges from 0 to 59.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands Note: To improve security and avoid malicious attack to the unused SOCKETs, TCP 80 port for HTTP service will be enabled or disabled after corresponding configurations.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands After the command is executed, you are prompted to enter a password of 1 to 16 characters and make a confirmation. Then the current user interface is locked.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands 1.1.16 screen-length Syntax screen-length screen-length undo screen-length View User interface view Parameter screen-length: Number of lines the screen can contain. This argument ranges from 0 to 512 and defaults to 24.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands Description Use the send command to send messages to a specified user interface or all user interfaces. Example # Send “hello” to all user interfaces. <Quidway> send all Enter message, end with CTRL+Z or Enter;...
Page 34
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands language-mode command. The Telnet command is also of this level. Commands of this level cannot be saved in configuration files. Monitor level: Commands of this level are used to maintain the system, to debug service problems, and so on.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands 1.1.19 set authentication password Syntax set authentication password { cipher | simple } password undo set authentication password View User interface view Parameter cipher: Specifies to display the local password in encrypted text when you display the current configuration.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands [Quidway] user-interface vty 0 [Quidway-ui-vty0] set authentication password simple 123 1.1.20 shell Syntax shell undo shell View User interface view Parameter None Description Use the shell command to make terminal services available for the user interface.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands View User interface view Parameter speed-value: Transmission speed (in bps). This argument can be 300, 600, 1200, 2400, 4800, 9600, 19,200, 38,400, 57,600, and 115,200 and defaults to 9,600.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands Note: Changing the value of the stop bits does not affect the communications. Example # Set the stop bits to 2. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands 1.1.24 telnet Syntax telnet { hostname | ip-address } [ service-port ] View User view Parameter hostname: Host name of the remote switch. You can use the ip host command to assign a host name to a switch.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands Parameter interface-type: Type of the interface to be specified as the source interface. interface-number: Number of the interface to be specified as the source interface. Description Use the telnet-server source-interface interface command to specify the source interface for a Telnet server.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Login Commands Description Use the telnet source-ip command to specify the source IP address for a Telnet client. If the IP address specified is not an IP address of the device, your configuration fails.
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 Commands for User Control View User view Parameter user-id: Web user ID. user-name: User name of the Web user. This argument can contain 1 to 80 characters. all: Specifies all Web users.
Page 46
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 Commands for User Control 2.1.4 snmp-agent community Syntax snmp-agent community { read | write } community-name [ [ mib-view view-name ] | [ acl acl-number ] ]* undo snmp-agent community community-name...
Page 47
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 Commands for User Control undo snmp-agent group { v1 | v2c } group-name snmp-agent group v3 group-name [ authentication | privacy ] [ read-view read-view ] [ write-view write-view ] [ notify-view notify-view ] [ acl acl-number ]...
Page 48
Command Manual – Login Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 Commands for User Control <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] snmp-agent group v1 h123 acl 2001 Huawei Technologies Proprietary...
Command Manual – Configuration File Management Chapter 1 Configuration File Management Quidway S3900 Series Ethernet Switches-Release 1510 Commands Chapter 1 Configuration File Management Commands Note: File path and file name can be represented in one of the following ways: In universal resource locator (URL) format and starting with “unit [No.]>flash:/” ( [No.] represents the unit ID of the switch).
Page 51
Command Manual – Configuration File Management Chapter 1 Configuration File Management Quidway S3900 Series Ethernet Switches-Release 1510 Commands interface-number: Port/interface number. vlan: Displays VLAN configuration. vlan-id: VLAN ID. by-linenum: Displays line numbers. |: Uses a regular expression to filter the configuration of the device to be displayed.
Page 52
Command Manual – Configuration File Management Chapter 1 Configuration File Management Quidway S3900 Series Ethernet Switches-Release 1510 Commands Character Meaning Description Asterisk. It means that the preceding sub-expression zo* matches “z” and “zoo”. can be matched for zero or multiple times.
Command Manual – Configuration File Management Chapter 1 Configuration File Management Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.2 display saved-configuration Syntax display saved-configuration [ unit unit-id ] [ by-linenum ] View Any view Parameter unit unit-id: Specifies the unit ID of a switch.
Page 57
Command Manual – Configuration File Management Chapter 1 Configuration File Management Quidway S3900 Series Ethernet Switches-Release 1510 Commands port link-type hybrid port hybrid vlan 1 3 untagged voice vlan enable port hybrid protocol-vlan vlan 3 1 port hybrid protocol-vlan vlan 3 2...
Command Manual – Configuration File Management Chapter 1 Configuration File Management Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.3 display startup Syntax display startup [ unit unit-id ] View Any view Parameter unit unit-id: Specifies the unit ID of a switch.
Command Manual – Configuration File Management Chapter 1 Configuration File Management Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the display this command to display the current configuration performed in the current view. To verify the configuration performed in a view, you can use this command to display the parameters that are valid in the current view.
Page 61
Command Manual – Configuration File Management Chapter 1 Configuration File Management Quidway S3900 Series Ethernet Switches-Release 1510 Commands View User view Parameter backup: Specifies the secondary configuration file. main: Specifies the primary configuration file. Description Use the reset saved-configuration command to remove a specified configuration file from the Flash.
Command Manual – Configuration File Management Chapter 1 Configuration File Management Quidway S3900 Series Ethernet Switches-Release 1510 Commands Unit1 reset saved-configuration successfully. 1.1.6 save Syntax save [ cfgfile | [ safely ] [ backup | main ] ] View Any view...
Page 63
Command Manual – Configuration File Management Chapter 1 Configuration File Management Quidway S3900 Series Ethernet Switches-Release 1510 Commands Note: If you execute the save command with the cfgfile argument not specified, the current configuration is saved in the configuration file with which the device latest starts.
Command Manual – Configuration File Management Chapter 1 Configuration File Management Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.7 startup saved-configuration Syntax startup saved-configuration cfgfile [ backup | main ] undo startup saved-configuration [ unit unit-id ] View User view...
Page 65
Command Manual – Configuration File Management Chapter 1 Configuration File Management Quidway S3900 Series Ethernet Switches-Release 1510 Commands Example # Configure the configuration file named vrpcfg.cfg as the primary configuration file of the switches in the Fabric. <Quidway> startup saved-configuration vrpcfg.cfg main Please wait..Done!
Command Manual – VLAN Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VLAN Configuration Commands Chapter 1 VLAN Configuration Commands 1.1 VLAN Configuration Commands 1.1.1 description Syntax description text undo description View VLAN view, VLAN interface view Parameter text: String to describe the current VLAN or VLAN interface.
Page 68
Command Manual – VLAN Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VLAN Configuration Commands View Any view Parameter vlan-id: ID of the specific VLAN interface. Description Use the display interface Vlan-interface command to display the information about the VLAN interface, including:...
Command Manual – VLAN Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VLAN Configuration Commands Field Description The Maximum Transmit Unit Maximum transmission unit 1.1.3 display vlan Syntax display vlan [ vlan-id [ to vlan-id ] | all | dynamic | static ]...
Command Manual – VLAN Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VLAN Configuration Commands Parameter vlan-id: ID of the VLAN interface, in the range of 1 to 4,094. Description Use the interface Vlan-interface command to create a VLAN interface or enter VLAN interface view.
Command Manual – VLAN Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VLAN Configuration Commands View System view Parameter vlan-id: ID of the VLAN which you want to create and whose view you want to enter. This argument ranges from 1 to 4,094.
Page 74
Command Manual – VLAN Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VLAN Configuration Commands View System view Parameter vlan-id1: ID of the initial VLAN to be created, in the range of 1 to 4,094. to: Specifies the VLAN range.
VLAN, you can use the port trunk permit vlan and port hybrid vlan commands in Ethernet port view. For the configuration procedure, refer to the section “Port Basic Configuration” in Quidway S3900 Series Ethernet Switches – Operation Manual.
Command Manual – VLAN Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VLAN Configuration Commands [Quidway] interface Ethernet1/0/1 [Quidway-Ethernet1/0/1] port hybrid protocol-vlan vlan 3 0 to 4 1.3.4 protocol-vlan Syntax protocol-vlan [ procotol-index ] { at | ip | ipx { ethernetii | llc | raw | snap } | mode...
Page 80
Command Manual – VLAN Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VLAN Configuration Commands Note: When you use the mode keyword to configure protocol-based VLANs, if you set the etype arguments of Ethernet II or SNAP packets to 0x0800, 0x089b, and 0x8137, the matched packets have the same format as that of IP, IPX, and Appletalk packets respectively.
Page 81
Command Manual – IP Address and IP Performance Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Table of Contents Table of Contents Chapter 1 IP Address Configuration Commands............... 1-1 1.1 IP Address Configuration Commands ................1-1 1.1.1 display ip interface ....................1-1 1.1.2 ip address........................
Command Manual – IP Address and Performance Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 IP Address Configuration Commands Field Description ICMP packet input number: Echo reply: Unreachable: Total number of received ICMP Source quench: packets, including: Routing redirect:...
Page 85
Command Manual – IP Address and Performance Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 IP Address Configuration Commands Description Use the ip address command to specify an IP address and mask for a VLAN or loopback interface. Use the undo ip address command to remove an IP address and mask of a VLAN or loopback interface.
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands Field Description Nexthop Next hop address Flags: U: A route is up and available. G: Gateway route H: Local host route...
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands Description Use the display fib ip-address command to view the FIB entries matching the destination IP address. Each line indicates an FIB entry. The information includes: destination address/mask length, next hop, current flag, timestamp, and outbound interface.
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands Description Use the display fib acl command to view the FIB entries matching a specific ACL. For ACL, refer to the ACL module of this manual.
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands Parameter begin: Displays the FIB entries from the first one containing the string identified by the argument text. exclude: Displays only those FIB entries excluding the character string text.
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands Field Description destination unreachable Number of input/output packets with unreachable destination source quench Number of input/output source quench packets redirects Number of input/output redirected packets...
Page 94
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands Example # Display the information about the socket of the TCP type. <Quidway> display ip socket socktype 1 SOCK_STREAM: Task = VTYD(18), socketid = 1, Proto = 6, LA = 0.0.0.0:23, FA = 0.0.0.0:0,...
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands Field Description rb_cc Current data size in the receiving buffer socket option Option of a socket socket state State of a socket 2.1.9 display ip statistics...
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands Field Description Local Number received packets whose destination address is the local device bad protocol Number of packets with wrong protocol...
Page 97
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands View Any view Parameter None Description Use the display tcp statistics command to view the statistics about TCP packets. Related command: display tcp status and reset tcp statistics.
Page 98
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands Table 2-5 Description on the fields of the display tcp statistics command Field Description Received Total Total number of received packets...
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands Field Description Retransmitted timeout/ connections Times retransmission timer dropped in retransmitted timeout timeout/number dropped connections because retransmission times exceed the limit...
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands Example # View the state of all the TCP connections. <Quidway> display tcp status *: TCP MD5 Connection TCPCB Local Add:port...
Page 101
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands Total: 26320 checksum error: 0 shorter than header: 0, data length larger than packet: 0 no socket on port: 0 total broadcast or multicast packets : 25006...
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands 2.1.13 ip forward-broadcast Syntax ip forward-broadcast undo ip forward-broadcast View System view Parameter None Description Use the ip forward-broadcast command to enable broadcast from directly-connected network segment.
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands Example # Clear the statistics about IP packets. <Quidway> reset ip statistics 2.1.15 reset tcp statistics Syntax reset tcp statistics View...
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands 2.1.17 tcp timer fin-timeout Syntax tcp timer fin-timeout time-value undo tcp timer fin-timeout View System view Parameter time-value: TCP finwait timer value, in seconds, with the value ranging from 76 to 3600.
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands Description Use the tcp timer syn-timeout command to configure the TCP synwait timer. Use the undo tcp timer syn-timeout command to restore the default value of the TCP synwait timer.
Page 106
Command Manual – IP Address and Confiugration Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 IP Performance Configuration Commands System View: return to User View with Ctrl+Z. [Quidway] tcp window 3 2-21...
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.2 display interface Vlan-interface Syntax display interface Vlan-interface [ vlan-id ] View Any view Parameter vlan-id: ID of the management VLAN interface the information about which is to be displayed.
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Field Description The Maximum Transmit Unit The maximum transmit unit (MTU) 1.1.3 display ip host Syntax display ip host View Any view Parameter...
Page 111
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands View Any view Parameter vlan-id: ID of the management VLAN interface, in the range of 1 to 4094. brief: Displays the configuration information about the specified interface in brief.
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Table 1-3 Description on the fields of the display ip interface command Field Description Vlan-interface1 current state Current state of Vlan-interface1 Line protocol current state...
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Parameter None Description Use the display ip routing-table command to display the summary information about the routing table. This command displays the summary information about a routing table, with the items of a routing entry contained in one line.
Page 114
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands View Any view Parameter acl-number: Number of a basic access control list (ACL), in the range of 2000 to 2999. verbose: Displays the detailed information about the active and inactive routes filtered by the specified ACL.
Page 116
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Field Description Descriptions on the route state are as follows: ActiveU Valid unicast route. “U” stands for unicast. Blackhole route is the same as reject route except that a...
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.7 display ip routing-table ip-address Syntax display ip routing-table ip-address [ mask ] [ longer-match ] [ verbose ] View Any view Parameter ip-address: Destination IP address, in dotted decimal notation.
Page 118
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Example # Display the summary information of the corresponding routes with destination addresses matched within the natural mask range. <Quidway> display ip routing-table 169.0.0.0...
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.9 display ip routing-table ip-prefix Syntax display ip routing-table ip-prefix ip-prefix-name [ verbose ] View Any view Parameter ip-prefix-name: Name of an IP prefix list, a string comprising 1 to 19 characters.
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Note: The information about the OSPF protocol cannot be displayed on S3900-SI series switches. Example # Display the summary information about all the direct routes.
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Parameter None Description Use the display ip routing-table radix command to display the information about the routes in a routing table in a hierarchical way.
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Example # Display the statistics information about the routing table. <Quidway> display ip routing-table statistics Routing tables: Proto route active added deleted DIRECT...
Page 125
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the display ip routing-table verbose command to display the detailed information about a routing table. This command displays the detailed information about the routing table, in the order of route state, statistics of the routing table, and the information about each route.
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.14 interface Vlan-interface Syntax interface Vlan-interface vlan-id undo interface Vlan-interface vlan-id View System view Parameter vlan-id: ID of the management VLAN, in the range of 1 to 4094.
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the ip host command to configure a host name and the corresponding IP address for a switch. Use the undo ip host command to remove the host name and the corresponding IP address of a switch.
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands detect-group-id: Detect group number in the range of 1 to 25. description text: Specifies a descriptive string for the static route. The text argument is a string comprising 1 to 60 characters.
Command Manual - Management VLAN Chapter 1 Management VLAN Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the management-vlan command to set the management VLAN. Use the undo management vlan command to restore the default management VLAN. By default, VLAN 1 is the management VLAN.
Command Manual - Management VLAN Chapter 2 DHCP/BOOTP Client Quidway S3900 Series Ethernet Switches-Release 1510 Configuration 2.1.4 ip address dhcp-alloc Syntax ip address dhcp-alloc undo ip address dhcp-alloc View VLAN interface view Parameter None Description Use the ip address dhcp-alloc command to configure a VLAN interface to obtain an IP address through DHCP.
Command Manual - Management VLAN Chapter 2 DHCP/BOOTP Client Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Description Use the display bootp client command to display BOOTP client-related information, including the MAC address of the BOOTP client and the IP address obtained.
Page 136
Command Manual - Management VLAN Chapter 2 DHCP/BOOTP Client Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Example # Configure the management VLAN interface to obtain an IP address through BOOTP. (Assume that VLAN 1 is the management VLAN.) <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Voice VLAN Configuration Commands Parameter None Description Use the display voice vlan oui command to display the currently supported OUI addresses and the related information. Related command: voice vlan voice, vlan enable.
Command Manual – Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Voice VLAN Configuration Commands Voice Vlan aging time: 100 minutes Current voice vlan enabled port mode: PORT MODE -------------------------------- Ethernet1/0/2 AUTO Ethernet1/0/3 MANUAL Table 1-1 Description on the fields of the display voice vlan status command...
Command Manual – Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Voice VLAN Configuration Commands Description Use the display vlan command to display the ports in the current voice VLAN. Related command: voice vlan. Example # Display the ports included in the current voice VLAN, assuming that the current voice VLAN is VLAN 6.
Command Manual – Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Voice VLAN Configuration Commands Caution: When you are enabling voice VLAN function for a specified VLAN, the specified VLAN must exist, otherwise, your configuration fails. If you want to delete a VLAN with voice VLAN function enabled, you must disable the voice VLAN function first.
Command Manual – Voice VLAN Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Voice VLAN Configuration Commands Related command: display voice vlan status. Example # Set the aging time of the voice VLAN to 100 minutes. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – GVRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 GVRP Configuration Commands 1.1.2 display garp timer Syntax display garp timer [ interface interface-list ] View Any view Parameter interface-list: List of Ethernet ports. You can specify multiple Ethernet ports by providing this argument in the form of interface-list = { interface-type interface-number [ to interface-type interface-number ] } &<1-10>, where &<1-10>...
Page 150
Command Manual – GVRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 GVRP Configuration Commands View Ethernet port view Parameter hold: Sets the GARP Hold timer. When a GARP entity receives a piece of registration information, it does not send out a Join message immediately. Instead, to save the...
Command Manual – GVRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 GVRP Configuration Commands Timer Lower threshold Upper threshold This lower threshold greater than or equal to twice This upper threshold is less than the timeout time of the Hold...
Command Manual – GVRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 GVRP Configuration Commands By default, the LeaveAll timer is set to 1,000 centiseconds (that is, 10 seconds). Description Use the garp timer leaveall command to set the GARP LeaveAll timer.
Command Manual – GVRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 GVRP Configuration Commands 1.2.2 display gvrp status Syntax display gvrp status View Any view Parameter None Description Use the display gvrp status command to display the global GVRP status (enabled or disabled).
Command Manual – GVRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 GVRP Configuration Commands To enable GVRP for a port, you need to enable GVRP globally first. GVRP is disabled on any ports if GVRP is disabled globally. In this case, you cannot enable GVRP for a port.
Page 156
Command Manual – GVRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 GVRP Configuration Commands Example # Configure the GVRP registration type on the port Ethernet1/0/1 to fixed. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] interface Ethernet1/0/1...
Page 157
Command Manual – Port BasicConfiguration Quidway S3900 Series Ethernet Switches-Release 1510 Table of Contents Table of Contents Chapter 1 Port Basic Configuration Commands................ 1-1 1.1.1 Port Basic Configuration Commands..............1-1 1.1.2 broadcast-suppression.................... 1-1 1.1.3 copy configuration ....................1-2 1.1.4 description ....................... 1-4 1.1.5 display brief interface ....................
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Note: The global broadcast suppression setting configured by the broadcast-suppression command in system view takes effect on all Ethernet ports in the system except for the reflection ports, stack ports and ports having their own broadcast suppression settings.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the copy configuration command to copy the configuration on a port to some other ports to keep consistent configuration on them.
Page 161
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Copying Protocol based VLAN configuration... Copying LACP configuration... Copying QOS configuration... Copying GARP configuration... Copying STP configuration... Copying speed/duplex configuration... Note: Any aggregation group port you input in the destination port list will be removed from the list and the copy command will not take effect on the port.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Example # Display the brief configuration information about the Ethernet1/0/1 port. <Quidway> display brief interface Ethernet1/0/1 Interface: - Ethernet - GigabitEthernet TENGE - tenGigabitEthernet...
Page 164
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the display interface command to display port configuration. When using this command: If you specify neither port type nor port number, the command displays information about all ports.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands There is no port existing loopback link Table 1-3 Description on the fields of the display loopback-detection command Field Description Port Ethernet1/0/1...
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Wave Length(nm) Vendor Name : 3Com Serial Number : L1RP3N0067090 3C Number Transfer Distance(m) Fiber 50um Fiber : 550 62.5um Fiber : 270 Copper Line 1.1.9 display port...
Page 169
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Parameter unit-id: Unit ID, in the range of 1 to 8. Description Use the display unit command to display information about the ports on a specified unit.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands [Quidway-Ethernet1/0/1] duplex auto 1.1.12 flow-control Syntax flow-control undo flow-control View Ethernet port view Parameter None Description Use the flow-control command to enable flow control on the current Ethernet port.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands View Ethernet port view Parameter Interval: Interval (in seconds) to perform statistics on port information. This argument ranges from 5 to 300 (in step of 5) and is 300 by default.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the giant-frame statistics enable command to enable the giant-frame statistics function. Use the undo giant-frame statistics enable command to disable the giant-frame statistics function.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Range of port number Switch model Ethernet port GigabitEthernet port S3928P-SI S3928TP-SI S3928P-PWR-SI 1 to 24 1 to 4 S3928P-EI S3928F-EI S3928P-PWR-EI...
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Use the undo jumboframe enable command to allow frames that are not larger than 1536 bytes to pass through the current Ethernet port.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands [Quidway-Ethernet1/0/1] 1.1.18 loopback-detection control enable Syntax loopback-detection control enable undo loopback-detection control enable View Ethernet port view Parameter None Description Use the loopback-detection control enable command to enable the loopback detection control feature on the current trunk or hybrid port.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.19 loopback-detection enable Syntax loopback-detection enable undo loopback-detection enable View System view, Ethernet port view Parameter None Description Use the loopback-detection enable command to enable the loopback detection feature on ports to detect whether external loopback occurs on a port.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands undo loopback-detection interval-time View System view Parameter time: Time interval for loopback detection, in the range of 5 to 300 (in seconds). It is 30 seconds by default.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Note that the command is invalid for any access port. Example # Configure the system to run loopback detection on all VLANs of the Ethernet1/0/1 port (suppose it is a trunk or hybrid port).
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.23 multicast-suppression Syntax multicast-suppression { ratio | pps max-pps } undo multicast-suppression View Ethernet port view Parameter ratio: Maximum ratio of received multicast traffic to the total bandwidth on the Ethernet port.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.24 port access vlan Syntax port access vlan vlan-id undo port access vlan View Ethernet port view Parameter vlan-id: VLAN ID defined in IEEE802.1Q, in the range of 1 to 4094.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.25 port hybrid pvid vlan Syntax port hybrid pvid vlan vlan-id undo port hybrid pvid View Ethernet port view Parameter vlan-id: VLAN ID defined in IEEE802.1Q, in the range of 1 to 4094. It is 1 by default.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Parameter vlan-id-list: VLAN range to which the hybrid port will be added. vlan-id-list = [ vlan-id1 [ to vlan-id2 ] ]&<1-10>, where, vlan-id is in the range of 1 to 4094 and can be discrete, and &<1-10>...
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Parameter access: Sets the port as an access port. hybrid: Sets the port as a hybrid port. trunk: Sets the port as a trunk port.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Parameter vlan-id-list: VLAN range to which the trunk port will be added. vlan-id-list = [ vlan-id1 [ to vlan-id2 ] ]&<1-10>, where, vlan-id is in the range of 1 to 4094 and can be discrete, and &<1-10>...
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands To guarantee the proper packet transmission, the default VLAN ID of the local trunk port must be identical with that of the trunk port on the peer switch connected with the local trunk port.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.31 shutdown Syntax shutdown undo shutdown View Ethernet port view Parameter None Description Use the shutdown command to disable an Ethernet port.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the speed command to set the port speed. Use the undo speed command to restore the port speed to the default setting.
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands By default, the switch does not suppress unknown unicast traffic. Example # Allow unknown incoming unicast traffic on the Ethernet1/0/1 port to occupy at most 20% of the bandwidth on the port.
Page 190
Command Manual – Port Basic Configuration Chapter 1 Port Basic Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Pair skew Pair swap Pair polarity Insertion loss Return loss Near-end crosstalk By default, the system does not test the cable connected to the Ethernet port.
Page 191
Command Manual – Link Aggregation Quidway S3900 Series Ethernet Switches-Release 1510 Table of Contents Table of Contents Chapter 1 Link Aggregation Configuration Commands............1-1 1.1 Link Aggregation Configuration Commands..............1-1 1.1.1 display link-aggregation interface................1-1 1.1.2 display link-aggregation summary................1-2 1.1.3 display link-aggregation verbose................
Command Manual – Link Aggregation Chapter 1 Link Aggregation Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Port-Priority: 32768, Oper key: 2, Flag: 0x45 Remote: System ID: 0x8000, 0000-0000-0000 Port Number: 0, Port-Priority: 32768 , Oper-key: 0, Flag: 0x38 Received LACP Packets: 0 packet(s), Illegal: 0 packet(s)
Page 194
Command Manual – Link Aggregation Chapter 1 Link Aggregation Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the display link-aggregation summary command to display summary information of all aggregation groups, including device ID of the local end, aggregation group ID, aggregation group type, device ID of the remote end, number of the selected ports, number of the unselected ports, load sharing type and master port number.
Command Manual – Link Aggregation Chapter 1 Link Aggregation Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Field Description Master Port Number of the master port 1.1.3 display link-aggregation verbose Syntax display link-aggregation verbose [ agg-id ] View Any view...
Command Manual – Link Aggregation Chapter 1 Link Aggregation Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands System ID: 0x16, 0012-a990-2240 Port Status: S -- Selected, U -- Unselected Local: Port Status Priority Key Flag ------------------------------------------------------------------------- Ethernet1/0/4 32768 {ACDEFG} Ethernet1/0/5...
Command Manual – Link Aggregation Chapter 1 Link Aggregation Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the display lacp system-id command to display the device ID of the local system, including the system priority and the MAC address.
Command Manual – Link Aggregation Chapter 1 Link Aggregation Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.6 lacp port-priority Syntax lacp port-priority port-priority undo lacp port-priority View Ethernet port view Parameter port-priority: Port priority, ranging from 0 to 65,535 and defaulting to 32,768.
Command Manual – Link Aggregation Chapter 1 Link Aggregation Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Example # Set the system priority to 64. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] lacp system-priority 64 1.1.8 link-aggregation group agg-id description...
Command Manual – Link Aggregation Chapter 1 Link Aggregation Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.9 link-aggregation group agg-id mode Syntax link-aggregation group agg-id mode { manual | static } undo link-aggregation group agg-id View System view Parameter agg-id: Aggregation group ID, in the range of 1 to 416.
Command Manual – Link Aggregation Chapter 1 Link Aggregation Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the port link-aggregation group command to add the current Ethernet port to a manual or static aggregation group. Use the undo port link-aggregation group command to remove the current Ethernet port from the aggregation group.
Page 202
Command Manual - Port Isolation Quidway S3900 Series Ethernet Switches-Release 1510 Table of Contents Table of Contents Chapter 1 Port Isolation Configuration Commands ..............1-1 1.1 Port Isolation Configuration Commands................1-1 1.1.1 display isolate port ....................1-1 1.1.2 port isolate....................... 1-1...
Command Manual - Port Isolation Chapter 1 Port Isolation Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Chapter 1 Port Isolation Configuration Commands 1.1 Port Isolation Configuration Commands 1.1.1 display isolate port Syntax display isolate port View Any view Parameter...
Page 204
Command Manual - Port Isolation Chapter 1 Port Isolation Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the port isolate command to add an Ethernet port to the isolation group. Use the undo port isolate command to remove an Ethernet port from the isolation group.
Page 205
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Table of Contents Table of Contents Chapter 1 Port Security Commands.................... 1-1 1.1 Port Security Commands....................1-1 1.1.1 display mac-address security.................. 1-1 1.1.2 display port-security ....................1-1 1.1.3 mac-address security ....................
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands Chapter 1 Port Security Commands 1.1 Port Security Commands 1.1.1 display mac-address security Syntax display mac-address security [ interface interface-type interface-number ] [ vlan...
Page 207
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands View Any view Parameter interface-list: Specifies an Ethernet port list, which can contain multiple Ethernet ports. The interface-list argument is in the format of { interface-type interface-number [ to interface-type interface-number ] } &...
Page 208
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands Ethernet1/0/1 is link-down Port mode is noRestriction NeedtoKnow mode is needtoknowonly Intrusion mode is disableport Max mac-address num is 100 Stored mac-address num is 0 Authorization is permit (Any display that follows is omitted.)
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands Field Description Intrusion mode intrusion detection mode disableportTemporarily disableportTemporarily. maximum number Max mac-address num is not configured addresses allowed to access the port is not configured here.
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands Note: You can add Security MAC address only when the port-security is enabled globally and the port-security port-mode autolearn command is configured on the port.
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands Caution: To avoid confliction, the following limitation on the 802.1x and the MAC address authentication will be taken after port security is enabled: The access control mode (set by the dot1x port-control command) automatically changes to auto.
Page 212
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands Note: You can use the port-security timer disableport command to set the time period during which the port is disconnected in the disableport-temporarily mode...
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands # Enter Ethernet1/0/1 port view. [Quidway] interface Ethernet1/0/1 # Set the action mode of the Intrusion Protection feature on Ethernet1/0/1 port to disableport.
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands 1.1.7 port-security max-mac-count Syntax port-security max-mac-count count-value undo port-security max-mac-count View Ethernet port view Parameter count-value: Maximum number of MAC addresses, in the range of 1 to 1024.
Page 215
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands View Ethernet port view Parameter ntkonly: Allows system transmit only unicast packets with successfully-authenticated destination MAC addresses. ntk-withbroadcasts: Allows the system to transmit the broadcast packets and the unicast packets with successfully-authenticated destination MAC addresses.
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands 1.1.9 port-security oui Syntax port-security oui OUI-value index index-value undo port-security oui index id-value View System view Parameter OUI-value: OUI value. You can input a complete MAC address (hexadecimal) for this argument and the system will calculate the OUI value from your input.
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands Example # Set an OUI value by specifying the MAC address 00ef-ec00-0000, and set the OUI index to 5 <Quidway> system-view System View: return to User View with Ctrl+Z.
Page 218
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands Security Description Feature mode In this mode, the system is disabled from learning MAC addresses from this port. secure Only the packets whose original MAC addresses are the configured static MAC addresses can pass the port.
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands Security Description Feature mode This mode similar userlogin- userlogin-secure-or-mac mode, except that secure-or- there can be more than one 802.1x-authenticated mac-ext user on the port.
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands Note: The time set by the port-security timer disableport command takes effect when the disableport-temporarily mode is set by the port-security intrusion-mode command.
Page 221
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Port Security Commands Note: RADIUS authenticated login using MAC-address (RALM) refers address–based RADIUS authentication. Description Use the port-security trap command to enable the sending of the specified type(s) of trap messages.
Command Manual – Port Security & Port Binding Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 Port Binding Commands 2.1.3 display am user-bind Syntax display am user-bind [ interface interface-type interface-number | mac-addr | ip-addr ] View Any view Parameter interface: Displays the binding information of specified interface.
Command Manual - DLDP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 DLDP Configuration Commands interface GigabitEthernet1/1/1 dldp port state : advertisement dldp link state : up The neighbor number of the port is 1. neighbor mac address : 00e0-fc27-750d...
Command Manual - DLDP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 DLDP Configuration Commands Example # Enable DLDP globally on all optical ports of the switch. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] dldp enable All fiber ports except fabric ports have enabled DLDP! 1.1.3 dldp authentication-mode...
Command Manual - DLDP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 DLDP Configuration Commands Related command: dldp unidirectional-shutdown. Example # Set the DLDP authentication mode and password for the ports connected with fiber cables or copper twisted pairs between Quidway A and Quidway B to plain text and abc respectively.
Command Manual - DLDP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 DLDP Configuration Commands Example # Set the interval of sending advertisement packets to 20 seconds when all the DLDP-enabled ports are in the Advertisement status. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual - DLDP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 DLDP Configuration Commands undo dldp unidirectional-shutdown View System view Parameter auto: In this mode, when DLDP finds an unidirectional link or finds (in the enhanced mode) that the peer port is down , it automatically disables the corresponding port.
Command Manual - DLDP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 DLDP Configuration Commands normal: Configures DLDP to work in normal mode. In this mode, DLDP does not probe actively whether neighbors exist when neighbor tables are aging. Description Use the dldp work-mode command to set the DLDP operating mode.
Page 233
Command Manual - DLDP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 DLDP Configuration Commands Use the undo dldp delaydown-timer command to restore the default delaydown timer setting. Example # Set the delaydown timer to 2 seconds. <Quidway> system-view System View: return to User View with Ctrl+Z.
Page 234
Command Manual – MAC Address Table Quidway S3900 Series Ethernet Switches-Release 1510 Table of Contents Table of Contents Chapter 1 MAC Address Table Configuration Commands ............1-1 1.1 MAC Address Table Configuration Commands..............1-1 1.1.1 display mac-address aging-time ................1-1 1.1.2 display mac-address ....................
This chapter describes the management of static, dynamic, and blackhole MAC address entries. For information about the management of multicast MAC address entries, refer to the section related to multicast protocol in Quidway S3900 Series Ethernet Switches Command Manual. 1.1 MAC Address Table Configuration Commands 1.1.1 display mac-address aging-time...
Command Manual – MAC Address Table Chapter 1 MAC Address Table Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Mac address aging time: no-aging The output information indicates that dynamic MAC address entries do not age out. 1.1.2 display mac-address...
Page 237
Command Manual – MAC Address Table Chapter 1 MAC Address Table Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands vlan-id: VLAN ID. This argument ranges from 1 to 4094. count: Displays only the total number of the MAC address entries.
Command Manual – MAC Address Table Chapter 1 MAC Address Table Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands View Ethernet port view Parameter count: Maximum number of MAC addresses a port can learn. This argument ranges from 0 to 4,096. A value of 0 disables the port from learning MAC addresses.
Page 241
Command Manual – MAC Address Table Chapter 1 MAC Address Table Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the mac-address timer command to set the aging time for dynamic MAC address entries. Use the undo mac-address timer command to restore the default aging time.
Page 242
Command Manual – Auto Detect Quidway S3900 Series Ethernet Switches-Release 1510 Table of Contents Table of Contents Chapter 1 Auto Detect Configuration Commands ..............1-1 1.1 Auto Detect Configuration Commands ................1-1 1.1.1 detect-group ......................1-1 1.1.2 detect-list ......................... 1-1 1.1.3 display detect-group....................
Command Manual – Auto Detect Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Auto Detect Configuration Commands Chapter 1 Auto Detect Configuration Commands 1.1 Auto Detect Configuration Commands 1.1.1 detect-group Syntax detect-group group-number undo detect-group group-number View System view Parameter group-number: Detecting group number ranging from 1 to 25.
Command Manual – Auto Detect Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Auto Detect Configuration Commands Parameter list-number: Sequence number of the IP address to be added to the detecting group. This argument ranges from 1 to 10. ip address ip-address: Specifies the IP address (in dotted decimal notation) to be detected.
Page 245
Command Manual – Auto Detect Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Auto Detect Configuration Commands Description Use the display detect-group command to display the configuration of a specified detecting group or all detecting groups. Example # Display the configuration of detecting group 1.
Page 246
Command Manual – Auto Detect Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Auto Detect Configuration Commands 1.1.4 option Syntax option [ and | or ] undo option View Detecting group view Parameter and: Specifies the detecting result is reachable only when all the IP addresses contained in the detecting group are reachable.
Command Manual – Auto Detect Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Auto Detect Configuration Commands 1.1.5 retry Syntax retry retry-times View Detecting group view Parameter retry-times: Retry times during a detect operation. This argument ranges from 0 to 10 and defaults to 2.
Command Manual – Auto Detect Chapter 2 Commands for Auto Detect Quidway S3900 Series Ethernet Switches-Release 1510 Implementation Chapter 2 Commands for Auto Detect Implementation Note: Refer to the Routing Protocol chapter in this manual for information about static routing.
Command Manual – Auto Detect Chapter 2 Commands for Auto Detect Quidway S3900 Series Ethernet Switches-Release 1510 Implementation blackhole: Specifies the route to be a blackhole route. If you specify this keyword when executing this command, all outbound interfaces of the static route are the Null 0 interfaces regardless of the next hop.
Command Manual – Auto Detect Chapter 2 Commands for Auto Detect Quidway S3900 Series Ethernet Switches-Release 1510 Implementation Enable the secondary interface when the result of the detecting group is unreachable. When the link between the primary VLAN interface and the destination comes back up, that is, the result of the detecting group is reachable again, the system enables the primary VLAN interface and shuts down the secondary.
Page 252
Command Manual – Auto Detect Chapter 2 Commands for Auto Detect Quidway S3900 Series Ethernet Switches-Release 1510 Implementation Note: Currently, auto detect in VRRP is only supported in S3900-EI series switches. Example # Create detecting group 10 and specify to detect the IP address of 202.12.1.55.
Page 253
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Table of Contents Table of Contents Chapter 1 MSTP Configuration Commands ................1-1 1.1 MSTP Configuration Commands ..................1-1 1.1.1 active region-configuration ..................1-1 1.1.2 bpdu-drop any ......................1-2 1.1.3 check region-configuration ..................1-2 1.1.4 display stp .......................
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 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 settings of an MST (multiple spanning tree) region.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands 1.1.2 bpdu-drop any Syntax bpdu-drop any undo bpdu-drop any View Ethernet port view Parameter None Description Use the bpdu-drop any command to configure the BPDU packets drop function on an Ethernet port.
Page 257
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Parameter None Description Use the check region-configuration command to display the current MST region configuration (maybe inactivated), including region name, revision level, and VLAN mapping table.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands 1.1.4 display stp Syntax display stp [ instance instance-id ] [ interface interface-list | slot slot-number ] [ brief ] View Any view Parameter instance-id: ID of the spanning tree instance ranging from 0 to 16. A value of 0 specifies the common and internal spanning tree (CIST).
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands root, CIST root port of the switch, the state of the BPDU (bridge protocol data unit) protection function (enabled or disabled), and the state of the digest snooping feature (enabled or disabled).
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands View Any view Parameter None Description Use the display stp region-configuration command to display the activated MST region configuration, including the region name, region revision level, and spanning tree instance-to-VLAN mappings configured for the switch.
Page 261
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands View MST region view Parameter instance-id: ID of a spanning tree instance ranging from 0 to 16. A value of 0 specifies the CIST. vlan-list: List of VLANs. You need to provide this argument in the form of vlan-list = { vlan-id [ to vlan-id ] }&<1-10>, where &<1-10>...
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands 1.1.7 region-name Syntax region-name name undo region-name View MST region view Parameter name: MST region name to be set for the switch, a string of 1 to 32 characters.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands interface-type interface-number ] } &<1-10>, where &<1-10> means that you can provide up to 10 port indexes/port index ranges for this argument. Description Use the reset stp command to clear spanning tree-related statistics on Ethernet ports.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Example # Set the MSTP revision level of the MST region to 5. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] stp region-configuration [Quidway-mst-region] revision-level 5 1.1.10 stp...
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Caution: As Gigabit ports of an S3900 series switch cannot be shut down, the BPDU protection function is not applicable to these ports even if you enable the BPDU protection function and specify these ports to be MSTP edge ports.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Note: The digest snooping feature is needed only when your S3900 series switch is connected to partner's proprietary protocol-adopted switches. To enable the digest snooping feature successfully, you must first enable it on all the switch ports that connect to partner's proprietary protocol-adopted switches and then enable it globally.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Description Use the stp cost command to set the path cost of the current port in a specified spanning tree instance. Use the undo stp cost command to revert to the default path cost of the current port in the specified spanning tree instance.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Use the stp edged-port disable command to configure the current Ethernet port as a non-edge port. Use the undo stp edged-port command to restore the current Ethernet port to its default state.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Parameter interface-list: Ethernet port list. You can specify multiple Ethernet ports by providing this argument in the form of interface-list = { interface-type interface-number [ to interface-type interface-number ] } &<1-10>, where &<1-10>...
Page 273
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Parameter interface-list: Ethernet port list. You can specify multiple Ethernet ports by providing this argument in the format of interface-list ={ interface-type interface-number [ to interface-type interface-number ] } &<1-10>, where &<1-10>...
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Note: The digest snooping feature is needed only when your S3900 series switch is connected to partner's proprietary protocol-adopted switches. To enable the digest snooping feature successfully, you must first enable it on all the ports of your S3900 series switch that are connected to partner's proprietary protocol-adopted switches and then enable it globally.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Description Use the stp interface cost command to set the path cost(s) of the specified port(s) in a specified spanning tree instance in system view.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands disable: Configures the specified Ethernet ports to be non-edge ports. Description Use the stp interface edged-port enable command to configure the specified Ethernet port(s) as edge ports in system view.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands undo stp interface interface-list loop-protection View System view Parameter interface-list: Ethernet port list. You can specify multiple Ethernet ports by providing this argument in the form of interface-list = { interface-type interface-number [ to interface-type interface-number ] } &<1-10>, where &<1-10>...
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Parameter interface-list: Ethernet port list. You can specify multiple Ethernet ports by providing this argument in the form of interface-list = { interface-type interface-number [ to interface-type interface-number ] } &<1-10>, where &<1-10>...
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands The rapid transition feature is disabled on any port by default. Some manufactures' switches adopt proprietary spanning tree protocols that are similar to RSTP in the way to implement rapid transition on designated ports. When a switch of this kind operates as the upstream switch of an S3900 series switch running MSTP, the upstream designated port fails to change their states rapidly.
Page 280
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands interface-type interface-number ] } &<1-10>, where &<1-10> means that you can provide up to 10 port indexes/port index ranges for this argument. force-true: Specifies that the links connected to the specified Ethernet ports are point-to-point links.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands 1.1.26 stp interface root-protection Syntax stp interface interface-list root-protection undo stp interface interface-list root-protection View System view Parameter interface-list: Ethernet port list. You can specify multiple Ethernet ports by providing this argument in the form of interface-list = { interface-type interface-number [ to interface-type interface-number ] } &<1-10>, where &<1-10>...
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Example # Enable the root protection function on Ethernet1/0/1 port. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] stp interface Ethernet 1/0/1 root-protection 1.1.27 stp interface transmit-limit...
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands 1.1.28 stp loop-protection Syntax stp loop-protection undo stp loop-protection View Ethernet port view Parameter None Description Use the stp loop-protection command to enable the loop prevention function on the current port.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands 1.1.29 stp max-hops Syntax stp max-hops hops undo stp max-hops View System view Parameter hops: Maximum hops to be set. This argument ranges from 1 to 40. The default maximum hops value of an MST region is 20.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands 1.1.30 stp mcheck Syntax stp mcheck View System view, Ethernet port view Parameter None Description Use the stp mcheck command to perform the mCheck operation on the current port.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands View System view Parameter stp: Enables the STP-compatible mode. mstp: Enables the MSTP mode. rstp: Enables RSTP-compatible. Description Use the stp mode command to set the MSTP operation mode.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Description Use the stp no-agreement-check command to enable the rapid transition feature for a port. Use the stp no-agreement-check command to disable the rapid transition feature.
Page 289
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands View System view Parameter dot1d-1998: Uses the IEEE 802.1D-1998 standard to calculate the default path costs of ports. dot1t: Uses the IEEE 802.1t standard to calculate the default path costs of ports.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Normally, when a port operates in full-duplex mode, the corresponding path cost is slightly less than that when the port operates in half-duplex mode. When calculating the path cost of an aggregated link, the 802.1D-1998 standard does not take the number of the ports on the aggregated link into account, whereas the 802.1T standard does.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Description Use the stp point-to-point command to specify whether the link connected to the current Ethernet port is a point-to-point link. Use the undo stp point-to-point command to restore the link connected to the current Ethernet port to its default link type, which is automatically determined by MSTP.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands port priority priority: Sets the port priority. The priority argument ranges from 0 to 240 and must be a multiple of 16 (such as 0, 16, and 32). The default port priority of a port in any spanning tree instance is 128.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Description Use the stp priority command to set the priority of the switch in the specified spanning tree instance. Use the undo stp priority command to restore the switch to the default priority in the specified spanning tree instance.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands And you can modify the three settings after entering MST region view by using the stp region-configuration command. Example # Enter MST region view. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands recommended to set the network diameter and leave the Forward delay and Max age parameters being automatically determined by the network diameter you set. Caution: You can configure only one root bridge for a spanning tree instance and can configure one or more secondary root bridges for a spanning tree instance.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Description Use the stp root secondary command to configure the current switch as a secondary root bridge of a specified spanning tree instance. Use the undo stp root command to cancel the current configuration.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Use the undo stp root-protection command to restore the root protection function to the default state on the current port. By default, the root protection function is disabled.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands A switch removes MAC address entries and ARP entries upon receiving TC-BPDUs. If a malicious user sends a large amount of TC-BPDUs to a switch in a short period, the switch may busy itself in removing MAC address entries and ARP entries, which may decreases the performance and stability of the switch.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands As for the configuration of the three time-related parameters (that is, the Hello time, Forward delay, and Max age parameters), the following formulas must be met to prevent network jitter.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands As for the configuration of the three time-related parameters (that is, the Hello time, Forward delay, and Max age parameters), the following formulas must be met to prevent network jitter.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands As for the configuration of the three time-related parameters (that is, the Hello time, Forward delay, and Max age parameters), the following formulas must be met to prevent network jitter.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands Spanning trees may be regenerated even in a steady network if an upstream switch continues to be busy. You can configure the timeout time factor to a larger number to avoid this.
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands 1.1.47 vlan-mapping modulo Syntax vlan-mapping modulo modulo View MST region view Parameter modulo: Modulo ranging from 1 to 16. Description Use the vlan-mapping modulo command to map VLANs to specific spanning tree instances.
Page 304
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 MSTP Configuration Commands System View: return to User View with Ctrl+Z. [Quidway] stp region-configuration [Quidway-mst-region] vlan-mapping modulo 16 Huawei Technologies Proprietary 1-50...
Page 306
Command Manual – MSTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 BPDU Tunnel Configuration Commands Example # Enable the BPDU Tunnel function for the switch. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] vlan-vpn tunnel Huawei Technologies Proprietary...
Page 307
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Table of Contents Table of Contents Chapter 1 Static Route Configuration Commands ..............1-1 1.1 Routing Table Monitoring Commands ................1-1 1.1.1 display ip routing-table .................... 1-1 1.1.2 display ip routing-table acl..................1-2 1.1.3 display ip routing-table ip-address ................
Command Manual – Routing Protocol Chapter 1 Static Route Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Chapter 1 Static Route Configuration Commands Note: When running a routing protocol, the Ethernet switch also functions as a router. The words “router” and the router icons covered in the following text represent routers in common sense and Ethernet switches running a routing protocol.
Command Manual – Routing Protocol Chapter 1 Static Route Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 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 InLoopBack0 2.2.2.0/24 DIRECT 2.2.2.1 Vlan-interface2 2.2.2.1/32 DIRECT 127.0.0.1 InLoopBack0 3.3.3.0/24 DIRECT 3.3.3.1...
Page 312
Command Manual – Routing Protocol Chapter 1 Static Route Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the display ip routing-table acl command to display the routes that filtered through a specific basic ACL. This command is used to track and display the results of route policy. It displays and only displays the routes that filtered through the basic ACL you specified by an ACL number.
Page 313
Command Manual – Routing Protocol Chapter 1 Static Route Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Table 1-2 Description on the fields of the display ip routing-table acl command Field Description Destination Destination address Mask Mask Protocol Routing protocol...
Command Manual – Routing Protocol Chapter 1 Static Route Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Field Description The routing protocol does not redistribute NoAdvise route NoAdvise when it redistributes routes based on the policy. Normally, the routing protocol...
Page 315
Command Manual – Routing Protocol Chapter 1 Static Route Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Parameter ip-address: Destination IP address, in dotted decimal notation. mask: IP address mask, length in dotted decimal notation or expressed as an integer. It ranges from 0 to 32 when expressed as an integer.
Command Manual – Routing Protocol Chapter 1 Static Route Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands ip-address2 ANDed with mask2 specifies the end. This command displays the route in this address range. mask1, mask2: IP address mask, length in dotted decimal notation or expressed as an integer.
Page 318
Command Manual – Routing Protocol Chapter 1 Static Route Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the display ip routing-table ip-prefix command to display the routes that filtered through a specific ip-prefix list. This command is mainly used to track and display the results of route policy. It displays and only displays the routes that filtered through the ip-prefix list you specified.
Command Manual – Routing Protocol Chapter 1 Static Route Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.6 display ip routing-table protocol Syntax display ip routing-table protocol protocol [ inactive | verbose ] View Any view Parameter protocol: You can provide one of the following values for this argument.
Command Manual – Routing Protocol Chapter 1 Static Route Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Table 1-3 Description on 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...
Command Manual – Routing Protocol Chapter 1 Static Route Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Table 1-4 Description on the fields of the display ip routing-table statistics command Field Description Routing protocol. O_ASE stands for OSPF_ASE routes; O_NSSA stands for Proto OSPF NSSA routes;...
Command Manual – Routing Protocol Chapter 1 Static Route Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Parameter None Description Use the delete static-routes all command to delete all static routes. The system will request your confirmation before it deletes all the configured static routes.
Page 325
Command Manual – Routing Protocol Chapter 1 Static Route Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands preference-value: Preference level of the route, in the range from 1 to 255. The default preference is 60. reject: Indicates an unreachable route. If a static route to a destination has the "reject"...
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RIP Configuration Commands Chapter 2 RIP Configuration Commands Note: When running a routing protocol, the Ethernet switch also functions as a router. The word “router” and the router icons covered in the following text represent routers in common sense and Ethernet switches running a routing protocol.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RIP Configuration Commands Description Use the display rip command to display the current RIP operation state and RIP configuration. Example # Display the current RIP operation state and configuration.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RIP Configuration Commands value: Cost value of the routes to be imported. route-policy route-policy-name: Specifies to import only the routes matching the conditions of the specified route-policy Description Use the import-route command to import the routes of another protocol into RIP.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RIP Configuration Commands View RIP view Parameter network-address: Address of the network for which RIP is enabled/disabled. It can be the IP network address of any interface.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RIP Configuration Commands undo peer ip-address View RIP view Parameter ip-address: IP address of the interface on the peer router with which routing information needs to be exchanged, in dotted decimal notation.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RIP Configuration Commands Every routing protocol has its own preference. Its default value is determined by the specific routing policy. The preferences of routing protocols will finally determine which routing algorithm's routes will be selected as the optimal routes in the IP routing table.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RIP Configuration Commands View System view Parameter None Description Use the rip command to enable RIP and enter RIP view. Use the undo rip command to disable RIP.
Page 339
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RIP Configuration Commands password: Simple text authentication key, containing 1 to 16 characters. md5: Specifies to use MD5 cipher text authentication mode. rfc2453: Specifies that MD5 cipher text authentication packets will use a packet format (IETF standard) stipulated by RFC2453.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RIP Configuration Commands Parameter value: Additional route metric added when receiving a RIP route, 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 RIP routes received on an interface.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RIP Configuration Commands Description Use the rip metricout command to configure the additional route metric added to the RIP routes to be transmitted on an interface. Use the undo rip metricout command to restore the default value of this additional route metric.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RIP Configuration Commands By default, all interfaces except loopback interfaces are enabled to transmit RIP packets to the external. This command is used in cooperation with another two commands: rip input and rip work .
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RIP Configuration Commands 2.1.22 rip work Syntax rip work undo rip work View Interface view Parameter None Description Use the rip work command to enable RIP to transmit and receive RIP packets on an interface.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RIP Configuration Commands Description Use the timers command to modify the values of the three RIP timers: Period Update, Timeout, and Garbage-collection (which is usually set to a value four times that of the Period Update timer).
Page 348
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RIP Configuration Commands By default, traffic sharing across RIP interfaces is disabled. Example # Enable traffic sharing across RIP interfaces. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Chapter 3 OSPF Configuration Commands Note: Among S3900 Series Ethernet Switches, only S3900-EI series support OSPF protocol. Note: When running a routing protocol, the Ethernet switch also functions as a router. The words “router”...
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Use the undo abr-summary command to disable route aggregation on an ABR. By default, an ABR does not aggregate routes. This command is applicable to ABRs only and is used for route aggregation in an area.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Parameter seconds: Default interval, in seconds, of importing external routes. It ranges from 1 to 2147483647 and defaults to 1. Description Use the default interval command to configure the default interval for OSPF to import external routes.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands device. Therefore, it is necessary to limit the number of external routes imported during each import interval. Related command: default interval. Example # Specify the default limit on the number of external routes imported by OSPF in each import interval as 200.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Parameter value: Cost value of the default route transmitted by OSPF to the STUB or NSSA area. It ranges from 0 to 16,777,214 and defaults to 1.
Page 358
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Parameter always: Generates an ase lsa describing the default route and advertises it if the local router is not configured with the default route. If this keyword is not provided, the local router must be configured with the default route before it can import the ase lsa, which generates the default route.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands IA 2.2.2.2 0.0.0.0 10.153.17.89 Vlan-interface1 Table 3-1 Description on the fields of the display ospf abr-asbr command Field Description Destination Router ID of the ABR or ASBR...
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Field Description Interface Name of interface belonging to this area Cost Cost of routes State State information Type Network type of OSPF interface Priority...
Page 364
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Type Input Output Hello DB Description Link-State Req Link-State Update Link-State Ack ASE: 1 Checksum Sum: FCAF LSAs originated by this router Router: 50...
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Field Description rtr, net, sumasb, Number of all LSAs in this area sumnet Intra Area Number of intra-area routes Routing Table Inter Area Number of inter-area routes Number of external routes 3.1.17 display ospf error...
Page 366
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands 0: DD: unknown LSA type 0: LS ACK: neighbor state low 0: LS ACK: wrong ack 1: LS ACK: duplicate ack 0: LS ACK: unknown LSA type...
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Field Description Database description (DD) packet: asynchronous DD: neighbor state low neighbor state DD: unknown LSA type DD packet: unknown LSA type DD: router id confusion...
Page 368
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands View Any view Parameter process-id: OSPF Process ID. If you do not specify a process ID, this command applies to all current OSPF processes.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Description Use the display ospf nexthop command to display the OSPF next-hop information. Example # Display the OSPF next-hop information. <Quidway> display ospf nexthop OSPF Process 1 with Router ID 1.1.1.1...
Page 373
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Use the display ospf peer brief command to display the brief information, including router ID, interface, and state, about every OSPF peer. Use the display ospf peer statistics command to display the statistics of every OSPF peer, namely, the number of peers in various states in every area.
Page 374
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Router ID Address DeadTime(s) Interface State 2.2.2.2 192.168.0.2 Vlan-interface 1 Full/BDR Table 3-11 Description on the fields of the display ospf peer brief command...
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Field Description It is enabled in an NBMA environment, such as Frame Relay, X.25 or ATM. It indicates that OSPF router does not receive the message from a certain...
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands View Any view Parameter process-id: OSPF Process ID. If you do not specify a process ID, this command applies to all current OSPF processes.
Page 377
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands View Any view Parameter process-id: OSPF Process ID. If you do not specify a process ID, this command applies to all current OSPF processes.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands 3.1.24 display ospf routing Syntax display ospf [ process-id ] routing View Any view Parameter process-id: OSPF Process ID. If you do not specify a process ID, this command applies to all current OSPF processes.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Field Description ID of transit area that the virtual link passes, and it cannot be Transit Area backbone area, STUB area, or NSSA area...
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands by any other protocol. If the routing-protocol argument is not specified, the imported routes generated by any protocol will be filtered. Related command: acl, ip ip-prefix.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands conditions for the routing information to be received. Only the routing information passing the filter can be received. The filter-policy import command filters the routes calculated by OSPF. Only the routes passing the filter can be added to the routing table.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Use the undo import-route command to cancel the importing of external routes. Note: You are recommended to configure the route type, cost and tag together in one command.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands 3.1.30 multi-path-number Syntax multi-path-number value View OSPF view Parameter value: Number of equivalent routes, ranging from 1 to 3. Description Use the multi-path-number command to set the number of OSPF equivalent routes.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands To run OSPF on an interface, the master IP address of this interface must be in the range of the network segment specified by this command. If only the slave IP address of the interface is in the range of the network segment specified by this command, this interface will not run OSPF.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands default route will always be generated. The type-7 LSA default route is generated only when the route 0.0.0.0 exists in the routing table on the ASBR.
Related command: authentication-mode. Example # Configure area 1 where the network segment 131.119.0.0 of interface Vlan-interface 10 resides to support MD5 cipher text authentication. Set the authentication key identifier to 15 and the authentication key to Huawei. Huawei Technologies Proprietary 3-39...
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Parameter priority: Interface priority for electing the "designated router", ranging from 0 to 255. The default value is 1. Description Use the ospf dr-priority command to configure the priority for electing the "designated router"...
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Example # Bind MIB operation to OSPF process 100. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] ospf mib-binding 100 # Bind MIB operation to OSPF process 200.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands between two routers not directly reachable to each other through another router that is directly reachable to the two routers. If only two routers run OSPF in the same network segment, the network type of the interface can also be changed to point-to-point.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Example # Set the peer dead interval on the interface Vlan-interface 10 to 80 seconds. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Use the undo ospf timer retransmit command to restore the default interval value for LSA retransmission on the interface. If a router running OSPF transmits a "link state advertisement" (LSA) to the peer, it needs to wait for the acknowledgement packet from the peer.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Example # Specify the trans-delay of transmitting LSA on the interface Vlan-interface 10 as 3 seconds. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Description Use the reset ospf all command to reset all OSPF processes. Use the reset ospf process-id command to reset the specified OSPF process and clear the statistics.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands ID, the router will automatically select one from configured IP addresses as the ID of this router. If no IP address is configured for any interface of the router, the router ID must be configured in OSPF view.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands the switch, this command can be used to enable/disable OSPF packet transmission through the specified VLAN interface. Example # Disable interface Vlan-interface 20 from transmitting OSPF packet.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands For detailed configuration of SNMP TRAP, refer to section "System Management" in this manual. Example # Enable the TRAP function for OSPF process 100.
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands 3.1.52 stub Syntax stub [ no-summary ] undo stub View OSPF Area view Parameter no-summary: Disables an ABR from transmitting Summary LSAs to the STUB area.
Page 403
Command Manual – Routing Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 3 OSPF Configuration Commands Parameter route-id: Router ID of virtual link peer. hello seconds: Specifies the interval, in seconds, at which the router transmits hello packet. It ranges from 1 to 8192 and defaults to 10. This value must equal the hello seconds value of the router virtually linked to the interface.
Command Manual – Routing Protocol Chapter 4 IP Routing Policy Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Chapter 4 IP Routing Policy Configuration Commands Note: When running a routing protocol, the Ethernet switch also functions as a router. The word “router”...
Command Manual – Routing Protocol Chapter 4 IP Routing Policy Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Parameter ip-prefix-name: Name of the address prefix list to be displayed. Description Use the display ip ip-prefix command to display an address prefix list.
Command Manual – Routing Protocol Chapter 4 IP Routing Policy Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the display route-policy command to display the configured Route-policy. If you do not specify a route policy name, this command displays all route-policies configured.
Command Manual – Routing Protocol Chapter 4 IP Routing Policy Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands ip-prefix-name: Name of the prefix address list used for filter Description Use the if-match { acl | ip-prefix } command to configure a rule for the route-policy and specify an matching IP address range.
Command Manual – Routing Protocol Chapter 4 IP Routing Policy Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Related command: if-match interface, if-match acl, if-match ip-prefix, if-match ip next-hop, if-match tag, route-policy, apply cost, and apply tag. Example # Define an if-match clause and allow the routing information with a routing cost of 8 to pass this if-match clause.
Command Manual – Routing Protocol Chapter 4 IP Routing Policy Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 4.1.9 if-match tag Syntax if-match tag value undo if-match tag View Route policy view Parameter value: Tag field value. Description Use the if-match tag command to configure to match the tag field of route information.
Page 413
Command Manual – Routing Protocol Chapter 4 IP Routing Policy Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands index-number: Identifier of an item in the prefix address list. The item with a smaller index-number will be tested first. permit: Specifies the match mode of the defined address prefix list items as permit mode.
Page 415
Command Manual – Routing Protocol Chapter 4 IP Routing Policy Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Example # Configure Route-policy policy1, with the node number of 10 and the match mode of permit, and enter Route policy view.
Command Manual – Routing Protocol Chapter 5 Route Capacity Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Chapter 5 Route Capacity Configuration Commands Note: When running a routing protocol, the Ethernet switch also functions as a router. The word “router” and the router icons covered in the following text represent routers in common sense and Ethernet switches running a routing protocol.
Command Manual – Routing Protocol Chapter 5 Route Capacity Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Table 5-1 Description on the fields of the display memory command Field Description Unit Specifies a Unit ID System Available Memory(bytes) Free memory size, in bytes, of the switch...
Command Manual – Routing Protocol Chapter 5 Route Capacity Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands The current state: Normal The information displayed by this command includes Ethernet switch memory limit, size of free memory, times of disconnection, times of reconnection, and the current state.
Command Manual – Routing Protocol Chapter 5 Route Capacity Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands By default, when the free memory of the switch recovers to a safety value, connections of all the routing protocols will always recover (when the free memory of the switch decreases to a lower limit, the connection will be disconnected forcibly).
Command Manual – Routing Protocol Chapter 5 Route Capacity Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Example # Enable automatic restoration of the connections of all the routing protocols when the free memory of the current switch recovers. <Quidway> system-view System View: return to User View with Ctrl+Z.
Page 421
Command Manual – Routing Protocol Chapter 5 Route Capacity Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Use the undo memory command to restore the default safety value and lower limit of the switch free memory. Related command: memory auto-establish disable, memory auto-establish enable, and display memory limit.
Command Manual – Multicast Protocol Chapter 1 IGMP Snooping Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Chapter 1 IGMP Snooping Configuration Commands Note: The multicast protocol supported by S3900-SI series Ethernet switches is IGMP Snooping only. Ethernet switches serve as routers when an IP multicast protocol is running on it.
Page 426
Command Manual – Multicast Protocol Chapter 1 IGMP Snooping Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Enable IGMP-Snooping. The router port timeout is 105 second(s). The max response timeout is 1 second(s). The host port timeout is 260 second(s).
Command Manual – Multicast Protocol Chapter 1 IGMP Snooping Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Use the undo igmp-snooping fast-leave command to cancel the configuration. By default, IGMP fast leave processing is disabled. Normally, when receiving an IGMP Leave message, IGMP Snooping does not immediately remove the port from the multicast group, but sends a group-specific query message.
Command Manual – Multicast Protocol Chapter 1 IGMP Snooping Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the igmp-snooping general-query source-ip current-interface command to configure the Layer 2 multicast switch to use the IP address of the current VLAN interface as the source IP address of the general query packets that the Layer 2 multicast switch sends.
Page 431
Command Manual – Multicast Protocol Chapter 1 IGMP Snooping Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the igmp-snooping group-limit command to define the maximum number of multicast groups the port can join. Use the undo igmp-snooping group-limit command to restore the default setting.
Page 432
Command Manual – Multicast Protocol Chapter 1 IGMP Snooping Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands filtering ACL configured on the access port to determine if the port can join the corresponding multicast group or not. If yes, it adds the port to the forward port list of the multicast group.
Page 433
Command Manual – Multicast Protocol Chapter 1 IGMP Snooping Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands # Configure ACL 2001 to allow users under Ethernet 1/0/2 to access the multicast streams in any groups except groups 225.0.0.0 to 225.0.0.255.
Command Manual – Multicast Protocol Chapter 1 IGMP Snooping Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Parameter None Description Use the igmp-snooping querier command to enable the IGMP Snooping querier feature on the current VLAN of the Layer 2 multicast switch.
Command Manual – Multicast Protocol Chapter 1 IGMP Snooping Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands The Layer 2 multicast switch sends general query packets at the interval of 50 seconds. Example # Configure the Layer 2 multicast switch to send general query packets at the interval of 100 seconds on VLAN 3.
Command Manual – Multicast Protocol Chapter 1 IGMP Snooping Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands [Quidway] igmp-snooping router-aging-time 500 1.1.14 reset igmp-snooping statistics Syntax reset igmp-snooping statistics View User view Parameter None Description Use the reset igmp-snooping statistics command to clear IGMP Snooping statistics.
Page 438
Command Manual – Multicast Protocol Chapter 1 IGMP Snooping Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands within the multicast VLAN, and also guarantees the security because the multicast VLAN is completely isolated from the user VLANs. Note: Isolate VLANs cannot be set as multicast VLANs.
Command Manual – Multicast Protocol Chapter 2 Common IP Multicast Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Total 1 entry Listed The following table describes the fields in the displayed information above: Table 2-1 Description on the fields of the display multicast forwarding-table command...
Page 441
Command Manual – Multicast Protocol Chapter 2 Common IP Multicast Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the display multicast routing-table command to display the information about the IP multicast routing table. This command is used to display the information about the multicast routing table, while the display multicast forwarding-table command is used to display the information about the multicast forwarding table.
Command Manual – Multicast Protocol Chapter 2 Common IP Multicast Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Field Description 272 sec and it times out in 272 seconds. Upstream interface: The IP address of the upstream interface is Vlan-interface1(4.4.4.6) 4.4.4.6.
Command Manual – Multicast Protocol Chapter 2 Common IP Multicast Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands [Quidway] display multicast-source-deny interface Ethernet 2.1.4 multicast route-limit Syntax multicast route-limit limit undo multicast route-limit View System view Parameter limit: Limit on the capacity of the multicast routing table, in the range of 0 to 256.
Command Manual – Multicast Protocol Chapter 2 Common IP Multicast Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands View System view Parameter None Description Use the multicast routing-enable command to enable the IP multicast routing feature. Use the undo multicast routing-enable command to disable the IP multicast routing feature.
Command Manual – Multicast Protocol Chapter 2 Common IP Multicast Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the multicast-source-deny command to enable the multicast source port suppression feature. Use the undo multicast-source-deny command to restore the default setting.
Command Manual – Multicast Protocol Chapter 2 Common IP Multicast Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands group-address: Specifies the group address. group-mask: Specifies the mask of the group address. group-mask-length: Specifies the mask length of the group address.
Page 447
Command Manual – Multicast Protocol Chapter 2 Common IP Multicast Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands group-mask: Specifies the mask of the group address. group-mask-length: Specifies the mask length of the group address. source-address: Specifies the source address.
Page 450
Command Manual – Multicast Protocol Chapter 3 Multicast MAC Address Entry Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Parameter mac-address vlan vlan-id: Multicast MAC address entry in the specified VLAN. count: Number of MAC entries. vlan-id: ID of the specific VLAN.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 5 IGMP Configuration Commands Chapter 5 IGMP Configuration Commands Note: When running IP multicast protocols, Ethernet switches also provide the functions of switches. We use routers in this manual to stand for not only the common routers but also the layer 3 Ethernet switches running IP multicast protocols.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 5 IGMP Configuration Commands Value of startup query interval for IGMP(in seconds): 15 Value of last member query interval for IGMP(in seconds): 1 Value of query timeout for IGMP version 1(in seconds): 400 Policy to accept IGMP reports: none Querier for IGMP: 10.153.17.99 (this router)
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 5 IGMP Configuration Commands Parameter None Description Use igmp enable command to enable IGMP on an interface. Use the undo igmp enable command to disable IGMP on the interface.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 5 IGMP Configuration Commands Caution: New groups cannot be added when the number of IGMP multicast groups has exceeded the configured limit. When the limit on the number of IGMP packets is 1, the new group enjoys priority,...
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 5 IGMP Configuration Commands number. For the meanings and ranges of the two arguments, refer to the parameter descriptions in part “Port Basic Configuration” in this manual. Description Use the igmp group-policy command to set the filter of multicast groups on the VLAN interface to control the access to IP multicast groups.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 5 IGMP Configuration Commands Parameter acl-number: Number of the basic IP access control list number, defining a multicast group range. The value ranges from 2000 to 2999. vlan-id: Specifies the ID for the VLAN to which the port belongs.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 5 IGMP Configuration Commands interface-list: Forwarding port list in the form of interface-list = { interface-type interface-number [ to { interface-type interface-number } ] }&<1-10>. The interface-type argument refers to the port type, and the interface-number argument refers to the port number.
Page 460
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 5 IGMP Configuration Commands Example # Add Ethernet 1/0/1 in VLAN-interface10 to the multicast group at 225.0.0.1. <Quidway>system-view System View: return to User View with Ctrl+Z. [Quidway] interface Vlan-interface 10...
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 5 IGMP Configuration Commands value as 1 second). If other hosts which are interested in the specified group receive the IGMP query message from the IGMP query router, they will send back the IGMP Membership Report message within the specified maximum response time interval.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 5 IGMP Configuration Commands Related command: display igmp group. Example # Set the maximum response time carried in host-query packets to 8 seconds. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 5 IGMP Configuration Commands Caution: The multicast route feature and the IGMP protocol must be enabled on the proxy interface. You must enable the PIM protocol on the interface first before enabling the igmp proxy command on the interface.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 5 IGMP Configuration Commands In the shared network, that is, a same network segment including multiple hosts and multicast routers, the query router is responsible for maintaining the IGMP group membership on the interface.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 5 IGMP Configuration Commands Description Use the igmp timer other-querier-present command to configure the presence time of the IGMP querier. Use the undo igmp timer other-querier-present command to restore the default value.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 5 IGMP Configuration Commands Use the undo igmp timer query command to restore the default value. By default, a router interface transmits IGMP query messages at the interval of 60 seconds.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 6 PIM Configuration Commands cannot receive or forward BSR messages other than these two. Even legal BSRs cannot contest with them. Problems may still exist if a legal BSR is attacked, though these two measures can effectively guarantee high BSR security.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 6 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 S3900 Series Ethernet Switches-Release 1510 Chapter 6 PIM Configuration Commands Example # Configure the switch to advertise the BSR that the switch itself is the C-RP in the PIM. 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 S3900 Series Ethernet Switches-Release 1510 Chapter 6 PIM Configuration Commands 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 S3900 Series Ethernet Switches-Release 1510 Chapter 6 PIM Configuration Commands PIM DR(designated router) is 10.10.1.20 Table 6-2 Description on the fields of the display pim interface command Field Description PIM version Version of PIM...
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 6 PIM Configuration Commands Table 6-3 Description on the fields of the display pim neighbor command Field Description Neighbor Address Neighbor address Interface VLAN interface where the neighbor has been discovered...
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 6 PIM Configuration Commands Description Use the display pim rp-info command to view the RP information of the multicast group. In addition, this command can also display the BSR and static RP information.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 6 PIM Configuration Commands Parameter None Description Use the pim command to enter PIM view to configure the global PIM parameters. You cannot use the pim command to enable the PIM protocol.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 6 PIM Configuration Commands Note that you cannot use this command to set up a multicast boundary. Instead, what you use this command to set up is just a PIM Bootstrap packet boundary.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 6 PIM Configuration Commands Description Use the pim neighbor-policy command to configure the router to filter the PIM neighbors on the current VLAN interface. Use the undo pim neighbor-policy command to disable the filtering.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 6 PIM Configuration Commands Related command: multicast routing-enable. Example # Enable the PIM-SM protocol on VLAN-interface10. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] multicast routing-enable...
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 6 PIM Configuration Commands Description Use the reset pim routing-table command to clear all PIM route entries or the specified PIM route entry. You can type in source address first and group address after in the command, as long as they are valid.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 6 PIM Configuration Commands Description Use the spt-switch-threshold command to configure the threshold value at which the shared tree is switched to the SPT. Use the undo spt-switch-threshold command to restore the threshold to the default value.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 6 PIM Configuration Commands If resource address filtering is configured, as well as advanced ACLs, then the router filters the resource and group addresses of all multicast data packets received. Those not matched will be discarded.
Page 488
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 6 PIM Configuration Commands Static RP functions as the backup of dynamic RP so as to improve the network robustness. If the RP elected by BSR mechanism is valid, static RP will not work. All routers in the PIM domain must be configured with this command and be specified with the same RP address.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands Parameter None Description Use the display msdp brief command to display the brief information of the MSDP peer state. Example # Display the brief information of the MSDP peer state.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands Example # Display the detailed information of MSDP peer state. <Quidway> display msdp peer-status 10.110.11.11 MSDP Peer 20.20.20.20, AS 100 Description: Information about connection status:...
Page 492
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands source-address: Source address of the (S, G) entry. If you do not specify a source address, the system displays all source information of the specified group. If you specify neither a group address nor a source address, the system displays all SA caches.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands 7.1.5 display msdp sa-count Syntax display msdp sa-count [ autonomous-system-number ] View Any view Parameter autonomous-system-number: Specifies the AS where a source and group come from.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands View System view Parameter None Description Use the msdp command to enable MSDP and enter MSDP view. Use the undo msdp command to clear all configurations in MSDP view, release resources occupied by MSDP, and restore initial state.
Page 496
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands Description Use the msdp-tracert command to trace the path along which an SA message travels, so as to locate message loss and minimize configuration errors. After determining the path of the SA message, you can prevent SA flooding through correct configuration.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands Field Description Up time of the (S, G, RP) entry in SA cache of the local Cache Entry Uptime router, in minutes. The maximum value is 255.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands Parameter interface-type: Interface type interface-number: Interface number Description Use the originating-rp command to allow MSDP peer to use the specified interface IP address as the RP address in the SA message when the MSDP peer creates SA messages.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands Example # Add the description text “router CstmrA” for the router 125.10.7.6 to specify that the router is customer A. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands View MSDP view Parameter peer-address: IP address of the MSDP peer to which the TTL threshold applies. ttl-value: TTL threshold, ranging from 0 to 255.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands By default, upon receipt of a Join message, the router sends no SA request message to the MSDP peer but waits for the next SA message.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands View MSDP view Parameter import: Receives the SA messages from the specified MSDP peer. export: Forwards the SA messages from the specified MSDP peer.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands Parameter peer-address: IP address of an MSDP peer, the SA request messages sent from which will be filtered acl-number: basic IP ACL number, describing a multicast group address, in the range of 2000 to 2999.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands Description Use the reset msdp peer command to reset the TCP connection with the specified MSDP peer and clear all statistics information of that MSDP peer.
Command Manual – Multicast Protocol Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 7 MSDP Configuration Commands Parameter peer-address: Address of the MSDP peer whose statistics, reset information and input/output information will be cleared. If no MSDP peer address is specified, the statistics information of all MSDP peers will be cleared.
Page 511
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands CHAP authentication is enabled DHCP-launch is enabled Proxy trap checker is disabled Proxy logoff checker is disabled Configuration: Transmit Period 30 s, Handshake Period 15 s...
Page 512
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands Authentication Mode is Auto Port Control Type is Mac-based Max number of on-line users is 256 Authentication Success: 0, Failed: 0 EAPOL Packets: Tx 0, Rx 0...
Page 513
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands Field Description Setting of the handshake period timer (the Handshake Period handshake-period) Quiet Period Setting of the quiet period timer (the quiet-period) The quiet period timer is disabled here. It can also Quiet Period Timer is disabled be configured as enabled when necessary.
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands Field Description The port access control method is MAC-based. Port Control Type is Mac-based That is, supplicant systems are authenticated based on their MAC addresses.
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands configurations when enabling 802.1x globally, the switch adopts the default 802.1x settings. 802.1x-related configurations take effect on a port only after 802.1x is enabled both globally and on the port.
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands Use the undo dot1x authentication-method command to revert to the default 802.1x authentication method. The default 802.1x authentication method is CHAP. PAP applies a two-way handshaking procedure. In this method, passwords are transmitted in plain text.
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands Description Use the dot1x dhcp-launch command to specify an 802.1x-enqbled switch to launch the process to authenticate a supplicant system when the supplicant system applies for a dynamic IP address through DHCP.
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands Description Use the dot1x guest-vlan command to enable the Guest VLAN function for specified ports. Use the undo dot1x guest-vlan command to disable the Guest VLAN function for specified ports.
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands View System view, Ethernet port view Parameter user-number: Maximum number of users a port can accommodate, ranging from 1 to 256. The default number is 256.
Page 520
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands View System view, Ethernet port view Parameter auto: Specifies to operate in auto access control mode. In this mode, a port is initialized to take all users as unauthorized: it only allows EAPoL packets to pass through and grants users no permission to network resources.
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands System View: return to User View with Ctrl+Z. [Quidway] dot1x port-control unauthorized-force interface Ethernet 1/0/1 1.1.8 dot1x port-method Syntax dot1x port-method { macbased | portbased } [ interface interface-list ]...
Page 522
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands When being executed in system view, these two commands apply to all Ethernet ports of the switch if you do not provide the interface-list argument. And if you specify the interface-list argument, these commands apply to the specified Ethernet ports.
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands undo dot1x retry-version-max View System view Parameter max-retry-version-value: Maximum number of times that a switch will resend version request packets to a supplicant system. This argument ranges from 1 to 10.
Page 525
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands trap: Sends Trap packets if a supplicant system logs in through a proxy or through multiple network cards. interface-list: Ethernet port list. You can specify multiple Ethernet ports by providing this argument in the form of interface-list = { interface-name [ to interface- name] &...
Note: The supplicant system proxy checking function needs the support of Huawei's 802.1x client program. The supplicant system proxy checking function takes effect only after it has been enabled on CAMS and the client version checking function is enabled on the switch (using the dot1x version-check command).
Page 527
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands undo dot1x timer { handshake-period | quiet-period | tx-period | supp-timeout | server-timeout | ver-period } View System view Parameter tx-period: This timer sets the tx-period and is triggered by the switch in one of the following two cases: The first case is when the client requests for authentication.
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands ver-period: Client-version-checking period timer, if within the period, no response packet has been sent back from the supplicant system, the switch will resend the client version checking request packet.
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands equal to that of the interface-name before the to keyword. &<1-10> means that up to 10 port indexes/port index lists can be provided. Description Use the dot1x version-check command to enable 802.1x client version checking for specified Ethernet ports.
Page 530
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 802.1x Configuration Commands Description Use the reset dot1x statistics command to clear 802.1x-related statistics. Use this command to reset 802.1x-related statistics. In this command: If the interface-list argument is not specified, this command clears statistics globally and the 802.1X statistics on all ports.
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 HABP Configuration Commands Parameter None Description Use the display habp traffic command to display statistics on HABP packets. Example # Display statistics on HABP packets. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – 802.1x Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 HABP Configuration Commands Description Use the habp enable command to enable HABP for a switch. Use the undo habp enable command to disable HABP for a switch. By default, HABP is enabled on a switch.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands With the authentication command configured in an ISP domain view, the system adopts the authentication scheme referenced in the command to authenticate the users in the domain, or else it adopts the scheme referenced in the scheme command.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands vlan vlan-id: Cuts down all user connections of the specified VLAN. Where, vlan-id ranges from 1 to 4094.
Page 547
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands domain isp-name: Displays all user connections under the specified ISP domain. Where, isp-name is the name of an ISP domain, a character string of up to 24 characters.
Page 549
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Description Use the display domain command to display the configuration information about one specific or all ISP domains.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands default: Manually configures the default ISP domain, which is "system" by default. There is one and only one default ISP domain.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Description Use the idle-cut command to set the user idle-cut function in current ISP domain.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands authentication, the commands they can access are determined by the levels sets on the user interfaces.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Example # Add a local user named user1. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands 1.1.17 name Syntax name string undo name View VLAN view Parameter string: VLAN Name for VLAN assignment, a character string of up to 32 characters.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands password: Password you want to set, a character string. For simple mode, the password must be in plain text.
This command is equivalent to the scheme radius-scheme command. Related command: radius scheme, scheme, and display radius scheme. Example # Specify the scheme "huawei" as the RADIUS scheme to be used by current ISP domain "huawei163.net". <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Note that: When the scheme command is used to specify the RADIUS scheme to be referenced by current ISP domain, the specified RADIUS scheme must has already been configured.
Page 561
Note: Huawei's CAMS Server is a service management system used to manage networks and secure networks and user information. Cooperating with other network devices (such as switches) in a network, the CAMS Server accomplishes the AAA (authentication, authorization and accounting) services and rights management.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands VLAN assignment modes, you are recommended to configure the device according to the dynamic VLAN assignment mode in use.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Note: The switch can automatically generate the main attributes (NAS-ID, NAS-IP address and session ID) in the Accounting-On packets. However, you can also manually configure the NAS-IP address with the nas-ip command.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Description Use the data-flow-format command to set the units of measure for data flows sent to RADIUS servers.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Field Description Second Acc State Status of the secondary accounting server 1.2.6 display radius statistics...
Page 574
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands session-id session-id: Displays the buffered stop-accounting requests of the specified session ID. Where, session-id is a character string of up to 50 characters.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands # Set the shared key for the RADIUS accounting packets in RADIUS scheme radius1 to ok.
Page 577
By default, a local RADIUS authentication server is used, whose default NAS-IP and key are 127.0.0.1 and huawei respectively. That is, the local device serves as a RADIUS authentication server and a network access server, and all authentications are performed locally.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Example # Create a network access server granted by the RADIUS authentication server with an IP address of 10.110.1.2 and a shared key of aabbcc.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Example # Set the source IP address used by the switch to send the RADIUS packets to 10.1.1.1.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Example # Set the IP address and UDP port number of the primary authentication/authorization server used by the RADIUS scheme radius1 to 10.110.1.1 and 1812.
Page 582
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands View System view Parameter ip-address: Source IP address, an IP address of this device. This address can be neither an all zero address nor a Class-D address.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands user-name user-name: Deletes the buffered stop-accounting request packets depending on the specified user name. Where, user-name is a character string of up to 80 characters.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Note that: The communication in RADIUS is unreliable because this protocol adopts UDP packets to carry data. Therefore, it is necessary for the switch to retransmit a RADIUS request if it gets no response from the RADIUS server after the response timeout timer expires.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Generally, the RADIUS server uses the connection timeout timer to determine whether a user is online or not. If the RADIUS server receives no real-time accounting packet for a specified period of time, it will consider that the line or the switch is in trouble and stop the accounting of the user.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Parameter ip-address: IP address, in dotted decimal notation. By default, the IP address of the secondary accounting server is 0.0.0.0.
Parameter huawei: Specifies to use Huawei's private RADIUS protocol (such as the procedure and packet format) to interact with the Huawei RADIUS server, which is generally the CAMS. standard: Specifies to use the standard RADIUS protocol. That is, it is required that...
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands time restores the status of the primary server on the switch to the active state while keeping the status of the secondary server unchanged.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands or the maximum number of transmission attempts is reached (in this case, it discards the request).
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Appropriately setting the timeout time of this timer according to the network situation can improve the performance of the system.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Example # Set the response timeout time in the RADIUS scheme radius1 to five seconds.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands two different users having the same name but belonging to different ISP domains as the same user (because the user names sent to it are the same).
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Description Use the data-flow-format command to configure the unit of data flows sent to the TACACS server.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands user-name user-name: Displays information on buffered stop-accounting requests according to the user name specified by user-name, a character string of up to 80 characters, excluding forward slashes (/), colons (:), asterisks (*), question marks (?), less-than signs (<), and greater-than signs (>).
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands failure. The source address is normally recommended to be a loopback interface address. This command specifies only one source address; therefore, the newly configured source address may overwrite the original one.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Note that: You are not allowed to assign the same IP address to both primary and secondary authentication servers;...
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands If you repeatedly use this command, the latest configuration overwrites the previous one. You can remove an authorization server only when it is not being used by any active TCP connections, and the removal impacts only packets forwarded afterwards.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands port: Port number of the server, which is in the range of 1 to 65535 and defaults to 49.
Command Manual – AAA & RADIUS & HWTACACS & EAD Chapter 1 AAA & RADIUS & HWTACACS Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Example # Set the quiet timer for the primary server to ten minutes. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – VRRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VRRP Configuration Commands Chapter 1 VRRP Configuration Commands Note: The S3900-EI series switches support the VRRP feature, but not the S3900-SI series. 1.1 VRRP Configuration Commands 1.1.1 display vrrp...
Page 622
Command Manual – VRRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VRRP Configuration Commands If the interface index and backup group ID are not specified, the statistics about all the backup groups on the switch is displayed. If only the interface index is specified, the statistics about all the backup groups on the interface is displayed.
Command Manual – VRRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VRRP Configuration Commands Field Description Advertise Rcvd Number of the received advertisement packets Number of the sent advertisement packets with Priority Zero Pkts Sent the priority of 0...
Command Manual – VRRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VRRP Configuration Commands Parameter real-mac: Maps the real MAC address of a Layer 3 switch routing interface to virtual router IP addresses. virtual-mac: Maps the virtual MAC address of a Layer 3 switch routing interface to virtual router IP addresses.
Command Manual – VRRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VRRP Configuration Commands By default, a backup group does not respond to ping operations destined for its virtual router IP address. As these two commands are invalid to switches in backup groups, use them before you create a backup group.
Command Manual – VRRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VRRP Configuration Commands Note: The port to be tracked can be in the VLAN which the backup group VLAN interface belongs to. Up to eight ports can be tracked simultaneously.
Command Manual – VRRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VRRP Configuration Commands become the master switch when it finds its priority is higher than that of the current master switch, and the former master switch becomes a backup switch accordingly.
Command Manual – VRRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VRRP Configuration Commands Parameter virtual-router-id: VRRP backup group ID ranging from 1 to 255. priority: Switch priority to be set. This argument ranges from 1 to 254. Description Use the vrrp vrid priority command to set the priority of a switch in a backup group.
Command Manual – VRRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VRRP Configuration Commands Note that configuration error occurs if switches of the same backup group are configured with different adver-interval values. By default, the interval for the master switch in a backup group to send VRRP packets is 1 second.
Command Manual – VRRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VRRP Configuration Commands priorities are higher than the decreased priority of the master switch, may become the master switch. Note: The VLAN interface tracking function is not applicable to switches operating as IP address owners..
Command Manual – VRRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VRRP Configuration Commands You can control the priority of the VRRP backup group according to the auto detect result to enable automatic switch between the master switch and the standby switch.
Page 633
Command Manual – VRRP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 VRRP Configuration Commands Use the undo vrrp vrid virtual-ip command to remove a virtual router IP address from an existing backup group. The vrrp vrid virtual-ip command can also be used to create a backup group. You can add up to 16 virtual router IP addresses to a backup group.
Page 634
Command Manual – Centralized MAC Address Authentication Quidway S3900 Series Ethernet Switches-Release 1510 Table of Contents Table of Contents Chapter 1 Centralized MAC Address Authentication Configuration Commands ....1-1 1.1 Centralized MAC Address Authentication Configuration Commands ....... 1-1 1.1.1 display mac-authentication..................1-1 1.1.2 mac-authentication....................
Command Manual – Centralized MAC Address Authentication Chapter 1 Centralized MAC Address Quidway S3900 Series Ethernet Switches-Release 1510 Authentication Configuration Commands Chapter 1 Centralized MAC Address Authentication Configuration Commands 1.1 Centralized MAC Address Authentication Configuration Commands 1.1.1 display mac-authentication Syntax...
Page 636
Command Manual – Centralized MAC Address Authentication Chapter 1 Centralized MAC Address Quidway S3900 Series Ethernet Switches-Release 1510 Authentication Configuration Commands server response timeout value is 100s max allowed user number is 1024 current user number amounts to current domain: not configured, use default domain...
Command Manual – Centralized MAC Address Authentication Chapter 1 Centralized MAC Address Quidway S3900 Series Ethernet Switches-Release 1510 Authentication Configuration Commands Field Description Ethernet1/0/1 is link-up The link connected to Ethernet1/0/1 port is up. address MAC address authentication is enabled for Ethernet1/0/1 authentication is Enabled port.
Command Manual – Centralized MAC Address Authentication Chapter 1 Centralized MAC Address Quidway S3900 Series Ethernet Switches-Release 1510 Authentication Configuration Commands When being executed in system view, the mac-authentication command enables centralized MAC address authentication globally. When being executed in Ethernet port view, the mac-authentication command enables centralized MAC address authentication for the current port.
Command Manual – Centralized MAC Address Authentication Chapter 1 Centralized MAC Address Quidway S3900 Series Ethernet Switches-Release 1510 Authentication Configuration Commands Description Use the mac-authentication interface command to enable the centralized MAC address authentication for specified ports. Use the undo mac-authentication interface command to disable the centralized MAC address authentication on specified ports.
Command Manual – Centralized MAC Address Authentication Chapter 1 Centralized MAC Address Quidway S3900 Series Ethernet Switches-Release 1510 Authentication Configuration Commands without-hyphen: Uses MAC addresses without hyphens as usernames and passwords, 0005e01c02e3 for example. Description Use the mac-authentication authmode usernameasmacaddress command to specify the centralized MAC address authentication mode as MAC address.
Command Manual – Centralized MAC Address Authentication Chapter 1 Centralized MAC Address Quidway S3900 Series Ethernet Switches-Release 1510 Authentication Configuration Commands Description Use the mac-authentication authusername command to set a user name when the fixed mode is adopted. Use the undo mac-authentication authusername command to restore the default user name.
Page 644
Command Manual – Centralized MAC Address Authentication Chapter 1 Centralized MAC Address Quidway S3900 Series Ethernet Switches-Release 1510 Authentication Configuration Commands View User view Parameter interface-type: Port type. interface-number: Port number. Description Use the reset mac-authentication command to clear the centralized MAC address authentication statistics.
Command Manual – ARP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ARP Configuration Commands View System view, Ethernet interface view Parameter ip-address: IP address contained in the ARP mapping entry to be created/removed. mac-address: MAC address contained in the ARP mapping entry to be created, in the format of H-H-H.
Command Manual – ARP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ARP Configuration Commands undo arp timer aging View System view Parameter aging-time: Aging time (in minutes) of the dynamic ARP mapping entries. This argument ranges from 1 to 1,440.
Page 649
Command Manual – ARP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ARP Configuration Commands Related command: arp static, reset arp. Example # Display all the ARP mapping entries. <Quidway> display arp Type: S-Static D-Dynamic IP Address MAC Address VLAN ID...
Command Manual – ARP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ARP Configuration Commands View Any view Parameter None Description Use the display arp timer aging command to display the setting of the ARP aging timer. Related command: arp timer aging.
Command Manual – ARP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ARP Configuration Commands If no ARP mapping entry in the cache matches the packet, an ARP mapping entry corresponding to the packet is created. Example # Enable the gratuitous ARP packet learning function on the switch named QuidwayA.
Command Manual – ARP Chapter 2 Resilient ARP Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands undo resilient-arp enable View System view Parameter None Description Use the resilient-arp enable command to enable the Resilient ARP function. Use the undo resilient-arp enable command to disable the Resilient ARP function.
Page 656
Command Manual – ARP Chapter 2 Resilient ARP Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Example # Configure the Resilient ARP packets to be sent from the VLAN 2 interface. <Quidway> system-view System View: return to User View with Ctrl+Z.
Page 657
New Feature Manual - DHCP Quidway S3900 Series Ethernet Switches-Release 1510 Table of Contents Table of Contents Chapter 1 DHCP Server Configuration Commands ..............1-1 1.1 DHCP Server Configuration Commands ................1-1 1.1.1 bims-server......................1-1 1.1.2 dhcp enable......................1-2 1.1.3 dhcp select global ....................1-3 1.1.4 dhcp select interface ....................
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Chapter 1 DHCP Server Configuration Commands Note: The contents of this chapter are only applicable to the S3900-EI series among S3900 Series Switches.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Example # Set the IP address of the remote BIMS server in the DHCP global address pool to 192.168.0.1, the port number to 651, and the shared key to aaa.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands After you enable DHCP by using the dhcp enable command, if the DHCP server and DHCP relay are not configured, sockets UDP 67 and UDP 68 will not be enabled.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the dhcp select global command to configure the specified interface(s) or all interfaces to operate in global DHCP address pool mode. Upon receiving a DHCP...
Page 663
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the dhcp select interface command to configure the specified interface(s) to operate in DHCP interface address pool mode. Upon receiving a DHCP packet from a...
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.5 dhcp server bims-server Syntax dhcp server bims-server ip ip-address [ port port-number ] sharekey key { interface interface-type interface-number [ to interface-type interface-number ] | all }...
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.6 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 the private DHCP server detecting function.
Page 666
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands undo dhcp server dns-list { ip-address | all } { interface interface-type interface-number [ to interface-type interface-number ] | all } View System view/VLAN interface view Parameter ip-address&<1-8>: IP address of a DNS server.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands # Configure the domain name aabbcc.com for the DHCP clients whose IP addresses are from the DHCP address pool of the current VLAN interface.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Related command: expired. Example # Enter system view. <Quidway> system-view System View: return to User View with Ctrl+Z. # Set the lease time of the IP addresses in all interface address pools to be 1 day, 2 hours and 3 minutes.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Note: When you execute the undo dhcp server forbidden-ip command, make sure that the specified address range does not contain any statically bound IP address.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Note: To prevent malicious attacks to unused sockets and enhance security, S3900 series Ethernet switches provide the following functions: When DHCP is enabled, sockets UDP 67 and UDP 68 used by DHCP are enabled.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Parameter ip-address&<1-8>: IP address of a NetBIOS server. &<1-8> means you can provide up to eight NetBIOS server IP addresses. When inputting more than one NetBIOS server IP address, separate two neighboring IP addresses with a space.
Page 673
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands dhcp server netbios-type { b-node | h-node | m-node | p-node } { interface interface-type interface-number [ to interface-type interface-number ] | all }...
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the dhcp server option command to customize DHCP options for the specified DHCP interface address pool(s). Use the undo dhcp server option command to remove the customized DHCP options.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Example # Enter system view. <Quidway> system-view System View: return to User View with Ctrl+Z. # Set the maximum number of the packets the DHCP server sends in a ping test to 10, and the timeout time of each packet to 500 milliseconds.
Page 677
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands View VLAN interface view Parameter ip-address: IP address to be statically bound. Note that the specified IP address must belong to the same network segment as that of the VLAN interface.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands <Quidway> system-view System View: return to User View with Ctrl+Z. # Enter VLAN-interface 1 view. [Quidway] interface Vlan-interface 1 # Enable the DHCP server to support all the sub-options of option 184 in VLAN-interface 1.
Page 680
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands interface-type interface-number [ to interface-type interface-number ]: Specifies all interfaces in the interface range identified by the two interface indexes separated by the to keyword (including the end interfaces). The interfaces must be VLAN interfaces.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.20 display dhcp server conflict Syntax display dhcp server conflict { all | ip ip-address } View Any view Parameter all: Specifies all IP addresses.
Page 682
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Parameter ip ip-address: Specifies an IP address. pool [ pool-name ]: Specifies a global address pool. The pool-name argument, a string of 1 to 35 characters, is the name of an address pool. If you do not provide this argument, this command applies to all global address pools.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Field Description Lease expiration The time when a lease time expires Type Address binding type 1.1.22 display dhcp server free-ip Syntax display dhcp server free-ip...
Page 684
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands pool [ pool-name ]: Specifies a global address pool. The pool-name argument, a string of 1 to 35 characters, is the name of an address pool. If you do not provide this argument, this command applies to all global address pools.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Field Description Type Address binding type 1.1.24 display dhcp server statistics Syntax display dhcp server statistics View Any view Parameter None Description Use the display dhcp server statistics command to display the statistics on a DHCP server.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Dhcp Inform: Boot Reply: Dhcp Offer: Dhcp Ack: Dhcp Nak: Bad Messages: Table 1-4 Description on the fields of the display dhcp server statistics command...
Page 687
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands View Any view Parameter pool [ pool-name ]: Specifies a global address pool. The pool-name argument, a string of 1 to 35 characters, is the name of an address pool. If you do not provide this argument, this command applies to all global address pools.
Page 688
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands expired 1 0 0 Table 1-5 Description on the fields of the display dhcp server tree command Field Description Global pool Information about global address pools...
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Field Description nbns-list List of the NetBIOS servers configured for the DHCP clients 1.1.26 dns-list Syntax dns-list ip-address&<1-8> undo dns-list { ip-address | all }...
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.27 domain-name Syntax domain-name domain-name undo domain-name View DHCP address pool view Parameter domain-name: Domain name for the DHCP clients of a global DHCP address pool, a string of 3 to 50 characters.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 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.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands all: Specifies all configured gateway IP addresses. Description Use the gateway-list command to configure one or multiple gateway IP addresses for the DHCP clients of a DHCP address pool.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands If you execute the nbns-list command repeatedly, the new configuration overwrites the previous one. Related command: dhcp server ip-pool, dhcp server nbns-list and netbios-type.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Example # Enter system view. <Quidway> system-view System View: return to User View with Ctrl+Z. # Configure the DHCP clients of the global DHCP address pool 0 to be of b-node type.
Page 695
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands # Configure the dynamically assigned IP address range 192.168.8.0/24 for the global DHCP address pool 0. [Quidway] dhcp server ip-pool 0 [Quidway-dhcp-pool-0] network 192.168.8.0 mask 255.255.255.0 1.1.33 option...
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Example # Enter system view. <Quidway> system-view System View: return to User View with Ctrl+Z. # Configure option 100 to be 0x11 and 0x22 for the global DHCP address pools.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands interface [ interface-type interface-number ]: Clears the dynamic address binding information about a specified interface address pool. If you do not specify the interface-number argument, this command clears the dynamic address binding information about all interface address pools.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.37 static-bind client-identifier Syntax static-bind client-identifier client-identifier undo static-bind client-identifier View DHCP address pool view Parameter client-identifier: Client ID to be bound, in the format of H-H-H. It contains 3 to 160 hexadecimal numbers.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands undo static-bind ip-address View DHCP address pool view Parameter ip-address: IP address to be bound. If you do not specify the mask-length or mask argument, the default subnet mask is used.
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands undo static-bind mac-address View DHCP address pool view Parameter mac-address: MAC address of the host to which the IP address is to be bound. You need to provide this argument in the form of H-H-H.
Page 701
New Feature Manual - DHCP Chapter 1 DHCP Server Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands View DHCP address pool view Parameter ncp-ip: IP address of the network call processor (NCP). as-ip: IP address of the alternate server. voice-vlan: Voice VLAN.
New Feature Manual - DHCP Chapter 2 DHCP Relay Configuration C Quidway S3900 Series Ethernet Switches-Release 1510 ommands 2.1.2 dhcp-relay hand Syntax dhcp-relay hand { enable | disable } View System view Parameter None Description Use the dhcp relay hand enable command to enable the DHCP relay handshake function.
New Feature Manual - DHCP Chapter 2 DHCP Relay Configuration C Quidway S3900 Series Ethernet Switches-Release 1510 ommands Use the undo dhcp relay information enable command to disable option 82 supporting on a DHCP relay, through which you can disable the DHCP relay from inserting option 82 into DHCP request packets sent to a DHCP server.
New Feature Manual - DHCP Chapter 2 DHCP Relay Configuration C Quidway S3900 Series Ethernet Switches-Release 1510 ommands Description Use the dhcp relay information strategy command to instruct a DHCP relay to perform specified operations to DHCP request packets that carry option 82.
New Feature Manual - DHCP Chapter 2 DHCP Relay Configuration C Quidway S3900 Series Ethernet Switches-Release 1510 ommands Use the undo dhcp-security command to remove one or all user address entries, or all user address entries of a specified type.
New Feature Manual - DHCP Chapter 2 DHCP Relay Configuration C Quidway S3900 Series Ethernet Switches-Release 1510 ommands Example # Enter system view. <Quidway> system-view System View: return to User View with Ctrl+Z. # Set the interval to update dynamic address entries to 60 seconds.
New Feature Manual - DHCP Chapter 2 DHCP Relay Configuration C Quidway S3900 Series Ethernet Switches-Release 1510 ommands Example # Enter system view. <Quidway> system-view System View: return to User View with Ctrl+Z. # Enter VLAN interface 1 view. [Quidway] interface Vlan-interface 1 # Specify that VLAN interface 1 corresponds to DHCP server group 1.
New Feature Manual - DHCP Chapter 2 DHCP Relay Configuration C Quidway S3900 Series Ethernet Switches-Release 1510 ommands 2.1.9 dhcp-server ip Syntax dhcp-server groupNo ip ip-address&<1-8> undo dhcp-server groupNo View System view Parameter groupNo: DHCP server group number, ranging from 0 to 19.
New Feature Manual - DHCP Chapter 2 DHCP Relay Configuration C Quidway S3900 Series Ethernet Switches-Release 1510 ommands Parameter ip-address: IP address. This argument is used to display the user address entry with the specified IP address. dynamic: Displays the dynamic user address entries.
Page 712
New Feature Manual - DHCP Chapter 2 DHCP Relay Configuration C Quidway S3900 Series Ethernet Switches-Release 1510 ommands Parameter groupNo: DHCP server group number, ranging from 0 to 19. Description Use the display dhcp-server command to display information about a specified DHCP server group.
New Feature Manual - DHCP Chapter 2 DHCP Relay Configuration C Quidway S3900 Series Ethernet Switches-Release 1510 ommands Field Description Messages from this server Number of the packets received from the DHCP group server group Messages to this server Number of the packets sent to the DHCP server...
New Feature Manual - DHCP Chapter 2 DHCP Relay Configuration C Quidway S3900 Series Ethernet Switches-Release 1510 ommands Parameter vlan-id: VLAN ID. Description Use the display dhcp-server interface command to display information about the DHCP server group to which a VLAN interface is mapped.
New Feature Manual - DHCP Chapter 3 DHCP Snooping Configuratio Quidway S3900 Series Ethernet Switches-Release 1510 n Commands View Ethernet port view Parameter None Description Use the dhcp-snooping trust command to set an Ethernet port to a trusted port. Use the undo dhcp-snooping trust command to restore an Ethernet port to an untrusted port.
New Feature Manual - DHCP Chapter 3 DHCP Snooping Configuratio Quidway S3900 Series Ethernet Switches-Release 1510 n Commands Description Use the display dhcp-snooping command to display the user IP-MAC address mapping entries recorded by the DHCP snooping function. Related command: dhcp-snooping.
Page 718
New Feature Manual - DHCP Chapter 3 DHCP Snooping Configuratio Quidway S3900 Series Ethernet Switches-Release 1510 n Commands Ethernet1/0/10 Trusted The above display information indicates that the DHCP snooping function is enabled, and the Ethernet1/0/10 port is a trusted port.
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands The “depth-first” ordering of rules in IP ACLs (basic and advanced ACLs) is implemented based on the lengths of the source IP address masks and the destination IP address masks.
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands Example # Define the description information of ACL 3100. <Quidway> system-view [Quidway] acl number 3100 [Quidway-acl-adv-3100] description This acl is used in eth 0 # Delete the description information of ACL 3100.
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands rule 1 permit ip 1.1.4 display packet-filter Syntax display packet-filter { interface interface-type interface-num | unitid unit-id } View Any view Parameter interface-type interface-num: Port of the switch.
Page 725
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands Example # Display all time ranges. <Quidway> display time-range all Current time is 14:36:36 Apr/2/2003 Thursday Time-range : hhy ( Inactive ) from 08:30 2/5/2005 to 18:00 2/19/2005...
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands rule rule: Specifies a rule of an ACL. The rule argument ranges from 0 to 65534. If you do not specify the rule number, all the rules of an ACL are applied.
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands rule-id: Rule ID, which must the ID of an existing ACL rule. If no other arguments are specified, the system will completely delete this ACL rule. If any argument is given, the system will delete only the specified information of the ACL rule.
Page 729
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands View Advanced ACL view Parameter Parameters of the rule command: rule-id: ACL rule ID, in the range of 0 to 65,534. deny: Drops packets that satisfy the condition.
Page 730
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands Parameter Type Function Description Packet dscp dscp DSCP priority Value range: 0 to 63 precedence Specifies that rule Fragment effective fragment information non-initial fragment packets Specifies...
Page 731
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands Keyword DSCP value in decimal DSCP value in decimal af41 100010 af42 100100 af43 100110 001000 010000 011000 100000 101000 110000 111000 be (default) 000000 If the protocol type is TCP or UDP, you can also define the following information:...
Page 732
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands Specifies that “TCP rule will connection match established TCP-specific argument established” connection flag packets with the ack or rst flag If the protocol type is ICMP, you can also define the following information:...
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands fragment: Deletes the settings effective for non-initial fragment packets in the rule corresponding to the rule ID. Description Use the rule command to define an ACL rule.
Page 735
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands rule-id: ACL rule ID, in the range of 0 to 65,534. deny: Drops packets that satisfy the condition. permit: Permits packets that satisfy the condition to pass.
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands Parameters of the undo rule command: rule-id: Rule ID, which must the ID of an existing ACL rule. Description Use the rule command to define an ACL rule.
Page 737
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands rule-mask: User-defined mask of the rule. It is used to perform the logical AND operations with packets and must be an even number containing 2 to 160 hexadecimal characters.
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands If the rule corresponding to the specified rule ID already exists, you will edit the rule, and the modified part in the rule will replace the original content, while other parts remain unchanged.
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands [Quidway] acl number 3000 [Quidway-acl-adv-3000] rule 0 comment test 1.1.12 time-range Syntax time-range time-name { start-time to end-time days-of-the-week [ from start-time start-date ] [ to end-time end-date ] | from start-time start-date [ to end-time end-date ]...
Page 740
Command Manual – ACL Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 ACL Commands jointly define a periodic time section, while start-time start-date and end-time end-date jointly define an absolute time section. If only a periodic time section is defined in a time range, the time range is active only within the defined periodic time section.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands switch; if you specify that argument, you will view the rate limit configuration of a specific port. Example # Display the rate limit configuration of a specific port.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands unit-id: Unit ID of the switch. Description Use the display qos-interface traffic-redirect command to view the redirection configuration of a port or all the ports of a switch. The displayed information includes the corresponding ACLs of the traffic to be redirected, the redirected interfaces, etc.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands target-rate: Total rate (in kbps) to limit both the inbound and outbound packets on the port, with the granularity of rate limit being 64 kbps. If the number you input is in the range of N*64 to (N+1)*64 (N is a natural number), the switch will set the value to (N+1)*64 kbps automatically.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands By default, the switch uses the port priority instead of the 802.1p priority carried by a packet. After this command is configured, the switch will replace the packet 802.1p priority with the priority of the received port, according to which the packet will be put into the corresponding egress queue.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands Example # Set the IP precedence of SNMP protocol packets to 3. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] protocol-priority protocol-type snmp ip-precedence 3 1.1.14 qos cos-local-precedence-map...
Page 754
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands Description cos-local-precedence-map command configure “CoS-to-local-precedence” mapping table. Use the undo qos cos-local-precedence-map command to restore the default values. The following is the default “CoS-to-local-precedence” mapping table.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands Table 1-4 “CoS-to-local-precedence” mapping table CoS value Local precedence 1.1.15 queue-scheduler Syntax 1. In system view queue-scheduler { strict-priority | wfq queue0-width queue1-width queue2-width queue3-width queue4-width queue5-width queue6-width queue7-width...
Page 756
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands queue0-width queue1-width queue2-width queue3-width queue4-width queue5-width queue6-width queue7-width: Minimum delivery bandwidth of each WFQ queue in kbps. Its granularity is 64 kbps. If the number you enter is in the range of N*64 to (N+1)*64 (N is a natural number), the switch sets the value to (N+1)*64 automatically.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands Description Use the reset traffic-statistic command to clear the statistics of all or specified traffic. Example # Clear the statistics of the inbound traffic that matches ACL 2000 on Ethernet 1/0/1.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands Description Use the traffic-limit command to activate ACL and perform traffic limit. Use the undo traffic-limit command to remove traffic limit. The granularity of traffic limit is 64 kbps.
Page 760
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands ip-precedence { pre-value | from-cos }: Set IP priority, pre-value ranges from 0 to 7. You can also enter the keywords in Table 1-1. from-cos means to set IP priority of the packet the same to 802.1p priority.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands Example # Remark the 802.1p priority of the packets which are received on Ethernet 1/0/1 and match the permit rule in ACL 4000 as 1.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands Note: When the packets are redirected to CPU, they cannot be forwarded normally. If the traffic is redirected to a down Combo port, the system automatically redirects the traffic to the up port that is corresponding to the Combo port.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands The statistics information of traffic-statistic command includes the matched times of the transmitted data by switch. User can use display qos-interface traffic-statistic command to display the statistics information.
Page 764
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 QoS Commands <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] interface Ethernet 1/0/1 [Quidway-Ethernet1/0/1] wred 2 64 20 Huawei Technologies Proprietary 1-23...
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 QoS Profile Configuration Commands 2.1.2 apply qos-profile interface Syntax apply qos-profile profile-name interface interface-list undo apply qos-profile profile-name interface-list View System view Parameter profile-name: QoS profile name, a string of one to 32 characters, starting with English letters [a-z, A-Z] and excluding all, interface, user, undo, user-based, port-based and name which are reserved keywords.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 QoS Profile Configuration Commands View Any view Parameter all: Displays all QoS profiles. profile-name: Displays the QoS profiles with specific names, profile-name is a string of 1 to 32 characters, starting with English letters [a-z, A-Z] and excluding all, interface, user, undo, user-base, port-based and name which are reserved keywords.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 QoS Profile Configuration Commands Description Use the packet-filter command to add packet filtering action to the QoS profile. Use the undo packet-filter command to remove packet filtering action from the QoS profile.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 QoS Profile Configuration Commands Port-based mode: The switch delivers the traffic actions in the QoS profile directly to the user port. In this mode, all the accessed users through one port should use the same profile.
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 QoS Profile Configuration Commands Description Use the traffic-limit command to add traffic policing action in the QoS profile. Use the undo traffic-limit command to remove traffic policing action from the QoS profile.
Page 772
Command Manual - QoS&QoS Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 QoS Profile Configuration Commands ip-precedence { pre-value | from-cos }: Set IP preference value, pre-value is in the range 0 to 7. from-cos sets the IP preference value consistent with 802.1p preference value.
Page 773
Command Manual – Web Cache Redirection Quidway S3900 Series Ethernet Switches-Release 1510 Table of Contents Table of Contents Chapter 1 Web Cache Redirection Configuration Commands ..........1-1 1.1 Web Cache Redirection Configuration Commands............1-1 1.1.1 display webcache ....................1-1 1.1.2 webcache address ....................1-2 1.1.3 webcache redirect-vlan ...................
Command Manual – Web Cache Redirection Chapter 1 Web Cache Redirection Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Chapter 1 Web Cache Redirection Configuration Commands Note: The S3900-SI series do not support Web cache redirection. 1.1 Web Cache Redirection Configuration Commands 1.1.1 display webcache...
Page 776
Command Manual – Web Cache Redirection Chapter 1 Web Cache Redirection Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Use the undo webcache all command to remove all Web cache redirection configurations on the switch. You can configure the parameters of Web Cache in system view or Ethernet port view.
Page 777
Command Manual – Web Cache Redirection Chapter 1 Web Cache Redirection Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands undo webcache redirect-vlan [ vlan-id ] View System view Parameter vlan-id: ID of the VLAN whose traffic is to be redirected.
Command Manual – Mirroring Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Mirroring Commands Information displayed on the source mirroring group for remote mirroring includes: Group number Group type: remote-source Group status Information of the source port Information of the reflector port...
Command Manual – Mirroring Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Mirroring Commands ip-group acl-number: ACL number of the basic or advanced ACL, ranging from 2000 to 3999. link-group acl-number: ACL number of the Layer 2 ACL, ranging from 4000 to 4999.
Command Manual – Mirroring Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Mirroring Commands View System view Parameter group-id: Group number of a port mirroring group, in the range of 1 to 20. local: Specifies the mirroring group as a local port mirroring group.
Command Manual – Mirroring Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Mirroring Commands Description Use the mirroring-group mirroring-port command to configure the source port. Use the undo mirroring-group mirroring-port command to remove the configuration of the source port. Example # Configure GigabitEthernet1/1/1 as the source port and mirror all packets received via this port.
Command Manual – Mirroring Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Mirroring Commands undo mirroring-group group-id remote-probe vlan remote-probe-vlan-id View System view Parameter group-id: Group number of a port mirroring group, in the range of 1 to 20. remote-probe vlan remote-probe-vlan-id: Specifies the remote-probe VLAN for the mirroring group.
Command Manual – Mirroring Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Mirroring Commands Example # Configure GigabitEthernet1/1/1 as the source port and mirror all packets received and sent via this port. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – Mirroring Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Mirroring Commands View VLAN view Parameter None Description Use the remote-probe vlan enable command to configure the current VLAN as the remote-probe VLAN. Use the undo remote-probe vlan enable command to configure the remote-probe VLAN as a normal VLAN.
Command Manual – Mirroring Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Mirroring Commands rule rule-id: Rule number of the ACL rule, ranging from 0 to 65534. If this parameter is not specified, all rules in the specified ACL will be applied.
Command Manual – Mirroring Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Mirroring Commands Parameter inbound | outbound | both: Direction of mirrored packets. inbound: only mirrors the packets received via the port; outbound: only mirrors the packets sent by the port;...
Page 793
Command Manual – Mirroring Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 Mirroring Commands <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] interface GigabitEthernet1/1/4 [Quidway-GigabitEthernet1/1/4] monitor-port Huawei Technologies Proprietary 1-15...
Command Manual – IRF Fabric Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 IRF Fabric Commands Chapter 1 IRF Fabric Commands 1.1 IRF Fabric Commands 1.1.1 change self-unit Syntax change self-unit to { unit-id | auto-numbering } View System view Parameter unit-id: Unit ID to be set to.
Page 796
Command Manual – IRF Fabric Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 IRF Fabric Commands View System view Parameter unit-id1: Current unit ID. unit-id2: New unit ID. auto-numbering: Change the unit ID automatically. Description Use the change unit-id command to configure the unit ID of a switch in an IRF fabric to a new value.
Command Manual – IRF Fabric Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 IRF Fabric Commands Description Use the display ftm command to display the protocol information or the topology database information of the current fabric. Example # Display the FTM protocol information of the switch.
Command Manual – IRF Fabric Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 IRF Fabric Commands Description Use the display irf-fabric command to view the information of the entire fabric, including unit ID, unit name, and operation mode of the system. If the fabric information is displayed on the Console port of a device, an asterisk (*) will be added to the unit ID of the current device.
Command Manual – IRF Fabric Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 IRF Fabric Commands 1.1.6 display rmon statistics unit Syntax display rmon statistics unit unit-id View Any view Parameter unit-id: Unit ID of a device in an IRF fabric.
Page 801
Command Manual – IRF Fabric Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 IRF Fabric Commands Total number of units in fabric : 8, My Unit ID : 1 UID CPU-Mac Priority Stack-Port Board-ID A/M 00e0-fc00-5002 10 /Right 1 00e0-fc03-5132 10...
Command Manual – IRF Fabric Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 IRF Fabric Commands %Apr 2 19:43:24:368 2000 Quidway FTM/3/FTMCHIDAUTO:- 1 -Change unitid to auto successful, unit 1 removed UnitID from flash! Unit 2 removed unit ID successfully.
Command Manual – IRF Fabric Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 IRF Fabric Commands Note: Establishing an IRF system requires a high consistency of the configuration of each device. Hence, before you enable the fabric port, do not perform any configuration for the port, and do not enable some functions that affect the IRF (such as TACACAS and VLAN-VPN) for other ports or globally.
Command Manual – IRF Fabric Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 IRF Fabric Commands Example # Specify VLAN 2 of the switch as an IRF fabric VLAN . <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – IRF Fabric Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 IRF Fabric Commands Hello Second 2(*) 1.1.13 sysname Syntax sysname sysname undo sysname View System view Parameter sysname: Fabric name to be set, a string comprising of 1 to 30 characters. By default, the fabric name of an S3900 Series Ethernet switch is Quidway.
Page 810
# Display the information about the Ethernet 1/0/1 port. <aaa_0.Quidway> display ndp interface Ethernet 1/0/1 Interface: Ethernet1/0/1 Status: Enabled, Pkts Snd: 15835, Pkts Rvd: 2879, Pkts Err: 0 Neighbor 1: Aging Time: 147(s) MAC Address : 00e0-fc00-3900 Port Name : Ethernet1/0/1 Software Ver: V100R002B01D001 Huawei Technologies Proprietary...
Page 811
Port name of a neighbor device Software Ver Neighbor device software version Device Name Device name of a neighbor device Port Duplex Port duplex mode of a neighbor device Product Ver Product version of a neighbor device Huawei Technologies Proprietary...
Note that the NDP feature on a port does not take effect until the NDP feature is enabled globally. Example # Enable NDP globally. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] ndp enable 1.1.3 ndp timer aging Syntax ndp timer aging aging-in-secs Huawei Technologies Proprietary...
# Configure the holdtime of the NDP information sent by the local switch to be 60 seconds. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] ndp timer aging 60 1.1.4 ndp timer hello Syntax ndp timer hello timer-in-seconds undo ndp timer hello View System view Huawei Technologies Proprietary...
(in the form of slot number/port number).to: Specifies a port range. &<1-10> means that you can provide up to ten port indexes/port index ranges for this argument. Description Use the reset ndp statistics command to clear NDP statistics. Huawei Technologies Proprietary...
Port Delay: 10 ms Last collection total time: 92ms Table 1-2 Description on the fields of the display ntdp command Field Description NTDP is running. NTDP is enabled globally on the local device. Hops Hop count for topology collection Huawei Technologies Proprietary...
# Display the device list collected through NTDP. <Quidway> display ntdp device-list PLATFORM 00e0-fc00-3901 100.100.1.1/24 S3900 00e0-fc00-3190 16.1.1.1/24 S3900 Table 1-3 Description on the fields of the display ntdp device-list command Field Description MAC address of a device Huawei Technologies Proprietary...
Page 817
: 00e0-fc00-3900 Platform : S3900 : 100.100.1.1/24 Version Huawei Versatile Routing Platform Software VRP (tm) Software, Version 3.10 Copyright (c) 1998-2006 Huawei Tech. Co.,Ltd. All rights reserved. S3900 3900-0002 Cluster Candidate switch Peer MAC Peer Port ID Native Port ID...
Name of the peer port connected to the local port Speed Speed of the neighbor device port Duplex Duplex mode of the neighbor device port 1.2.3 ntdp enable Syntax ntdp enable undo ntdp enable View System view, Ethernet port view Parameter None Huawei Technologies Proprietary 1-10...
The information is useful for the management device or network management system to acquire the network topology and to manage and monitor the devices. Example # Start the topology collection. <Quidway> ntdp explore Huawei Technologies Proprietary 1-11...
# Set the hop count for topology information collection to 5. <aaa_0.Quidway> system-view System View: return to User View with Ctrl+Z. [aaa_0.Quidway] ntdp hop 5 1.2.6 ntdp timer Syntax ntdp timer interval-in- minutes undo ntdp timer View System view Huawei Technologies Proprietary 1-12...
View System view Parameter time: Delay time (in milliseconds) for a switch to forward topology-collection request packets. This argument ranges from 1 to 1,000 and defaults to 200. Huawei Technologies Proprietary 1-13...
After forwarding a received topology-collection request packet through one port, the switch delays for specific period before it forwards the packet through the next port. Huawei Technologies Proprietary 1-14...
You can add a candidate device to a cluster on the management device only. If you do not specify the member number when adding a cluster member, the management device assigns the least available member number to it. Huawei Technologies Proprietary 1-15...
Use the administrator-address command to set the MAC address of the management device on a member device. Use the undo administrator-address command to remove a member device from the cluster, usually for debugging or restoration. By default, a switch belongs to no cluster. Huawei Technologies Proprietary 1-16...
Note: Ensure that NTDP is enabled, because it is the basis of candidate and member collection. The collection range is also decided through NTDP. You can use the hop command in system view to modify the collection range. Huawei Technologies Proprietary 1-17...
Use the build command to configure or modify the cluster name. Use the undo build command to remove a cluster. If the build command is executed on the candidate device, the current switch will be configured as the management device and assigned with a cluster name. Huawei Technologies Proprietary 1-18...
Page 827
Example # Configure the current switch to be a management device and specify the cluster name to be aaa. <Quidway> system-view System View: return to User View with Ctrl+Z [Quidway] cluster [Quidway-cluster] build aaa Huawei Technologies Proprietary 1-19...
Use the undo administrator-address command on a member switch to disable socket UDP 40000 of the member switch. 1.3.5 cluster Syntax cluster View System view Parameter None Description Use the cluster command to enter cluster view. Huawei Technologies Proprietary 1-20...
When you execute this command on a switch that belongs to no cluster, the cluster function is disabled on the switch. Example # Enable the cluster function on a switch. <Quidway> system-view System View: return to User View with Ctrl+Z [Quidway] cluster enable Huawei Technologies Proprietary 1-21...
You can enter quit to cancel the switchover operation. Example # Switch from the management device to the member device numbered 6 and then switch back to the management device. <aaa_0.Quidway> cluster switch-to 6 <aaa_0.Quidway> quit <aaa_0.Quidway> Huawei Technologies Proprietary 1-22...
# Configure the multicast MAC address of the management device to be 0180-C200-0028. <aaa_0.Quidway> system-view System View: return to User View with Ctrl+Z. [aaa_0.Quidway] cluster [aaa_0.Quidway-cluster] cluster-mac 0180-C200-0028 1.3.9 cluster-mac syn-interval Syntax cluster-mac syn-interval time-interval View Cluster view Parameter time-interval: Interval (in minutes) to send multicast packets. Huawei Technologies Proprietary 1-23...
0, that is, topology collection is not performed periodically. Example # Remove the member device numbered 2 from the cluster. <aaa_0.Quidway> system-view System View: return to User View with Ctrl+Z. [aaa_0.Quidway] cluster [aaa_0.Quidway-cluster] delete-member 2 Huawei Technologies Proprietary 1-24...
# Display cluster information (assuming that the current switch is a management device). <aaa_0.Quidway-cluster> display cluster Cluster name:"aaa" Role:Administrator Management-vlan:100 Handshake timer:10 sec Handshake hold-time:60 sec IP-Pool:20.1.1.1/24 cluster-mac:0180-c200-000a No logging host configured No SNMP host configured No FTP server configured No TFTP server configured Huawei Technologies Proprietary 1-25...
Administrator status State of the management device 1.3.12 display cluster candidates Syntax display cluster candidates [ mac-address H-H-H | verbose ] View Any view Parameter mac-address H-H-H: Specifies the MAC address of a candidate device. Huawei Technologies Proprietary 1-26...
Page 835
Hops from a candidate device to the management device IP address of a candidate device Platform Platform of a candidate device # Display the information about a specified candidate device. <aaa_0.Quidway-cluster> display cluster candidates mac-address 00e0-fc00-3190 Hostname : 3900-3 : 00e0-fc00-3190 Huawei Technologies Proprietary 1-27...
Platform of a candidate device 1.3.13 display cluster members Syntax display cluster members [ member-number | verbose ] View Any view Parameter member-number: Member number of a switch in a cluster, ranging from 0 to 255. Huawei Technologies Proprietary 1-28...
<aaa_0.Quidway-cluster> display cluster members verbose Member number:0 Name:aaa_0.Quidway Device:S3900 MAC Address:00e0-fc00-3901 Member status:Admin Hops to administrator device:0 IP: 100.100.1.1/24 Version: Huawei Versatile Routing Platform Software VRP (tm) Software, Version 3.10 Copyright (c) 1998-2006 Huawei Tech. Co.,Ltd. All rights reserved. Huawei Technologies Proprietary 1-29...
Page 838
MAC Address:3900-0000-3334 Member status:Up Hops to administrator device:2 IP: 16.1.1.11/24 Version: Huawei Versatile Routing Platform Software VRP (tm) Software, Version 3.10 Copyright (c) 1998-2006 Huawei Tech. Co.,Ltd. All rights reserved. S3900 3900-0002 Member number:2 Name: aaa_2.Quidway Device:S3900 MAC Address:00e0-fc00-3190 Member status:Up Hops to administrator device:1 IP: 16.1.1.1/24...
# Connect the FTP clients to the remote FTP server of the cluster. <123_1.Quidway> ftp cluster Trying ... Press CTRL+K to abort Connected. 220 FTP service ready. User(none):hello 331 Password required for hello. Password: 230 User logged in. 1.3.15 ftp-server Syntax ftp-server ip-address undo ftp-server Huawei Technologies Proprietary 1-31...
Use the undo holdtime command to restore the default holdtime value. If a switch does not receive any information of a peer device during the holdtime, it sets the state of the peer device to “down”. When the communication between the Huawei Technologies Proprietary 1-32...
This enables you to manage and maintain member devices in a cluster through the management device. Execute these two commands on switches that belong to no cluster only. The IP address range of an existing cluster cannot be modified. Huawei Technologies Proprietary 1-33...
Example # Configure the IP address of the logging host on the management device. <aaa_0.Quidway> system-view System View: return to User View with Ctrl+Z. [aaa_0.Quidway] cluster [aaa_0.Quidway-cluster] logging-host 10.10.10.9 1.3.19 management-vlan Syntax management-vlan vlan-id Huawei Technologies Proprietary 1-34...
# Specify VLAN 2 as the management VLAN on the current switch. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] management-vlan 2 1.3.20 nm-interface Vlan-interface Syntax nm-interface Vlan-interface vlan-id View Cluster view Parameter vlan-id: ID of the VLAN. Huawei Technologies Proprietary 1-35...
Use the reboot member command to reboot a specified member device on the management device. Communication between the management and member devices may be interrupted due to some configuration errors. Through the remote control function of member Huawei Technologies Proprietary 1-36...
SNMP host through the management device. Execute these two commands on management devices only. Example # Configure an SNMP host for the cluster on the management device. <aaa_0.Quidway> system-view Huawei Technologies Proprietary 1-37...
1.3.24 tftp cluster put Syntax tftp cluster put source-file [ destination-file ] View User view Parameter source-file: File to be uploaded to the server. destination-file: Name of the uploaded file saved in the storage directory of the TFTP server. Huawei Technologies Proprietary 1-38...
TFTP server through the management device. Execute these two commands on management devices only. Example # Configure a TFTP server on the management device. <aaa_0.Quidway> system-view System View: return to User View with Ctrl+Z. [aaa_0.Quidway] cluster [aaa_0.Quidway-cluster] tftp-server 1.0.0.9 Huawei Technologies Proprietary 1-39...
Example # Configure the interval to send handshake packets to be 3 seconds. <aaa_0.Quidway> system-view System View: return to User View with Ctrl+Z. [aaa_0.Quidway] cluster [aaa_0.Quidway-cluster] timer 3 Huawei Technologies Proprietary 1-40...
Page 851
Command Manual – PoE & PoE Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 PoE Configuration Commands Table 1-1 Description on the fields of the display poe interface command Field Description Port power enabled PoE is enabled on the port...
Page 852
Command Manual – PoE & PoE Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 PoE Configuration Commands Ethernet1/0/12 disable signal user command set port to off Ethernet1/0/13 disable signal user command set port to off Ethernet1/0/14 disable signal user command set port to off...
Command Manual – PoE & PoE Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 PoE Configuration Commands Field Description ENABLE PoE enabled/disabled status on the port PoE mode on the port: MODE signal: PoE through the signal cable spare: PoE through the spare cable...
Command Manual – PoE & PoE Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 PoE Configuration Commands <Quidway> display poe powersupply PSE ID PSE Legacy Detection :disable PSE Total Power Consumption :12000 mW PSE Available Power :288000 mW PSE Peak Value...
Command Manual – PoE & PoE Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 PoE Configuration Commands View Any view Parameter None Description Use the display poe temperature-protection command to display the enable/disable status of the PoE over-temperature protection function on the switch.
Command Manual – PoE & PoE Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 PoE Configuration Commands # Disable the PoE feature on the current port. [Quidway-Ethernet1/0/3] undo poe enable Port power supply is disabled 1.1.6 poe legacy enable...
Command Manual – PoE & PoE Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 PoE Configuration Commands View Ethernet port view Parameter max-power: Maximum power distributed to the port, ranging from 1000 to 15400 in mW. Description Use the poe max-power command to configure the maximum power that can be supplied by the current port.
Command Manual – PoE & PoE Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 PoE Configuration Commands Use the undo poe mode command to restore the PoE mode on the current port to the default mode. By default, the port is powered through a signal cable.
Page 862
Command Manual – PoE & PoE Profile Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 PoE Configuration Commands Parameter refresh: The refresh update mode is used when the PSE processing software is valid. The refresh update mode is to upgrade the valid software in the PSE.
Command Manual – PoE & PoE Profile Chapter 2 PoE Profile Configuration Comma Quidway S3900 Series Ethernet Switches-Release 1510 Note: PoE profile is a set of PoE configurations. One PoE profile can contain multiple PoE features. When the poe apply command is used to apply a PoE profile to a port, some PoE features can be applied successfully while some can not.
Command Manual – PoE & PoE Profile Chapter 2 PoE Profile Configuration Comma Quidway S3900 Series Ethernet Switches-Release 1510 Description Use the display poe-profile command to display detailed configuration information of the created PoE profile for a switch. Example # Display detailed configuration information for the PoE profile by the name of profile-test.
Page 866
Command Manual – PoE & PoE Profile Chapter 2 PoE Profile Configuration Comma Quidway S3900 Series Ethernet Switches-Release 1510 System View: return to User View with Ctrl+Z. [Quidway] poe-profile profile-test Huawei Technologies Proprietary...
Page 869
Command Manual – UDP Helper Chapter 1 Quidway S3900 Series Ethernet Switches-Release 1510 UDP Helper Configuration Commands Description Use the reset udp-helper packet command to clear statistics about the packets forwarded by UDP Helper. Example # Clear statistics about the packets forwarded by UDP Helper.
Page 870
Command Manual – UDP Helper Chapter 1 Quidway S3900 Series Ethernet Switches-Release 1510 UDP Helper Configuration Commands Parameter port-number: Port number whose UDP packets are to be forwarded, in the range 1 to 65535 (except for 67 and 68). dns: Domain name system, corresponding to UDP port 53.
Page 871
Command Manual – UDP Helper Chapter 1 Quidway S3900 Series Ethernet Switches-Release 1510 UDP Helper Configuration Commands No destination server is configured by default. Related command: display udp-helper server. Example # Specify to forward UDP packets of VLAN1 interface to the destination server with IP address of 192.1.1.2.
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands Parameter read: Displays read-only community information. write: Displays read-write community information. Description Use the display snmp-agent community command to view the information about the currently configured community names for SNMPv1 or SNMPv2c.
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands Description Use the display snmp-agent group command to view group name, security model, state of various views and storage models. Example # Display SNMP group name and security model.
Page 877
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands view-name: SNMP MIB view to be displayed. Description Use the display snmp-agent mib-view command to view the MIB view configuration information of the current Ethernet switch.
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands Field Description Subtree mask Subtree mask Storage-type Storage type ViewType: included/excluded Permit or forbid access to an MIB object View status Indicate the MIB view status 1.1.5 display snmp-agent statistics...
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands View Any view Parameter None Description Use the display snmp-agent trap-list command to view Trap list information. Related command: snmp-agent trap enable. Example # Display Trap list information.
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands If you do not specify a parameter, all the information will be displayed. Example # Display all user information. <Quidway> display snmp-agent usm-user...
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands The enable snmp trap updown and snmp-agent target-host commands are used at the same time. You can use the snmp-agent target-host command to specify the hosts that can receive Trap information.
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands Note: To reduce the risk of being attacked by malicious users against opened socket and enhance switch security, the S3900 series Ethernet switches provide the following...
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands Use the undo snmp-agent community command to cancel the settings of community access name. Example # Configure community name as comaccess and permit read-only access by this community name.
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands notifyview: Notification view name, ranging from 1 to 32 bytes. acl-number: The basic access list number, ranging from 2,000 to 2,999. Description Use the snmp-agent group command to configure a new SNMP group, that is, to map SNMP user to SNMP view.
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands Example # Configure the local device name as 123456789A. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] snmp-agent local-engineid 123456789A 1.1.14 snmp-agent log...
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands View System view Parameter byte-count: Maximum size of the SNMP packet (in bytes) that the Agent can send/receive, ranging from 484 to 17,940.
If the device fails, the device maintenance person can use contact information to contact the manufacturer. By default, the contact information is "R&D Beijing, Huawei Technologies Co.,Ltd.", the system location is "Hangzhou China", the SNMP version is SNMP V3. Related command: display snmp-agent sys-info.
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands params: Specifies SNMP target host information to be used in the generation of SNMP messages. security-string: The community name of SNMP V1 and SNMP V2C, or SNMP V3 user name, ranging from 1 to 32 characters.
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands Parameter size: Length of a queue, ranging from 1 to 1,000. Description Use the snmp-agent trap queue-size command to configure the information queue length of Trap packet sent to destination host.
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands You can configure this command to trace a specific event using the source address of a Trap packet. Note: Before setting the IP address of an interface address as the source address of the sent Trap packet, you must configure an IP address for the interface.
Page 895
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration Commands Group-name: Group name corresponding to that user, a character string of 1 to 32 characters. authentication-mode: Specifies the safety level as authentication required. Absence of this parameter indicates that neither authentication nor encryption is required.
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RMON Configuration Commands Field Description Samples type Sample type: change value or absolute value Variable formula Variable formula of the sampled node Sampling interval Sampling interval...
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RMON Configuration Commands Event table 1 owned by user1 is VALID. Description: null. Will cause log-trap when triggered, last triggered at 0days 00h:02m:27s. Table 2-2 Description on the fields of the display rmon event command...
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RMON Configuration Commands Generates eventLog 1.2 at 0days 00h:02m:27s. Description: The alarm formula defined in private alarm table 1, less than(or =) 100 with alarm value 0. Alarm sample type is absolute.
Page 901
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RMON Configuration Commands View Any view Parameter prialarm-entry-number: Extended alarm entry Index, in the range of 1 to 65535. If you do not specify this argument, the configuration of all the extended alarm entries is displayed.
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RMON Configuration Commands Field Description Falling threshold. An alarm is triggered when the Falling threshold falling threshold is reached linked with event Event index corresponding to an alarm...
Page 905
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RMON Configuration Commands With an alarm entry defined in an alarm group, a network device performs the following operations accordingly: Sample the defined alarm variables (alarm-variable) once in each specified period, which is specified by the sampling-time argument.
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RMON Configuration Commands 2.1.9 rmon history Syntax rmon history entry-number buckets number interval sampling-interval [ owner text ] undo rmon history entry-number View Ethernet port view Parameter entry-number: History entry index, in the range of 1 to 65535.
Page 909
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RMON Configuration Commands Use the undo rmon prialarm command to remove a specified extended alarm entry. Note: Before adding an extended alarm entry, you need to use the rmon event command to define the events to be referenced by the entry.
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RMON Configuration Commands System View: return to User View with Ctrl+Z. [Quidway]interface Ethernet 1/0/1 [Quidway-Ethernet1/0/1] rmon statistics 1 [Quidway-Ethernet1/0/1] quit [Quidway] rmon prialarm ((.1.3.6.1.2.1.16.1.1.1.4.1)*100) test changeratio rising_threshold 50 1 falling_threshold 5 2 entrytype forever owner user1 # Remove the extended alarm entry numbered 2 from the extended alarm table.
Page 911
Command Manual – SNMP and RMON Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 2 RMON Configuration Commands Example # Add the statistics entry numbered 20 to take statistics of Ethernet1/0/1 port. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – NTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Commands Chapter 1 NTP Configuration Commands Note: To reduce the risk of being attacked by malicious users against opened socket and enhance switch security, the S3900 series Ethernet switches provide the following functions, so that a socket is opened only when it is needed: Opening UDP port 123 (used for NTP) when NTP is enabled;...
Command Manual – NTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Commands Caution: An S3900 series switch attempts to establish connections in all NTP implementation modes except NTP server mode. Example # View the status of all the sessions maintained by NTP service.
Page 915
Command Manual – NTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Commands Parameter None Description Use the display ntp-service status command to display the status of NTP service. Example # View the status of the local NTP service.
Command Manual – NTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Commands Field Description The maximum dispersion of the remote NTP Peer dispersion server Reference time Reference timestamp 1.1.3 display ntp-service trace Syntax display ntp-service trace View...
Command Manual – NTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Commands View System view Parameter peer: Allows time request and query on the local NTP server. The local clock can also be synchronized to the remote server.
Command Manual – NTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Commands View System view Parameter None Description Use the ntp-service authentication enable command to enable the NTP authentication. Use the undo ntp-service authentication enable command to disable the NTP authentication.
Command Manual – NTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Commands Example # Configure an MD5 authentication key, with the key ID being 10 and the key being BetterKey. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – NTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Commands View VLAN interface view Parameter authentication-keyid key-id: Specifies the key ID used when sending messages to the broadcast clients. The key-id argument ranges from 1 to 4294967295. This parameter is not needed if you specify not to perform authentication.
Command Manual – NTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Commands Use the undo ntp-service in-interface disable command to enable the interface to receive NTP packets. By default, the interface can receive NTP packets. Example # Disable VLAN interface 1 from receiving NTP packets.
Command Manual – NTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Commands version number: Specifies the NTP version number which ranges from 1 to 3 and defaults to 3. Description Use the ntp-service multicast-server command to configure an Ethernet switch to operate in the NTP multicast server mode and send NTP multicast packets through the current interface.
Command Manual – NTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Commands Example # Enable NTP authentication, with MD5 algorithm adopted, key ID being 37, the key of BetterKey and being a trusted key. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual – NTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Commands Example # Configure to obtain time information from the peer with the IP of 128.108.22.44. And the local peer can also provide time information to the remote peer. Set the NTP version number to 3.
Page 927
Command Manual – NTP Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 NTP Configuration Commands Note: An Ethernet can operate as a client and be synchronized to the remote NTP server identified by the remote-ip argument. Note that an NTP server will not be synchronized to the local switch.
Page 928
Command Manual – SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Table of Contents Table of Contents Chapter 1 SSH Terminal Service Configuration Commands ............ 1-1 1.1 SSH Server Configuration Commands ................1-1 1.1.1 display rsa local-key-pair public ................1-1 1.1.2 display rsa peer-public-key ..................
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Chapter 1 SSH Terminal Service Configuration Commands 1.1 SSH Server Configuration Commands 1.1.1 display rsa local-key-pair public Syntax display rsa local-key-pair public...
Page 931
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands 0203 010001 Host public key for PEM format code: ---- BEGIN SSH2 PUBLIC KEY ---- AAAAB3NzaC1yc2EAAAADAQABAAAAQQDembVAh7ZmuWnJSM27zCtgmX+cGJqmZRxg Zu92JC3q0d7+oWJhZ3vUGnv652aO2qn7BIw3oPE1TVeYwgIiU/T1 ---- END SSH2 PUBLIC KEY ----...
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands 1.1.2 display rsa peer-public-key Syntax display rsa peer-public-key [ brief | name keyname ] View Any view Parameter brief: Displays brief information about all public keys on the client.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands 1.1.3 display ssh server Syntax display ssh server { status | session } View Any view Parameter status: Displays SSH status information.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands VTY 1 started sFTP Table 1-1 Description on the fields of the display ssh server session command Field Description Conn Number of VTY interface used for user login...
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands View Any view Parameter None Description Use the display ssh-server source-ip command to display the current source IP address specified for the SSH Server. If you specify a source interface for the SSH Server, the command displays the IP address of the interface.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands 1.1.8 public-key-code begin Syntax public-key-code begin View Public key view Parameter None Description Use the public-key-code begin command to enter public key edit view and input the client public key.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands View Public key edit view Parameter None Description Use the public-key-code end command to return from public key edit view to public key view and save the public keys you set.
Page 939
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands After you use the command, the system prompts you to define the key length. In SSHv1.x, the key length is in the range of 512 to 2,048 (bits).
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands 1.1.11 rsa local-key-pair destroy Syntax rsa local-key-pair destroy View System view Parameter None Description Use the rsa local-key-pair destroy command to destroy all existing RSA key pairs at the server end.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Related command: public-key-code begin, public-key-code end. Example # Enter quidway002 public key view. <Quidway> system-view System View: return to User View with Ctrl+Z.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands undo ssh server authentication-retries View System view Parameter times: Authentication retry times. It is in the range of 1 to 5 and defaults to 3.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Description Use the ssh server compatible-ssh1x enable command to make the server compatible with the SSHv1.x version-supporting client. Use the undo ssh server compatible-ssh1x enable command to make the server not compatible with the SSH1v.x version-supporting client.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands By default, the system does not update the server key. Caution: This command is only effective on users whose client version is SSHv1.x.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands 1.1.19 ssh user assign rsa-key Syntax ssh user username assign rsa-key keyname undo ssh user username assign rsa-key View System view Parameter username: SSH user name, a string of 1 to 80 characters.
Page 947
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands rsa: Specifies the authentication type as RSA public key. password-publickey: Specifies the authentication type as both password and RSA public key. That is, the user can pass the authentication only if both the password and RSA public key are correct.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands 1.1.21 ssh-server source-interface Syntax ssh-server source-interface interface-type interface-number undo ssh-server source-interface View System view Parameter interface-type: Type of source interface, which can be LoopBack or Vlan-interface.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Description Use the ssh-server source-ip command to specify source IP address for SSH Server. When the specified ip-address is not the IP address of the device, the command prompts configuration fails.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands View Any view Parameter None Description Use the display ssh server-info command to display the association between the server public keys configured on the client and the servers.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands 1.2.5 quit Syntax quit View User view Parameter None Description Use the quit command to terminate the connection to the remote SSH server.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Description Use the ssh client first-time enable command to configure the client to run the initial authentication. Use the undo ssh client first-time command to remove the configuration.
Page 955
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands prefer_kex: Key exchange algorithm preference. Choose one of the two algorithms available. dh_group1: Diffie-Hellman-group1-sha1 key exchange algorithm. It is the default algorithm.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Parameter ip-address: Source IP address needed to set. Description Use the ssh2 source-ip command to specify the source interface for SSH2 Client.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Parameter Time-out-value: Timeout time. It is in the range of 1 to 35,791 (minutes) and defaults to 10 minutes. Description Use the sftp timeout command to set the timeout time for the SFTP user connection.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands 1.4.2 cd Syntax cd [ remote-path ] View SFTP Client view Parameter remote-path: Name of a path on the server. Description Use the cd command to change the current path on the remote SFTP server. If you did not specify the remote-path argument, the current path is displayed.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Description Use the cdup command to return the current path on the remote SFTP server to the upper directory. Example # Return to the upper directory.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands View SFTP Client view Parameter remote-path: Name of the intended directory. Description Use the dir command to display the specified directory on the remote SFTP server.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Example # Display the current source IP address specified for the SFTP Client. <Quidway> display sftp source-ip The source IP you specified is 192.168.1.1 1.4.7 exit...
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands If no local file name is specified, the name of the source file is used by default. Example # Download file tt.bak and save it with name tt.txt.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Description Use the ls command to display the files in the specified directory on the remote SFTP server.. If the remote-path argument is not specified, the files in the current directory are displayed.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands View SFTP Client view Parameter local-file: Name of the source file at the local end. remote-file: Name assigned to the file to be saved on the remote SFTP server.
Page 967
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands View SFTP Client view Parameter None Description Use the quit command to terminate the connection to the remote SFTP server and exit to system view.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands 1.4.16 rename Syntax rename old name new name View SFTP Client view Parameter old name: Original file name. new name: New file name.
Command Manual –SSH Terminal Service Chapter 1 SSH Terminal Service Quidway S3900 Series Ethernet Switches-Release 1510 Configuration Commands Description Use the sftp command to establish a connection to the SFTP server and enter SFTP Client view. Example # Establish a connection to the SFTP server with IP address 10.1.1.2 and use the default encryption algorithms.
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Chapter 1 File System Management Configuration Commands Note: For Ethernet switches that support IRF (intelligent resilient framework), you can input a file path and file name in one of the following ways: In universal resource locator (URL) format and starting with “unit[No.]>flash:/”...
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Description Use the boot attribute-switch command to switch between the main and backup attribute for all the files or a specified type of files. That is, changes a file with the main attribute to one with the backup attribute, or vice versa.
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Caution: Before configuring the main or backup attribute for a file in the fabric, make sure the file already exists on all devices in the fabric. This is because Ethernet switches do not allows you to specify an app file only existing in other unit’s Flash memory as the app...
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Caution: Before configuring the main or backup attribute for a file in the fabric, make sure the file already exists on all devices in the fabric. This is because Ethernet switches do not allows you to specify an app file only existing in other unit’s Flash memory as the app...
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Caution: Before configuring the main or backup attribute for a Web file in the fabric, make sure the file exists on all devices in the fabric.
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands 1.1.6 startup bootrom-access enable Syntax startup bootrom-access enable undo startup bootrom-access enable View User view Parameter None Description Use the startup bootrom-access enable command to specify a switch to prompt for the customized password before entering the BOOT menu.
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands View User view Parameter directory: Target directory. Description Use the cd command to enter a specified directory on the Ethernet switch.
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands The corresponding messages are displayed as follows: Delete the running image file? [Y/N]:n Delete the running config file? [Y/N]:n Delete the running web file? [Y/N]:n...
Page 983
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Parameter /all: Displays the information about all the files, including those in the recycle bin. /fabric: Displays the information about all the specified files in the fabric.
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands This command executes command lines in the batch file in sequence. Note that the batch file cannot contain any invisible character. If any invisible character is found, the command will quit execution and this process is irretrievable.
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Delete unit1>flash:/te.txt?[Y/N]:y ..%Delete file unit1>flash:/te.txt...Done. when the prompt mode is set as quiet, the following messages will be displayed when you delete a file: <Quidway>...
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands View User view Parameter device: Name of a device. Description Use the format command to format the Flash memory. Caution: The format operation leads to the loss of all the files on the Flash memory, and the operation is irretrievable.
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Example # Create a directory in the current directory, with the name being dd. <Quidway> mkdir dd % Created dir flash:/dd 1.2.10 more...
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands fileurl-dest: Path name or file name of the target file in the Flash, a string comprising 1 to 142 characters. Description Use the move command to move a file to a specified directory.
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Parameter fileurl-source: Path name or file name of a file in the Flash. fileurl-dest: Path name or a file name. Description Use the rename command to rename a file or a directory.
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands Example # Clear the recycle bin in unit 1 of the fabric. <Quidway>reset recycle-bin unit1>flash:/ Clear unit1>flash:/te.txt ?[Y/N]:y Clearing files from flash may take a long time. Please wait...
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands View User view Parameter file-url: Path name or the file name of a file in the Flash. Description Use the undelete command to restore a deleted file in the recycle bin.
Page 993
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands S3900.btm and S3900.web represents host software, Boot ROM files and Web files respectively. Note: You can upgrade files with extensions web, bin and btm.
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands The s3900.bin is stored on unit 2 successfully The s3900.bin is stored on unit 8 successfully Do you want to set s3900.bin to be running agent next time to boot[Y/N] y The s3900.bin is configured successfully...
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands # Back up the current configuration of the whole fabric to the file aaa.cfg on the TFTP server with IP address 1.1.1.253.
Page 996
Command Manual – File System Management Chapter 1 File System Management Configuration Quidway S3900 Series Ethernet Switches-Release 1510 Commands File will be transferred in binary mode. Downloading file from remote tftp server, please wait... TFTP: 1958 bytes sent in 0 second(s).
You can use the commands here to enable or disable FTP server. Disabling FTP server can ensure secure operating of the device. Example # Disable FTP server. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] undo ftp server % Close FTP server 2.1.2 local-user Syntax local-user user-name Huawei Technologies Proprietary...
# Add a local user named hello1. <Quidway> system-view System View: return to User View with Ctrl+Z. [Quidway] local-user hello1 New local user added. [Quidway-luser-hello1] 2.1.3 local-user password-display-mode Syntax local-user password-display-mode { auto | cipher-force } undo local-user password-display-mode View System view Huawei Technologies Proprietary...
Password to be set. In simple mode, it is a string of 1 to 63 characters; in cipher mode, it is a character string of 1 to 63 characters or 88 characters. Description Use the password command to set a password for the local user. Huawei Technologies Proprietary...
Example # Connect to the remote FTP server with IP address 1.1.1.1. <Quidway> ftp 1.1.1.1 Trying ... Press CTRL+K to abort Connected. 220 FTP service ready. User(none):hello 331 Password required for hello. Password: 230 User logged in. Huawei Technologies Proprietary...
Need help?
Do you have a question about the Quidway S3900 series and is the answer not in the manual?
Questions and answers