Command Line Interface
4-262
4
Displaying VLAN Information
show vlan
This command shows VLAN information.
Syntax
show vlan
[
id
vlan-id
|
name
vlan-name
|
private-vlan
[
private-vlan-type
]]
•
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.
•
private-vlan
- For an explanation of this command see “show vlan
private-vlan-type -
Indicates the private vlan type.
(Options: community, primary)
Default Setting
Shows all VLANs.
Command Mode
Normal Exec, Privileged Exec
Example
The following example shows how to display information for VLAN 1:
Table 4-72 Show VLAN Commands
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
Console#show vlan id 1
Default VLAN ID : 1
VLAN ID: 1
Type: Static
Name: DefaultVlan
Status: Active
Ports/Port Channels: Eth1/ 1(S) Eth1/ 2(S) Eth1/ 3(S) Eth1/ 4(S) Eth1/ 5(S)
Eth1/ 6(S) Eth1/ 7(S) Eth1/ 8(S) Eth1/ 9(S) Eth1/10(S)
Eth1/11(S) Eth1/12(S) Eth1/13(S) Eth1/14(S) Eth1/15(S)
Eth1/16(S) Eth1/17(S) Eth1/18(S) Eth1/19(S) Eth1/20(S)
Eth1/21(S) Eth1/22(S) Eth1/23(S) Eth1/24(S)
Console#
Summary of Contents for iES4024GP
Page 1: ...iES4028F 4028FP 4024GP ...
Page 4: ...iv This page is intentionally left blank ...
Page 10: ...x This page is intentionally left blank ...
Page 28: ...Contents xxviii This page is intentionally left blank ...
Page 32: ...Tables xxxii This page is intentionally left blank ...
Page 46: ...Introduction 1 10 1 This page is intentionally left blank ...
Page 336: ...Configuring the Switch 3 280 3 This page is intentionally left blank ...
Page 688: ...Command Line Interface 4 352 4 This page is intentionally left blank ...
Page 702: ...Glossary Glossary 8 This page is intentionally left blank ...
Page 710: ...Index 8 Index This page is intentionally left blank ...
Page 711: ...This page is intentionally left blank ...
Page 712: ...iES4028F 4028FP 4024GP ...