Example

The following example shows how to prevent port SNP1 from being added to VLAN 3:

Console(config)#interface ethernet SNP1

Console(config-if)#switchport forbidden vlan add 3

Console(config-if)#

4.3.12.10show vlan

Use this command to show VLAN information.

Syntax

show vlan [id vlan-idname 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 15 characters.

Default Setting

Shows all VLANs.

Command Mode

Normal Exec, Privileged Exec

4-130Sun Fire B1600 Blade System Chassis Switch Administration Guide • June 2003

Page 328
Image 328
Sunfire B1600 manual Show vlan