Chapter 36: VLAN Commands
GVRP and Bridge Extension Commands
– 1082 –
add
vlan-list
- List of VLAN identifiers to add.
remove
vlan-list
- List of VLAN identifiers to remove.
vlan-list
- Separate nonconsecutive VLAN identifiers with a comma
and no spaces; use a hyphen to designate a range of IDs.
(Range: 1-4094).
D
EFAULT
S
ETTING
No VLANs are included in the forbidden list.
C
OMMAND
M
ODE
Interface Configuration (Ethernet, Port Channel)
C
OMMAND
U
SAGE
•
This command prevents a VLAN from being automatically added to the
specified interface via GVRP.
•
If a VLAN has been added to the set of allowed VLANs for an interface,
then you cannot add it to the set of forbidden VLANs for that same
interface.
•
GVRP cannot be enabled for ports set to Access mode (see the
command).
E
XAMPLE
The following example shows how to prevent port 1 from being added to
VLAN 3:
Console(config)#interface ethernet 1/1
Console(config-if)#switchport forbidden vlan add 3
Console(config-if)#
switchport gvrp
This command enables GVRP for a port. Use the
no
form to disable it.
S
YNTAX
[
no
]
switchport gvrp
D
EFAULT
S
ETTING
Disabled
C
OMMAND
M
ODE
Interface Configuration (Ethernet, Port Channel)
C
OMMAND
U
SAGE
GVRP cannot be enabled for ports set to Access mode using the
Summary of Contents for SSE-G2252
Page 42: ...44 General IP Routing on page 627...
Page 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Page 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Page 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Page 1007: ...Chapter 33 Address Table Commands 1019...
Page 1137: ...Chapter 38 Quality of Service Commands 1150...