Displaying Vlan Information - Planet SGSD-1022 User Manual

Layer 2 managed switches
Hide thumbs Also See for SGSD-1022:
Table of Contents

Advertisement

VLANs for that same interface.
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)#

5.21.4 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-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
Example
The following example shows how to display information for VLAN 1:
Console#show vlan id 1
Default VLAN ID : 1
VLAN ID:
Type:
Function
Shows VLAN information
Displays status for the specified VLAN interface
Displays the administrative and operational status of an
interface
Table 5-70 Show VLAN Command
1
Static
User's Manual of SGSD-1022 / SGSD-1022P
574
SGSW-2840 / SGSW-2840P
Mode
NE, PE
NE, PE
NE, PE

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sgsw-2840Sgsd-1022pSgsw-2840pSgsw-2840rSgsw-2840p4

Table of Contents