ZyXEL Communications n/a Modem User Manual


 
Chapter 3 IEEE 802.1Q/1P Commands
DSL & IAD CLI Reference Guide
34
3.2 Command Examples
This example loads the IEEE 802.1Q settings and enables the IEEE 802.1Q feature on the
ZyXEL Device.
This example sets the port VLAN ID of Ethernet LAN port 4 to 123.
This example adds Ethernet LAN port 2 and WLAN 2 to VLAN group 2. The VLAN ID of
this group is “111”. This example also displays and saves the current IEEE 802.1Q settings.
ras> 8021Q load
ras> 8021Q active 1
set 802.1Q active
ras>
ras> 8021Q setpvid LAN 4 123
ras>
ras> 8021Q groupset 2 111 LAN 2 WLAN 2 u
ras> 8021Q disp
802.1Q is: Enabled
Management VID: 1
--------------------------------------------------------
PVID:
LAN1: 2 LAN2: 2 LAN3: 3 LAN4:123 SSID1: 4 SSID2: 4 SSID3: 4 SSID4: 4
PVC1: 1 PVC2: 1 PVC3: 1 PVC4: 1 PVC5: 1 PVC6: 1 PVC7: 1 PVC8: 1
Priority:
LAN1: 7 LAN2: 7 LAN3: 2 LAN4: 2 SSID1: 5 SSID2: 5 SSID3: 5 SSID4: 5
PVC1:-1 PVC2:-1 PVC3:-1 PVC4:-1 PVC5:-1 PVC6:-1 PVC7:-1 PVC8:-1
========================================================
VLAN Group Setting: (u-untagged t-tagged)
Group 1 VID: 1 LAN: 1 u 2 u 3 u 4 u
WLAN: 1 u 2 u 3 u 4 u
PVC: 1 u 2 u 3 u 4 u 5 u 6 u 7 u 8 u
Group 2 VID: 111 LAN: 2 u
WLAN: 2 u
PVC:
Group 3 VID: 3 LAN: 3 u 4 u
WLAN:
PVC: 2 u
Group 4 VID: 4 LAN:
WLAN: 1 u 2 u
PVC: 3 u
ras> 8021Q save
ras>