Table Of Contents
C Commands
clear ip igmp event-history
clear ip igmp groups
clear ip igmp interface statistics
clear ip igmp route
C Commands
This chapter describes the Cisco NX-OS IGMP commands that begin with C.
clear ip igmp event-history
To clear information in the IGMP event history buffers, use the clear ip igmp event-history command.
clear ip igmp event-history {cli | debugs | errors | events | ha | igmp-internal | mtrace | policy |
vrf}
Syntax Description
cli
|
Clears the CLI event history buffer.
|
debugs
|
Clears the debug event history buffer.
|
events
|
Clears the event history buffer.
|
ha
|
Clears the high availability (HA) event history buffer.
|
igmp-internal
|
Clears the IGMP internal event history buffer.
|
mtrace
|
Clears the mtrace event history buffer.
|
policy
|
Clears the polilcy event history buffer.
|
vrf
|
Clears the virtual routing and forwarding (VRF) event history buffer.
|
Command Default
None
Command Modes
Any command mode
Command History
Release
|
Modification
|
5.2(1)N1(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to clear information in the IGMP HA event history buffer:
switch(config)#
clear ip igmp event-history ha
Related Commands
Command
|
Description
|
ip igmp event-history
|
Configures the size of the IGMP event history buffers.
|
clear ip igmp groups
To clear IGMP-related information in the IPv4 multicast routing table, use the clear ip igmp groups command.
clear ip igmp groups {* | group [source] | group-prefix} [vrf {vrf-name | all | default |
management}]
Syntax Description
*
|
Specifies all routes.
|
group
|
Group address in the format A.B.C.D.
|
source
|
(Optional) Source (S, G) route.
|
group-prefix
|
Group prefix in the format A.B.C.D/length.
|
vrf
|
(Optional) Clears the virtual routing and forwarding (VRF) instance information.
|
vrf-name
|
VRF name. The name can be a maximum of 32 alphanumeric characters and is case sensitive.
|
all
|
Specifies that all VRF entries be cleared from the IPv4 multicast routing table.
|
default
|
Specifies that the default VRF entry be cleared from the IPv4 multicast routing table.
|
management
|
Specifies that the management VRF entry be cleared from the IPv4 multicast routing table.
|
Command Default
None
Command Modes
Any command mode
Command History
Release
|
Modification
|
5.2(1)N1(1)
|
This command was introduced.
|
Usage Guidelines
The clear ip igmp route command is an alternative form of this command.
This command does not require a license.
Examples
This example shows how to clear all the IGMP-related routes in the IPv4 multicast routing table:
switch(
config)#
clear ip igmp groups *
Related Commands
Command
|
Description
|
clear ip igmp route
|
Clears IGMP-related information in the IPv4 multicast routing table.
|
show ip mroute
|
Displays information about the IPv4 multicast routing table.
|
clear ip igmp interface statistics
To clear the IGMP statistics for an interface, use the clear ip igmp interface statistics command.
clear ip igmp interface statistics [ethernet slot/[QSFP-module/]port | loopback if_number |
port-channel number[.sub_if_number]]
Syntax Description
ethernet slot/[QSFP-module/]port
|
(Optional) Specifies the Ethernet interface and the slot number and port number. The slot number is from 1 to 255. The QSFP-module number is from 1 to 4. The port number is from 1 to 128.
Note The QSFP-module number applies only to the QSFP+ Generic Expansion Module (GEM).
|
loopback if_number
|
(Optional) Specifies the loopback interface. The loopback interface number is from 0 to 1023.
|
port-channel number
|
(Optional) Specifies the EtherChannel interface and EtherChannel number. The range is from 1 to 4096.
|
sub_if-number
|
(Optional) Subinterface number. The range is from 1 to 4093.
|
Command Default
None
Command Modes
Any command mode
Command History
Release
|
Modification
|
6.0(2)N1(2)
|
Support for the QSFP+ GEM was added.
|
5.2(1)N1(1)
|
This command was introduced.
|
Usage Guidelines
This command does not require a license.
Examples
This example shows how to clear IGMP statistics for an interface:
switch#
clear ip igmp interface statistics ethernet 2/1
Related Commands
Command
|
Description
|
show ip igmp interface
|
Displays information about IGMP interfaces.
|
clear ip igmp route
To clear IGMP-related information in the IPv4 multicast routing table, use the clear ip igmp route command.
clear ip igmp route {* | group [source] | group-prefix} [vrf {vrf-name | all | default |
management}]
Syntax Description
*
|
Specifies all routes.
|
group
|
Group address in the format A.B.C.D.
|
source
|
(Optional) Source (S, G) route.
|
group-prefix
|
Group prefix in the format A.B.C.D/length.
|
vrf
|
(Optional) Clears the virtual routing and forwarding (VRF) instance information.
|
vrf-name
|
VRF name. The name can be a maximum of 32 alphanumeric characters and is case sensitive.
|
all
|
Specifies that all VRF entries be cleared from the IPv4 multicast routing table.
|
default
|
Specifies that the default VRF entry be cleared from the IPv4 multicast routing table.
|
management
|
Specifies that the management VRF entry be cleared from the IPv4 multicast routing table.
|
Command Default
None
Command Modes
Any command mode
Command History
Release
|
Modification
|
5.2(1)N1(1)
|
This command was introduced.
|
Usage Guidelines
The clear ipigmp groups command is an alternative form of this command.
This command does not require a license.
Examples
This example shows how to clear all the IGMP-related routes in the IPv4 multicast routing table:
switch(
config)#
clear ip igmp route *
Related Commands
Command
|
Description
|
clear ip igmp groups
|
Clears IGMP-related information in the IPv4 multicast routing table.
|
show ip mroute
|
Displays information about the IPv4 multicast routing table.
|