VLAN Commands
4-159
4
spaces; use a hyphen to designate a range of IDs. Do not enter leading
zeros. (Range: 1-4093).
Default Setting
No VLANs are included in the forbidden list.
Command Mode
Interface Configuration (Ethernet, Port Channel)
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.
Default Setting
Shows all VLANs.
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-159
show interfaces status vlan
Displays status for the specified VLAN interface
NE, PE
4-117
show interfaces switchport
Displays the administrative and operational status of
an interface
NE, PE
4-119
Summary of Contents for 8124PL2
Page 1: ...MANAGEMENT GUIDE TigerSwitchTM 10 100 1000 24 Port Managed Switch with PoE SMC8124PL2 ...
Page 2: ......
Page 20: ...xvi Contents ...
Page 27: ...xxiii Figures ...
Page 35: ...Introduction 1 8 1 ...
Page 45: ...Initial Configuration 2 10 2 ...
Page 148: ...Port Configuration 3 103 Figure 3 61 Displaying Etherlike and RMON Statistics ...
Page 473: ...Command Line Interface 4 240 4 ...
Page 477: ...Software Specifications A 4 A ...
Page 489: ...Index Index 4 menu list 3 3 panel display 3 3 ...
Page 490: ......