Zyxel OLT2412 [100/326] Protocol based vlan command examples

Zyxel OLT2412 [100/326] Protocol based vlan command examples
Chapter 9 VLAN
OLT2412 User’s Guide
100
9.12.2 Protocol Based VLAN Command Examples
This example creates a VLAN rule based on the IP Ethernet protocol and named IP_VLAN on ports
ge-5-1 ~ ge-5-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> inactive
Creates a disabled 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 notation with 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 OLT assigns
to frames belonging to this VLAN.
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.
Table 48 Protocol Based VLAN Commands (continued)
COMMAND DESCRIPTION
OLT2412(config)# interface port-channel ge-5-1&&-4
OLT2412(config-interface)# protocol-based-vlan name IP_VLAN ethernet-type ip vlan 200 priority 6
OLT2412(config-interface)# exit
OLT2412(config)# exit
OLT2412# show interfaces config ge-5-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

Содержание