Show Command on CISCO Router/Switch

Command

Show

Use

This is the legacy way to view VLANs configured on a switch. While this mode is being depreciated, you will still encounter it on older switches or routers with switch modules. On newer IOS releases, use the show vlan command.

Syntax

Switch(vlan)#show
OR
Switch(vlan)#show <changes or current or proposed>

Options

<changes> Only shows changes to the VLAN database
<current> Shows how the VLAN database is configured as of the last save
<proposed> Shows the VLAN database, including the current changes

Example

In this example we will explore the differences in the various show commands. First we will add and remove a vlan on the database. Then we will try out the different showcommands before we save.

2950-XL#vlan database
2950-XL(vlan)#no vlan 55
Deleting VLAN 55…

2950-XL(vlan)#vlan 70
VLAN 70 added:
Name: VLAN0070

Looking at show changes we see our two changes to the VLAN database.

2950-XL(vlan)#show changes
DELETED:
VLAN ISL Id: 55
Name: MANAGEMENT
Media Type: Ethernet
VLAN 802.10 Id: 100055
State: Operational
MTU: 1500

ADDED:
VLAN ISL Id: 70
Name: VLAN0070
Media Type: Ethernet
VLAN 802.10 Id: 100070
State: Operational
MTU: 1500

Looking at show current, we see that VLAN 55 still exists and VLAN 70 doesn’t, This is because we haven’t saved yet.

2950-XL(vlan)#show current
VLAN ISL Id: 1
Name: default
Media Type: Ethernet
VLAN 802.10 Id: 100001
State: Operational
MTU: 1500
Translational Bridged VLAN: 1002
Translational Bridged VLAN: 1003
VLAN ISL Id: 55
Name: MANAGEMENT
Media Type: Ethernet
VLAN 802.10 Id: 100055
State: Operational
MTU: 1500

VLAN ISL Id: 1002
Name: fddi-default
Media Type: FDDI
VLAN 802.10 Id: 101002
State: Operational
MTU: 1500
Bridge Type: SRB
Translational Bridged VLAN: 1
Translational Bridged VLAN: 1003

VLAN ISL Id: 1003
Name: token-ring-default
Media Type: Token Ring
VLAN 802.10 Id: 101003
State: Operational
MTU: 1500
Bridge Type: SRB
Ring Number: 0
Bridge Number: 1
Parent VLAN: 1005
Maximum ARE Hop Count: 7
Maximum STE Hop Count: 7
Backup CRF Mode: Disabled
Translational Bridged VLAN: 1
Translational Bridged VLAN: 1002

VLAN ISL Id: 1004
Name: fddinet-default
Media Type: FDDI Net
VLAN 802.10 Id: 101004
State: Operational
MTU: 1500
Bridge Type: SRB
Bridge Number: 1
STP Type: IBM

VLAN ISL Id: 1005
Name: trnet-default
Media Type: Token Ring Net
VLAN 802.10 Id: 101005
State: Operational
MTU: 1500
Bridge Type: SRB
Bridge Number: 1
STP Type: IBM

Finally, looking at show or show proposed, we see how the final modifiations would look. Notice that VLAN 70 exists and VLAN 55 is gone.

2950-XL(vlan)#show changes
DELETED:
VLAN ISL Id: 55
Name: MANAGEMENT
Media Type: Ethernet
VLAN 802.10 Id: 100055
State: Operational
MTU: 1500

ADDED:
VLAN ISL Id: 70
Name: VLAN0070
Media Type: Ethernet
VLAN 802.10 Id: 100070
State: Operational
MTU: 1500
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x