Fujitsu XG2000 Switch User Manual


 
XG2000 series User's Guide
41/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
4.7 VLAN
VLAN (Virtual LAN) is a technology that divides a single network into virtually separated networks.
VLANs are separate logical networks within one physical network. A VLAN capable switch can change and define new LAN
network configurations without changing physical cable connections. This creates a flexible and extensible network system.
The device provides for port-based or tag-based (IEEE802.1Q) VLANs.
4.7.1 Port-Based VLAN
Port-based VLAN is a method for configuring VLAN membership on a port basis. Forwarding is 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> [ description
VLAN_DESCRIPTION ]
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 to assign a port to the
desired 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
Verify the port state.
Check the information displayed in [Port Default Vlan
ID] under command output [Vlan Information].
xg# show vlan
Verify the port VLAN membership.