
XG700 User's Guide
147/266
All Rights Reserved, Copyright (C) PFU LIMITED 2005-2006
5.11.4 vlan-member allowed
Function
Registers a port as a VLAN membership.
Use the no form to release the VLAN membership.
Prompt
xg(config-if)#, or xg(config-agg)#
Command syntax
vlan-member allowed vlan { <1-4094> | all } { egress-untagging | egress-tagging }
no vlan-member allowed vlan { <1-4094> | all }
Parameter
vlan <1-4094>
Specifies a VLAN ID (or VID) for membership registration or VLAN ID deletion. The VID can be an integer of 1 to 4094.
vlan all
Registers or deletes member ports of all registered VLANs.
egress-untagging
Deletes a VLAN tag during frame transmission.
egress-tagging
Adds a VLAN tag during frame transmission.
Command type
Configuration command
Default
Registers all ports with “egress-untagging” setup (the default VLAN).
Not set (except for the default VLAN)
Message
% VLAN %1$ not configured. %2$
Explanation
The specified VLAN has not been created.
[[Inserted string]]%1$: VID
[[Inserted string]]%2$: Port number
Solution
Create a VLAN first, then reissue the command.
% Can't remove vlan from port. Same pvid entry. %1$
Explanation
You cannot delete the specified VID as it is identical to the default PVID.
[[Inserted string]]%1$: Port number
Solution
Change the default PVID and reissue the command.
Example
Enter the interface edit mode for ports 1 to 3 and register those ports as VLAN membership (with tags) of VID 3.
Then, use the “show” command to display the VLAN information. You can check that ports 1 to 3 have been registered as the
VLAN membership of VID 3.
xg(config)# interface port range 1 3
xg(config-if)# vlan-member allowed vlan 3 egress-tagging
xg(config-if)# exit
xg(config)# exit
xg# show vlan
Vlan Information 2005/08/22-12:12:15
==========================================================================
Vlan Vlan-name Port-Membership
1 2 3 4 5 6 7 8 9 10 11 12
---- ---------------- -- -- -- -- -- -- -- -- -- -- --
1 default-vlan U U U U U U U U U U U U
2 vlan-floor1 - - - - - - - - - - - -
3 vlan-floor2 M M M - - - - - - - - -
==========================================================================