![background image](http://html1.mh-extra.com/html/smc-networks/8708l2/8708l2_management-manual_1300245529.webp)
VLAN C
OMMANDS
4-239
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-4094, 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.
Command Mode
Normal Exec, Privileged Exec
Console(config)#interface ethernet 1/1
Console(config-if)#switchport forbidden vlan add 3
Console(config-if)#
Table 4-58 Displaying VLAN Information
Command
Function
Mode
Page
show vlan
Shows VLAN information
NE, PE 4-239
show interfaces
status vlan
Displays status for the specified VLAN
interface
NE, PE 4-177
show interfaces
switchport
Displays the administrative and
operational status of an interface
NE, PE 4-180
Summary of Contents for 8708L2
Page 2: ......
Page 24: ...TABLES xxiv ...
Page 28: ...FIGURES xxviii ...
Page 290: ...CONFIGURING THE SWITCH 3 238 ...
Page 584: ...COMMAND LINE INTERFACE 4 294 ...
Page 592: ...TROUBLESHOOTING B 4 ...
Page 605: ......