cc/td/doc/product/lan/cat5000/rel_5_4
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

show gvrp configuration
show gvrp statistics
show ifindex
show igmp statistics
show imagemib
show interface
show ip alias
show ip dns
show ip permit
show ip route

show gvrp configuration

Use the show gvrp configuration command to display GVRP configuration information, including timer values, whether GVRP and dynamic VLAN creation is enabled, and which ports are running GVRP.

show gvrp configuration

Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch

Command Type

Switch command.

Command Mode

Normal.

Usage Guidelines

If the port list exceeds the available line spaces, the list wraps to the next line.

If no ports are GVRP participants, the message output changes from "GVRP Participants running on port_list" to "GVRP Participants running on no ports."

Example

This example shows how to view GVRP configuration information:

Console> show gvrp configuration 
 
Global GVRP Configuration:
GVRP Feature is currently enabled on the switch.
GVRP dynamic VLAN creation is enabled.
GVRP Timers(milliseconds)
Join = 200
Leave = 600
LeaveAll = 10000
 
Port based GVRP Configuration:
GVRP Status Registration Port 
-------------- --------------- -------------------------------------------------------
Enabled     Normal       2/1-2,3/1-8,7/1-24,8/1-24 
GVRP Participants running on 3/7-8.
Console>
Related Commands

set gvrp
set gvrp dynamic-vlan-creation
set gvrp registration
set gvrp timer
clear gvrp statistics
show gvrp statistics

show gvrp statistics

Use the show gvrp statistics command to view GVRP statistics for a port.

show gvrp statistics [mod/port]

Syntax Description

mod/port

(Optional) Number of the module and port.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to view GVRP statistics for module 2, port 1:

Console> show gvrp statistics 2/1
GVRP enabled
 
GVRP statistics for port 2/1:
Total valid pkts rcvd:           18951
Total invalid pkts recvd         0
General Queries recvd            377
Group Specific Queries recvd     0
MAC-Based General Queries recvd  0
Leaves recvd                     14
Reports recvd                    16741
Queries  Xmitted                 0
GS Queries Xmitted               16
Reports Xmitted                  0
Leaves Xmitted                   0
Failures to add GDA to EARL      0
Topology Notifications rcvd      10
GVRP packets dropped             0
Console> 
 

Table 2-23 describes the fields in the show gvrp statistics output.


Table 2-23: show gvrp statistics Command Output Fields
Field Description

GVRP Enabled

Status of whether GVRP is enabled or disabled.

Total valid pkts recvd

Total number of valid GVRP packets received.

Total invalid pkts recvd

Total number of invalid GVRP packets received.

General Queries recvd

Total number of GVRP general queries received.

Group Specific Queries recvd

Total number of GVRP group-specific queries received.

MAC-Based General Queries recvd

Total number of MAC-based general queries received.

Leaves recvd

Total number of GVRP leaves received.

Reports recvd

Total number of GVRP reports received.

Queries Xmitted

Total number of GVRP general queries transmitted by the switch.

GS Queries Xmitted

Total number of GVRP group specific-equivalent queries transmitted by the switch.

Reports Xmitted

Total number of GVRP reports transmitted by the switch.

Leaves Xmitted

Total number of GVRP leaves transmitted by the switch.

Failures to add GDA to EARL

Total number of times the switch failed to add a multicast entry (GDA) to the EARL table.

Topology Notifications rcvd

Total number of topology change notifications received by the switch.

GVRP packets dropped

Total number of GVRP packets dropped by the switch.

Related Commands

set gvrp
set gvrp dynamic-vlan-creation
set gvrp registration
set gvrp timer
clear gvrp statistics
show gvrp configuration

show ifindex

Use the show ifindex command to display the information of the specific ifIndex.

show ifindex number

Syntax Description

number

Number of the ifIndex.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch

Command Type

Switch command.

Command Mode

Normal.

Usage Guideline

You can designate multiple ifIndex numbers by separating each number with commas. To specify a range of numbers, use a dash (-) between the low and high numbers.

Example

This example shows how to display ifIndex information:

Console> (enable) show ifindex 1,2,3,4-15
 Ifindex 1 is mapped to interface sc0.
 Ifindex 2 is mapped to interface sl0.
 Ifindex 3 is mapped to port 1/1.
 Ifindex 4 is mapped to port 1/2.
 Ifindex 5 is mapped to port 1/3.
 Ifindex 6 is mapped to port 1/4.
 Ifindex 7 is mapped to vlan 1.
 Ifindex 8 is mapped to vlan 1002.
 Ifindex 9 is mapped to vlan 1004.
 Ifindex 10 is mapped to vlan 1005.
 Ifindex 11 is mapped to vlan 1003.
 Ifindex 12 is mapped to port 9/1.
 Ifindex 13 is mapped to port 9/2.
 Ifindex 14 is mapped to port 9/3.
 Ifindex 15 is mapped to port 9/4.

show igmp statistics

Use the show igmp statistics command to view IGMP statistics for a particular VLAN.

show igmp statistics [vlan_id]

Syntax Description

vlan_id

(Optional) VLAN for which to show IGMP statistics.

Default

If no VLAN is specified, statistics for VLAN 1 are shown.

Supported Platforms

Catalyst 5000 family switches
Catalyst 2926G series switches

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to view IGMP statistics for VLAN 1:

Console> show igmp statistics 1
IGMP disabled
IGMP fastleave enabled
 
IGMP statistics for vlan 1:
Total valid pkts rcvd:           18951
Total invalid pkts recvd         0
General Queries recvd            377
Group Specific Queries recvd     0
MAC-Based General Queries recvd  0
Leaves recvd                     14
Reports recvd                    16741
Queries  Xmitted                 0
GS Queries Xmitted               16
Reports Xmitted                  0
Leaves Xmitted                   0
Failures to add GDA to EARL      0
Topology Notifications rcvd      10
IGMP packets dropped             0
Console> 
 

Table 2-24 describes the fields in the show igmp statistics output.


Table 2-24: show igmp statistics Command Output Fields
Field Description

IGMP Enabled

Status of whether IGMP snooping is enabled or disabled.

Total valid pkts rcvd

Total number of valid IGMP packets received.

Total invalid pkts recvd

Total number of invalid IGMP packets received.

General Queries recvd

Total number of IGMP general queries received.

Group Specific Queries recvd

Total number of IGMP group-specific queries received.

MAC-Based General Queries recvd

Total number of MAC-based general queries received.

Leaves recvd

Total number of IGMP leaves received.

Reports recvd

Total number of IGMP reports received.

Queries Xmitted

Total number of IGMP general queries transmitted by the switch.

GS Queries Xmitted

Total number of IGMP group specific-equivalent queries transmitted by the switch.

Reports Xmitted

Total number of IGMP reports transmitted by the switch.

Leaves Xmitted

Total number of IGMP leaves transmitted by the switch.

Failures to add GDA to EARL

Total number of times the switch failed to add a multicast entry (GDA) to the EARL table.

Topology Notifications rcvd

Total number of topology change notifications received by the switch.

IGMP packets dropped

Total number of IGMP packets dropped by the switch.

Related Commands

clear igmp statistics
clear multicast router
set igmp
set igmp fastleave
set multicast router
show multicast router
show multicast group count

show imagemib

Use the show imagemib command to display image information provided in the CISCO-IMAGE-MIB for a particular image.

show imagemib flash | filename

Syntax Description

flash

Name of the Flash image on the Supervisor Engine II.

filename

Name of the Flash device on the Supervisor Engine III or the Catalyst 4000 family and 2948G switch supervisor engine module.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows how to display CISCO-IMAGE-MIB information for the Flash device on the Catalyst 4000 family, 2948G, and 2980G switch supervisor engine module:

Console> show imagemib cat4000.4-4-0-14.bin
show mib info for file cat4000.4-4-0-14.bin
show_presto_nmp_image_header : open file cat4000.4-4-0-14.bin error code = -3, )
Console> 
 

This example shows how to display CISCO-IMAGE-MIB information for the Flash device on the Supervisor Engine III:

Console> show imagemib cat5000-sup3.5-1-1.bin
show mib info for file cat5000-sup3.5-1-1.bin
show_presto_nmp_image_header : open file cat5000-sup3.5-1-1.bin error code = -3)

show interface

Use the show interface command to display information on network interfaces and standard SNMP link trap operation.

show interface
show interface trap


Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch

Command Type

Switch command.

Command Mode

Normal.

Examples

This example shows how to display information on all network interfaces:

Console> show interface
me1:flags=63<UP,BROADCAST,RUNNING>
        inet 0.0.0.0 netmask 255.0.0.0 broadcast 0.0.0.0
sl0:flags=51<UP,POINTOPOINT,RUNNING>
        slip 0.0.0.0 dest 0.0.0.0
sc0:flags=63<UP,BROADCAST,RUNNING>
        vlan 1 inet 171.69.199.168 netmask 255.255.255.0 broadcast 171.69.199.255 
Console>
 

This example shows how to display whether the trap interface is enabled or disabled:

Console> (enable) show interface trap
Interface  Trap  
--------  ----
sc0       enabled
me1       disabled
sl0       disabled
Console> (enable) 
 

Table 2-25 describes the fields in the show interface command output.


Table 2-25: show interface Command Output Fields
Field Description

me1

Information on the me1 interface.

flags

Flags indicating the interface state (decoded in the subsequent field).

<UP,BROADCAST, RUNNING>

Interface state (UP, DOWN, BROADCAST, LOOPBACK, POINTOPOINT, or RUNNING).

inet

IP address of the interface.

netmask

Network mask for the interface.

broadcast

Broadcast address for the interface.

sl0

Information on the SLIP interface.

<UP,POINTOPOINT, RUNNING>

Interface state (UP, DOWN, BROADCAST, LOOPBACK, POINTOPOINT, or RUNNING).

slip

IP address of the SLIP interface.

dest

IP address of the host to which the console port will be connected.

sc0

Information on the in-band interface.

vlan

Number of the VLAN to which the sc0 interface has been assigned (known as the management VLAN).

Interface

Type of interface.

Trap

Status of whether the trap is enabled or disabled.

Related Command

set interface

show ip alias

Use the show ip alias command to show a listing of defined IP aliases.

show ip alias [name]

Syntax Description

name

(Optional) Alias for a specific host.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display a listing of all IP aliases:

Console> show ip alias
default         0.0.0.0
sparc20         192.168.10.69
cat5500-1       172.16.169.16
cat5500-2       172.16.169.20
Console> 
Related Commands

clear ip alias
set ip alias

show ip dns

Use the show ip dns command to show the DNS name servers and the default DNS domain name.

show ip dns

Syntax Description

This command has no arguments or keywords.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display the DNS name servers and the default DNS domain name:

Console> show ip dns
DNS is currently enabled.
The default DNS domain name is: cisco.com
 
DNS name server            status
---------------            -------
172.16.30.32
192.168.2.132              primary
172.31.128.70
Console> 
 

Table 2-26 describes the fields in the show ip dns command output.


Table 2-26: show ip dns Command Output Fields
Field Description

DNS is currently enabled

Status of whether DNS is enabled or disabled.

default DNS domain name

Default DNS domain name.

DNS name server

IP addresses or IP aliases of the configured DNS servers.

status

Primary DNS server.

Related Commands

clear ip dns domain
clear ip dns server
set ip dns
set ip dns domain
set ip dns server

show ip permit

Use the show ip permit command to display the IP permit list information.

show ip permit [noalias]

Syntax Description

noalias

(Optional) Keyword that specifies to force the display to show IP addresses, not IP aliases.

Default

This command has no default value.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display IP permit list information:

Console> (enable) show ip permit
Telnet permit list feature enabled.
Snmp permit list feature disabled.
 
Permit List          Mask              Access-Type
----------------     ---------------   ---------------
172.16.0.0         255.255.0.0         telnet
172.20.52.3                            snmp telnet
172.20.52.32       255.255.255.224     snmp
 
Denied IP Address   Last Accessed Time Type    Telnet Count   SNMP Count
-----------------   ------------------ ------  ------------   ----------
172.100.101.104     01/20/97,07:45:20  SNMP              14         1430
172.187.206.222     01/21/97,14:23:05  Telnet             7          236
 
Console> (enable)

Table 2-27 describes the fields in the show ip permit command output.


Table 2-27: show ip permit Command Output Fields
Field Description

IP permit list feature enabled

Status of whether the IP permit list feature is enabled or disabled.

Permit List

IP addresses and IP aliases that are allowed to access the switch.

Mask

Subnet masks of permitted IP addresses.

Denied IP Address

IP addresses and IP aliases that are not allowed to access the switch.

Last Accessed Time

Date and time of the last attempt to log in to the switch from the address.

Type

Login-attempt type.

Related Commands

clear ip permit
set ip permit
set snmp trap

show ip route

Use the show ip route command to display IP routing table entries.

show ip route [noalias]

Syntax Description

noalias

(Optional) Keyword that specifies to force the display to show IP addresses, not IP aliases.

Default

This command has no default setting.

Supported Platforms

Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch

Command Type

Switch command.

Command Mode

Normal.

Example

This example shows how to display the IP route table:

Console> (enable) show ip route
Fragmentation   Redirect   Unreachable
-------------   --------   -----------
enabled         enabled    enabled 
 
Destination             Gateway                 Flags   Use         Interface
----------------------- ----------------------- ------  ----------  ---------
default                 172.20.59.1             UG               0  sc0
default                 172.69.199.1            G                0  me1
172.20.59.0             172.20.59.25            U                0  sc0
171.69.199.0            171.69.199.68           U                0  me1
default                 default                 UH               0  sl0
Console> (enable) 
 

Table 2-28 describes the fields in the show ip route command output.


Table 2-28: show ip route Command Output Fields
Field Description

Fragmentation

Displays current setting of IP fragmentation.

Redirect

Displays current setting of ICMP redirect.

Unreachable

Displays current setting of ICMP unreachable messages.

Destination

Destination address IP route mask.

Gateway

IP address or IP alias of the gateway router.

RouteMask

Determines which path is closer to the destination.

Flags

Indicates status of the route.

Use

Number of times a route entry was used to route packets.

Interface

Type of interface.

Related Commands

set ip route
clear ip route


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Apr 5 14:51:10 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.