XG700 User's Guide
41/266
All Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
4.7 VLAN
VLAN (Virtual LAN) is a technology that divides a single network into virtually separated networks.
VLAN divides a network into multiple network segmentations, without changing the network physically. This configures a
network domain independent from other VLANs. VLAN can change network configuration easily without changing physical
cable connections, It can create a flexible network system.
As a VLAN protocol, port-based VLAN or Tag-based (IEEE802.1Q) VLAN is available for the XG700.
4.7.1 Port-Based VLAN
Port-based VLAN is a method to configure a VLAN for each port, with forwarding based on the destination MAC addresses and
related port.
To configure a port-based VLAN, carry out the following procedures in the administrator EXEC mode.
Command
Task
xg# configure terminal
Switch to global configuration mode.
xg(config)# vlan <1-4094> [ name VLAN_NAME ]
Create a VLAN to use.
xg(config)# vlan-statistics collection <1-4094>
[ <1-4094> ]
(Optional)
Configure a VLAN that collects statistics.
xg(config)# interface port 1 2 3
(interface port range 1 3)
Switch to interface edit mode for the port for which you
want to configure the port-based VLAN.
In this example, the global interface configuration mode
is selected for ports 1 through 3.
xg(config-if)# port-vlan-id vlan <1-4094>
Set the default port VLAN ID for each port.
xg(config-if)# ingress-filter tagged-frame
xg(config-if)# ingress-filter untagged-frame
(Optional)
Define a filter on frames received (tagged and untagged
frames) if necessary.
xg(config-if)# exit
Exit to global configuration mode.
xg(config)# exit
Exit to administrator EXEC mode.
xg# show interface
View the port state.
Check the information displayed in [Port Default Vlan
ID] under command output [Vlan Information].
xg# show vlan
View the port's VLAN membership state.