|
|
2 2
Use the show version command to display software, hardware, and web interface version information.
show version [mod]
Syntax Description
mod (Optional) Number of the module.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display the software and hardware versions:
Console> show version
WS-C6009 Software, Version NmpSW: 5.5(1)
Copyright (c) 1995-2000 by Cisco Systems
NMP S/W compiled on Feb 16 2000, 08:37:13
System Bootstrap Version: 5.2(1)
Hardware Version: 1.0 Model: WS-C6009 Serial #: SCA030900JA
Mod Port Model Serial # Versions
--- ---- ------------------- ----------- --------------------------------------
1 2 WS-X6K-SUP1A-2GE SAD03392376 Hw : 1.0
Fw : 5.2(1)
Fw1: 5.1(1)CSX
Sw : 5.5(1)
Sw1: 5.5(1)
2 1 WS-X6380-NAM JAB0343055Y Hw : 0.201
Fw : 4.2(0.24)DAY68
Sw : 5.5(1)
5 48 WS-X6248-RJ-45 SAD03181291 Hw : 1.0
Fw : 4.2(0.24)VAI78
Sw : 5.5(1)
DRAM FLASH NVRAM
Module Total Used Free Total Used Free Total Used Free
------ ------- ------- ------- ------- ------- ------- ----- ----- -----
1 65408K 37576K 27832K 16384K 12925K 3459K 512K 222K 290K
Uptime is 4 days, 7 hours, 15 minutes
Console> (enable)
This example show how to display version information for a specific module:
Console> (enable) show version 2
Mod Port Model Serial # Versions
--- ---- ------------------- ----------- --------------------------------------
9 48 WS-X6348 SAD03414268 Hw :0.201
Fw :5.3(1)
Sw :5.5(1)
WS-F6K-VPWR Hw :1.0
Console> (enable)
Table 2-67 describes the fields in the show version command output.
| Field | Description |
|---|---|
NmpSW | Version number of the NMP software. |
NMP S/W compiled on | Date and time that the NMP software was compiled. |
System Bootstrap Version | System bootstrap version number. |
Web Interface Version | Web interface version number. |
Hardware Version | Hardware version number. |
Model | Switch model number. |
Serial # | Switch serial number. |
Module | Module number. |
Port | Number of ports on the module. |
Model | Model number of the module. |
Serial # | Serial number of the module. |
Versions | Hardware, software, and firmware versions of the module. |
Hw | Hardware version of the module. |
Fw | Version of the boot code (for switching modules) or bootstrap (for the supervisor engine). |
Fw1 | Version of the firmware boot code (on the supervisor engine). |
Sw | Version of the firmware runtime installed (on the switching module) or the software version (on the supervisor engine). |
Sw1 | Version of the firmware runtime (on the supervisor engine). |
DRAM Total | Total dynamic RAM installed on the module. |
Used | Amount of DRAM in use. |
Free | Amount of available DRAM. |
FLASH Total | Total Flash memory installed on the module. |
Used | Amount of Flash memory in use. |
Free | Amount of available Flash memory. |
NVRAM Total | Total NVRAM installed on the module. |
Used | Amount of NVRAM in use. |
Free | Amount of available NVRAM. |
Uptime is | Number of uninterrupted days, hours, minutes, and seconds the system has been up and running. |
Use the show vlan command set to display VLAN information.
show vlan [trunk]
Syntax Description
trunk (Optional) Keyword to force the display to show information only on trunk ports. vlan Number of the VLAN. notrunk (Optional) Keyword to force the display to show information only on nontrunk ports. mapping Keyword to display VLAN mapping table information. type Type of the VLAN; valid values are ethernet, fddi, fddinet, trbrf, or trcrf.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
Each Ethernet switch port and Ethernet repeater group belong to only one VLAN. Trunk ports can be on multiple VLANs.
If you do not specify the VLAN number, all VLANs are displayed.
Examples
This example shows how to display information for all VLAN trunks:
Console> show vlan trunk
VLAN Name Status IfIndex Mod/Ports, Vlans
---- -------------------------------- --------- ------- ------------------------
1 default active 5 2/1-2
6/4-8
10 VLAN0010 active 18 6/1,6/3
11 VLAN0011 active 19 6/2
20 VLAN0020 active 20
21 VLAN0021 active 21
30 VLAN0030 active 22
31 VLAN0031 active 23
1002 fddi-default active 6
1003 token-ring-default active 9
1004 fddinet-default active 7
1005 trnet-default active 8 8
VLAN Type SAID MTU Parent RingNo BrdgNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
10 enet 100010 1500 - - - - - 0 0
11 enet 100011 1500 - - - - - 0 0
20 enet 100020 1500 - - - - - 0 0
21 enet 100021 1500 - - - - - 0 0
30 enet 100030 1500 - - - - - 0 0
31 enet 100031 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 trcrf 101003 1500 0 0x0 - - - 0 0
1004 fdnet 101004 1500 - - 0x0 ieee - 0 0
1005 trbrf 101005 1500 - - 0x0 ibm - 0 0
VLAN DynCreated RSPAN
---- ---------- --------
1 static disabled
10 static disabled
11 static disabled
20 static disabled
21 static disabled
30 static disabled
31 static disabled
1002 static disabled
1003 static disabled
1004 static disabled
1005 static disabled
VLAN AREHops STEHops Backup CRF 1q VLAN
---- ------- ------- ---------- -------
1003 7 7 off
Primary Secondary Secondary-Type Ports
------- --------- -------------- ------------
10 20 isolated 6/1,6/3
11 21 isolated 6/2
30 - -
- 31 isolated
This example shows how to display the VLAN mapping table information:
Console>show vlan mapping802.1q vlan ISL vlan Effective------------------------------------------3000 300 trueConsole>
This example shows how to display information for a specific VLAN and type:
Console> show vlan 2 fddi
VLAN Name Status IfIndex Mod/Ports, Vlans
---- -------------------------------- --------- ------- ------------------------
1002 fddi-default active 6
VLAN Type SAID MTU Parent RingNo BrdgNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
1002 fddi 101002 1500 - - - - - 0 0
VLAN DynCreated RSPAN
---- ---------- --------
2 static disabled
Console>
This example shows how to display information for nontrunk ports only on a specific VLAN:
Console> (enable) show vlan 2 notrunk VLAN Name Status IfIndex Mod/Ports, Vlans ---- -------------------------------- --------- ------- ------------------------ 2 VLAN0002 active 60 VLAN Type SAID MTU Parent RingNo BrdgNo Stp BrdgMode Trans1 Trans2 ---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------ 2 enet 100002 1500 - - - - - 0 0 VLAN DynCreated RSPAN ---- ---------- -------- 2 static disabled VLAN AREHops STEHops Backup CRF 1q VLAN ---- ------- ------- ---------- ------- Console>
Table 2-68 describes the fields in the show vlan command output.
| Field | Description |
|---|---|
VLAN | VLAN number. |
Name | Name, if configured, of the VLAN. |
Status | Status of the VLAN (active or suspend). |
IfIndex | Number of the ifIndex. |
Mod/Ports, VLANs | Ports that belong to the VLAN. |
Type | Media type of the VLAN. |
SAID | Security association ID value for the VLAN. |
MTU | Maximum transmission unit size for the VLAN. |
Parent | Parent VLAN, if one exists. |
RingNo | Ring number for the VLAN, if applicable. |
BrdgNo | Bridge number for the VLAN, if applicable. |
Stp | Spanning Tree Protocol type used on the VLAN. |
BrdgMode | Bridging mode for this VLAN. Possible values are SRB and SRT; the default is SRB. |
DynCreated | Status of whether the VLAN is created statically or dynamically. |
RSPAN | Status of whether RSPAN is enabled or disabled. |
AREHops | Maximum number of hops for All-Routes Explorer frames. Possible values are 1 through 13; the default is 7. |
STEHops | Maximum number of hops for Spanning Tree Explorer frames. Possible values are 1 through 13; the default is 7. |
Backup CRF | Status of whether the TrCRF is a backup path for traffic. |
802.1Q Vlan | Number of the 802.1Q VLAN. |
ISL Vlan | Number of the ISL VLAN. |
Effective | Status of the VLAN. If the VLAN is active and its type is Ethernet, true is displayed; if not, false is displayed. |
Primary | Number of the primary VLAN in a private VLAN. |
Secondary | Number of the secondary VLAN in a private VLAN. |
Secondary-Type | Type of secondary VLAN port. Possible values are isolated, community, or -. |
Ports | Number of the module and ports associated to a specific private VLAN pair. |
Related Commands
Use the show voicevlan command to show the voice information for a specific VLAN.
show voicevlan {mod/port | vlan}
Syntax Description
mod/port Number of the module and port on the module. vlan Number of the voice VLAN; valid values are from 1 to 4094.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Usage Guidelines
The following information is displayed for the ports specified:
Examples
This example shows how to display the ports associated with a specific voice VLAN:
Console>show voicevlan 2993V-VLAN Mod/Ports------ -----------------------2993 2/1-6,3/4-8,5-2-25Console>
This example shows how to display voice VLAN information for a specific module and range of ports:
Console>show voicevlan 3/4-6Port V-VLAN Mode----- -------------- ----3/4 untagged off3/5 2993 on3/6 802.1p onConsole>
Related Commands
Use the show vtp domain command to display VTP domain information.
show vtp domainSyntax Description
This command has no keywords or arguments.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display VTP domain information:
Console> show vtp domain
Domain Name Domain Index VTP Version Local Mode Password
-------------------------------- ------------ ----------- ----------- ----------
1 2 server -
Vlan-count Max-vlan-storage Config Revision Notifications
---------- ---------------- --------------- -------------
15 1023 5 disabled
Last Updater V2 Mode Pruning PruneEligible on Vlans
--------------- ------- -------- -------------------------
172.20.44.30 enabled disabled 2-1000
Console>
Table 2-69 describes the fields in the show vtp domain command output.
| Field | Description |
|---|---|
Domain Name | Name of the VTP domain. |
Domain Index | Domain index number of the domain. |
VTP Version | VTP version number. |
Local Mode | VTP mode (server, client, or transparent). |
Password | Password required or not. |
Vlan-count | Total number of VLANs in the domain. |
Max-vlan-storage | Maximum number of VLANs allowed on the device. |
Config Revision | VTP revision number used to exchange VLAN information. |
Notifications | Notifications to SNMP (enabled or disabled). |
Last Updater | IP address through which VTP was last updated. |
V2 Mode | Status on whether VTP V2 mode is enabled or disabled. |
Pruning | Status on whether VTP pruning is enabled or disabled. |
PruneEligible on Vlans | VLANs on which pruning is allowed. |
Related Commands
Use the show vtp statistics command to display VTP statistics.
show vtp statisticsSyntax Description
This command has no keywords or arguments.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Normal.
Examples
This example shows how to display VTP statistics:
Console> show vtp statistics
Console> (enable) show vtp statistics
VTP statistics:
summary advts received 0
subset advts received 0
request advts received 0
summary advts transmitted 72
subset advts transmitted 7
request advts transmitted 0
No of config revision errors 0
No of config digest errors 0
VTP pruning statistics:
Trunk Join Transmitted Join Received Summary advts received GVRP PDU Received
from non-pruning-capable
device
----- ---------------- -------------- ------------------------- ----------------
4/2 0 0 0 0
Table 2-70 describes the fields in the show vtp statistics command output.
| Field | Description |
|---|---|
summary advts received | Total number of summary advts received. |
subset advts received | Total number of subset advts received. |
request advts received | Total number of request advts received. |
summary advts transmitted | Total number of summary advts transmitted. |
subset advts transmitted | Total number of subset advts transmitted. |
request advts transmitted | Total number of request advts transmitted. |
No of config revision errors | Number of config revision errors. |
No of config digest errors | Number of config revision digest errors. |
Trunk | Trunk port participating in VTP pruning. |
Join Transmitted | Number of VTP-Pruning Joins transmitted. |
Join Received | Number of VTP-Pruning Joins received. |
Summary advts received from nonpruning- capable device | Number of Summary advts received from nonpruning-capable devices. |
GVRP PDU Received | Number of GVRP messages received on VTP trunks. |
Related Commands
Use the slip command to attach or detach SLIP for the console port.
slip {attach | detach}
Syntax Description
attach Keyword to activate SLIP for the console port. detach Keyword to deactivate SLIP for the console port.
Defaults
The default is SLIP is not active (detached).
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
You can use the slip command from a console port session or a Telnet session.
Examples
This example shows how to enable SLIP for a console port during a console port session:
Console> (enable) slip attach Console port now running SLIP. <console port running SLIP>
This example shows how to disable SLIP for a console port during a Telnet session:
Console> (enable) slip detach SLIP detached on Console port. <console port back to RS-232 Console> Console> (enable)
Related Commands
Use the squeeze command to delete Flash files permanently.
squeeze [m/]device:
Syntax Description
m/ (Optional) Module number of the supervisor engine containing the Flash device. device: Device where the Flash resides.
Defaults
This command has no default setting.
Command Types
Switch command.
Command Modes
Privileged.
Usage Guidelines
A colon (:) is required after the specified device.
Examples
These examples show how to use the squeeze command to delete the slot0 Flash files and then use the show flash command to confirm the deletion:
Console> squeeze slot0: All deleted files will be removed, proceed (y/n) [n]?y Squeeze operation may take a while, proceed (y/n) [n]?y .......................................................... Console> show flash -#- ED --type-- --crc--- -seek-- nlen -length- -----date/time------ name 1 .. 2 f3a3e7c1 607f80 24 6061822 Mar 31 2000 15:42:49 cat6000-sup. 5-5-1.bin 7336000 bytes available (1052608 bytes used) Console>
Related Commands
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Aug 23 13:27:12 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.