Download VES Switch
Transcript
Chapter 76 VLAN Commands 76.3 Command Summary The following section lists the commands for this feature. Table 182 vlan Command Summary COMMAND DESCRIPTION M P show vlan Displays the status of all VLANs. E 13 show vlan <vlan-id> Displays the status of the specified VLAN. E 13 show vlan counters <vlan-id> <port-number> <Tx|Rx> Displays concurrent incoming or outgoing packet statistics of the specified port in the specified VLAN and refreshes in every 10 seconds until you press the [ESC] button. E 13 vlan-type <802.1q|port-based> Specifies the VLAN type. C 13 vlan <vlan-id> Enters config-vlan mode for the specified VLAN. Creates the VLAN, if necessary. C 13 fixed <port-list> Specifies the port(s) to be a permanent member of this VLAN group. C 13 no fixed <port-list> Sets fixed port(s) to normal port(s). C 13 forbidden <port-list> Specifies the port(s) you want to prohibit from joining this VLAN group. C 13 no forbidden <port-list> Sets forbidden port(s) to normal port(s). C 13 inactive Disables the specified VLAN. C 13 no inactive Enables the specified VLAN. C 13 name <name-str> Specifies a name for identification purposes. <name-str>: 1-64 English keyboard characters C 13 normal <port-list> Specifies the port(s) to dynamically join this VLAN group using GVRP C 13 untagged <port-list> Specifies the port(s) you don’t want to tag all outgoing frames transmitted with this VLAN Group ID. C 13 no untagged <port-list> Specifies the port(s) you want to tag all outgoing frames transmitted with this VLAN Group ID. C 13 isolation Allows each port (in the specified VLAN) to communicate only with the CPU management port and the Gigabit uplink ports but not communicate with each other. C 13 no isolation Disables port isolation on the specified VLAN. C 13 protovlan Enables this protocol based VLAN. C 13 no protovlan Disables this protocol based VLAN. C 13 limitMAC <numbers> Limits the the number of (dynamic) MAC addresses learned in the same VLAN. numbers: 1~4000 or 1~16384. This may vary depending on the device model. C 13 help Provides more information about the specified command. C 13 ip address <ip-address> <mask> [manageable] Sets the IP address and subnet mask of the Switch in the specified VLAN. manageable: add this option to have the Switch allow not only ICMP but also FTP, HTTP, SNMP and Telnet access to the IP address for management purposes. Without adding this, the Switch denies management traffic except ICMP packets accessing the IP address. C 13 298 VES Switch CLI Reference Guide