SMC Networks SMC6824M manual 240, Displaying Vlan Information, Show vlan

Models: SMC6824M

1 608
Download 608 pages 58 Kb
Page 532
Image 532

VLAN COMMANDS

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

Table 4-60 Displaying VLAN Information

Command

Function

Mode

Page

 

 

 

 

show vlan

Shows VLAN information

NE,

4-240

 

 

PE

 

 

 

 

 

show interfaces status

Displays status for the specified VLAN

NE,

4-179

vlan

interface

PE

 

 

 

 

 

show interfaces

Displays the administrative and operational

NE,

4-182

switchport

status of an interface

PE

 

 

 

 

 

show vlan

This command shows 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-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

4-240

Page 532
Image 532
SMC Networks SMC6824M manual 240, Displaying Vlan Information, Syntax Show vlan id vlan-idname vlan-name