VLAN C
OMMANDS
Example
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)#
Displaying VLAN Information
This section describes commands used to display VLAN information.
Table 30-5 Commands for Displaying VLAN Information
Command
show vlan
show interfaces status
vlan
show interfaces
switchport
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.
Command Mode
Normal Exec, Privileged Exec
30-16
Function
Shows VLAN information
Displays status for the specified VLAN
interface
Displays the administrative and
operational status of an interface
Mode Page
NE,
30-16
PE
NE,
24-12
PE
NE,
24-15
PE
Need help?
Do you have a question about the TigerStack II SMC8848M and is the answer not in the manual?
Questions and answers