Planet WGSW-28040 Command Manual

Planet WGSW-28040 Command Manual

Managed 28-port switch
Hide thumbs Also See for WGSW-28040:
Table of Contents

Advertisement

Command Guide of WGSW-28040
1

Advertisement

Table of Contents
loading

Summary of Contents for Planet WGSW-28040

  • Page 1 Command Guide of WGSW-28040...
  • Page 2: Table Of Contents

    Command Guide of WGSW-28040 Contents Chapter 1 COMMAND LINE INTERFACE ........... 12 1.1 Accessing the CLI ..........................12 1.2 Command Line Modes ........................12 1.3 Cammand Help ..........................13 1.4 Command Line Editing ........................14 1.5 Requirements ............................ 14 Chapter 2 CONSOLE CLI MANAGEMENT ..........16 2.1 Terminal Setup...........................
  • Page 3 Command Guide of WGSW-28040 4.2.7 tacacs default-config ..........................44 4.2.8 tacacs host ..............................45 4.2.9 show tacacs default-config ......................... 46 4.2.10 show tacacs ............................. 46 4.2.11 radius default-config ..........................47 4.2.12 radius host ............................... 48 4.2.13 show radius default-config ........................49 4.2.14 show radius ..............................
  • Page 4 Command Guide of WGSW-28040 4.4.19 ipv6 default-gateway ..........................80 4.4.20 ipv6 dhcp ..............................81 4.4.21 ip service ..............................82 4.4.22 ip session-timeout ............................ 83 4.4.23 exec-timeout ............................84 4.4.24 password-thresh ............................85 4.4.25 silent-time ..............................87 4.4.26 history ..............................88 4.4.27 clear service .............................
  • Page 5 Command Guide of WGSW-28040 4.6.15 ip dhcp snooping database ........................112 4.6.16 ip dhcp snooping database write-deley ....................113 4.6.17 ip dhcp snooping database timeout ....................... 114 4.6.18 clear ip dhcp snooping database statistics ..................... 115 4.6.19 renew ip dhcp snooping database ......................116 4.6.20 show ip dhcp snooping database ......................
  • Page 6 Command Guide of WGSW-28040 4.10.10 ip igmp snooping vlan static router port ....................147 4.10.11 ip igmp snooping static group ....................... 149 4.10.12 ip igmp profile ............................150 4.10.13 ip igmp filter ............................151 4.10.14 ip igmp max-group ..........................152 4.10.15 clear ip igmp snooping groups ......................
  • Page 7 Command Guide of WGSW-28040 4.13.9 lldp lldpdu ............................... 182 4.13.10 lldp tx/rx ..............................182 4.13.11 lldp med ..............................184 4.13.12 lldp med tlv-select ..........................185 4.13.13 lldp med fast-start-report-count ......................186 4.13.14 lldp med network-policy ........................187 4.13.15 lldp med network-policy add | remove ....................188 4.13.16 lldp med network-policy auto ........................
  • Page 8 Command Guide of WGSW-28040 4.17.6 ipv6 mld snooping vlan static-port ......................224 4.17.7 ipv6 mld snooping vlan static-router-port ....................224 4.17.8 ipv6 mld snooping vlan static-group ....................... 226 4.17.9 ipv6 mld profile ............................227 4.17.10 ipv6 mld filter ............................228 4.17.11 ipv6 mld max-groups ..........................
  • Page 9 Command Guide of WGSW-28040 4.21.2 qos trust ..............................258 4.21.3 qos map ..............................259 4.21.4 qos queue .............................. 262 4.21.5 qos cos..............................264 4.21.6 qos trust ..............................265 4.21.7 qos remark ............................. 265 4.21.8 show qos ..............................266 4.21.9 show qos map ............................267 4.21.10 show qos interface ..........................
  • Page 10 Command Guide of WGSW-28040 4.25 Storm Control ..........................295 4.25.1 Storm-control unit ........................... 295 4.25.2 storm-control ifg ............................. 295 4.25.3 storm-control ............................296 4.25.4 storm-control action ..........................298 4.25.5 show storm-control ..........................299 4.26 Spanning Tree ..........................301 4.26.1 spanning-tree ............................301 4.26.2 spanning-tree bpdu ..........................
  • Page 11 Command Guide of WGSW-28040 4.28.4 clock summer-time ..........................326 4.28.5 show clock ............................. 328 4.28.6 sntp ................................ 329 4.28.7 show sntp ............................... 330 4.29 VLAN ............................... 331 4.29.1 vlan ................................ 331 4.29.2 vlan name .............................. 331 4.29.3 switchport mode ............................. 332 4.29.4 switchport hybrid pvid ..........................
  • Page 12: Chapter 1 Command Line Interface

    Command Guide of WGSW-28040 Chapter 1 COMMAND LINE INTERFACE 1.1 Accessing the CLI When accessing the management interface for the switch over a direct connection to the server’s console port, or via a Telnet connection, the switch can be managed by entering command keywords and parameters at the prompt. Using the switch's command-line interface (CLI) is very similar to entering commands on a UNIX system.
  • Page 13: Cammand Help

    Command Guide of WGSW-28040 The CLI is divided into various modes. The commands in one mode are not available until the operator switches to that particular mode. The commands available to the operator at any point in time depend upon the mode. Entering a question mark (?) at the CLI prompt, and displays a list of the available commands and descriptions of the commands.
  • Page 14: Command Line Editing

    Command Guide of WGSW-28040 To use the <Tab> key to do keyword auto completion: Switch(config)# copy tftp r<Tab> Switch(config)# copy tftp running-config You do not need to type in the entire commands; you only need to type in enough characters for the CLI to recognize the command as unique.
  • Page 15 Command Guide of WGSW-28040  Serial Port Connection (Terminal)  The above Workstations come with COM Port (DB9) or USB-to-RS-232 converter.  The above Workstations have been installed with terminal emulator, such as Hyper Terminal included in Windows XP/2003. ...
  • Page 16: Chapter 2 Console Cli Management

    Terminal, ProComm Plus, Telix, Winterm and so on) to enter the startup screen of the device. WGSW-28040 Rear Panel Figure 2-2: Rear Panel of WGSW-28040 Console port A terminal program is required to make the software connection to the Managed Switch. Windows' Hyper Terminal program may be a good choice.
  • Page 17 Command Guide of WGSW-28040 Figure 2-3 Hyper Terminal COM Port Configuration You can change these settings, if desired, after you log on. This management method is often preferred because you can remain connected and monitor the system during system reboots. Also, certain error messages are sent to the serial port, regardless of the interface through which the associated action was initiated.
  • Page 18: Logon To The Console

    Command Guide of WGSW-28040 2.2 Logon to the Console Once the terminal is connected to the device, power on the Managed Switch, and the terminal will display “running testing procedures”. Then, the following message asks to log-in user name and password. The factory default user name and...
  • Page 19 Figure 3-2: IP Information Screen Configuring IP Address  On ”WGSW-28040#” prompt, enter “configure”. On “WGSW-28040(config)#” prompt, enter the following command and press <Enter> as shown in Figure 3-3. WGSW-28040(config)# ip address 192.168.1.100 mask 255.255.255.0 WGSW-28040(config)# ip default-gateway 192.168.1.254 The previous command would apply the following settings for the Switch.
  • Page 20 Command Guide of WGSW-28040 Store current switch configuration  At the “#” prompt, enter the following command and press <Enter>. # copy running-config startup-config Figure 3-4: Saving Current Configuration Command Screen If the IP is successfully configured, the Managed Switch will apply the new IP address setting immediately. You can access the Web interface of the Managed Switch through the new IP address.
  • Page 21: Chapter 3 Telnet Cli Management

    Command Guide of WGSW-28040 Chapter 3 TELNET CLI MANAGEMENT 3.1 Telnet Login The Managed Switch also supports telnet for remote management. The switch asks for user name and password for remote login when using telnet, please use “admin” for username & password.
  • Page 22: Chapter 4 Commands For Cli Configuration

    Command Guide of WGSW-28040 Chapter 4 Commands for CLI Configuration 4.1 802.1x 4.1.1 dot1x Command: dot1x no dot1x Default: Default is disabled Mode: Global Configuration Usage Guide: The “dot1x” command enables the global setting of IEEE 802.1X port-based network access control. Only when it is enabled, can the port-based setting work.
  • Page 23: Dot1X Authentication

    Command Guide of WGSW-28040 Session Time (HH:MM:SS): 0: 0: 0: 0 4.1.2 dot1x authentication Command: dot1x (auto|force-auth|force-unauth) no dot1x Parameter: auto Port control will depends on the outcome of authentication. force-auth Force this port to be unconditional authorized. force-unauth Force this port to be unconditional unauthorized.
  • Page 24: Dot1X Reauthentication

    Command Guide of WGSW-28040 gi1 Authentication | Initialize | Enabled | 3600 Quiet Period: 60 Second Supplicant timeout: 30 Second Max req: 2 Session Time (HH:MM:SS): 0: 0: 0: 0 4.1.3 dot1x reauthentication Command: dot1x reauth no dot1x reauth Default:...
  • Page 25: Dot1X Timeout Reauth-Period

    Command Guide of WGSW-28040 Max req: 2 Session Time (HH:MM:SS): 0: 0: 0: 0 4.1.4 dot1x timeout reauth-period Command: dot1x timeout reauth-period <30-65535> no dot1x timeout reauth-period Parameter: <30-65535> Specify the re-authentication period. Default: 3600 seconds Mode: Interface Configuration Usage Guide: Use the “dot1x timeout reauth-period”...
  • Page 26: Dot1X Timeout Quiet-Period

    Command Guide of WGSW-28040 4.1.5 dot1x timeout quiet-period Command: dot1x timeout quiet-period <0-65535> no dot1x timeout quite-period Parameter: <0-65535> Specify the quiet period. Default: 36 seconds Mode: Interface Configuration Usage Guide: Use the “dot1x timeout quiet-period” command to configure the quiet period. Use the no form of this command to restore the period to default value.
  • Page 27: Dot1X Max-Req

    Command Guide of WGSW-28040 dot1x timeout supp-timeout <1-65535> no dot1x timeout supp-timeout Parameter: <1-65535> Specify the supplicant period. Default: 30 seconds Mode: Interface Configuration Usage Guide: Use the “dot1x timeout supp-timeout” command to configure the supplicant period. Use the no form of this command to restore the period to default value.
  • Page 28: Dot1X Guest-Vlan

    Command Guide of WGSW-28040 Parameter: <1-10> Specify the maximum request retries. Default: 2 times Mode: Interface Configuration Usage Guide: Use the “dot1x max-req” command to configure the maximum request retries. Use the no form of this command to restore the period to default value.
  • Page 29 Command Guide of WGSW-28040 Mode: Global Configuration Usage Guide: Use the dot1x guest-vlan command to globally enable guest VLAN function. Use the no form of this command to disable guest VLAN function. For a port to become a member of guest VLAN after authentication fail, you should also enable guest VLAN on that port.
  • Page 30: Dot1X Guest-Vlan

    Command Guide of WGSW-28040 gi20 | Disabled | --- gi21 | Disabled | --- gi22 | Disabled | --- gi23 | Disabled | --- gi24 | Disabled | --- gi25 | Disabled | --- gi26 | Disabled | --- gi27 | Disabled | --- gi28 | Disabled | --- 4.1.9 dot1x guest-vlan...
  • Page 31: Show Dot1X

    Command Guide of WGSW-28040 switch(config-if)# exit switch(config)# show dot1x guest-vlan Guest VLAN ID: 2 Port | Guest VLAN | In Guest VLAN -------+------------+--------------- gi1 | Enabled | No gi2 | Disabled | --- gi3 | Disabled | --- gi4 | Disabled | ---...
  • Page 32: Show Dot1X Authenticated-Hosts

    Command Guide of WGSW-28040 Command: show dot1x Mode: Privileged EXEC Usage Guide: Use “show dot1x” command to show dot1x enabling status. Example: This example shows how to show the dot1x enabling status. Switch# show dot1x 802.1x protocol is: Disabled 802.1x protocol version: 2 4.1.11 show dot1x authenticated-hosts...
  • Page 33: Show Dot1X Guest-Vlan

    Command Guide of WGSW-28040 Command: show dot1x interface IF_PORTS Parameter: IF_PORTS Select port to show dot1x configurations. Mode: Privileged EXEC Usage Guide: Use “show dot1x interfaces” command to show dot1x information of the specified port. Example: This example shows how to show dot1x configurations on interface gi1.
  • Page 34 Command Guide of WGSW-28040 Switch# show dot1x guest-vlan Guest VLAN ID: 2 Port | Guest VLAN | In Guest VLAN -------+------------+--------------- gi1 | Enabled | No gi2 | Disabled | --- gi3 | Disabled | --- gi4 | Disabled | ---...
  • Page 35: Aaa

    Command Guide of WGSW-28040 4.2 AAA 4.2.1 aaa authentication Command: aaa authentication (login | enable) (default | LISTNAME) METHODLIST [METHODLIST] [METHODLIST] [METHODLIST] no aaa authentication (login | enable) LISTNAME Parameter: login Add/Edit login authentication list enable Add/Edit enable authentication list...
  • Page 36: Login Authentication

    Command Guide of WGSW-28040 Use no form to delete the existing list. However, “default” list is not allowed to remove. Example: This example shows how to add a login authentication list to authenticate with order tacacs+, radius, local. Switch(config)# aaa authentication login test1 tacacs+ radius local...
  • Page 37 Command Guide of WGSW-28040 Parameter: LISTNAME Specify the login authentication list name to use. Default: Default login authentication list for each line is “default”. Mode: Line Configuration Usage Guide: Different access methods are allowed to bind different login authentication lists. Use “login authentication”...
  • Page 38: Ip Http Login Authentication

    Command Guide of WGSW-28040 http | login | default https | login | default 4.2.3 ip http login authentication Command: ip (http | https) login authentication LISTNAME no ip (http | https) login authentication Parameter: http Bind login authentication list to user access WEBUI with http protocol...
  • Page 39 Command Guide of WGSW-28040 -------------+-----------------+----------------- console | login | default | enable | default | exec | default | commands | default | acct-exec | default | acct-cmd( 0) | default | acct-cmd( 1) | default | acct-cmd( 2) | default...
  • Page 40: Enable Authentication

    Command Guide of WGSW-28040 | acct-cmd(11) | default | acct-cmd(12) | default | acct-cmd(13) | default | acct-cmd(14) | default | acct-cmd(15) | default ssh | login | default | enable | default | exec | default | commands | default...
  • Page 41 Command Guide of WGSW-28040 Parameter: LISTNAME Specify the login authentication list name to use. Default: Default enable authentication list for each line is “default”. Mode: Line Configuration Usage Guide: Different access methods are allowed to bind different enable authentication lists. Use “enable authentication”...
  • Page 42: Show Aaa Authentication

    Command Guide of WGSW-28040 http | login | default https | login | default 4.2.5 show aaa authentication Command: show aaa authentication (login | enable) lists Parameter: login Show login authentication list enable Show enable authentication list Mode: Privileged EXEC Usage Guide: Use “show aaa authentication”...
  • Page 43: Show Line Lists

    Command Guide of WGSW-28040 4.2.6 show line lists Command: show line lists Mode: Privileged EXEC Usage Guide: Use “show line lists” command to show all lines’ binding list of all authentication, authorization, and accounting function. Example: This example shows how to show line binding lists.
  • Page 44: Tacacs Default-Config

    Command Guide of WGSW-28040 4.2.7 tacacs default-config Command: tacacs default-config [key TACACSKEY] [timeout <1-30>] Parameter: key TACACSKEY Specify default tacacs+ server key string timeout <1-30> Specify default tacacs+ server timeout value Default: Default tacacs+ key is “”. Default tacacs+ timeout is 5 seconds.
  • Page 45: Tacacs Host

    Command Guide of WGSW-28040 1 | 10 | 192.168.1.111 | 49 | tackey 4.2.8 tacacs host Command: tacacs host HOSTNAME [port <0-65535>] [key TACPLUSKEY] [priority <0-65535>] [timeout <1-30>] no tacacs [host HOSTNAME] Parameter: host HOSTNAME Specify tacacs+ server host name, both IP address and domain name are available.
  • Page 46: Show Tacacs Default-Config

    Command Guide of WGSW-28040 ------+---------+------------------+--------+---------- 100 | 10 | 192.168.1.111 | 12345 | tacacs+ 4.2.9 show tacacs default-config Command: show tacacs default-config Mode: Privileged EXEC Usage Guide: Use “show tacacs default-config” command to show tacacs+ default configurations. Example: This example shows how to show default tacacs+ configurations.
  • Page 47: Radius Default-Config

    Command Guide of WGSW-28040 Prio | Timeout | IP Address | Port | Key ------+---------+------------------+--------+---------- 100 | 10 | 192.168.1.111 | 12345 | tacacs+ 4.2.11 radius default-config Command: radius default-config [key RADIUSKEY] [retransmit <1-10>] [timeout <1-30>] Parameter: key RADIUSKEY Specify default radius server key string retransmit <1-10>...
  • Page 48: Radius Host

    Command Guide of WGSW-28040 5 | 20 | radiuskey This example shows how to create a new radius server with above default config and show results. Switch(config)# radius host 192.168.1.111 Switch# show radius Prio | IP Address | Auth-Port| Retries| Timeout| Usage-Type| Key ------+-----------------+----------+--------+--------+-----------+--------- 1 | 192.168.1.111 | 1812 | 5 | 20 | All | radiuskey...
  • Page 49: Show Radius Default-Config

    Command Guide of WGSW-28040 Global Configuration Usage Guide: Use “radius host” command to add or edit an existing radius server. Use no form to delete one or all radius servers from database. Example: This example shows how to create a new radius server Switch(config)# radius host 192.168.1.111 auth-port 12345 key radiuskey priority 100...
  • Page 50: Show Radius

    Command Guide of WGSW-28040 4.2.14 show radius Command: show radius Mode: Privileged EXEC Usage Guide: Use “show radius” command to show existing radius servers. Example: This example shows how to show existing radius server. Switch# show radius Prio | IP Address | Auth-Port| Retries| Timeout| Usage-Type| Key -----+----------------+----------+--------+--------+-----------+--------- 100 | 192.168.1.111 | 12345 | 5 | 10 | All |radiuskey...
  • Page 51: Acl

    Command Guide of WGSW-28040 4.3 ACL 4.3.1 mac acl Command: mac acl NAME no mac acl NAME Parameter: NAME Specify the name of MAC ACL Mode: Global Configuration Usage Guide: Use the mac acl command to create a MAC access list and to enter mac-acl configuration mode. The name of ACL must be unique that can not have same name with other ACL or QoS policy.
  • Page 52: Deny (Mac)

    Command Guide of WGSW-28040 no sequence <1-2147483647> Parameter: <1-2147483647> (Optional) Specify sequence index of ACE, the sequence index represent the priority of an ACE in ACL. (A:B:C:D:E:F/A:B:C Specify the source MAC address and mask of packet or any MAC address.
  • Page 53 Command Guide of WGSW-28040 [sequence <1-2147483647>] deny (A:B:C:D:E:F/A:B:C:D:E:F|any) (A:B:C:D:E:F/A:B:C:D:E:F|any) [vlan <1-4094>] [cos <0-7> <0-7>] [ethtype <1501-65535>] [shutdown] no sequence <1-2147483647> Parameter: <1-2147483647> (Optional) Specify sequence index of ACE, the sequence index represent the priority of an ACE in ACL. (A:B:C:D:E:F/A:B:C Specify the source MAC address and mask of packet or any MAC address.
  • Page 54: Ip Acl

    Command Guide of WGSW-28040 sequence 50 deny any AA:BB:CC:00:00:00/FF:FF:FF:00:00:00 vlan 9 shutdown 4.3.4 ip acl Command: ip acl NAME no ip acl NAME Parameter: NAME Specify the name of IPv4 ACL Mode: Global Configuration Usage Guide: Use the ip acl command to create an IPv4 access list and to enter ip-acl configuration mode. The name of ACL must be unique that can not have same name with other ACL or QoS policy.
  • Page 55 Command Guide of WGSW-28040 [sequence <1-2147483647>] permit icmp (A.B.C.D/A.B.C.D|any) (A.B.C.D/A.B.C.D|any) (<0-255>|echo-reply|destination-unreachable|source-quench|echo-request| router-advertisement|router-solicitation|time-exceeded|timestamp| timestamp-reply|traceroute|any) (<0-255>|any) [(dscp|precedence) VALUE] [sequence <1-2147483647>] permit tcp (A.B.C.D/A.B.C.D|any) (<0-65535>|echo| discard|daytime|ftp-data|ftp|telnet|smtp|time|hostname|whois|tacacs-ds|domain|www| pop2|pop3|syslog|talk|klogin|kshell|sunrpc|drip|PORT_RANGE|any) (A.B.C.D/A.B.C.D|any) (<0-65535>|echo|discard|daytime|ftp-data|ftp|telnet|smtp|time|hostname|whois| tacacs-ds|domain|www|pop2|pop3|syslog|talk|klogin|kshell|sunrpc|drip|PORT_RANGE|any) match-all TCP_FLAG] [(dscp|precedence) VALUE] [sequence <1-2147483647>] permit udp (A.B.C.D/A.B.C.D|any) (<0-65535>|echo|discard|time|nameserver|tacacs-ds|domain|bootps|bootpc|tftp|sunrpc|ntp|netbios-n s|snmp| snmptrap|who|syslog|talk|rip|PORT_RANGE|any) (A.B.C.D/A.B.C.D|any) (<0-65535>|echo|discard|time|nameserver|tacacs-ds|domain|bootps|bootpc|tftp|sunrpc|ntp|netbios-n...
  • Page 56 Command Guide of WGSW-28040 match-all Specify tcp flag for TCP packet. If a flag should be set it is prefixed by \"+\".If a flag should be unset it is prefixed by \"-\". Available options are +urg, +ack, +psh, +rst, +syn, +fin, -urg, -ack, -psh, -rst, -syn and -fin.To define more than 1 flag - enter additional...
  • Page 57: Deny (Ip)

    Command Guide of WGSW-28040 4.3.6 deny (IP) Command: [sequence <1-2147483647>] deny (<0-255>|ipinip|egp|igp|hmp|rdp|ipv6| ipv6:rout|ipv6:frag|rsvp|ipv6:icmp|ospf|pim|l2tp|ip) (A.B.C.D/A.B.C.D|any) (A.B.C.D/A.B.C.D|any) [(dscp|precedence) VALUE]] [shutdown] [sequence <1-2147483647>] deny icmp (A.B.C.D/A.B.C.D|any) (A.B.C.D/A.B.C.D|any) (<0-255>|echo-reply|destination-unreachable| source-quench|echo-request|router-advertisement|router-solicitation| time-exceeded|timestamp| timestamp-reply|traceroute|any) (<0-255>|any) [(dscp|precedence) VALUE] [shutdown] [sequence <1-2147483647>] deny tcp (A.B.C.D/A.B.C.D|any) (<0-65535>|echo| discard|daytime|ftp-data|ftp|telnet|smtp|time|hostname|whois|tacacs-ds| domain|www|pop2|pop3|syslog|talk|klogin|kshell|sunrpc|drip|PORT_RANGE|any) (A.B.C.D/A.B.C.D|any) (<0-65535>|echo|discard|daytime|ftp-data|ftp|telnet|...
  • Page 58 Command Guide of WGSW-28040 [dscp VALUE] (Optional) Specify the DSCP of packet. [precedence (Optional) Specify the IP precedence of packet. VLAUE] icmp-type Specify ICMP message type for filtering ICMP packet. Enter a type name of list or a number of ICMP message type.
  • Page 59: Ipv6 Acl

    Command Guide of WGSW-28040 4.3.7 ipv6 acl Command: ipv6 acl NAME no ipv6 acl NAME Parameter: NAME Specify the name of IPv6 ACL Mode: Global Configuration Usage Guide: Use the ipv6 acl command to create an IPv6 access list and to enter ipv6-acl configuration mode. The name of ACL must be unique that can not have same name with other ACL or QoS policy.
  • Page 60 Command Guide of WGSW-28040 router-solicitation|router-advertisement|nd-ns|nd-na|any) (<0-255>|any)[(dscp|precedence) VALUE] [sequence <1-2147483647>] permit tcp (X:X::X:X/<0-128>|any) (<0-65535>|echo|discard|daytime|ftp-data|ftp|telnet|smtp| time|hostname|whois|tacacs-ds|domain|www|pop2|pop3|syslog| talk|klogin|kshell|sunrpc|drip|PORT_RANGE|any) (X:X::X:X/<0-128>|any) (<0-65535>|echo|discard|daytime|ftp-data|ftp| telnet|smtp|time|hostname|whois|tacacs-ds|domain|www|pop2| pop3|syslog|talk|klogin|kshell|sunrpc|drip|PORT_RANGE|any) [match-all TCP_FLAG] [(dscp|precedence) VALUE] [sequence <1-2147483647>] permit udp (X:X::X:X/<0-128>|any) (<0-65535>|echo|discard|time|nameserver|tacacs-ds|domain| bootps|bootpc|tftp|sunrpc|ntp|netbios-ns|snmp|snmptrap|who|syslog| talk|rip|PORT_RANGE|any) (X:X::X:X/<0-128>|any) (<0-65535>|echo|discard|time|nameserver|tacacs-ds|domain| bootps|bootpc|tftp|sunrpc|ntp|netbios-ns| snmp|snmptrap|who|syslog|PORT_RANGE|any) [(dscp|precedence) VALUE] no sequence <1-2147483647>...
  • Page 61: Deny (Ipv6)

    Command Guide of WGSW-28040 list or a number of TCP/UDP port. match-all Specify tcp flag for TCP packet. If a flag should be set it is prefixed by \"+\".If a flag should be unset it is prefixed by \"-\". Available options are +urg, +ack, +psh, +rst, +syn, +fin, -urg, -ack, -psh, -rst, -syn and -fin.To define more than 1 flag - enter additional...
  • Page 62 Command Guide of WGSW-28040 (<0-65535>|echo|discard|daytime|ftp-data|ftp|telnet|smtp| time|hostname|whois|tacacs-ds|domain|www|pop2|pop3|syslog| talk|klogin|kshell|sunrpc|drip|PORT_RANGE|any) (X:X::X:X/<0-128>|any) (<0-65535>|echo|discard|daytime|ftp-data|ftp| telnet|smtp|time|hostname|whois|tacacs-ds|domain|www|pop2| pop3|syslog|talk|klogin|kshell|sunrpc|drip|PORT_RANGE|any) [match-all TCP_FLAG] [(dscp|precedence) VALUE] [shutdown] [sequence <1-2147483647>] deny udp (X:X::X:X/<0-128>|any) (<0-65535>|echo|discard|time|nameserver|tacacs-ds|domain| bootps|bootpc|tftp|sunrpc|ntp|netbios-ns|snmp|snmptrap|who|syslog| talk|rip|PORT_RANGE|any) (X:X::X:X/<0-128>|any) (<0-65535>|echo|discard|time|nameserver|tacacs-ds|domain| bootps|bootpc|tftp|sunrpc|ntp|netbios-ns| snmp|snmptrap|who|syslog|PORT_RANGE|any) [(dscp|precedence) VALUE] [shutdown] no sequence <1-2147483647> Parameter: <1-2147483647> (Optional) Specify sequence index of ACE, the sequence index represent the priority of an ACE in ACL.
  • Page 63: Bind Acl

    Command Guide of WGSW-28040 match-all Specify tcp flag for TCP packet. If a flag should be set it is prefixed by \"+\".If a flag should be unset it is prefixed by \"-\". Available options are +urg, +ack, +psh, +rst, +syn, +fin, -urg, -ack, -psh, -rst, -syn and -fin.To define more than 1 flag - enter additional...
  • Page 64: Show Acl Utilization

    Command Guide of WGSW-28040 Global Configuration Context Configuration Usage Guide: Use the show acl command to show created ACLs. You can specify mac、ip or ipv6 to show specific type ACL or specify unique name string to show ACL with the name.
  • Page 65 Command Guide of WGSW-28040 Group Index : 2 Group Assign to : None Group Maximun ACEs : 128 Group Remain ACEs : 128 Group Used ACEs : 0 ACEs Used by ACL : 0 ACEs Used by QoS : 0...
  • Page 66: Administration

    Command Guide of WGSW-28040 4.4 Administration 4.4.1 enable Command: enable [<1-15>] disable [<1-14>] Parameter: <1-15> Specify privileged level to enable <1-14> Specify privileged level to enable Default: Default privilege level is 15 if no privilege level is specified on enable command.
  • Page 67: Exit

    Command Guide of WGSW-28040 Switch# disable 3 Switch> show privilege Current CLI Username: Current CLI Privilege: 3 4.4.2 exit Command: exit Mode: User EXEC Privileged EXEC Global Configuration Interface Configuration Line Configuration ..Usage Guide: In User EXEC mode, “exit” command will close current CLI session. In other modes, “exit” command will go to the parent mode.
  • Page 68: Interface

    Command Guide of WGSW-28040 Mode: Privileged EXEC Usage Guide: Use “configure” command to enter global configuration mode. In global configuration mode, the prompt will show as “Switch(config)#”. Example: This example shows how to enter global configuration mode. Switch# configure Switch(config)# 4.4.4 interface...
  • Page 69: Line

    Command Guide of WGSW-28040 Switch> enable Switch# exit Switch> Switch# configure Switch(config)# interface gi1 Switch(config-if)# 4.4.5 line Command: line ( console | telnet | ssh ) Parameter: console Select console line to configure. telnet Select telnet line to configure. Select ssh line to configure.
  • Page 70: End

    Command Guide of WGSW-28040 4.4.6 end Command: Mode: Privileged EXEC Global Configuration Interface Configuration Line Configuration ..Usage Guide: Use “end” command to return to privileged EXEC mode directly. Every mode except User EXEC mode has the “end” command. Example:...
  • Page 71: System Name

    Command Guide of WGSW-28040 Switch# reboot 4.4.8 system name Command: system name NAME Parameter: NAME Specify system name string. Mode: Global Configuration Usage Guide: Use “system name” command to modify system name information of the switch. The system name is also used to be CLI prompt.
  • Page 72: System Contact

    Command Guide of WGSW-28040 System Up Time : 0 days, 0 hours, 2 mins, 37 secs 4.4.9 system contact Command: system contact CONTACT Parameter: CONTACT Specify contact string. Mode: Global Configuration Usage Guide: Use “system contact” command to modify contact information of the switch.
  • Page 73: System Location

    Command Guide of WGSW-28040 System Up Time : 0 days, 0 hours, 2 mins, 37 secs 4.4.10 system location Command: system location LOCATION Parameter: LOCATION Specify location string. Mode: Global Configuration Usage Guide: Use “system location” command to modify location information of the switch.
  • Page 74: Username

    Command Guide of WGSW-28040 System Up Time : 0 days, 0 hours, 2 mins, 37 secs 4.4.11 username Command: username WORD<0-32> [privilege (admin | user | <0-15>)] (password | secret) WORD<0-32> no username WORD<0-32> Parameter: username Specify user name to add/delete/edit.
  • Page 75: Enable Password

    Command Guide of WGSW-28040 Switch# show username Priv | Type | User Name | Password ------+--------+--------------------+------------------------ 01 | secret | | dnXencJRwflV6 15 | secret | admin | FzjrGO6vfbERY 15 | secret | test | 7p57T9yMkViSUS 4.4.12 enable password Command: enable [privilege <0-15>] (password | secret) WORD<0-32>...
  • Page 76: Ip Address

    Command Guide of WGSW-28040 4.4.13 ip address Command: ip address A.B.C.D [mask A.B.C.D] Parameter: address A.B.C.D Specify IPv4 address for switch mask A.B.C.D Specify net mask address for switch Default: Default IP address is 192.168.0.100 and default net mask is 255.255.255.0.
  • Page 77: Ip Dns

    Command Guide of WGSW-28040 Parameter: A.B.C.D Specify default gateway IPv4 address for switch Default: Default IP address of default gateway is 192.168.1.254. Mode: Global Configuration Usage Guide: Use “ip default-gateway” command to modify default gateway address. And use “no ip default-gateway” to restore default gateway address to factory default.
  • Page 78: Ip Dhcp

    Command Guide of WGSW-28040 Global Configuration Usage Guide: Use “ip dns” command to modify DNS server address. And use “no ip dns” to delete existing DNS server. Example: This example shows how to modify the DNS server of the switch.
  • Page 79: Ipv6 Autoconfig

    Command Guide of WGSW-28040 Switch# show ip dhcp DHCP Status : enabled 4.4.17 ipv6 autoconfig Command: ipv6 autoconfig no ipv6 autoconfig Default: Default IPv6 auto config is enabled. Mode: Global Configuration Usage Guide: Use “ipv6 autoconfig” command to enabled IPv6 auto configuration feature.
  • Page 80: Ipv6 Address

    Command Guide of WGSW-28040 4.4.18 ipv6 address Command: ipv6 address X:X::X:X prefix <0-128> Parameter: address X:X::X:X Specify IPv6 address for switch prefix <0-128> Specify IPv6 prefix length for switch Mode: Global Configuration Usage Guide: Use “ipv6 address” command to specify static IPv6 address.
  • Page 81: Ipv6 Dhcp

    Command Guide of WGSW-28040 Parameter: X:X::X:X Specify default gateway IPv6 address for switch Mode: Global Configuration Usage Guide: Use “ipv6 default-gateway” command to modify default gateway IPv6 address. Example: This example shows how to modify the ipv6 default gateway address of the switch.
  • Page 82: Ip Service

    Command Guide of WGSW-28040 Example: This example shows how to enable dhcp client. Switch(config)# ipv6 dhcp This example shows how to show current dhcpv6 client state of the switch. Switch# show ipv6 dhcp DHCPv6 Status : enabled 4.4.21 ip service...
  • Page 83: Ip Session-Timeout

    Command Guide of WGSW-28040 Switch(config)# ip telnet Telnetd daemon enabled. Switch(config)# exit Switch# show line telnet Telnet =============================== Telnet Server : enabled Session Timeout : 10 (minutes) History Count : 128 Password Retry : 3 Silent Time : 0 (seconds) This example shows how to enable https service and show current https service status.
  • Page 84: Exec-Timeout

    Command Guide of WGSW-28040 Example: This example shows how to change http session timeout to 15min and https session timeout to 20min Switch(config)# ip http session-timeout 15 Switch(config)# ip https session-timeout 20 This example shows how to enable https service and show current https service status.
  • Page 85: Password-Thresh

    Command Guide of WGSW-28040 Switch(config-line)# exec-timeout 15 Switch(config-line)# exit Switch(config)# line telnet Switch(config-line)# exec-timeout 20 Switch(config-line)# exit Switch(config)# line ssh Switch(config-line)# exec-timeout 25 Switch(config-line)# exit This example shows how show line information. Switch# show line Console ============================== Session Timeout : 15 (minutes)
  • Page 86 Command Guide of WGSW-28040 Parameter: <0-120> Specify password fail retry number. 0 means no limit. Default: Default password fail retry number is 3. Mode: line Configuration Usage Guide: Use “password-thresh” command to specify the password fail retry number for CLI running on console, telnet or ssh service.
  • Page 87: Silent-Time

    Command Guide of WGSW-28040 Password Retry : 5 Silent Time : 0 (seconds) SSH ================================== SSH Server : disabled Session Timeout : 10 (minutes) History Count : 128 Password Retry : 6 Silent Time : 0 (seconds) 4.4.25 silent-time Command: silent-time <0-65535>...
  • Page 88: History

    Command Guide of WGSW-28040 Switch(config-line)# silent-time 20 Switch(config-line)# exit This example shows how show line information. Switch# show line Console ============================== Session Timeout : 10 (minutes) History Count : 128 Password Retry : 3 Silent Time : 10 (seconds) Telnet ===============================...
  • Page 89 Command Guide of WGSW-28040 Default maximum history entry number is 128. Mode: line Configuration Usage Guide: Use “history” command to specify the maximum commands history number for CLI running on console, telnet or ssh service. Every command input by user will record in history buffer. If all history commands exceed configured history number, older ones will be deleted from buffer.
  • Page 90: Clear Service

    Command Guide of WGSW-28040 Session Timeout : 10 (minutes) History Count : 200 Password Retry : 3 Silent Time : 0 (seconds) This example shows how show history commands. Switch# show history Maximun History Count: 100 -------------------------------------------------- 1. enable 2. configure 3.
  • Page 91: Ssl

    Command Guide of WGSW-28040 telnet Clear all telnet sessions. Clear all ssh sessions. Mode: Privileged EXEC Usage Guide: Use “clear service” command to kill all existing sessions for the select service. Example: This example shows how to enable telnet service and show current telnet service status.
  • Page 92: Ping

    Command Guide of WGSW-28040 dsa2 668 2000-01-01 00:00:18 ssl_cert 993 2000-01-01 00:00:18 image0 (active) 4372401 2012-09-24 01:57:29 image1 (backup) 0 4.4.29 ping Command: ping HOSTNAME [count <1-999999999>] Mode: Privileged EXEC Usage Guide: Use “ping” command to do network ping diagnostic.
  • Page 93: Clear Arp

    Command Guide of WGSW-28040 Parameter: A.B.C.D Specify IPv4 to trace. max_hop <2-255> Specify maximum hop to trace. Mode: User EXEC Privileged EXEC Usage Guide: Use “traceroute” command to do network trace route diagnostic. Example: This example shows how to trace route host 192.168.1.111.
  • Page 94: Show Version

    Command Guide of WGSW-28040 Switch# show arp Address HWtype HWaddress Flags Mask Iface 192.168.1.111 ether 00:30:4F:F1:4B:3C C eth0 This example shows how to clear all arp entries. Switch(config)# clear arp 4.4.32 show version Command: show version Mode: User EXEC Privileged EXEC Usage Guide: Use “show version”...
  • Page 95: Show History

    Command Guide of WGSW-28040 Mode: User EXEC Privileged EXEC Usage Guide: Use “show info” command to show system summary information. Example: This example shows how to show system version. Switch# show info System Name : Switch System Location : Default Location...
  • Page 96: Show Username

    Command Guide of WGSW-28040 Example: This example shows how show history commands. Switch# show history Maximun History Count: 100 -------------------------------------------------- 1. enable 2. configure 3. line console 4. exit 5. show history 6. line 7. exit 8. show history 9. configure 10.
  • Page 97: Show Ip

    Command Guide of WGSW-28040 Example: This example shows how to show existing user accounts. Switch# show username Priv | Type | User Name | Password ------+--------+--------------------+------------------------ 01 | secret | | dnXencJRwflV6 15 | secret | admin | FzjrGO6vfbERY 15 | secret | test | 7p57T9yMkViSUS 4.4.36 show ip...
  • Page 98: Show Ipv6

    Command Guide of WGSW-28040 Mode: User EXEC Privileged EXEC Usage Guide: Use “show ip dhcp” command to show IPv4 dhcp client enable state. Example: This example shows how to show current dhcp client state of the switch. Switch# show ip dhcp DHCP Status : enabled 4.4.38 show ipv6...
  • Page 99: Show Ipv6 Dhcp

    Command Guide of WGSW-28040 4.4.39 show ipv6 dhcp Command: show ipv6 dhcp Mode: User EXEC Privileged EXEC Usage Guide: Use “show ipv6 dhcp” command to show system IPv6 dhcp client enable state. Example: This example shows how to show current dhcpv6 client state of the switch.
  • Page 100 Command Guide of WGSW-28040 Example: This example shows how show all lines’ information. Switch# show line Console ============================== Session Timeout : 15 (minutes) History Count : 128 Password Retry : 3 Silent Time : 0 (seconds) Telnet =============================== Telnet Server : disabled...
  • Page 101: Cable Diagnostics

    Command Guide of WGSW-28040 4.5 Cable Diagnostics 4.5.1 show cable-diag interface Command: show cable-diag interfaces Parameter: login Add/Edit login authentication list enable Add/Edit enable authentication list default Edit default authentication list LISTNAME Specify the list name for authentication type METHODLIST Specify the authenticate method, including none, local, enable, tacacs+, radius.
  • Page 102: Dhcp Snooping

    Command Guide of WGSW-28040 4.6 DHCP Snooping 4.6.1 Ip dhcp snooping Command: ip dhcp snooping no ip dhcp snooping Default: DHCP snooping is disabled Mode: Global Configuration Usage Guide: Use the ip dhcp snooping command to enable DHCP Snooping function. Use the no form of this command to disable.
  • Page 103: Ip Dhcp Snooping Trust

    Command Guide of WGSW-28040 Parameter: VLAN-LIST Specify VLAN ID or a range of VLANs to enable or disable dynamic Arp inspection Default: Default is disabled on all VLANs Mode: Global Configuration Usage Guide: Use the ip dhcp snooping vlan command to enable VLANs on DHCP Snooping function. Use the no form of this command to disable VLANs on DHCP Snooping function.
  • Page 104: Ip Dhcp Snooping Verify

    Command Guide of WGSW-28040 Default: DHCP snooping trust is disabled Mode: Interface Configuration Usage Guide: Use the ip dhcp snooping trust command to set trusted interface. The switch does not check DHCP packets that are received on the trusted interface; it simply forwards it. Use the no form of this command to set untrusted interface.
  • Page 105: Ip Dhcp Snooping Limit Rate

    Command Guide of WGSW-28040 switch(config)# interface gi1 switch(config-if)# ip dhcp snooping verify mac-address switch(config-if)# do show ip dhcp snooping interface gi1 Interfaces|Trust State|Rate (pps)|hwaddr Check|Insert Option82| ----------+-----------+----------+------------+---------------+ gi1 | Untrusted | None | enabled | disabled | 4.6.5 ip dhcp snooping limit rate Command: ip dhcp snooping limit rate <1-300>...
  • Page 106: Clear Ip Dhcp Snooping Statistics

    Command Guide of WGSW-28040 4.6.6 clear ip dhcp snooping statistics Command: clear ip dhcp snooping interfaces IF_PORTS statistics Parameter: IF_PORTS specifies ports to clear statistics Mode: Global Configuration Usage Guide: Use the clear ip dhcp snooping interfaces statistics command to clear statistics that are recorded on interface.
  • Page 107: Show Ip Dhcp Snooping Interface

    Command Guide of WGSW-28040 Example: The example shows how to show settings of DHCP Snooping switch(config)# show ip dhcp snooping DHCP Snooping : enabled Enable on following Vlans : 1 circuit-id default format: vlan-port remote-id: : 00:11:22:33:44:55 (Switch Mac in Byte Order) 4.6.8 show ip dhcp snooping interface...
  • Page 108: Show Ip Dhcp Snooping Binding

    Command Guide of WGSW-28040 Option82 Dropped | Invalid Drop -------+-----------+-----------------+----------------------+-------------------------+-------- gi1 | 0 | 0 | 0 | 0 | 0 4.6.9 show ip dhcp snooping binding Command: show ip dhcp snooping binding Mode: Global Configuration Usage Guide: Use the show ip dhcp snooping binding command to show binding entries that learned by DHCP Snooping Example: The example shows how to show binding entries that learned by DHCP Snooping.
  • Page 109: Ip Dhcp Snooping Option Action

    Command Guide of WGSW-28040 Interface Configuration Usage Guide: Use the ip dhcp snooping option command to enable that insert option82 content into packet. Use the no form of this command to disable. Example: The example shows how to enable option82 insertion. You can verify settings by the following show ip dhcp snooping interface command.
  • Page 110: Ip Dhcp Snooping Option Circuit-Id

    Command Guide of WGSW-28040 running-config command. switch(config)# interface gi1 switch(config-if)# ip dhcp snooping option action replace 4.6.12 ip dhcp snooping option circuit-id Command: ip dhcp snooping [vlan <1-4094>] option circuit-id STRING no ip dhcp snooping [vlan <1-4094>] option circuit-id Parameter: vlan <1-4094>...
  • Page 111: Show Ip Dhcp Snooping Option

    Command Guide of WGSW-28040 Command: ip dhcp snooping option remote-id STRING no ip dhcp snooping option remote-id Parameter: STRING Remote-id string, 1 to 63 ASCII characters, no spaces. Default: Default remote-id is the switch MAC address in byte order Mode:...
  • Page 112: Ip Dhcp Snooping Database

    Command Guide of WGSW-28040 switch(config)# do show ip dhcp snooping option remote-id Remote ID: test_remote 4.6.15 ip dhcp snooping database Command: ip dhcp snooping database flash ip dhcp snooping database tftp (A.B.C.D|HOSTNAME) NAME no ip dhcp snooping database Parameter: (A.B.C.D|...
  • Page 113: Ip Dhcp Snooping Database Write-Deley

    Command Guide of WGSW-28040 Agent Running : Running Delay Timer Expiry : 300 seconds Abort Timer Expiry : 299 Last Succeded Time : None Last Failed Time : None Last Failed Reason : No failure recorded. Total Attempts : 1...
  • Page 114: Ip Dhcp Snooping Database Timeout

    Command Guide of WGSW-28040 Type : tftp: 192.168.1.50 FileName : backup_file Write delay Timer : 60 seconds Abort Timer : 300 seconds Agent Running : Running Delay Timer Expiry : 300 seconds Abort Timer Expiry : 299 Last Succeded Time : None Last Failed Time : None Last Failed Reason : No failure recorded.
  • Page 115: Clear Ip Dhcp Snooping Database Statistics

    Command Guide of WGSW-28040 snooping database command. switch(config)# ip dhcp snooping database timeout 60 switch(config)# do show ip dhcp snooping database Type : tftp: 192.168.1.50 FileName : backup_file Write delay Timer : 300 seconds Abort Timer : 60 seconds Agent Running : Running...
  • Page 116: Renew Ip Dhcp Snooping Database

    Command Guide of WGSW-28040 Write delay Timer : 300 seconds Abort Timer : 60 seconds Agent Running : Running Delay Timer Expiry : 300 seconds Abort Timer Expiry : 299 Last Succeded Time : None Last Failed Time : None Last Failed Reason : No failure recorded.
  • Page 117: Show Ip Dhcp Snooping Database

    Command Guide of WGSW-28040 Last Failed Time : None Last Failed Reason : No failure recorded. Total Attempts : 1 Successful Transfers : 1 Failed Transfers : 0 Successful Reads : 1 Failed Reads : 0 Successful Writes : 0 Failed Writes : 0...
  • Page 118 Command Guide of WGSW-28040 Total Attempts : 1 Successful Transfers : 1 Failed Transfers : 0 Successful Reads : 1 Failed Reads : 0 Successful Writes : 0 Failed Writes : 0...
  • Page 119: Dos

    Command Guide of WGSW-28040 4.7 DoS 4.7.1 dos Command: dos (daeqsa-deny | icmp-frag-pkts-deny | icmpv4-ping-max-check | icmpv6-ping-max-check | ipv6-min-frag-size-check | land-deny | nullscan-deny | pod-deny | smurf-deny | syn-sportl1024-deny | synfin-deny | synrst-deny | tcp-frag-off-min-check | tcpblat-deny | tcphdr-min-check | udpblat-deny | xma-deny)
  • Page 120 Command Guide of WGSW-28040 length land-deny Enable/Disable land-deny protection. nullscan-deny Enable/Disable nullscan-deny protection. pod-deny Enable/Disable pod-deny protection. smurf-deny Enable/Disable smurf-deny protection. smurf-netmask Specify smurf netmask. syn-sportl1024- Enable/Disable syn-sportl1024-deny protection. deny synfin-deny Enable/Disable synfin-deny protection. synrst-deny Enable/Disable synrst-deny protection. tcp-frag-off-min-ch Enable/Disable tcp-frag-off-min-check protection.
  • Page 121 Command Guide of WGSW-28040 smurf-deny : Smurf Attacks  smurf-netmask : DoS information  syn-sportl1024-deny : SYN packets with sport less than 1024  synfin-deny : SYN and FIN bits set in the packet  synrst-deny : SYNC and RST bits set in the packet ...
  • Page 122: Port Dos

    Command Guide of WGSW-28040 TCP Fragment (Offset = 1) | enabled 4.7.2 port dos Command: no dos Default: Default value is disable Mode: Interface Configuration Usage Guide: Use “dos” command to enable dos configuration on selected ports. Use “no dos” to diable on selected ports.
  • Page 123: Show Dos

    Command Guide of WGSW-28040 Interface Configuration Usage Guide: Use “ip gratuitous-arps” command to enable dos configuration on selected ports. Use “no ip gratuitous-arps” to diable on selected ports. Example: This example shows how to show current dos state on interface gi1...
  • Page 124: Dynamic Arp Inspection

    Command Guide of WGSW-28040 4.8 Dynamic ARP Inspection 4.8.1 ip arp inspection Command: ip arp inspection no ip arp inspection Default: Dynamic Arp inspection is disabled Mode: Global Configuration Usage Guide: Use the ip arp inspection command to enable Dynamic Arp Inspection function. Use the no form of this command to disable.
  • Page 125: Ip Arp Inspection Trust

    Command Guide of WGSW-28040 VLAN-LIST Specify VLAN ID or a range of VLANs to enable or disable dynamic Arp inspection Default: Default is disabled on all VLANs Mode: Global Configuration Usage Guide: Use the ip arp inspection vlan command to enable VLANs on Dynamic Arp Inspection function. Use the no form of this command to disable VLANs on Dynamic Arp Inspection function.
  • Page 126: Ip Arp Inspection Validate

    Command Guide of WGSW-28040 Interface Configuration Usage Guide: Use the ip arp inspection trust command to set trusted interface. The switch does not check ARP packets that are received on the trusted interface; it simply forwards it. Use the no form of this command to set untrusted interface.
  • Page 127: Ip Arp Inspection Rate-Limit

    Command Guide of WGSW-28040 The “src-mac” drop ARP requests and reply packets that arp-sender-mac and ethernet-source-mac is not match. The “dst-mac” drop ARP reply packets that arp-target-mac and ethernet-dst-mac is not match. The “ip” drop ARP request and reply packets that sender-ip is invalid such as broadcast、multicast、all zero IP address and drop ARP reply packets that target-ip is invalid.
  • Page 128: Clear Ip Arp Inspection Statistics

    Command Guide of WGSW-28040 Example: The example shows how to set rate limit to 30 pps on interface gi1. You can verify settings by the following show ip arp inspection interface command. switch(config)# interface gi1 switch(config)# ip arp inspection rate-limit 30...
  • Page 129: Show Ip Arp Inspection

    Command Guide of WGSW-28040 4.8.7 show ip arp inspection Command: show ip arp inspection Mode: Global Configuration Usage Guide: Use the show ip arp inspection command to show settings of Dynamic Arp Inspection Example: The example shows how to show settings of Dynamic Arp Inspection...
  • Page 130 Command Guide of WGSW-28040 switch# show ip arp inspection interface gi1 Interfaces | Trust State | Rate (pps) | SMAC Check | DMAC Check | IP Check/Allow Zero | ------------+--------------+--------------+----------------|-----------------+-------------------------+ gi1 | Trusted | None | disabled | disabled | disabled/disabled The example shows how to show statistics of interface gi1.
  • Page 131: Gvrp

    Command Guide of WGSW-28040 4.9 GVRP 4.9.1 gvrp Command: gvrp no gvrp Default: no gvrp Mode: Global Configuration Usage Guide: ‘no gvrp’ will clear all dynamic vlan entry. do not learn vlan. The configure can use ‘show gvrp’. Example: The following example specifies that set global gvrp test.
  • Page 132: Gvrp Port Registration Mode

    Command Guide of WGSW-28040 no gvrp Default: no gvrp Mode: Interface Configuration Usage Guide: ‘no gvrp’ will remove dynamic port from vlan ‘gvrp’ must work at port mode is trunk. The configure can use show gvrp configuration. Example: The following example specifies that set port gvrp test.
  • Page 133: Gvrp Port Creation Vlan Forbidden

    Command Guide of WGSW-28040 Interface Configuration Usage Guide: When set registration-mode is fixed or forbidden, will remove the port from vlan witch is dynamic port. And do not learning vlan. Example: The following example specifies that set gvrp registration mode test.
  • Page 134: Clear Gvrp Statistics

    Command Guide of WGSW-28040 Port | GVRP-Status | Registration | Dynamic VLAN Creation --------+---------------+---------------+---------------------- gi1 Enabled Normal Disabled 4.9.5 clear gvrp statistics Command: clear gvrp (error-statistics | statistics) [interfaces IF_PORTS] Parameter: (error-statistics | Error-statistics: error gvrp packet statistics statistics) Statistics: gvrp event message statistics...
  • Page 135: Show Gvrp

    Command Guide of WGSW-28040 show gvrp error-statistics [interfaces IF_PORTS] Parameter: [interfaces Specifies posts IF_PORTS] Mode: Privileged Configuration Usage Guide: This command will display the ports error statistics or statistics info. Example: The following example specifies that display gvrp error statistics and statistics test.
  • Page 136: Show Gvrp Port Configuration

    Command Guide of WGSW-28040 This command will display the gvrp global info. Example: The following example specifies that display gvrp test. Switch# show gvrp GVRP Status -------------------- GVRP : Disabled Join time : 200 ms Leave time : 600 ms LeaveAll time : 10000 ms 4.9.8 show gvrp port configuration...
  • Page 137 Command Guide of WGSW-28040 gi 5 Disabled Normal Enabled gi 6 Disabled Normal Enabled gi 7 Disabled Normal Enabled --More--...
  • Page 138: Igmp Snooping

    Command Guide of WGSW-28040 4.10 IGMP Snooping 4.10.1 Ip igmp snooping Command: ip igmp snooping no ip igmp snooping Mode: Global Configuration Usage Guide: ‘no ip igmp snooping’ will clear all ip igmp snooping dynamic group and dynamic router port, and make the static ip igmp group invalid.
  • Page 139: Ip Igmp Snooping Version

    Command Guide of WGSW-28040 ip igmp snooping report-suppression no ip igmp snooping report-suppression Default: ip igmp snooping report-suppression Mode: Global Configuration Usage Guide: ‘no ip igmp snooping report-suppression’ will disable igmp v1/v2 igmp report suppression function. So when receive report will forward to the vlan router ports.
  • Page 140: Ip Igmp Snooping Unknown-Multicast Action

    Command Guide of WGSW-28040 Mode: Global Configuration Usage Guide: ‘ip igmp snooping version 3’, then will support v3 basic mode. When change version from v3 to v2. the all querier version will update to version 2. The configure can use ‘show ip igmp snooping’.
  • Page 141: Ip Igmp Snooping Forward-Method

    Command Guide of WGSW-28040 When action is router-port to flood or drop, it will delete the unknown multicast group entry. The configure can use ‘show ip igmp snooping’. Example: The following example specifies that set ip igmp unknown multicast action router-port test.
  • Page 142: Ip Igmp Snooping Querier

    Command Guide of WGSW-28040 Mode: Global Configuration Usage Guide: When change lookup method, it will remove all groups. The configure can use ‘show ip igmp snooping’. Example: The following example specifies that set ip igmp lookup method is src-dst-ip test.
  • Page 143: Ip Igmp Snooping Vlan

    Command Guide of WGSW-28040 The configure can use ‘show ip igmp snooping querier’. Example: The following example specifies that set ip igmp snooping querier test. Test must be create static vlan firstly. Switch(config)# vlan 2 Switch(config-vlan)# exit Switch(config)# ip igmp snooping vlan 2 querier...
  • Page 144 Command Guide of WGSW-28040 no ip igmp snooping vlan 1-4094 Mode: Global Configuration Usage Guide: ‘no ip igmp snooping vlan 1’ will clear vlan all ip igmp snooping dynamic group and dynamic router port, and make the static ip igmp group invalid witch vlan ID is vlan 1. Then do not learning the dynamic group and router port by igmp message for vlan 1.
  • Page 145: Ip Igmp Snooping Vlan Parameters

    Command Guide of WGSW-28040 4.10.8 ip igmp snooping vlan parameters Command: ip igmp snooping vlan <VLAN-LIST> last-member-query-count <1-7> no ip igmp snooping vlan <VLAN-LIST> last-member-query-count ip igmp snooping vlan <VLAN-LIST> last-member-query-interval <1-60> no ip igmp snooping vlan <VLAN-LIST> last-member-query-interval [no] ip igmp snooping vlan <VLAN-LIST> router learn pim-dvmrp [no] ip igmp snooping vlan <VLAN-LIST>...
  • Page 146 Command Guide of WGSW-28040 variable <1-7> Default: no ip igmp snooping vlan 1-4094 last-member-query-count no ip igmp snooping vlan 1-4094 last-member-query-interval ip igmp snooping vlan 1-4094 router learn pim-dvmrp no ip igmp snooping vlan 1-4094 fastleave no ip igmp snooping vlan 1-4094 query-interval...
  • Page 147: Ip Igmp Snooping Static Port

    Command Guide of WGSW-28040 4.10.9 ip igmp snooping static port Command: [no] ip igmp snooping vlan <VLAN-LIST> static-port IF_PORTS [no] ip igmp snooping vlan <VLAN-LIST> forbidden-port IF_PORTS Parameter: VLAN-LIST specifies VLAN ID list to set IF_PORTS specifies a port list to set or remove...
  • Page 148: Command Guide Of Wgsw

    Command Guide of WGSW-28040 [no] ip igmp snooping vlan <VLAN-LIST> static-router-port IF_PORTS [no] ip igmp snooping vlan <VLAN-LIST> forbidden-router-port IF_PORTS Parameter: VLAN-LIST specifies VLAN ID list to set IF_PORTS specifies a port list to set or remove Default: None static/forbidden router ports...
  • Page 149: Ip Igmp Snooping Static Group

    Command Guide of WGSW-28040 4.10.11 ip igmp snooping static group Command: [no] ip igmp snooping vlan <VLAN-LIST> static-group <ip-addr> interfaces IF_PORTS [no] ip igmp snooping vlan <VLAN-LIST> group <ip-addr> show ip igmp snooping groups [(dynamic | static)] clear ip igmp snooping groups [(dynamic | static)]...
  • Page 150: Ip Igmp Profile

    Command Guide of WGSW-28040 Switch# show ip igmp snooping groups VLAN | Gourp IP Address | Type | Life(Sec) | Port ------+------------------+--------+-----------+------------------ Total Number of Entry = 0 4.10.12 ip igmp profile Command: ip igmp profile <1-128> profile range ip <ip-addr> [ip-addr] action (permit | deny) show ip igmp profile [<1-128>]...
  • Page 151: Ip Igmp Filter

    Command Guide of WGSW-28040 Switch(config-igmp-profile)# profile range ip 224.1.1.1 224.1.1.8 action permit Switch(config-igmp-profile)#show ip igmp profile IP igmp profile index: 1 IP igmp profile action: permit Range low ip: 224.1.1.1 Range high ip: 224.1.1.8 Switch(config-igmp-profile)#exit Switch(config)# ip igmp profile 10 Switch(config-igmp-profile)# profile range ip 224.1.1.5 224.1.1.10 action deny...
  • Page 152: Ip Igmp Max-Group

    Command Guide of WGSW-28040 <1-128> specifies profile ID [interfaces Specifies interfaces to display IF_PORTS] Mode: Interface Configuration Usage Guide: After create ip igmp profile entry. Can use ‘ip igmp filter 1’ to bind a profile for port. When the port bind a profile. Then the port learning group will update, if the group is not match the profile rule it will remove the port from the group.
  • Page 153 Command Guide of WGSW-28040 ip igmp max-groups action (deny | replace) show ip igmp max-group [interfaces IF_PORTS] show ip igmp max-group action [interfaces IF_PORTS] Parameter: <1-128> specifies profile ID (deny | replace) Deny: current port igmp group arrived max-groups, don’t add group.
  • Page 154: Clear Ip Igmp Snooping Groups

    Command Guide of WGSW-28040 ---------+--------------------- gi1 : replace gi2 : deny gi3 : deny gi4 : deny gi5 : deny gi6 : deny --More-- 4.10.15 clear ip igmp snooping groups Command: clear ip igmp snooping groups [(dynamic | static)] Parameter:...
  • Page 155: Show Ip Igmp Snooping Counters

    Command Guide of WGSW-28040 clear ip igmp snooping statistics Mode: Privileged Configuration Usage Guide: This command will clear the igmp statistics. The configure can use show ip igmp snooping. Example: The following example specifies that clear ip igmp snooping statistics test.
  • Page 156: Show Ip Igmp Snooping Router

    Command Guide of WGSW-28040 Parameter: (dynamic | static) Display Ip igmp group type is dynamic or static Mode: Privileged Configuration Usage Guide: This command will display the ip igmp groups for dynamic or static or all of type. Example: The following example specifies that show ip igmp snooping groups test.
  • Page 157: Show Ip Igmp Snooping Querier

    Command Guide of WGSW-28040 4.10.20 show ip igmp snooping querier Command: show ip igmp snooping querier Mode: Privileged Configuration Usage Guide: This command will display all of the static vlan ip igmp querier info. Example: The following example specifies that show ip igmp snooping querier test.
  • Page 158: Show Ip Igmp Snooping Vlan

    Command Guide of WGSW-28040 Report Suppression : Enabled Operation Version : v2 Forward Method : mac Unknown Multicast Action : Flood Packet Statistics Total RX : 0 Valid RX : 0 Invalid RX : 0 Other RX : 0 Leave RX : 0...
  • Page 159: Show Ip Igmp Snooping Forward-All

    Command Guide of WGSW-28040 Switch# show ip igmp snooping vlan IGMP Snooping is globaly enabled IGMP Snooping VLAN 1 admin : disabled IGMP Snooping operation mode : disabled IGMP Snooping robustness: admin 2 oper 2 IGMP Snooping query interval: admin 125 sec oper 125 sec...
  • Page 160: Show Ip Igmp Profile

    Command Guide of WGSW-28040 4.10.24 show ip igmp profile Command: show ip igmp profile [<1-128>] Parameter: [<1-128>] Show specifies index profile info Mode: Privileged Configuration Usage Guide: This command will display ip igmp profile info. Example: The following example specifies that show ip igmp profile test.
  • Page 161: Show Ip Igmp Port Max-Group

    Command Guide of WGSW-28040 Mode: Privileged Configuration Usage Guide: This command will display ip igmp port filter info. Example: The following example specifies that show ip igmp filter test. Switch# show ip igmp filter Port ID | Profile ID ---------+--------------...
  • Page 162: Show Ip Igmp Port Max-Group Action

    Command Guide of WGSW-28040 Switch(config-if)#ip igmp max-groups 50 Switch(config-if)#exit Switch(config)#exit Switch# show ip igmp max-group Port ID | Max Group ---------+-------------- gi1 : 50 gi2 : 256 gi3 : 256 gi4 : 256 gi5 : 256 --More-- 4.10.27 show ip igmp port max-group action...
  • Page 163 Command Guide of WGSW-28040 ---------+--------------------- gi1 : replace gi2 : deny gi3 : deny gi4 : deny gi5 : deny --More--...
  • Page 164: Ip Source Guard

    Command Guide of WGSW-28040 4.11 IP Source Guard 4.11.1 ip source verify Command: ip source verify ip source verify mac-and-ip no ip source verify Mode: Interface Configuration Usage Guide: Use the ip source verify command to enable IP Source Guard function. Default IP Source Guard filter source IP address.
  • Page 165: Ip Source Binding

    Command Guide of WGSW-28040 4.11.2 ip source binding Command: ip source binding A:B:C:D:E:F vlan <1-4094> A.B.C.D interface IF_PORT no ip source binding A:B:C:D:E:F vlan <1-4094> A.B.C.D interface IF_PORT Parameter: A:B:C:D:E:F Specify a MAC address of a binding entry VLAN <1-4094>...
  • Page 166: Show Ip Source Binding

    Command Guide of WGSW-28040 Parameter: IF_PORTS specifies ports to show Mode: Global Configuration Usage Guide: Use the show ip source interface command to show settings of IP Source Guard of interface Example: The example shows how to show settings of IP Source Guard of interface gi1...
  • Page 167 Command Guide of WGSW-28040 gi1 | 1 | 00:11:22:33:44:55 | 192.168.1.55(255.255.255.255)| Static | NA...
  • Page 168: Link Aggregation

    Command Guide of WGSW-28040 4.12 Link Aggregation 4.12.1 lag load-balance Command: lag load-balance (src-dst-mac | src-dst-mac-ip) Parameter: src-dst-mac Specify algorithm to balance traffic by using source and destination MAC address for all packets. src-dst-mac-ip Specify algorithm to balance traffic by using source and destination IP address for IP packets and using source and destination MAC address for non-IP packets.
  • Page 169: Lacp System-Priority

    Command Guide of WGSW-28040 5 | --------- | 6 | --------- | 7 | --------- | 8 | --------- | 4.12.2 lacp system-priority Command: lacp system-priority <1-65535> no lacp system-priority Parameter: <1-65535> Specify system priority value Default: Default system priority is 1.
  • Page 170: Lacp Timeout

    Command Guide of WGSW-28040 Parameter: <1-65535> Specify port priority value Default: Default port priority is 1. Mode: Interface Configuration Usage Guide: LACP port priority is used for two connected DUT to select aggregation ports. Lower port priority value has higher priority.
  • Page 171: Lag

    Command Guide of WGSW-28040 Example: This example shows how to configure interface gi1 lacp timeout to short. Switch(config)# interface gi1 Switch(config-if)# lacp timeout short 4.12.5 lag Command: lag <1-8> mode (static | active | passive) no lag Parameter: <1-8> Specify the LAG id for the interface static Specify the LAG to be static mode and join the interface into this LAG.
  • Page 172: Show Lag

    Command Guide of WGSW-28040 Switch# show lag Load Balancing: src-dst-mac-ip. Group ID | Type | Ports ---------+--------+---------------------------------------- 1 | LACP | Inactive: gi1-3 2 | ------ | 3 | ------ | 4 | ------ | 5 | ------ | 6 | ------ |...
  • Page 173 Command Guide of WGSW-28040 7 | ------ | 8 | ------ |...
  • Page 174: Lldp

    Command Guide of WGSW-28040 4.13 LLDP 4.13.1 lldp Command: lldp no lldp Mode: Global Configuration Usage Guide: The “lldp” command globally enable LLDP RX/TX ability. “no lldp run” command disables the LLDP RX/TX ability and the behavior when receiving LLDP PDU would be decided by “lldp lldpdu” command. The LLDP enable status is displayed by “show lldp”...
  • Page 175: Lldp Tx-Interval

    Command Guide of WGSW-28040 4.13.2 lldp tx-interval Command: lldp tx-interval <5-32768> Parameter: <5-32768> Specify the LLDP PDU TX interval in unit of second. Default: lldp tx-interval 30 Mode: Global Configuration Usage Guide: This command globally configures the LLDP TX interval. It should be noticed that both “lldp tx-interval” and “lldp tx-delay”...
  • Page 176: Lldp Holdtime-Multiplier

    Command Guide of WGSW-28040 <1-10> Specify the LLDP re-initial delay time in unit of second. Default: lldp reinit-delay 2 Mode: Global Configuration Usage Guide: This command globally configures the LLDP re-initial delay. This delay avoids LLDP generate too many PDU if the port is up and down frequently.
  • Page 177: Lldp Tx-Delay

    Command Guide of WGSW-28040 This command globally configures the LLDP PDU hold multiplier that decides time-to-live (TTL) value sent in LLDP advertisements: TTL = (tx-interval * holdtime-multiplier). The configuration could be shown by “show lldp” command. Example: This example sets LLDP hold time multiplier to 3.
  • Page 178: Lldp Tlv-Select

    Command Guide of WGSW-28040 State: Disabled Timer: 10 Seconds Hold multiplier: 4 Reinit delay: 2 Seconds Tx delay: 10 Seconds LLDP packet handling: Flooding 4.13.6 lldp tlv-select Command: lldp tlv-select TLV [TLV] [TLV] [TLV] [TLV] [TLV] [TLV] [TLV] no lldp tlv-select Parameter: Specify the selected optional TLV.
  • Page 179: Lldp Tlv-Select Pvid

    Command Guide of WGSW-28040 Hold multiplier: 3 Reinit delay: 2 Seconds Tx delay: 2 Seconds LLDP packet handling: Flooding Port | State | Optional TLVs | Address -------- + ------ + -------------- + -------- gi1 | RX,TX | PD, SN, SD, SC |192.168.1.254 gi3 | RX,TX | PD, SN, SD, SC |192.168.1.254...
  • Page 180: Lldp Tlv-Select Vlan-Name

    Command Guide of WGSW-28040 Switch(config)# interface gi1 Switch(config-if-range)# lldp tlv-select pvid disable Switch(config-if-range)# exit Switch(config)# interface gi2 Switch(config-if-range)# lldp tlv-select pvid enable Switch(config-if-range)# exit Switch(config)# show lldp interfaces gi1,gi2 State: Disabled Timer: 10 Seconds Hold multiplier: 3 Reinit delay: 2 Seconds...
  • Page 181: Command Guide Of Wgsw

    Command Guide of WGSW-28040 VLAN-LIST Specify VLAN list. The configured ports should be member of all the specified VLANs or the VLAN-LIST is not valid. Mode: Interface Configuration Usage Guide: The commands per port configure to add or remove VLAN list for 802.1 VLAN-NAME TLV. The configuration could be shown by “show lldp”...
  • Page 182: Lldp Lldpdu

    Command Guide of WGSW-28040 4.13.9 lldp lldpdu Command: lldp lldpdu (filtering|flooding|bridging) Parameter: (filtering|flooding|b Specifies that when LLDP is globally disabled, received LLDP packets are filtered ridging) (dropped), flooded (forwarded to all interfaces) or bridged (flooded to VLAN member ports). Default:...
  • Page 183 Command Guide of WGSW-28040 lldp rx no lldp rx lldp tx no lldp tx Mode: Interface Configuration Usage Guide: The command per port configures the LLDP PDU RX and TX ability. The configuration could be shown by “show lldp” command.
  • Page 184: Lldp Med

    Command Guide of WGSW-28040 Tx delay: 2 Seconds LLDP packet handling: Bridging Port | State | Optional TLVs | Address -------- + ------ + -------------- + -------- gi1 | RX,TX | |192.168.1.254 gi2 | TX | |192.168.1.254 gi3 | RX | |192.168.1.254 gi4 |Disable | |192.168.1.254...
  • Page 185: Lldp Med Tlv-Select

    Command Guide of WGSW-28040 gi3 | Yes | Yes | No | No | No gi4 | Yes | Yes | No | No | No gi5 | No | Yes | No | No | No gi6 | No | Yes | No | No | No...
  • Page 186: Lldp Med Fast-Start-Report-Count

    Command Guide of WGSW-28040 Switch(config-if-range)# no lldp med tlv-select Switch(config-if-range)# exit Switch(config)# show lldp interfaces gi1-4 med Port | Capabilities | Network Policy | Location | Inventory | POE ------ + ------------- + -------------- + -------- + ----------+ ----- gi1 | Yes | Yes | Yes | Yes | Yes...
  • Page 187: Lldp Med Network-Policy

    Command Guide of WGSW-28040 4.13.14 lldp med network-policy Command: lldp med network-policy <1-32> app (voice|voice-signaling|guest-voice|guest-voice-signaling|softphone-voice| video-conferencing|streaming-video|video-signaling) vlan <1-4094> vlan-type (tag|untag) priority <0-7> dscp <0-63> no lldp med network-policy <1-32> Parameter: <1-32> Specify the network policy index (voice|voice-signali Specify the network policy application type.
  • Page 188: Lldp Med Network-Policy Add | Remove

    Command Guide of WGSW-28040 priority 3 dscp 4 Switch(config)# lldp med network-policy 32 app video-conferencing vlan 5 vlan-type tag priority 1 dscp 63 Switch(config)# show lldp med Fast Start Repeat Count: 10 lldp med network-policy voice: auto Network policy 1...
  • Page 189: Lldp Med Network-Policy Auto

    Command Guide of WGSW-28040 Example: This example binds network policy for interface gi1 and gi2. Switch(config)# show lldp med Fast Start Repeat Count: 10 lldp med network-policy voice: auto Network policy 1 ------------------- Application type: Voice Signaling VLAN ID: 2 tagged...
  • Page 190: Lldp Med Location

    Command Guide of WGSW-28040 Mode: Global Configuration Usage Guide: The command globally configures the network policy voice auto mode enable status. In voice auto mode, if network-policy TLV is selected, a voice type network policy would be attached to PDU that contents comes from voice VLAN configuration.
  • Page 191: Show Lldp

    Command Guide of WGSW-28040 Usage Guide: The command per port configures the LLDP MED location data. The “no lldp med location” command clear the location data. The “coordinate”, “civic-address”, “ecs-elin” locations are independent, so at most three location TLVs could be sent if their data are not empty. The configuration of location could be shown by “show lldp interface PORT med”...
  • Page 192: Show Lldp Local-Device

    Command Guide of WGSW-28040 Mode: Global Configuration Privileged Configuraiton Usage Guide: The “show lldp” and “show lldp interface” command displays LLDP global information including LLDP enable status, LLDP PDU TX interval, hold time multiplier, re-initial delay, TX delay, and LLDP packet handling when LLDP is disabled.
  • Page 193 Command Guide of WGSW-28040 show lldp local-device show lldp interfaces IF_NMLPORTS local-device Parameter: IF_NMLPORTS Specify the ports to display information Mode: Privileged Configuration Global Configuration Usage Guide: The commands show the local configuration of LLDP PDU. By the commands, a user can view the contents of LLDP/ LLDP-MED TLVs that would be attached in LLDP PDU.
  • Page 194 Command Guide of WGSW-28040 100BASE-TX half duplex, 100BASE-TX full duplex Operational MAU type: Other or unknown 802.3 Link Aggregation Aggregation capability: Capable of being aggregated Aggregation status: Not currently in aggregation Aggregation port ID: 0 802.3 Maximum Frame Size: 1522 802.1 PVID: 1...
  • Page 195: Show Lldp Neighbor

    Command Guide of WGSW-28040 4.13.20 show lldp neighbor Command: show lldp neighbor show lldp interfaces IF_NMLPORTS neighbor Parameter: IF_NMLPORTS Specify the ports to display information Mode: Global Configuration Privileged Configuration Usage Guide: When LLDP PDU is received on LLDP RX enable ports, system would store the PDU information in database until time to live of the PDU counts down to zero.
  • Page 196 Command Guide of WGSW-28040 100BASE-TX half duplex, 100BASE-TX full duplex Operational MAU type: 100BASE-TX full duplex mode 802.3 Link Aggregation Aggregation capability: Capable of being aggregated Aggregation status: Not currently in aggregation Aggregation port ID: 0 802.3 Maximum Frame Size: 1522 802.1 PVID: 1...
  • Page 197: Show Lldp Med

    Command Guide of WGSW-28040 4.13.21 show lldp med Command: show lldp med show lldp interfaces IF_NMLPORTS med Parameter: IF_NMLPORTS Specify the ports to display information Mode: Global Configuration Privileged Configuration Usage Guide: The commands display the LLDP MED configuration information.
  • Page 198 Command Guide of WGSW-28040 gi3 | Yes | No | No | No | No gi4 | Yes | No | No | No | No gi5 | No | Yes | No | No | No gi6 | No | Yes | No | No | No...
  • Page 199: Show Lldp Statistics

    Command Guide of WGSW-28040 4.13.22 show lldp statistics Command: show lldp statistics show lldp interfaces IF_NMLPORTS statistics Parameter: IF_NMLPORTS Specify the ports to display information Mode: Global Configuration Privileged Configuration Usage Guide: The commands display the LLDP RX/TX statistics. Example: This example display the LLDP statistics.
  • Page 200: Show Lldp Tlv-Overloading

    Command Guide of WGSW-28040 gi11 | 3377 | 10129 | 0 | 0 | 0 | 0 | 0 gi12 | 0 | 0 | 0 | 0 | 0 | 0 | 0 gi13 | 0 | 0 | 0 | 0 | 0 | 0 | 0...
  • Page 201 Command Guide of WGSW-28040 Privileged Configuration Usage Guide: The LLDP PDU is composed by TLVs and selected number TLVs may compose a large PDU that the system can not handle. The maximum PDU length is to take the smaller number of jumbo frame size minus 30 bytes (30 bytes kept for header) or 1488 bytes.
  • Page 202: Logging

    Command Guide of WGSW-28040 4.14 Logging 4.14.1 logging Command: logging no logging Mode: Global Configuration Usage Guide: Enable/Disable the logging service. logging Enable the logging service. It is the global option of logging service. The status of the logging service is available from the command “show logging”.
  • Page 203: Logging Flash | Buffered

    Command Guide of WGSW-28040 Logging service is enabled TARGET | STATUS | Server (PORT) | FACILITY | LOG LEVEL ----------+----------+---------------------------------+----------+---------------------------------- buffered | enabled | | |emerg, alert, crit, error, warning, notice, info 4.14.2 logging flash | buffered Command: logging (flash|buffered) [severity <0-7>]...
  • Page 204: Logging Host

    Command Guide of WGSW-28040 Disable the capability to log message to flash. Once the logging capability of flash is disabled, the status of logging flash service will be removed from the service list shown by the command “show logging”. no logging buffered Disable the capability to log message to RAM.
  • Page 205 Command Guide of WGSW-28040 logging host <ip-addr> [port <0-65535>] [severity <0-7>] [facility (local0|local1|local2|local3|local4|local5|local6|local7)] no logging <ip-addr> Parameter: ip-addr Specify the IP address of remote logging server. port Specify the port number of remote logging server. severity Specify the minimum severity mask of logging message.
  • Page 206: Show Logging

    Command Guide of WGSW-28040 Switch(config)# logging host 192.168.1.100 Switch(config)# logging host 192.168.1.100 port 2048 severity 3 facility local1 Switch(config)# show logging Logging service is enabled TARGET | STATUS | Server (PORT) | FACILITY | LOG LEVEL ----------+----------+---------------------------------+----------+---------------------------------- buffered | enabled | | |emerg, alert, crit, error, warning, notice, info flash | enabled | | |emerg, alert, crit, error, warning, notice host | enabled | 192.168.1.100( 2048)| local1 |emerg, alert, crit, error...
  • Page 207: Show Logging Flash | Buffered

    Command Guide of WGSW-28040 Logging service is enabled TARGET | STATUS | Server (PORT) | FACILITY | LOG LEVEL ----------+----------+---------------------------------+----------+---------------------------------- buffered | enabled | | |emerg, alert, crit, error, warning, notice, info 4.14.5 show logging flash | buffered Command: show logging (flash|buffered)
  • Page 208: Clear Logging Flash | Buffered

    Command Guide of WGSW-28040 2| Jan 01 08:00:42| STP| info| Port 1 STP port state is set to Learning 3| Jan 01 08:00:30| AAA| info| User '' enter privileged mode from console with level '15' success 4| Jan 01 08:00:28| AAA| info| User '' is authorized with privilege level 1...
  • Page 209 Command Guide of WGSW-28040 2| Jan 01 08:00:42| STP| info| Port 1 STP port state is set to Learning 3| Jan 01 08:00:30| AAA| info| User '' enter privileged mode from console with level '15' success 4| Jan 01 08:00:28| AAA| info| User '' is authorized with privilege level 1...
  • Page 210: Mac Address Table

    Command Guide of WGSW-28040 4.15 MAC Address Table 4.15.1 clear mac address-table Command: clear mac address-table dynamic [interfaces IF_PORTS] [vlan <1-4094>] Parameter: IF_PORTS Delete all dynamic addresses on the specified interface. <1-4094> Delete all dynamic addresses on the specified VLAN...
  • Page 211: Mac Address-Table Aging-Time

    Command Guide of WGSW-28040 4.15.2 mac address-table aging-time Command: mac address-table aging-time <10-630> Parameter: <10-630> Specify aging time value of second. Default: In default aging out time is 300s. Mode: Global Configuration Usage Guide: Use the mac address-table aging-time Global configuration command to set the aging time of the address table...
  • Page 212: Mac Address-Table Static Drop

    Command Guide of WGSW-28040 IF_PORTS Interface to which the received packet is forwarded. Valid interfaces include physical ports and port channels. Mode: Global Configuration Usage Guide: Use the mac address-table static global configuration command to add static addresses to the MAC address table.
  • Page 213: Show Mac Address-Table

    Command Guide of WGSW-28040 Use the mac address-table static drop global configuration command to enable unicast MAC address filtering and to configure the switch to drop traffic with a specific source or destination MAC address. Use the no form of this command to return to the default setting.
  • Page 214: Show Mac Address-Table Counters

    Command Guide of WGSW-28040 Switch# show mac address-table VID | MAC Address | Type | Ports ------+-------------------------+--------------------------+---------------- 1 | DE:AD:BE:EF:01:02 | Management | CPU 1 | 00:00:E3:00:00:12 | Dynamic | gi11 1 | 00:01:02:03:04:05 | Static | gi5 1 | 00:14:78:3B:1E:E6 | Dynamic | gi1...
  • Page 215: Mirror

    Command Guide of WGSW-28040 Command: show mac address-table aging-time Mode: Privileged EXEC Usage Guide: Use the show mac address-table aging-time command in EXEC mode to display the aging time for dynamic mac entries. Example: This example shows how to display aging time of dynamic mac address entry...
  • Page 216: Show Mirror

    Command Guide of WGSW-28040 Specify the source interface, Valid interfaces include physical ports and port channels. IF_PORTS Specify the traffic direction to mirror. both,rx,tx Specify the mirrored VLAN ID <1-4094> Specify the SPAN destination. A destination must be a physical port IF_NMLPORT Enable ingress traffic forwarding.
  • Page 217 Command Guide of WGSW-28040 Command: show mirror [session <1-4>] Parameter: <1-4> Specify the mirror session to display Mode: Privileged EXEC Usage Guide: Use the show mirror command in EXEC mode to display mirror session configuration Example: This example shows how to display mirror session configuration...
  • Page 218: Mld Snooping

    Command Guide of WGSW-28040 4.17 MLD Snooping 4.17.1 ipv6 mld snooping Command: ipv6 mld snooping no ipv6 mld snooping show ipv6 mld snooping Default: Disabled Mode: Global Configuration Usage Guide: ‘no ipv6 mld snooping’ will clear all ipv6 mld snooping dynamic group and dynamic router port, and make the static ipv6 mld group invalid.
  • Page 219: Ipv6 Mld Snooping Report-Suppression

    Command Guide of WGSW-28040 Snooping : Disabled Report Suppression : Enabled Operation Version : v1 Forward Method : mac Unknown Multicast Action : Flood 4.17.2 ipv6 mld snooping report-suppression Command: ipv6 mld snooping report-suppression no ipv6 mld snooping report-suppression Default:...
  • Page 220: Ipv6 Mld Snooping Version

    Command Guide of WGSW-28040 4.17.3 ipv6 mld snooping version Command: ipv6 mld snooping version (1|2) Parameter: Ipv6 mld snooping running version 1 or 2 (1|2) Default: Version 1 Mode: Global Configuration Usage Guide: When ipv6 mld snooping version is 1 ,the version 2 packet is not process.The configure can use ‘show ipv6 mld snooping’.
  • Page 221 Command Guide of WGSW-28040 show ipv6 mld snooping vlan [VLAN-LIST] Parameter: specifies VLAN ID list to set VLAN-LIST Default: Disabled Mode: Global Configuration Usage Guide: ‘no ipv6 mld snooping vlan 1’ will clear vlan all ipv6 mld snooping dynamic group and dynamic router port, and make the static ipv6 mld group invalid witch vlan ID is vlan 1.
  • Page 222: Ipv6 Mld Snooping Vlan Parameters

    Command Guide of WGSW-28040 MLD Snooping last member query counter: admin 2 oper 2 MLD Snooping last member query interval: admin 1 sec oper 1 sec MLD Snooping last immediate leave: disabled MLD Snooping automatic learning of multicast router ports: enabled 4.17.5 ipv6 mld snooping vlan parameters...
  • Page 223: Command Guide Of Wgsw

    Command Guide of WGSW-28040 count <1-7> Specify last member query interval to set. Default is 1 last-member-query- interval <1-60> Specify query interval to set. Default is 125 query-interval <30-18000> Specify a response time to set. default is 10 response-time <5-20>...
  • Page 224: Ipv6 Mld Snooping Vlan Static-Port

    Command Guide of WGSW-28040 4.17.6 ipv6 mld snooping vlan static-port Command: [no] ipv6 mld snooping vlan <VLAN-LIST> static-port IF_PORTS [no] ipv6 mld snooping vlan <VLAN-LIST> forbidden-port IF_PORTS Parameter: VLAN-LIST Specify VLAN ID list to set IF_PORTS Specify a port list to set or remove...
  • Page 225 Command Guide of WGSW-28040 [no] ipv6 mld snooping vlan <VLAN-LIST> static-router-port IF_PORTS [no] ipv6 mld snooping vlan <VLAN-LIST> forbidden-router-port IF_PORTS Parameter: VLAN-LIST specifies VLAN ID list to set IF_PORTS specifies a port list to set or remove Default: None static/forbidden router ports...
  • Page 226: Ipv6 Mld Snooping Vlan Static-Group

    Command Guide of WGSW-28040 4.17.8 ipv6 mld snooping vlan static-group Command: [no] ipv6 mld snooping vlan <VLAN-LIST> static-group <ip-addr> interfaces IF_PORTS [no] ipv6 mld snooping vlan <VLAN-LIST> group <ip-addr> Parameter: VLAN-LIST specifies VLAN ID list to set ip-addr specifies multicast group ipv4 address...
  • Page 227: Ipv6 Mld Profile

    Command Guide of WGSW-28040 4.17.9 ipv6 mld profile Command: ipv6 mld profile <1-128> profile range ipv6 <ipv6-addr> [ipv6-addr] action (permit | deny) show ipv6 mld profile [<1-128>] Parameter: <1-128> specifies profile ID <ipv6-addr> Start ipv6 multicast address [ipv6-addr] End ipv6 multicast address...
  • Page 228: Ipv6 Mld Filter

    Command Guide of WGSW-28040 IPv6 mld profile index: 5 IPv6 mld profile action: deny Range low ip: ff12::1 Range high ip: ff12::12 Switch(config-mld-profile)#exit Switch(config)# exit Switch# show ipv6 mld profile IPv6 mld profile index: 1 IPv6 mld profile action: permit...
  • Page 229: Ipv6 Mld Max-Groups

    Command Guide of WGSW-28040 The configure can use ‘show ipv6 mld filter ’ to display Example: This example shows how to set ipv6 mld filter Switch(config)# ipv6 mld profile 1 Switch(config-igmp-profile)# profile range ipv6 ff13::1 ff13::10 action permit Switch(config-igmp-profile)#exit Switch(config)# interface gi1...
  • Page 230 Command Guide of WGSW-28040 Default: no ipv6 mld max-groups ipv6 mld max-groups action deny Mode: Interface mode Usage Guide: use ‘ipv6 mld max-groups 10’ to limit port learning max group num is 10. When then port had learned more than 10 groups, then the more than 10 group will be remove the port form group.
  • Page 231: Clear Ipv6 Mld Snooping Groups

    Command Guide of WGSW-28040 4.17.12 clear ipv6 mld snooping groups Command: clear ipv6 mld snooping groups [(dynamic | static)] Parameter: None Clear ipv6 mld groups include dynamic and static (dynamic | static) ipv6 mld group type is dynamic or static...
  • Page 232: Show Ipv6 Mld Snooping Groups Counters

    Command Guide of WGSW-28040 Usage Guide: This command will clear the mld statistics. The configure can use show ipv6 mld snooping. Example: This example shows how to clear ipv6 mld snooping statistics Switch# clear ipv6 mld snooping statistics Switch# show ipv6 mld snooping 4.17.14 show ipv6 mld snooping groups counters...
  • Page 233: Show Ipv6 Mld Snooping Router

    Command Guide of WGSW-28040 Mode: Privileged mode Usage Guide: This command will display the ipv6 mld groups for dynamic or static or all of type. Example: This example shows show ipv6 mld snooping groups Switch# show ipv6 mld snooping groups...
  • Page 234: Show Ipv6 Mld Snooping

    Command Guide of WGSW-28040 4.17.17 show ipv6 mld snooping Command: show ipv6 mld snooping Mode: privileged mode Usage Guide: This command will display ipv6 mld snooping global info. Example: This example shows how to show ipv6 mld snooping Switch# show ipv6 mld snooping...
  • Page 235: Show Ipv6 Mld Snooping Vlan

    Command Guide of WGSW-28040 4.17.18 show ipv6 mld snooping vlan Command: show ipv6 mld snooping vlan [VLAN-LIST] Parameter: [VLAN-LIST] Show specifies vlan ipv6 mld snooping info Mode: privileged mode Usage Guide: This command will display ipv6 mld snooping vlan info.
  • Page 236: Show Ipv6 Mld Profile

    Command Guide of WGSW-28040 Mode: privileged mode Usage Guide: This command will display ipv6 mld snooping forward all info. Example: This example shows how to show ipv6 mld snooping forward-all Switch# show ipv6 mld snooping forward-all MLD Snooping VLAN : 1...
  • Page 237: Show Ipv6 Mld Filter

    Command Guide of WGSW-28040 4.17.21 show ipv6 mld filter Command: show ipv6 mld filter [interfaces IF_PORTS] Parameter: [interfaces Show specifies ports filter IF_PORTS] Mode: privileged mode Usage Guide: This command will display ipv6 mld port filter info. Example: This example shows how to show ipv6 mld filter...
  • Page 238: Show Ipv6 Mld Max-Group Action

    Command Guide of WGSW-28040 Mode: privileged mode Usage Guide: This command will display ipv6 mld port max-group. Example: This example shows how to show ipv6 mld max-group. Switch(config)#interface gi1 Switch(config-if)# ipv6 mld max-groups 50 Switch(config-if)#exit Switch(config)#exit Switch# show ipv6 mld max-group...
  • Page 239 Command Guide of WGSW-28040 Switch(config)#interface gi1 Switch(config-if)# ipv6 mld max-groups action replace Switch(config-if)#exit Switch(config)#exit Switch# show ipv6 mld max-group action Port ID | Max-groups Action ---------+--------------------- gi1 : replace gi2 : deny gi3 : deny gi4 : deny gi5 : deny...
  • Page 240: Port Security

    Command Guide of WGSW-28040 4.18 Port Security 4.18.1 port-security Command: port-security no port-security Default: Default is disabled Mode: Global Configuration Usage Guide: The “port-security” command enables the port security functionality on this port. Use the no form of this command to disable Example: This example shows how to enable port security on port 1 and set the learning limit number to 10.
  • Page 241: Show Port-Security

    Command Guide of WGSW-28040 no dot1x port-control address-limit Parameter: <1-256> The learning-limit number. It specifies how many MAC addresses this port can learn forward Forward this packet whose SMAC is new to system and exceed the learning-limit number discard Discard this packet whose SMAC is new to system and exceed the learning-limit number.
  • Page 242 Command Guide of WGSW-28040 IF_PORTS Select port to show port-security configurations. Mode: Privileged EXEC Usage Guide: Use “show port-security interfaces” command to show port-security information of the specified port. Example: This example shows how to show port-security configurations on interface gi1.
  • Page 243: Port Error Disable

    Command Guide of WGSW-28040 4.19 Port Error Disable 4.19.1 errdisable recovery cause Command: errdisable recovery cause (all | acl | arp-inspection | broadcast-flood | bpduguard | dhcp-rate-limit | psecure-violation | unicast-flood | udld | unknown-multicast-flood | selfloop) no errdisable recovery cause (all | acl | arp-inspection | broadcast-flood | bpduguard...
  • Page 244: Errdisable Recovery Interval

    Command Guide of WGSW-28040 Usage Guide: Port will be disabled by some invalid actions detected by protocols. Administrator can enabled these error disabled port manually by “no shutdown” command in Interface Mode, or just turn on the auto recovery mechanism by this command to auto enable the error disabled port after auto recovery interval.
  • Page 245 Command Guide of WGSW-28040 Parameter: <0-86400> Specify the auto recovery interval with unit second. Default: Default auto recovery interval is 300 second. Mode: Global Configuration Usage Guide: Port will be disabled by some invalid actions detected by protocols. Auto recovery mechanism will enable these error disabled port after a while.
  • Page 246: Show Errdisable Recovery

    Command Guide of WGSW-28040 4.19.3 show errdisable recovery Command: show errdisable recovery Mode: Privileged EXEC Usage Guide: Use “show errdisable recovery” command to show each error disable state, error disable recovery interval and current error disabled port status. Example: This example shows how to show current auto recovery interval...
  • Page 247: Port

    Command Guide of WGSW-28040 4.20 Port 4.20.1 description Command: description WORD<1-32> no description Parameter: WORD<1-32> Specifiy port description string Mode: Interface Configuration Usage Guide: Use “description” command to give the port a name to identify it easily. If description includes space character, please use double quoted to wrap it.
  • Page 248: Speed

    Command Guide of WGSW-28040 4.20.2 speed Command: speed (10 | 100 | 1000) speed auto [(10 | 100 | 1000 | 10/100)] Parameter: Specify port speed to force 10Mbits/s or auto with 10Mbits/s ability. Specify port speed to force 100Mbits/s or auto with 100Mbits/s ability.
  • Page 249: Duplex

    Command Guide of WGSW-28040 This example shows how to show current interface link speed Switch# show interfaces gi1-2 status Port Name Status Vlan Duplex Speed Type gi1 connected 1 a-full a-100M Copper gi2 connected 1 a-full a-100M Copper 4.20.3 duplex...
  • Page 250 Command Guide of WGSW-28040 no flow-control Parameter: Disable port flow control. Enable port flow control. Default: Default port flow control is off. Mode: Interface Configuration Usage Guide: Use “flow-control” command to change port flow control configuration. Use no form to restore flow control to default (off) configuration.
  • Page 251: Shutdown

    Command Guide of WGSW-28040 4.20.5 shutdown Command: shutdown no shutdown Mode: Interface Configuration Usage Guide: Use “shutdown” command to disable port and use “no shutdown” to enable port. If port is error disabled by some reason, use “no shutdown” command can also recovery the port manually.
  • Page 252: Protected

    Command Guide of WGSW-28040 Mode: Interface Configuration Usage Guide: Use “jumbo-frame” command to modify maximum frame size. The only way to show this configuration is using “show running-config” command. Example: This example shows how to modify maximum frame size on gi1 to 9216 bytes.
  • Page 253: Eee

    Command Guide of WGSW-28040 This example shows how to show current protected port state. Switch# show interfaces gi1-2 protected Port | Protected State -------+----------------- gi1 |enabled gi2 |enabled 4.20.8 eee Command: no eee Default: Default eee state is disabled. Mode:...
  • Page 254: Clear Interface

    Command Guide of WGSW-28040 4.20.9 clear interface Command: clear interfaces IF_PORTS counters Parameter: IF_PORTS Specifiy port to clear counters. Mode: Privileged EXEC Usage Guide: Use “clear interface” command to clear counters on specific ports. Example: This example shows how to clear counters on port gi1.
  • Page 255: Show Interface

    Command Guide of WGSW-28040 4.20.10 show interface Command: show interfaces IF_PORTS show interfaces IF_PORTS status show interfaces IF_PORTS potected Parameter: IF_PORTS Specifiy port to show. Mode: Privileged EXEC Usage Guide: Use “show interface” command to show port counters, parameters and status.
  • Page 256 Command Guide of WGSW-28040 Port | Protected State -------+----------------- gi1 |enabled gi2 |enabled This example shows how to show current port status Switch# show interfaces gi1 status Port Name Status Vlan Duplex Speed Type gi1 connected 1 full a-100M Copper...
  • Page 257: Qos

    Command Guide of WGSW-28040 4.21 QoS 4.21.1 qos Command: qos basic no qos Parameter: basic Specify the device to qos basic mode Mode: Global Configuration Usage Guide: QoS have following 2 modes, use this command is able to switch between them.
  • Page 258: Qos Trust

    Command Guide of WGSW-28040 Switch# show qos QoS Mode: basic Basic trust: cos 4.21.2 qos trust Command: qos trust (cos | cos-dscp | dscp | precedence) Parameter: Specify the device to trust CoS cos-dscp Specify the device to trust DSCP for IP packets, and trust CoS for non-IP packets.
  • Page 259: Qos Map

    Command Guide of WGSW-28040 CoS-DSCP: Trust DSCP for IP packets and assign queue according to dscp-queue map. Trust CoS for non-IP packets and assign queue according to cos-queue map. Example: This example shows how to change qos basic mode trust types.
  • Page 260 Command Guide of WGSW-28040 <0-7> Specify the cos or precedence values <0-63> Specify the dscp values Default: The default values of cos-queue are showing in the following table. Queue ID The default values of dscp-queue are showing in the following table.
  • Page 261 Command Guide of WGSW-28040 The default values of queue-cos are showing in the following table. Queue ID The default values of queue-dscp are showing in the following table. Queue ID DSCP The default values of queue-precedence are showing in the following table.
  • Page 262: Qos Queue

    Command Guide of WGSW-28040 to assign the correct queue. The queue to cos, dscp or precedence maps are used by remarking function. If the port remarking feature is enabled, the remarking function will reference these 3 tables to remark packets.
  • Page 263 Command Guide of WGSW-28040 1 to 127. Default: Default strict priority queue number is 8, it means all queues are strict priority queue. The default queue weight for each queue is shown in following table. Queue ID Queue Weight Mode:...
  • Page 264: Qos Cos

    Command Guide of WGSW-28040 5 - 25 dis- N/A 6 - N/A ena- 6 7 - N/A ena- 7 8 - N/A ena- 8 4.21.5 qos cos Command: qos cos <0-7> Parameter: cos <0-7> Specify the CoS value for the interface.
  • Page 265: Qos Trust

    Command Guide of WGSW-28040 4.21.6 qos trust Command: qos trust no qos trust Default: Default interface qos trust state is enabled. Mode: Interface Configuration Usage Guide: After QoS function is enabled in basic mode, the device also support per interface enable/disable the qos function. If the trust state on interface is enabled, all ingress packets of this interface will remap according to the trust type and the qos maps.
  • Page 266: Show Qos

    Command Guide of WGSW-28040 Parameter: Enable/Disable cos remarking. dscp Enable/Disable dscp remarking. precedence Enable/Disable precedence remarking. Default: Default CoS remarking is disabled. Default DSCP remarking is disabled. Default IP Precedence remarking is disabled. Mode: Interface Configuration Usage Guide: QoS remarking feature allow you to change priority information in packets based on egress queue. For example, you want all packets egress from interface fa1 queue 1 to remark the cos value to be 5 for next tier of device, you can enable the cos remarking feature on fa1 and configure the queue-cos map for queue 1 map to cos 5.
  • Page 267: Show Qos Map

    Command Guide of WGSW-28040 Mode: Privileged EXEC Usage Guide: Use “show qos” command to show qoe mode and trust type. Example: This example shows how to check current qos mode. Switch# show qos QoS Mode: basic Basic trust: cos 4.21.9 show qos map...
  • Page 268: Show Qos Interface

    Command Guide of WGSW-28040 -------------------------------- Queue 2 1 3 4 5 6 7 8 DSCP to Queue mappings d1: d2 0 1 2 3 4 5 6 7 8 9 -------------------------------------- 0: 1 1 1 1 1 1 1 1 2 2...
  • Page 269 Command Guide of WGSW-28040 IF_PORTS Select port to show qos configurations. Mode: Privileged EXEC Usage Guide: Use “show qos interfaces” command to show port default cos ,remarking state and remarking type state informations. Example: This example shows how to show qos configurations on interface gi1.
  • Page 270: Rate Limit

    Command Guide of WGSW-28040 4.22 Rate Limit 4.22.1 rate limit Command: rate-limit ingress burst <1-65535> no rate-limit ingress burst rate-limit egress burst <4578-50000> rate-limit egress queue burst <1-8> <1-65535> no rate-limit egress burst [<1-8>] Parameter: burst Specify the maximum permitted excess burst size (CBS) in bytes <1-8>...
  • Page 271: Rate Limit (Interface)

    Command Guide of WGSW-28040 Switch# show running-config rate-limit ingress burst 5000 rate-limit egress burst 6000 rate-limit egress queue burst 7000 4.22.2 rate limit (interface) Command: rate-limit ingress <0-1000000> no rate-limit ingress rate-limit egress <0-1000000> rate-limit egress queue <1-8> <0-1000000> no rate-limit egress [<1-8>] Parameter: Specify the maximum number of kilobits per second of ingress traffic on a port.
  • Page 272 Command Guide of WGSW-28040 Switch(config-if)# rate-limit ingress 128 Switch(config-if)# rate-limit egress 2048 Switch(config-if)# rate-limit egress queue 1 512 Switch# show running-config interfaces gi7 interface gi7 rate-limit ingress 128 rate-limit egress 2048 165 rate-limit egress queue 1 512...
  • Page 273: Rmon

    Command Guide of WGSW-28040 4.23 RMON 4.23.1 Rmon event Command: rmon event <1-65535> [log] [trap COMMUNITY] [description DESCRIPTION] [owner NAME] no rmon event <1-65535> Parameter: <1-65535> Specify event index to create or modify [log] (Optional)Specify to show syslog. [trap COMMUNITY] (Optional)Specify SNMP community to show SNMP trap.
  • Page 274: Rmon Alarm

    Command Guide of WGSW-28040 switch(config)# show rmon event 1 Rmon Event Index : 1 Rmon Event Type : Log Rmon Event Community : public Rmon Event Description : test Rmon Event Last Sent : Rmon Event Owner : admin 4.23.2 Rmon alarm Command: rmon alarm <1-65535>...
  • Page 275 Command Guide of WGSW-28040 ets) <1-2147483647> Specify the time in seconds that the alarm monitors the MIB variable (absolute|delta) Specify absolute to compare sample counter absolutely. Specify delta to compare delta counter between samples <0-2147483647> Specify a number which the alarm trigger rising event <0-65535>...
  • Page 276: Rmon History

    Command Guide of WGSW-28040 startup rising-falling owner admin Rmon Alarm Index : 1 Rmon Alarm Sample Interval : 300 Rmon Alarm Sample Interface : gi1 Rmon Alarm Sample Variable : Pkts Rmon Alarm Sample Type : delta Rmon Alarm Type : Rising or Falling...
  • Page 277: Clear Rmon Interfaces Statistics

    Command Guide of WGSW-28040 switch(config)# rmon history 1 interface gi1 interval 60 owner admin switch(config)# show rmon history 1 Rmon History Index : 1 Rmon Collection Interface: gi1 Rmon History Bucket : 50 Rmon history Interval : 60 Rmon History Owner : admin...
  • Page 278: Show Rmon Event

    Command Guide of WGSW-28040 ==== Port gi1 ============================= etherStatsDropEvents : 0 etherStatsOctets : 0 etherStatsPkts : 0 etherStatsBroadcastPkts : 0 etherStatsMulticastPkts : 0 etherStatsCRCAlignErrors : 0 etherStatsUnderSizePkts : 0 etherStatsOverSizePkts : 0 etherStatsFragments : 0 etherStatsJabbers : 0 etherStatsCollisions : 0...
  • Page 279: Show Rmon Event Log

    Command Guide of WGSW-28040 switch(config)# rmon event 1 log trap public description test owner admin switch(config)# show rmon event 1 Rmon Event Index : 1 Rmon Event Type : Log and Trap Rmon Event Community : public Rmon Event Description : test...
  • Page 280: Show Rmon Alarm

    Command Guide of WGSW-28040 4.23.7 show rmon alarm Command: show rmon alarm (<1-65535> | all) Parameter: <1-65535> specifies alarm index to show Show all existed alarm Mode: Global Configuration Usage Guide: Use the show rmon alarm command to show existed RMON alarm entry.
  • Page 281: Show Rmon History Statistics

    Command Guide of WGSW-28040 Parameter: <1-65535> specifies history index to show Show all existed history Mode: Global Configuration Usage Guide: Use the show rmon history command to show existed RMON history entry Example: The example shows how to show RMON history entry.
  • Page 282 Command Guide of WGSW-28040 ======================================================= Sample Index : 2 Interval Start : (32940466) 3 days, 19:30:04.66 DropEvents : 0 Octets : 117226 Pkts : 763 BroadcastPkts : 9 MulticastPkts : 0 CRCAlignErrors : 0 UnderSizePkts : 0 OverSizePkts : 0...
  • Page 283: Snmp

    Command Guide of WGSW-28040 4.24 SNMP 4.24.1 snmp Command: snmp no snmp Mode: Global Configuration Usage Guide: ‘no snmp’ will disable snmp. ‘snmp’ will enable snmp. The configure can use show snmp Example: The following example specifies that set global snmp test...
  • Page 284: Snmp View

    Command Guide of WGSW-28040 snmp trap port-security Mode: Global Configuration Usage Guide: ‘no snmp trap auth’ snmp will not send auth failure trap. ‘no snmp trap linkUpDown’ snmp will not send linkup and link down trap. ‘no snmp trap warm-start snmp will not send warm start trap.
  • Page 285: Snmp Access Group

    Command Guide of WGSW-28040 Default: Default View is “all” and subtree is .1 the type is include. Mode: Global Configuration Usage Guide: The default view can’t delete and create by user The min view is sysUpTime. The exclude view must in range of include view.otherwise, it is not invalid.
  • Page 286: Snmp Community

    Command Guide of WGSW-28040 Mode: Global Configuration Usage Guide: The group version 1 and 2c only for snmp community use. And version 3 group only for snmp user use. When group version is 1 or 2c , can only use noauth The read/write/notify view must exist.
  • Page 287: Snmp User

    Command Guide of WGSW-28040 Mode: Global Configuration Usage Guide: The community support basic & advace mode. Basic: community assigned view and read/write right. Advace: community assigned access group. The community specifies the group witch must exist. The community specifies the view witch must exist. It will generate the no exist v1 or v2 access group for community.
  • Page 288: Snmp Engineid

    Command Guide of WGSW-28040 GROUPNAME Snmp user specifies group [auth (md5|sha)] Snmp user auth protocol AUTHPASSWD Snmp user auth password PRIVPASSWD Snmp user priv password Mode: Global Configuration Usage Guide: The group version must be v3 , and the security level must match the snmp user configure.
  • Page 289: Snmp Host

    Command Guide of WGSW-28040 ENGINEID) ENGINEID is 10~64 hex characters (A.B.C.D|X:X::X:X) Host ipv4/ipv6 address Mode: Global Configuration Usage Guide: Default engineid is DUT MAC address. The configure can use ‘show snmp engineid’ Example: The following example specifies that set remote engine id test.
  • Page 290: Show Snmp

    Command Guide of WGSW-28040 NAME Snmp community name or user name [udp-port The manage receive trap udp port num <1-65535>] [timeout <1-300>] The notify type is inform timeout value [retries <1-255>] The notify type is inform retries Mode: Global Configuration Usage Guide: This command can’t configure version 1 inform...
  • Page 291: Show Snmp Trap

    Command Guide of WGSW-28040 Mode: privileged mode Usage Guide: This command will snmp status. Example: The following example specifies that show snmp test Switch# show snmp 4.24.10 show snmp trap Command: show snmp trap Mode: privileged mode Usage Guide: This command will display snmp trap class auth/linkupdown/cold-start/warm-start/port-security/. Status.
  • Page 292: Show Snmp Group

    Command Guide of WGSW-28040 Example: The following example specifies that display snmp view test. Switch# show snmp view 4.24.12 show snmp group Command: show snmp group Mode: privileged mode Usage Guide: This command will display the snmp group Example: The following example specifies that display snmp group test.
  • Page 293: Show Snmp Host

    Command Guide of WGSW-28040 Switch# show snmp community 4.24.14 show snmp host Command: show snmp host Mode: privileged mode Usage Guide: This command will display the snmp host entry. Example: The following example specifies that display snmp host test. Switch# show snmp host 4.24.15 show snmp user...
  • Page 294: Show Snmp Engineid

    Command Guide of WGSW-28040 4.24.16 show snmp engineid Command: show snmp engineid Mode: privileged mode Usage Guide: This command will display the snmp local/remote engine id Example: The following example specifies that display snmp local/remote engine id test. Switch# show snmp engineid...
  • Page 295: Storm Control

    Command Guide of WGSW-28040 4.25 Storm Control 4.25.1 Storm-control unit Command: storm-control unit (bps | pps) Parameter: Storm control rate calculates by octet-based Storm control rate calculates by packet-based Default: Default storm control unit is bps. Mode: Global Configuration Usage Guide: Storm control mechanism will try to calculate ingress packets is exceed configured rate or not and do corresponding action.
  • Page 296: Storm-Control

    Command Guide of WGSW-28040 storm-control ifg (include | exclude) Parameter: include Include preamble & IFG (20 bytes) when count ingress storm control rate. exclude Exclude preamble & IFG (20 bytes) when count ingress storm control rate Default: Default storm control inter frame gap is excluded.
  • Page 297 Command Guide of WGSW-28040 no storm-control (broadcast | unknown-unicast | unknown-multicast) storm-control (broadcast | unknown-unicast | unknown-multicast) level <0-1000000> no storm-control (broadcast | unknown-unicast | unknown-multicast) level Parameter: broadcast Select broadcast storm control type unknown-unicast Select unknown unicast storm control type...
  • Page 298: Storm-Control Action

    Command Guide of WGSW-28040 Switch(config-if)# storm-control broadcast Switch(config-if)# storm-control broadcast level 200 This example shows how to show current storm control configuration on interface gi1 Switch# show storm-control interfaces gi1 Port | State | Broadcast | Unkown-Multicast | Unknown-Unicast | Action...
  • Page 299: Show Storm-Control

    Command Guide of WGSW-28040 Switch# show storm-control interfaces gi1 Port | State | Broadcast | Unkown-Multicast | Unknown-Unicast | Action | | pps | pps | pps | ---------+-------+------------+--------------------+-----------------|----------- gi1 disable Off( 10000) Off( 10000) Off( 10000) Shutdown 4.25.5 show storm-control...
  • Page 300 Command Guide of WGSW-28040 ---------+-------+------------+--------------------+-----------------|----------- fa1 enable 200 Off( 10000) Off( 10000) Shutdown...
  • Page 301: Spanning Tree

    Command Guide of WGSW-28040 4.26 Spanning Tree 4.26.1 spanning-tree Command: spanning-tree no spanning-tree Mode: Global Configuration Usage Guide: Enable or Disable Spanning-Tree Protocol. Using `spanning-tree` command to enable STP or `no spanning-tree` command to disable STP Example: The following example sets the STP status to enable and disable.
  • Page 302: Spanning-Tree Bpdu

    Command Guide of WGSW-28040 Switch# 4.26.2 spanning-tree bpdu Command: spanning-tree bpdu ( filtering | flooding ) Parameter: ( filtering | Specify the forwarding action of BPDU to filtering or flooding. flooding ) Default: spanning-tree bpdu flooding Mode: Global Configuration Usage Guide: Configure the BPDU forwarding action when STP is disabled.
  • Page 303 Command Guide of WGSW-28040 spanning-tree mode ( stp | rstp | mstp ) Parameter: Specify the mode to Spanning Tree Protocol rstp Specify the mode to Rapid Spanning Tree Protocol mstp Specify the mode to Multiple Spanning Tree Protocol. Default:...
  • Page 304: Spanning-Tree Priority

    Command Guide of WGSW-28040 4.26.4 spanning-tree priority Command: spanning-tree priority <0-61440> Parameter: <0-61440> Specify the bridge priority, it must multiples of 4096 Default: spanning-tree priority 32768 Mode: Global Configuration Usage Guide: This command configures the bridge priority. The configuration could be shown by “show spanning-tree” command.
  • Page 305: Spanning-Tree Hello-Time

    Command Guide of WGSW-28040 4.26.5 spanning-tree hello-time Command: spanning-tree hello-time <1-10> Parameter: <1-10> Specify the hello-time interval (second). Default: spanning-tree hello-time = 2 Mode: Global Configuration Usage Guide: This command configures the BPDU hello-time interval (second). The configuration could be shown by “show spanning-tree”...
  • Page 306: Spanning-Tree Max-Hops

    Command Guide of WGSW-28040 4.26.6 spanning-tree max-hops Command: spanning-tree max-hops <1-40> Parameter: <1-40> Specify the max-hops value Default: spanning-tree max-hops = 20 Mode: Global Configuration Usage Guide: This command configures the maximum hops value for MSTP. The configuration could be shown by “show spanning-tree”...
  • Page 307: Spanning-Tree Maximum-Age

    Command Guide of WGSW-28040 This command configures the BPDU forward-delay interval (second). The configuration could be shown by “show spanning-tree” command. Example: This example sets the BPDU forward-delay to 30 sec. Switch# configure Switch(config)# spanning-tree forward-delay 30 4.26.8 spanning-tree maximum-age Command: spanning-tree maximum-age <6-40>...
  • Page 308: Spanning-Tree Pathcost Method

    Command Guide of WGSW-28040 spanning-tree tx-hold-count <1-10> Parameter: <1-10> Specify the tx-hold-count value. Default: spanning-tree tx-hold-count = 6 Mode: Global Configuration Usage Guide: This command configures the BPDU tx-hold-count. Example: This example sets the BPDU tx hold count to 10...
  • Page 309: Spanning-Tree Port-Priority

    Command Guide of WGSW-28040 Switch# configure Switch(config)# spanning-tree pathcost method short 4.26.11 spanning-tree port-priority Command: spanning-tree port-priority <0-240> Parameter: <0-240> Specify the STP port priority. It must multiples of 16. Default: spanning-tree port-priority = 128 Mode: Port Configuration Usage Guide: This command per port configures the STP port priority.
  • Page 310: Spanning-Tree Edge

    Command Guide of WGSW-28040 Auto ) Default: spanning-tree cost = 0 Mode: Port Configuration Usage Guide: This command per port configures the STP port cost. The configuration could be shown by “show spanning-tree interface” command. Example: This example sets port gi1 STP port cost to 100.
  • Page 311: Spanning-Tree Bpdu-Filter

    Command Guide of WGSW-28040 4.26.14 spanning-tree bpdu-filter Command: spanning-tree bpdu-filter no spanning-tree bpdu-filter Mode: Port Configuration Usage Guide: This command per port configures the STP BPDU Filter status. The configuration could be shown by “show spanning-tree interface” command. Example: This example sets port gi1 STP BPDU Filter status to enable.
  • Page 312: Spanning-Tree Link-Type

    Command Guide of WGSW-28040 Switch# configure Switch(config)# interface gi1 Switch(config-if)# spanning-tree bpdu-guard 4.26.16 spanning-tree link-type Command: spanning-tree link-type ( point-to-point | shared ) no spanning-tree link-type Parameter: ( point-to-point | Specify the STP port link-type to Point-to-Point or Shared medium.
  • Page 313 Command Guide of WGSW-28040 name NAME revision <0-65535> instance <0-15> vlan [ VLAN-LIST ] Parameter: NAME Specify the MSTP bridge name of MST Configuration ID. (Max. 32 chars) <0-65535> Specify the MSTP revision number of MST Configuration ID. <0-15> Specify the MST instance ID.
  • Page 314: Spanning-Tree Mst Priority

    Command Guide of WGSW-28040 1 100 ------------------------------------------------------------------------------- 4.26.18 spanning-tree mst priority Command: spanning-tree mst <0-15> priority <0-61440> Parameter: <0-15> Specify the MST instance ID to configure. <0-61440> Specify the bridge priority, it must multiples of 4096. Default: spanning-tree mst = 0 ; priority = 32768...
  • Page 315: Spanning-Tree Mst Port-Priority

    Command Guide of WGSW-28040 <0-15> Specify the MST instance ID to configure. <0-200000000> Specify the STP port cost. In short pathcost method, the range is from 0 to 65535. ( 0 = Auto ) Default: spanning-tree mst = 0 ; cost = 0...
  • Page 316 Command Guide of WGSW-28040 Example: This example sets port gi1 MST port priority of MST instance 0 to 32. Switch# configure Switch(config)# interface gi1 Switch(config-if)# spanning-tree mst 1 cost 0 Switch(config-if)# exit Switch(config)# interface gi1 Switch(config-if)# spanning-tree mst 1 port-priority 32...
  • Page 317: System File

    Command Guide of WGSW-28040 4.27 System File 4.27.1 boot system Command: boot system (image0 | image1) Parameter: image0 Boot from flash image partition 0 image1 Boot from flash image partition 1 Default: Default boot image is image0. Mode: Global Configuration Usage Guide: Dual image allow user to have a backup image in the flash partition.
  • Page 318: Save

    Command Guide of WGSW-28040 4.27.2 save Command: save Mode: Privileged EXEC Usage Guide: Use “save” command to save running configuration to startup configuration file. This command is equal to “copy running-config startup-config”. Example: This example shows how to save running configuration to startup configuration.
  • Page 319 Command Guide of WGSW-28040 flash://backup-config flash://image0 flash://image1 flash://ram.log flash://flash.log tftp:// Specify remote tftp server and remote file name. The format is “tftp://192.168.1.111/remote_file_name” running-config Running configuration file startup-config Startup configuration file backup-config Edit default authentication list Mode: Privileged EXEC Usage Guide: There are many types of files in system.
  • Page 320: Delete

    Command Guide of WGSW-28040 This example shows how to backup security file dsa2 to remote tftp server 192.168.1.111 with file name dsa2. Switch# copy flash://dsa2 tftp://192.168.1.111/dsa2 Uploading file...Please Wait... Uploading Done 4.27.4 delete Command: delete (startrup-config | backup-config | flash://)
  • Page 321: Restore-Default

    Command Guide of WGSW-28040 This example shows how to delete backup firmware image from flash. Switch# delete system image1 4.27.5 restore-default Command: restore-default Mode: Privileged EXEC Usage Guide: Use “restore-defaults” command to restore factory default of all system. The command is equal to “delete startup-config”...
  • Page 322: Show Flash

    Command Guide of WGSW-28040 Usage Guide: Our configuration file is text based. Therefore, we can show the configuration on terminal and read it by this command. Example: This example shows how to show running configuration Switch# show running-config ! System Description: Switch ! System Version: v2.5.0-beta.32811...
  • Page 323 Command Guide of WGSW-28040 ------------------------ ---------------- ------------------------ startup-config 1191 2000-01-01 00:00:23 image0 (active) 4372401 2012-09-24 01:57:29 image1 (backup) 0...
  • Page 324: Time

    Command Guide of WGSW-28040 4.28 Time 4.28.1 clock set Command: clock set HH:MM:SS (jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec) <1-31> <2000-2035> Parameter: HH:MM:SS Specify static time of year, month, day, hour, minute, second (jan|feb|mar|apr|ma y|jun|jul|aug|sep|oc t|nov|dec) <1-31> <2000-2035> Mode: Global Configuration Usage Guide: Use the clock set command to set static time. The static time won’t save to configuration file.
  • Page 325 Command Guide of WGSW-28040 clock timezone ACRONYM HOUR-OFFSET [minutes <0-59>] no clock timezone Parameter: ACRONYM Specify acronym name of time zone HOUR-OFFSET Specify hour offset of time zone minutes <0-59> Specify minute offset of time zone Default: Default time zone is UTC+8.
  • Page 326: Clock Source

    Command Guide of WGSW-28040 4.28.3 clock source Command: clock source (local|sntp) Parameter: local Specify to use static time sntp Specify to use sntp time Default: Default is using local time. Mode: Global Configuration Usage Guide: Use the clock source command to set the source of time. The “local” means that use static setting by user manual set.
  • Page 327: Command Guide Of Wgsw

    Command Guide of WGSW-28040 [<1-1440>] clock summer-time ACRONYM recurring (usa|eu) [<1-1440>] clock summer-time ACRONYM recurring (<1-5>|first|last) (sun|mon|tue|wed|thu|fri|sat) (jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec) HH:MM (<1-5>|first|last) (sun|mon|tue|wed|thu|fri|sat) (jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec) HH:MM [<1-1440>] no clock summer-time Parameter: (jan|feb|mar|apr|ma Specify acronym name of time zone y|jun|jul|aug|sep|oc t|nov|dec) <1-31> <2000-2037> HH:MM [<1-1440>]...
  • Page 328: Show Clock

    Command Guide of WGSW-28040 Example: The example shows how to set clock source of switch. You can verify settings by the following show show clock command. switch(config)# clock source sntp switch(config)# show clock detail 08:32:12 test(UTC+5) Sep 21 2012 No time source...
  • Page 329: Sntp

    Command Guide of WGSW-28040 14:35:39 DLS(UTC+9) Sep 25 2012 Time source is sntp Time zone: Acronym is DFL Offset is UTC+8 Summertime: Acronym is DLS Recurring every year. Begins at 2 0 3 2:0 Ends at 1 0 11 2:0 Offset is 60 minutes.
  • Page 330: Show Sntp

    Command Guide of WGSW-28040 SNTP is Enabled SNTP Server address: 192.168.1.100 SNTP Server port: 123 4.28.7 show sntp Command: show sntp Mode: Global Configuration Usage Guide: Use the show sntp command to remote SNTP server information. Example: The example shows how to show remote SNTP server.
  • Page 331: Vlan

    Command Guide of WGSW-28040 4.29 VLAN 4.29.1 vlan Command: vlan no vlan Mode: Global Configuration Usage Guide: Create or remove a VLAN entry. Using `vlan` command to entry the VLAN configuration mode. Example: The following example creates and removes a VLAN entry (100).
  • Page 332: Switchport Mode

    Command Guide of WGSW-28040 VLAN Configuration Usage Guide: Configure the name of a VLAN entry. Example: This example sets the VLAN name of VLAN 100 to be `VLAN-one-hundred`. Switch# configure Switch(config)# vlan 100 Switch(config-vlan)# name VLAN-one-hundred Switch(config-vlan)# exit Switch(config)# 4.29.3 switchport mode...
  • Page 333: Switchport Hybrid Pvid

    Command Guide of WGSW-28040 The configuration could be shown by “show interface switchport” command. Example: This example sets VLAN mode to Access port. Switch(config)# interface gi12 Switch(config-if)# switchport mode access 4.29.4 switchport hybrid pvid Command: switchport hybrid pvid <1-4094> Parameter: <1-4094>...
  • Page 334: Switchport Hybrid Acceptable-Frame-Type

    Command Guide of WGSW-28040 switchport bybrid ingress-filtering no switchport bybrid ingress-filtering Mode: Port Configuration Usage Guide: This command per port configures the ingress-filtering status. This filtering is used to filter the frames come from the non-member ingress port. The configuration could be shown by “show interface switchport” command.
  • Page 335: Switchport Hybrid Allowed Vlan Add

    Command Guide of WGSW-28040 Example: This example sets acceptable-frame-type to tagged-only. Switch# configure Switch(config)# interface gi10 Switch(config-if)# switchport mode hybrid Switch(config-if)# switchport hybrid acceptable-frame-type tagged-only 4.29.7 switchport hybrid allowed vlan add Command: switchport hybrid allowed vlan add VLAN-LIST [ ( tagged | untagged ) ]...
  • Page 336: Switchport Access Vlan

    Command Guide of WGSW-28040 switchport hybrid allowed vlan remove VLAN-LIST Parameter: VLAN-LIST Specifies the VLAN list to be removed. Mode: Port Configuration Usage Guide: This command per hybrid port configures to remove the allowed VLAN list. The configuration could be shown by “show interface switchport”...
  • Page 337: Switchport Tunnel Vlan

    Command Guide of WGSW-28040 Switch(config-if)# switchport mode access Switch(config-if)# switchport access vlan 100 4.29.10 switchport tunnel vlan Command: switchport tunnel vlan <1-4094> Mode: Port Configuration Usage Guide: The command per Tunnel port configures the native VLAN. The configuration could be shown by “show interface switchport”...
  • Page 338: Switchport Trunk Allowed Vlan

    Command Guide of WGSW-28040 Example: This example sets Trunk port gi10 native VLAN to 100. Switch# configure Switch(config)# interface gi10 Switch(config-if)# switchport mode trunk Switch(config-if)# switchport trunk native vlan 100 4.29.12 switchport trunk allowed vlan Command: switchport trunk allowed vlan ( add | remove ) ( VLAN-LIST | all )
  • Page 339: Switchport Forbidden Default-Vlan

    Command Guide of WGSW-28040 switchport default-vlan tagged no switchport default-vlan tagged Mode: Port Configuration Usage Guide: The command per port configures the membership of the default VLAN to tagged. The configuration could be shown by “show interface switchport” command. Example: This example sets Trunk port gi10 membership with the default VLAN to tagged.
  • Page 340: Switchport Forbidden Vlan

    Command Guide of WGSW-28040 4.29.15 switchport forbidden vlan Command: switchport forbidden vlan ( add | remove ) VLAN-LIST Parameter: ( add | remove ) Add or remove forbidden membership. VLAN-LIST Specify the VLAN list. Mode: Port Configuration Usage Guide: The command per port configures the membership of the specfied VLANs to forbidden. The configuration could be shown by “show interface switchport”...
  • Page 341: Show Management-Vlan

    Command Guide of WGSW-28040 Mode: Global Configuration Usage Guide: (1) Set <1-4094> as management VLAN id; suggest to create the VLAN and make the port to be member of it firstly. (2) When use no command, restore management vlan to be default VLAN.
  • Page 342 Command Guide of WGSW-28040 vlan protocol-vlan group <1-8> frame-type (ethernet_ii|llc_other|snap_1042) protocol-value VALUE no vlan protocol-vlan group <1-8> Parameter: <1-8> Specify protocol vlan group to configure (ethernet_ii|llc_oth Specify protocol based frame type er|snap_1042) VALUE Specify protocol value to configure Mode: Global Configuration...
  • Page 343: Protocol Vlan Binding

    Command Guide of WGSW-28040 4.29.19 protocol vlan binding Command: vlan protocol-vlan group <1-8> vlan <1-4094> no vlan protocol-vlan group <1-8> Parameter: <1-8> Specify protocol vlan group to binding <1-4094> Specifies the Proto VLAN ID to configure. Mode: Interface Configuration Usage Guide:...
  • Page 344: Show Protocol Vlan Interfaces

    Command Guide of WGSW-28040 Mode: Privileged EXEC Usage Guide: Use the show vlan proto-vlan command in EXEC mode to display Proto VLAN group configuration Example: The following example how to display Proto VLAN group configuration Switch# show vlan protocol-vlan Group ID | Status | Type | value...
  • Page 345 Command Guide of WGSW-28040 Switch# show vlan protocol-vlan interfaces gi1 Port gi1 : Group 1 Status : Enabled VLAN ID : 2 Group 2 Status : Enabled VLAN ID : 3 Group 3 Status : Disabled Group 4 Status : Disabled...
  • Page 346: Voice Vlan

    Command Guide of WGSW-28040 4.30 Voice VLAN 4.30.1 voice vlan Command: voice-vlan no voice-vlan Mode: Global Configuration Usage Guide: Use the voice vlan global configuration command to enable the functional Voice VLAN on the device. Use the no form of this command to disable voice vlan function.
  • Page 347: Voice Vlan Oui-Table

    Command Guide of WGSW-28040 Use the voice vlan id global configuration command to configure the VLAN identifier of the voice VLAN statically You can verify your setting by entering the show voice vlan Privileged EXEC command Example: The following example shows how to set Voice VLAN ID, before make sure the VLAN EXIST.
  • Page 348: Voice Vlan Aging-Time

    Command Guide of WGSW-28040 voice-vlan cos <0-7> [remark] no voice-vlan Parameter: <0-7> Specify the voice VLAN Class of Service value in telephone oui mode remark Specify that the L2 user priority is remarked with the CoS value Default: The default cos value is 6, remark is disabled.
  • Page 349: Voice Vlan Cos Mode

    Command Guide of WGSW-28040 Example: The following example show how to set aging time. Switch(config)# voice-vlan aging-time 720 4.30.6 voice vlan cos mode Command: voice-vlan cos ( src | all ) no voice-vlan Parameter: Specify QoS attributes are applied to packets with OUIs in the source MAC address.
  • Page 350: Show Voice Vlan

    Command Guide of WGSW-28040 voice-vlan no voice-vlan Mode: Interface Configuration Usage Guide: Use the voice vlan Interface configuration command to enable OUI voice VLAN configuration on an interface Use the no form of this command to disable voice vlan on an interfaces...
  • Page 351 Command Guide of WGSW-28040 Switch# show voice-vlan Administrate Voice VLAN state : disabled Voice VLAN ID : 1 Voice VLAN Aging : 720 minutes Voice VLAN CoS : 5 Voice VLAN 1p Remark: enabled Switch# show voice-vlan interfaces gi1 Voice VLAN Aging : 720 minutes...

Table of Contents