C
OMMAND
L
INE
I
NTERFACE
4-208
Command Usage
• 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.
Example
The following example shows how to prevent port 1 from being added to
VLAN 3.
Displaying VLAN Information
show vlan
This command shows VLAN information.
Syntax
show vlan
[
id
vlan-id
|
name
vlan-name
]
•
id
- Keyword to be followed by the VLAN ID.
•
vlan-id
- ID of the configured VLAN. (Range: 1-4093, no leading
zeroes)
•
name
- Keyword to be followed by the VLAN name.
•
vlan-name
- ASCII string from 1 to 32 characters.
Console(config)#interface ethernet 1/1
Console(config-if)#switchport forbidden vlan add 3
Console(config-if)#
Table 4-57 Displaying VLAN Information
Command
Function
Mode Page
show vlan
Shows VLAN information
NE,
PE
4-208
show interfaces status
vlan
Displays status for the specified VLAN
interface
NE,
PE
4-153
show interfaces
switchport
Displays the administrative and
operational status of an interface
NE,
PE
4-156
Summary of Contents for 6152L2
Page 2: ......
Page 18: ...TABLES xiv ...
Page 32: ...INTRODUCTION 1 10 ...
Page 46: ...INITIAL CONFIGURATION 2 14 ...
Page 185: ...PORT CONFIGURATION 3 139 Figure 3 61 Displaying Etherlike and RMON Statistics ...
Page 249: ...QUALITY OF SERVICE 3 203 Figure 3 90 Configuring Policy Maps ...
Page 290: ...CONFIGURING THE SWITCH 3 244 ...
Page 303: ...COMMAND GROUPS 4 13 VC VLAN Database Configuration ...
Page 434: ...COMMAND LINE INTERFACE 4 144 ...
Page 568: ...TROUBLESHOOTING B 4 ...
Page 581: ......