Displaying vlan information, Show vlan, Displaying vlan information -206 – SMC Networks SMC Tiger 10/100 SMC6128L2 User Manual
Page 506: Show vlan -206, Table 4-57 displaying vlan information -206, Show vlan (4 -206)

C
OMMAND
L
INE
I
NTERFACE
4-206
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
show interfaces status
vlan
Displays status for the specified VLAN
interface
NE,
PE
show interfaces
switchport
Displays the administrative and
operational status of an interface
NE,
PE