|
|
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 configurationThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
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."
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>
set gvrp
set gvrp dynamic-vlan-creation
set gvrp registration
set gvrp timer
clear gvrp statistics
show gvrp statistics
Use the show gvrp statistics command to view GVRP statistics for a port.
show gvrp statistics [mod/port]
mod/port | (Optional) Number of the module and port. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
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.
| 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
Use the show ifindex command to display the information of the specific ifIndex.
show ifindex number
number | Number of the ifIndex. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
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.
This example shows how to display ifIndex information:
Console> (enable)show ifindex 1,2,3,4-15Ifindex 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.
Use the show igmp statistics command to view IGMP statistics for a particular VLAN.
show igmp statistics [vlan_id]
vlan_id | (Optional) VLAN for which to show IGMP statistics. |
If no VLAN is specified, statistics for VLAN 1 are shown.
Catalyst 5000 family switches
Catalyst 2926G series switches
Switch command.
Normal.
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.
| 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. |
clear igmp statistics
clear multicast router
set igmp
set igmp fastleave
set multicast router
show multicast router
show multicast group count
Use the show imagemib command to display image information provided in the CISCO-IMAGE-MIB for a particular image.
show imagemib flash | filename
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. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
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.binshow mib info for file cat4000.4-4-0-14.binshow_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.binshow mib info for file cat5000-sup3.5-1-1.binshow_presto_nmp_image_header : open file cat5000-sup3.5-1-1.bin error code = -3)
Use the show interface command to display information on network interfaces and standard SNMP link trap operation.
show interfaceThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
This example shows how to display information on all network interfaces:
Console> show interfaceme1:flags=63<UP,BROADCAST,RUNNING>inet 0.0.0.0 netmask 255.0.0.0 broadcast 0.0.0.0sl0:flags=51<UP,POINTOPOINT,RUNNING>slip 0.0.0.0 dest 0.0.0.0sc0:flags=63<UP,BROADCAST,RUNNING>vlan 1 inet 171.69.199.168 netmask 255.255.255.0 broadcast 171.69.199.255Console>
This example shows how to display whether the trap interface is enabled or disabled:
Console> (enable)show interface trapInterface Trap-------- ----sc0 enabledme1 disabledsl0 disabledConsole> (enable)
Table 2-25 describes the fields in the show interface command output.
| 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. |
Use the show ip alias command to show a listing of defined IP aliases.
show ip alias [name]
name | (Optional) Alias for a specific host. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
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>
Use the show ip dns command to show the DNS name servers and the default DNS domain name.
show ip dnsThis command has no arguments or keywords.
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
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.
| 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. |
clear ip dns domain
clear ip dns server
set ip dns
set ip dns domain
set ip dns server
Use the show ip permit command to display the IP permit list information.
show ip permit [noalias]
noalias | (Optional) Keyword that specifies to force the display to show IP addresses, not IP aliases. |
This command has no default value.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
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.
| 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. |
clear ip permit
set ip permit
set snmp trap
Use the show ip route command to display IP routing table entries.
show ip route [noalias]
noalias | (Optional) Keyword that specifies to force the display to show IP addresses, not IP aliases. |
This command has no default setting.
Catalyst 5000 family switches
Catalyst 4000 family switches
Catalyst 2926G series switches
Catalyst 2948G switch
Catalyst 2980G switch
Switch command.
Normal.
This example shows how to display the IP route table:
Console> (enable)show ip routeFragmentation Redirect Unreachable------------- -------- -----------enabled enabled enabledDestination Gateway Flags Use Interface----------------------- ----------------------- ------ ---------- ---------default 172.20.59.1 UG 0 sc0default 172.69.199.1 G 0 me1172.20.59.0 172.20.59.25 U 0 sc0171.69.199.0 171.69.199.68 U 0 me1default default UH 0 sl0Console> (enable)
Table 2-28 describes the fields in the show ip route command output.
| 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. |
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Apr 5 14:51:10 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.