ZyXEL Communications ES-2024PWR Switch User Manual


 
Chapter 49 Protocol-based VLAN Commands
Ethernet Switch CLI Reference Guide
184
49.3 Command Examples
This example creates an IP based VLAN called IP_VLAN on ports 1-4 with a VLAN ID of
200 and a priority 6.
protocol-based-vlan name
<name> ethernet-type <ether-
num|ip|ipx|arp|rarp|appleta
lk|decnet> vlan <vlan-id>
priority <0-7>
Creates a protocol based VLAN with the specified
parameters.
name - Use up to 32 alphanumeric characters.
ether-num - if you don’t select a predefined Ethernet
protocol (ip, ipx, arp, rarp, appletalk or decnet), type
the protocol number in hexadecimal notationwith a prefix,
"0x". For example, type 0x0800 for the IP protocol and type
0x8137 for the Novell IPX protocol.
Note: Protocols in the hexadecimal number range
0x0000 to 0x05ff are not allowed.
priority - specify the IEEE 802.1p priority that the Switch
assigns to frames belonging to this VLAN.
C13
no protocol-based-vlan
ethernet-type <ether-
num|ip|ipx|arp|rarp|appleta
lk|decnet>
Disables protocol based VLAN of the specified protocol on
the port.
C13
Table 104 protocol-based-vlan Command Summary (continued)
COMMAND DESCRIPTION M P
sysname(config)# interface port-channel 1-4
sysname(config-interface)# protocol-based-vlan name IP_VLAN ethernet-type ip
--> vlan 200 priority 6
sysname(config-interface)# exit
sysname(config)# exit
sysname# show interfaces config 1-4 protocol-based-vlan
Name Port Packet type Ethernet type Vlan Priority Active
------- ---- ----------- ------------- ---- -------- ------
IP_VLAN 1 EtherII ip 200 6 Yes
IP_VLAN 2 EtherII ip 200 6 Yes
IP_VLAN 3 EtherII ip 200 6 Yes
IP_VLAN 4 EtherII ip 200 6 Yes
sysname#