DES-1228/ME Layer 2 Metro Ethernet Switch CLI Reference Manual
122
config vlan vlanid
The
name
parameter allows you to specify the name of the VLAN that needs to be
modified.
Parameters
<vidlist>
−
Specifies a range of multiple VLAN IDs to be configured.
tagged
−
Specifies the additional ports as tagged.
untagged
−
Specifies the additional ports as untagged.
forbidden
−
Specifies the additional ports as forbidden.
<portlist>
−
A range of ports to add to the VLAN.
advertisement
−
Entering the advertisement parameter specifies if the port should join
GVRP or not. There are two parameters:
enable
−
Specifies that the port should join GVRP.
Disable
−
Specifies that the port should not join GVRP.
name
−
Entering the name parameter specifies the name of the VLAN to be modified.
<name>
−
Enter a name for the VLAN
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To config vlan vlanid on the switch:
DES-1228/ME:4#config vlan vlanid 5 add tagged 7 advertisement enable name RG
Command: config vlan vlanid 5 add tagged 7 advertisement enable name RG
Success.
DES-1228/ME:4#
config gvrp
Purpose
Used to configure GVRP on the Switch.
Syntax
config gvrp [<portlist> | all] {state [enable | disable]|ingress_checking [enable |
disable] | acceptable_frame [tagged_only | admit_all]|pvid <vlanid 1-4094>}(1)
Description
This command is used to configure the Group VLAN Registration Protocol on the Switch.
Ingress checking, the sending and receiving of GVRP information, and the Port VLAN ID
(PVID) can be configured.
Parameters
<portlist>
−
A port or range of ports for which users want to enable GVRP for.
all
−
Specifies all of the ports on the Switch.
state [enable | disable]
−
Enables or disables GVRP for the ports specified in the port list.
ingress_checking [enable | disable]
−
Enables or disables ingress checking for the
specified port list.
acceptable_frame [tagged_only | admit_all]
– This parameter states the frame type that
will be accepted by the Switch for this function.
tagged_only
implies that only VLAN tagged
frames will be accepted, while
admit_all
implies tagged and untagged frames will be
accepted by the Switch.
pvid
<vlanid 1-4094>
– Specifies the default VLAN associated with the port.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To set the ingress checking status, the sending and receiving GVRP information:
DES-1228/ME:4#config gvrp 1-4 state enable ingress_checking enable acceptable_frame
tagged_only pvid 2
Command: config gvrp 1-4 state enable ingress_checking enable acceptable_frame