Catalyst 4500 Series Command Reference, 7.5
show time through write terminal

Table Of Contents

show time

show timezone

show top

show top report

show trace

show traffic

show trunk

show udld

show users

show version—switch

show vlan

show vmps

show vmps mac

show vmps statistics

show vmps vlan

show vmps vlanports

show vtp domain

show vtp statistics

slip

sprom read

squeeze—ROM monitor

squeeze—switch

sync

telnet

test snmp trap

traceroute

unalias

undelete—ROM monitor

undelete—switch

unset=varname

upload

varname=

verify

version

wait

whichboot

write

write tech-support

write terminal


show time

To display the current time of day setting for the system clock, use the show time command.

show time

Syntax Description

This command has no keywords or arguments.

Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display the current time:

Console> show time
Thu Apr 15 1999, 02:54:50
Console> 

The output shows the day of the week, month, day, year, hour, minutes, and seconds.

Related Commands

set time

show timezone

To display the current time zone and any offset that has been configured, use the show timezone command.

show timezone

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display the current time zone and offset:

Console> show timezone
Timezone set to 'pst', offset from UTC is -8 hours
Console> 

Related Commands

clear timezone
set timezone

show top

To start the TopN process, use the show top command.

show top [N] [metric] [interval interval] [port_type] [background]

Syntax Description

N

(Optional) Number of ports displayed; valid values are from 1 to a maximum number of physical ports.

metric

(Optional) Port statistic to sort on; valid values are as follows:

util—utilization

bytes—in/out bytes

pkts—in/out packets

bcst—in/out broadcast packets

mcst—in/out multicast packets

errors—in errors

overflow—buffer overflow

interval

(Optional) Duration of sample (in seconds).

interval

(Optional) Number of seconds for sample. Valid values include 0, 10...999 seconds. If the value is 0, the N topmost ports by absolute counter values are displayed.

port_type

(Optional) Type of switch ports to use for report. Valid values are as follows:

all—all port types are used

eth—All Ethernet port types are used

10e—10 Mbps Ethernet ports types are used

fe—Fast Ethernet port types are used

ge—Gigabit Ethernet port types are used

background

(Optional) TopN report not to print to the screen when the task is done. Instead, send a notification out when the reports are ready.


Defaults

The default settings are as follows:

Number of ports displayed is 20

Port statistics to report on is util

Sample duration is 30 seconds

Switch port types is all

Command Types

Switch command

Command Modes

Normal

Usage Guidelines

You can terminate TopN processes with the background option specified only by using the clear top [report_num] command. You cannot terminate TopN processes by pressing Ctrl-C.

TopN reports with the background option specified are not displayed on the screen unless you enter a show top report [report_num] command.

If you do not specify the background option, the output TopN results are dumped to the screen when the task is done, and the results are printed one time only and are not saved.

You can terminate TopN processes (without the background option) by pressing Ctrl-C in the same Telnet or console session, or by entering a clear top [report_num] command from a separate Telnet or console session. The prompt is not printed before the TopN report is displayed completely. Other commands are blocked until the report has displayed.

Examples

This example shows how to start the TopN process with the background option:

Console> show top 10 util interval 10 background
03/21/1999,14:05:38:MGMT-5: TopN report 2 started by telnet/172.20.22.7/.
Console> 
03/21/1999,14:15:38:MGMT-5: TopN report 2 available.

This example shows how to start the TopN process without the background option:

Console> show top 10 util interval 10 
Start Time:     04/09/1999,01:12:48
End Time:       04/09/1999,01:12:58
PortType:       all
Metric:         util
Port  Band- Uti Bytes                Pkts       Bcst       Mcst       Error Over
      width  %  (Tx + Rx)            (Tx + Rx)  (Tx + Rx)  (Tx + Rx)  (Rx)  flow
----- ----- --- -------------------- ---------- ---------- ---------- ----- ----
3/1    100   0                13824          9          0          0    11    0
6/48    10   0                    0          0          0          0     0    0
6/47    10   0                    0          0          0          0     0    0
6/46    10   0                    0          0          0          0     0    0
6/45    10   0                    0          0          0          0     0    0
Console>

Related Commands

clear top
show top

show top report

To list all TopN processes and specific TopN reports, use the show top report command.

show top report [report_num]

Syntax Description

report_num

(Optional) TopN report number for each process.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Usage Guidelines

If you do not specify report_num, this command lists all the active TopN processes and all the available TopN reports for the switch. Each process is associated with a unique report number. All TopN processes (both with and without background option) are shown in the list.

An asterisk displayed after the pending status field indicates that it is not a background TopN and the results are not saved.

Examples

This example shows how to display all the active TopN processes and all the available TopN reports for the switch:

Console> show top report
Rpt  Start time          Int N   Metric      Status   Owner (type/machine/user)
---  ------------------- --- --- ----------  -------- -------------------------
  1  03/21/1999,11:34:00 60  20  Tx/Rx-Bytes done     telnet/172.20.22.7/
  2  03/21/1999,11:34:08 600 10  Util        done     telnet/172.34.39.6/
  4  03/21/1999,11:35:17 300 20  In-Errors   pending  Console//
  5  03/21/1999,11:34:26 60  20  In-Errors   pending* Console//
Console> 

This example shows an attempt to display a TopN report 5 (shown in the first example) that is still in pending status:

Console> show top report 5
Rpt  Start time          Int N   Metric     Status   Owner (type/machine/user)
---  ------------------- --- --- ---------- -------- -------------------------
  5  03/21/1999,11:34:26 60  20  In-Errors   pending* Console//
Console> 

This example shows how to display the available TopN report 2 (shown in the first example) for the switch:

Console> show top report 2
Start Time:     03/21/1999,11:34:00
End Time:       03/21/1999,11:34:33
PortType:       all
Metric:         util
Port  Band- Uti Tx/Rx-bytes          Tx/Rx-pkts Tx/Rx-bcst Tx/Rx-mcst In-  Buf-
      width  %                                                        err  Ovflw
----- ----- --- -------------------- ---------- ---------- ---------- ---- -----
 /15  100   88  98765432109876543210 9876543210 98765      12345      123  321    
 5/48 10    75  44532                5389       87         2          0    0    
 5/47 10    67  5432                 398        87         2          0    0    
 5/46 10    56  1432                 398        87         2          0    0    
 5/45 10    54  432                  398        87         2          0    0    
 5/44 10    48  3210                 65         10         10         15   5    
 5/43 10    45  432                  5398       87         2          2    0    
 5/42 10    37  5432                 398        87         2          0    0    
 5/41 10    36  1432                 398        87         2          0    0    
 5/40 10    14  2732                 398        87         2          0    0    
Console> 

Related Commands

clear top
show top

show trace

To display the trace category and level, use the show trace command.

show trace [all]

Syntax Description

all

(Optional) Displays all trace category and level information.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display only the active trace category and level information:

Console> show trace
Trace monitor is enabled for this session.
Trace Category  Level
--------------  -----
HTTP             3
SYNFIG           5
Console> 

This example shows how to display all trace category and level information:

Console> show trace all
Trace monitor is enabled for this session.
Trace Category  Level
--------------  -----
ACCT            off
ACL             off
BDD             off
CDP             off
CONFIG          off
COPS            off
DHCP            off
DIAG            off
DNS             off
DRIP            off
DTP             off
DUPFLASH        off
DUPNVRAM        off
DYNVLAN         off
EARL            off
ENVMON          off
EOBC            off
EPLD            off
ESSR            off
EVMGR           off
FCP             off
FDDI            off
FDDI            off
FILESYS         off
HAMGR           off
HTTP            off
GARP            off
GVRP            off
INBAND          off
IPC             off
KERBEROS        off
L3AGE           off
L3SUP           off
LANE            off
LD              off
LLC             off
LTL             off
MBUF            off
MCAST           off
MDG             off
MEMDBG          off
MLS             off
MLSM            off
MODPORT         off
NTP             off
NVSYNC          off
OOB             off
PAGP            off
PROTFILT        off
PPWR            off
PRUNING         off
PRIVATEVLAN     off
QOS             off
RADIUS          off
REDUN           off
RSFC            off
RSVP            off
RUNTIMECFG      off
SCP             off
SECURITY        off
SLP             off
SNMP            off
SPAN            off
STP             off
SYNCMGR         off
SYNFIG          off
SYSLOG            1
TACACS          off
TEST            off
TFTP            off
TFTPD           off
UDLD            off
VERB            off
VMPS              1
VTP             off
Console> 

Related Commands

set trace

show traffic

To display Traffic and Peak information for each switching bus, use the show traffic command.

show traffic

Syntax Description

This command has no arguments or keywords.

Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display Traffic and Peak information for each switching bus:

Console> show traffic
Switching-Bus Traffic Peak Peak-Time
------------- ------- ---- -------------------------
A               5%     10% Thu Mar 18 1999, 22:45:20
B               4%     15% Fri Mar 19 1999, 09:59:31
C               6%     8% Fri Mar 19 1999, 11:30:13
Console> 

Related Commands

show system

show trunk

To display trunking information for the switch, use the show trunk command.

show trunk [mod[/port]] [detail]

Syntax Description

mod/port

(Optional) Number of the module and the port on the module.

detail

(Optional) Displays detailed information about the specified trunk port.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Usage Guidelines

Using the show trunk command without a module or port number displays the actively trunking ports.

To display the trunking configuration for a port that is not actively trunking, specify the module and port number of the port you want to display.

Examples

This example shows how to display trunking information for the switch:

Console> (enable) show trunk
* - indicates vtp domain mismatch
Port      Mode         Encapsulation  Status        Native vlan
--------  -----------  -------------  ------------  -----------
 2/1      auto         dot1q          trunking      1
 4/9      auto         isl            trunking      1
 4/10     desirable    isl            trunking      1
Port      Vlans allowed on trunk
--------  ---------------------------------------------------------------------
 2/1      1-1005
 4/9      1-1005
 4/10     1-1005

Port      Vlans allowed and active in management domain 
--------  ---------------------------------------------------------------------
 2/1      1-5,10,50,152,500,521-524,570
 4/9      1,4-5,1003,1005
 4/10     1,4-5,1003,1005
Port      Vlans in spanning tree forwarding state and not pruned
--------  ---------------------------------------------------------------------
 2/1      1-5,10,50,152,500,521-524,570
 4/9      1005
 4/10     1005
Console> (enable)

This example shows how to display trunking information for a specific port:

Console> (enable) show trunk 4/5
* - indicates vtp domain mismatch

Port      Mode         Encapsulation  Status        Native vlan
--------  -----------  -------------  ------------  -----------
 4/5      nonegotiate  dot1q          trunking      1

Port      Vlans allowed on trunk
--------  ---------------------------------------------------------------------
 4/5      1-1005

Port      Vlans allowed and active in management domain 
--------  ---------------------------------------------------------------------
 4/5      1-3,1003,1005

Port      Vlans in spanning tree forwarding state and not pruned
--------  ---------------------------------------------------------------------
 4/5      1005
Console> (enable) 

Table 2-67 describes the fields in the show trunk command output.

Table 2-67 show trunk Command Output Fields

Field
Description 

Port

Module and port numbers.

Mode

Trunk administrative status of the port (on, off, auto, or desirable).

Encapsulation

Trunking type configured by administration.

Status

Status of whether the port is trunking or nontrunking.

Native VLAN

Number of the native VLAN for the trunk link (for 802.1Q trunks, the VLAN for which untagged traffic can be transmitted and received over the trunk; for ISL trunks, packets are tagged on all VLANs, including the native VLAN).

Vlans allowed on trunk

Range of VLANs allowed to go on the trunk (default is 1 to 1000).

Vlans allowed and active in management domain

Range of active VLANs within the allowed range.

Vlans in spanning tree forwarding state and not pruned

Range of VLANs that actually go on the trunk with Spanning Tree Protocol forwarding state.


Related Commands

set trunk

show udld

To display Unidirectional Link Detection Protocol (UDLD) information, use the show udld
command set.

show udld

show udld port [mod[/port]]

Syntax Description

port

Module or the port.

mod/port

(Optional) Number of the module and the port on the module.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to find out whether UDLD is enabled or disabled:

Console> show udld
UDLD      : enabled 
Console> 

This example shows how to display UDLD information for module 2 port 1:

Console> show udld port 2/1
UDLD      :enabled
Port      Admin Status  Link State
--------  ------------  ----------------
 2/1      enabled       undetermined
Console> 

This example shows how to display UDLD information for all ports on module 3:

Console> (enable) show udld port 3
UDLD      : enabled
Port      Admin Status  Link State
--------  ------------  ----------------
 3/1      enabled       undetermined
 3/2      enabled       undetermined
 3/3      enabled       undetermined
 3/4      enabled       undetermined
 3/5      enabled       undetermined
 3/6      disabled      not applicable
 3/7      disabled      not applicable
 3/8      disabled      not applicable

Table 2-68 describes the fields in the show udld command output.

Table 2-68 show udld Command Output Fields

Field
Description

UDLD

Status of whether UDLD is globally enabled or disabled

Port

Module and port numbers

Admin Status

Status of whether UDLD is enabled or disabled on a per-port basis

Link State

Status of the link: undetermined (detection in progress, UDLD has been disabled on the neighbors), not applicable (UDLD is not supported on the port, UDLD has been disabled on the port, or the port is disabled), shutdown (unidirectional link has been detected and the port disabled), bidirectional (bidirectional link has been detected)


Related Commands

set udld

show users

To determine if the console port is active and to list all active Telnet sessions with the IP address or IP alias of the originating host, use the show users command.

show users [noalias]

Syntax Description

noalias

(Optional) Displays of IP addresses, not IP aliases.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display the users of the active Telnet and shell sessions:

Console> show users 
Session          User              Location
-------------    ---------------   ------------------------------
console                            
ssh                                172.16.10.75
telnet                             171.31.1.203
Console> 

Related Commands

disconnect

show version—switch

To display software and hardware version information for switching and supervisor engine modules only, use the show version command.

show version [mod]

Syntax Description

mod

(Optional) Number of the module.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display the software and hardware versions:

Console> show version
WS-C4403 Software, Version NmpSW: 6.1(0.24)FTL
Copyright (c) 1995-1999 by Cisco Systems
NMP S/W compiled on Aug 31 1999, 12:59:28

System Bootstrap Version: 5.2(1)
System Web Interface Version: 5.0(0.25)

Hardware Version: 1.0 Model: WS-C4403 Serial #: SCA032100T8

Mod Port Model               Serial #    Versions
--- ---- ------------------- ----------- --------------------------------------
1   2    WS-X5K-SUP1-2GE     SAD03232101 Hw : 4.0
                                         Fw : 5.2(1)
                                         Fw1: 4.2(0.24)VAI78
                                         Sw : 5.3(0.74)MIA7-Eng
                                         Sw1: 5.3(0.74)MIA7
3   48   WS-X5223-RJ-45      SAD03257164 Hw : 1.1
                                         Fw : 4.2(0.24)VAI78
                                         Sw : 5.3(0.74)MIA7
5   48   WS-X5223-RJ-45      SAD03257171 Hw : 1.1
                                         Fw : 4.2(0.24)VAI78
                                         Sw : 5.3(0.74)MIA7

       DRAM                    FLASH                   NVRAM
Module Total   Used    Free    Total   Used    Free    Total Used  Free
------ ------- ------- ------- ------- ------- ------- ----- ----- -----
1       65408K  24747K  40661K  16384K  14543K   1841K 512K 203K 309K

Uptime is 2 days, 0 hour, 41 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
--- ---- ------------------- ----------- --------------------------------------
2   1    WS-X4003-           JAB0343055Y Hw : 0.201
                                         Fw : 4.2(0.24)DAY68
                                         Sw : 6.1(0.24)FTL
Console> (enable) 

Table 2-69 describes the fields in the show version command output.

Table 2-69 show version Command Output Fields 

Field
Description

McpSW

Version number of the MCP software.

NmpSW

Version number of the NMP software.

NMP S/W compiled on

Date and time that the NMP software was compiled.

MCP S/W compiled on1

Date and time that the MCP 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.

Ports

Number of ports on the module.

Model

Model number of the module.

Serial #

Serial number of the module.

Hw

Hardware version of the module.

Fw

Version of the firmware installed on the module. If this is a supervisor engine module, the Fw version number is the NMP boot ROM version level.

Fw1

Version of the second firmware image on the module, if present. If this is a supervisor engine module, the Fw1 version number is the MCP boot ROM version level.

Sw

Version of the software installed on the module.

Gsp1

Version of the gigabit switching platform.

Nmp1

Version of the supervisor engine software.

Module

Module number.

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.

Used

Amount of NVRAM in use.

Available

Amount of NVRAM available.

Uptime is

Number of uninterrupted days, hours, minutes, and seconds the system has been up and running.

1 This field is not supported on the Catalyst 4000 family and 2948G switches.


show vlan

To display VLAN information, such as status, MTU setting, and SAID, use the show vlan command.

show vlan [trunk]

show vlan vlans [notrunk]

show vlan mapping

show vlan type

Syntax Description

trunk

(Optional) Displays information only for trunk ports.

vlans

Number or range of VLANs; valid values are from 1 to 1000 and from 1025 to 4094.

notrunk

(Optional) Displays information only for nontrunk ports.

mapping

Displays the contents of the mapping table.

type

Type of the VLAN; valid values are ethernet, fddi, fddinet, trbrf, or trcrf.


Defaults

This command has no default settings.

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 Inst DynCreated  RSPAN
---- ---- ---------- --------
1    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 1    static     disabled
1004 2    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       
Console> 

This example shows how to display the VLAN mapping table information:

Console> show vlan mapping
802.1q vlan     ISL vlan        Effective
------------------------------------------
3000            300             true
Console> 

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
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
2    fddi  101002     1500  -      -      -      -    -        0      0        

VLAN Inst 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 Inst DynCreated  RSPAN
---- ---- ---------- --------
2    -    static     disabled


VLAN AREHops STEHops Backup CRF 1q VLAN
---- ------- ------- ---------- -------

Console>

This example shows how to display extended-range VLANs:

Console> (enable) show vlan 4000
VLAN Name                             Status    IfIndex Mod/Ports, Vlans
---- -------------------------------- --------- ------- ------------------------
Unable to access VTP Vlan 4000 information.


VLAN Type  SAID       MTU   Parent RingNo BrdgNo Stp  BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ ------ ---- -------- ------ ------
Unable to access VTP Vlan 4000 information.


VLAN Inst DynCreated  RSPAN
---- ---- ---------- --------
Unable to access VTP Vlan 4000 information.


VLAN AREHops STEHops Backup CRF 1q VLAN
---- ------- ------- ---------- -------

Console> (enable)

Table 2-70 describes the fields in the show vlan command output.

Table 2-70 show vlan Command Output Fields 

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.

Inst

Instance number.

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

set trunk
set vlan
show trunk

show vmps

To display VLAN Membership Policy Server (VMPS) configuration information, use the show vmps command.

show vmps [noalias]

Syntax Description

noalias

(Optional) Forces the display to show IP addresses, not IP aliases.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display VMPS configuration information:

Console> show vmps
VMPS Server Status:
-------------------
Management Domain:    (null)
State:                disabled
Operational Status:   inactive
TFTP Server:          default
TFTP File:            vmps-config-database.1
Fallback VLAN:        (null)
Secure Mode:          open
VMPS No Domain Req:   allow

VMPS Client Status:
---------------------
VMPS VQP Version:     1
Reconfirm Interval:   60 min
Server Retry Count:   3
VMPS domain server:

No dynamic ports configured.
Console>

Table 2-71 describes the fields in the show vmps command output.

Table 2-71 show vmps Command Output Fields

Field
Description 

VMPS Server Status

Status of VMPS server.

Management Domain

Management domain supported by this server.

State

Indicates whether VMPS is enabled or disabled.

Operational Status

VMPS status (active, inactive, or downloading).

TFTP Server

IP address of the VMPS server.

TFTP File

VMPS configuration filename.

Fallback VLAN

VLAN assigned if a VLAN is not assigned to a MAC address in the database.

Secure Mode

Secure mode status (open or secure).

VMPS No Domain Req

Indicates whether the server accepts requests from clients with no domain name.

VMPS Client Status

Status of the VMPS client.

VMPS VQP Version

Version of VMPS VQP.

VMPS domain server

VMPS domain server name.


Related Commands

download
set vmps server
set vmps state

show vmps mac

To display the MAC-address-to-VLAN mapping table, use the show vmps mac command.

show vmps mac [mac_addr]

Syntax Description

mac_addr

(Optional) MAC address that contains the mapping information table.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Usage Guidelines

If you do not specify a MAC address, the entire mapping table is displayed.

Examples

This example shows the entire MAC-address-to-VLAN mapping table:

Console> show vmps mac
MAC Address       VLAN Name Last Requestor  Port ID Last Accessed Last Response
----------------- --------- --------------- ------- ------------- -------------
00-00-c0-23-c8-34 Hardware  198.4.222.111   3/5     0, 01:25:30   Success
00-00-c0-25-c9-42 --NONE--  198.4.222.111   2/1     0, 05:20:00   Denied
Console>

Table 2-72 describes the fields in the show vmps mac command output.

Table 2-72 show vmps mac Command Output Fields

Field
Description 

MAC Address

MAC address.

VLAN Name

VLAN name assigned to the MAC address.

Last Requestor

IP address of the client that last requested a VLAN assignment for this MAC address.

Port ID

Port ID in the last request.

Last Accessed

Time when the last request was processed for this MAC address.

Last Response

Response sent by the server for the last request.


Related Commands

show vmps

show vmps statistics

To display the VMPS statistics, use the show vmps statistics command.

show vmps statistics

Syntax Description

This command has no keywords or arguments.

Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Usage Guidelines

The statistics shown are based on the results of the reconfirm vmps command.

Examples

This example shows how to display the VMPS statistics:

Console> show vmps statistics
VMPS Statistics:
Last Enabled At:                   2,01:30:05
Config Requests:                   20
Invalid Requests:                  0
Status 'Error' Responses:          0
Status 'Deny' Responses:           5
MAC Address of Last Failed Request: 00-60-00-cc-01-02
Console>

Table 2-73 describes the fields in the show vmps statistics command output.

Table 2-73 show vmps statistics Command Output Fields

Field
Description 

Last Enabled At

Time when the VMPS was enabled

Config Requests

Number of configuration requests

Invalid Requests

Number of invalid requests

Status `Error' Responses

Number of error responses

Status `Deny' Responses

Number of "Access Denied" and "Port Shutdown" responses

MAC Address of Last Failed Request

MAC address of the last request for which the response was not successful


Related Commands

clear vmps statistics

show vmps vlan

To display all the MAC addresses assigned to a VLAN in the VMPS table, use the show vmps vlan command.

show vmps vlan vlan_name

Syntax Description

vlan_name

Name or number of the VLAN.


Defaults

This command has no default settings.

Command Types

Switch command

Command Modes

Normal

Examples

This example shows how to display all MAC addresses assigned to the VLAN named Hardware:

Console> show vmps vlan Hardware

MAC Address       VLAN Name Last Requestor  Port ID Last Accessed Last Response
----------------- --------- --------------- ------- ------------- -------------
00-00-c0-23-c8-34 Hardware  198.4.222.111   3/5     0, 01:25:30   Success
Console>

Table 2-74 describes the fields in the show vmps vlan command output.

Table 2-74 show vmps vlan Command Output Fields

Field
Description 

MAC Address

MAC address.

VLAN Name

VLAN name assigned to the MAC address.