Table of Contents

Layer 3 Interfaces Commands

H Commands

I Commands

N Commands

Show Commands

C Commands

IGMP Commands

I Commands

Show Commands

C Commands

IGMP Snooping Commands

H Commands

I Commands

Show Commands

C Commands

MSDP Commands

F Commands

I Commands

R Commands

Show Commands

C Commands

PIM Commands

F Commands

H Commands

I Commands

R Commands

Show Commands

C Commands

Title

C Commands

This chapter describes the Cisco NX-OS routing commands that begin with C.

clear ip mroute

To clear the multicast routes, use the clear ip mroute command.

clear ip mroute {* | group | group-prefix} [source-tree | shared-tree | vrf {vrf-name | all}]

Syntax Description

*

Clears all multicast routes.

group

Clears the information for routes with specified group address.

group-prefix

Clears the information for routes with specified group prefix.

source-tree

(Optional) Clears all (S, G) routes associated with the group.

shared-tree

(Optional) Clears the (*, G) routes associated with the group.

vrf

Clears information for particular VRF.

vrf-name

(Optional) Specifies the VRF name. The name can be alphanumeric, case sensitive or a maximum of 32 characters.

all

Clears information for all VRFs.

Command Default

None

Command Modes

Privilege Exec mode

Command History

Release

Modification

NX-OS 7.2(3)N1(1)

This command was introduced.

Usage Guidelines

This command does not require a license.

The clear ip mroute command is used for debugging purposes. However, this command is not supported for group-prefix option, i.e., subnet routes.

The statistics keyword is not supported in the clear ip mroute command.

Examples

This example shows how to clear all the multicast routes.

switch# clear ip mroute *

This example shows the status of the multicast routes, before you execute the clear ip mroute command.

switch# show ip mroute

IP Multicast Routing Table for VRF "default"

(*, 232.0.0.0/8), uptime: 00:00:01, pim ip

Incoming interface: Null, RPF nbr: 0.0.0.0

Outgoing interface list: (count: 0)

(10.1.1.1/32, 232.1.1.1/32), uptime: 0.427116, igmp ip pim

Incoming interface: Ethernet1/29, RPF nbr: 192.168.2.1

Outgoing interface list: (count: 1)

Ethernet1/3, uptime: 0.427044, igmp

This example shows the status of the multicast

This example shows the status of the multicast routes after the clear ip mroute * command.

switch# clear ip mroute *

switch# show ip mroute

IP Multicast Routing Table for VRF "default"

(*, 232.0.0.0/8), uptime: 00:00:01, pim ip

Incoming interface: Null, RPF nbr: 0.0.0.0

Outgoing interface list: (count: 0)

Related Commands

Command

Description

show ip mroute

Displays information about IPv4 multicast routes.

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 | msgs | mtrace | policy | statistics | 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.

msgs

Clears the messages event history buffer.

mtrace

Clears the mtrace event history buffer.

policy

Clears the polilcy event history buffer.

statistics

Clears the statistics event history buffer.

vrf

Clears the virtual routing and forwarding (VRF) event history buffer.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)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

switch(config)#

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

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)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 *

switch(config)#

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 [if-type if-number] [ethernet slot/port | loopback if_number | port-channel number[.sub_if_number]]

Syntax Description

ethernet slot/port

(Optional) Specifies the Ethernet interface and the slot number and port number. The slot number is from 1 to 255, and the port number is from 1 to 128.

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.

if-type

(Optional) Interface type. For more information, use the question mark (?) online help function.

if-number

(Optional) Interface or subinterface number. For more information about the numbering syntax for your networking device, use the question mark (?) online help function.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)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

switch#

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

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)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 *

switch(config)#

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.

C Commands

This chapter describes the Cisco NX-OS IGMP snooping commands that begin with C.

clear ip igmp snooping event-history

To clear information from IGMP snooping event history buffers, use the clear ip igmp snooping event-history command.

clear ip igmp snooping event-history {rib | vpc | igmp-snoop-internal | mfdm | mfdm-sum | vlan | vlan-events}

Syntax Description

rib

Clears the unicast Routing Information Base (RIB) event history buffer.

vpc

Clears the virtual port channel (vPC) event history buffer.

igmp-snoop-

internal

Clears the IGMP snooping internal event history buffer.

mfdm

Clears the multicast FIB distribution (MFDM) event history buffer.

mfdm-sum

Clears the MFDM sum event history buffer.

vlan

Clears the VLAN event history buffer.

vlan-events

Clears the VLAN-events event history buffer.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

clear ip igmp snooping explicit-tracking vlan

To clear the IGMP snooping explicit host tracking information for VLANs, use the clear ip igmp snooping explicit-tracking vlan command.

clear ip igmp snooping explicit-tracking vlan vlan-id

Syntax Description

vlan-id

VLAN number. The range is from 1 to 3968 and 4049 to 4093.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

This example shows how to clear the explicit tracking information for VLAN 1:

switch# clear ip igmp snooping explicit-tracking vlan 1

switch#

Related Commands

Command

Description

show ip igmp snooping explicit-tracking vlan

Displays explicit host tracking information for IGMPv3.

clear ip igmp snooping statistics vlan

To clear the IGMP snooping statistics for VLANs, use the clear ip igmp snooping statistics vlan command.

clear ip igmp snooping statistics vlan [vlan-id | all]

Syntax Description

vlan-id

(Optional) VLAN number. The range is from 1 to 3968 and 4049 to 4093.

all

(Optional) Applies to all VLANs.

Command Default

All VLANs

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

This example shows how to clear IGMP snooping statistics for VLAN 1:

switch# clear ip igmp snooping statistics vlan 1

switch#

Related Commands

Command

Description

show ip igmp snooping statistics vlan

C Commands

This chapter describes the Cisco NX-OS MSDP commands that begin with C.

clear ip msdp event-history

To clear information in the Multicast Source Discovery Protocol (MSDP) event history buffers, use the clear ip msdp event-history command.

clear ip msdp event-history

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

This command requires the LAN Base Services license.

Examples

This example shows how to clear information in the MSDP event history buffers:

switch(config)# clear ip msdp event-history

switch(config)#

Related Commands

Command

Description

ip msdp event-history

Configures the size of the MSDP event history buffers.

show ip msdp event-history

Displays information in the MSDP event history buffers.

clear ip msdp peer

To clear a TCP connection to Multicast Source Discovery Protocol (MSDP) peers, use the clear ip msdp peer command.

clear ip msdp peer peer-address [vrf vrf-name | default | management]

Syntax Description

peer-address

IP address of the MSDP peer.

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.

default

Specifies that the default VRF entry be cleared from the multicast routing table.

management

Specifies that the management VRF entry be cleared from the multicast routing table.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

This command requires the LAN Base Services license.

Examples

This example shows how to clear a TCP connection to an MSDP peer:

switch# clear ip msdp peer 192.168.1.10

switch#

Related Commands

Command

Description

show ip msdp peer

Displays information about MSDP peers.

clear ip msdp policy statistics sa-policy

To clear the Source-Active (SA) policy for Multicast Source Discovery Protocol (MSDP) peers, use the clear ip msdp policy statistics sa-policy command.

clear ip msdp policy statistics sa-policy peer-address {in | out} [vrf vrf-name | default | management]

Syntax Description

peer-address

IP address of the MSDP peer for the SA policy.

in

Specifies the input policy.

out

Specifies the output policy.

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.

default

(Optional) Specifies that the default VRF entry be cleared from the multicast routing table.

management

(Optional) Specifies that the management VRF entry be cleared from the multicast routing table.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

This command requires the LAN Base Services license.

Examples

This example shows how to clear an SA policy for an MSDP peer:

switch# clear ip msdp policy statistics sa-policy

switch#

Related Commands

Command

Description

show ip msdp peer

Displays information about MSDP peers.

clear ip msdp route

Note Effective with Cisco NX-OS Release 4.0(3), the clear ip msdp route command is not available in Cisco NX-OS software. [Apolina: Note applies to N7K]

To clear routes that match group entries in the Multicast Source Discovery Protocol (MSDP) Source-Active (SA) cache, use the clear ip msdp route command.

clear ip msdp route {* | group | group-prefix} [vrf {vrf-name | all | default | management}]

Syntax Description

*

Specifies all sources for the group from the SA cache.

group

Group address in the format A.B.C.D.

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 SA-cache.

default

Specifies that the default VRF entry be cleared from the SA-cache.

management

Specifies that the management VRF entry be cleared from the SA-cache.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

4.0(3)

This command was removed.

Usage Guidelines

You can also use the clear ip msdp sa-cache command for the same function.

This command requires the LAN Base Services license.

Examples

This example shows how to clear the MSDP SA cache:

switch# clear ip msdp route *

switch#

Related Commands

Command

Description

clear ip msdp sa-cache

Clears the MSDP SA cache.

clear ip msdp sa-cache

To clear routes that match group entries in the Multicast Source Discovery Protocol (MSDP) Source-Active (SA) cache, use the clear ip msdp sa-cache command.

clear ip msdp sa-cache {* | group | group-prefix} [vrf {vrf-name | all | default | management}]

Syntax Description

*

Specifies all sources for the group from the SA cache.

group

Group address in the format A.B.C.D.

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 SA-cache.

default

Specifies that the default VRF entry be cleared from the SA-cache.

management

Specifies that the management VRF entry be cleared from the SA-cache.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

You can also use the clear ip msdp route command for the same function.

This command requires the LAN Base Services license.

Examples

This example shows how to clear the MSDP SA cache:

switch# clear ip msdp sa-cache

switch#

Related Commands

Command

Description

clear ip msdp route

Clears the MSDP SA cache.

show ip msdp sa-cache

Displays route information in the MSDP Source-Active cache.

clear ip msdp statistics

To clear statistics for Multicast Source Discovery Protocol (MSDP) peers, use the clear ip msdp statistics command.

clear ip msdp statistics [peer-address] [vrf vrf-name | default | management]

Syntax Description

peer-address

(Optional) IP address of the MSDP peer.

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.

default

(Optional) Specifies that the default VRF entry be cleared from the multicast routing table.

management

(Optional) Specifies that the management VRF entry be cleared from the multicast routing table.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

This command requires the LAN Base Services license.

Examples

This example shows how to clear MSDP statistics for all MSDP peers:

switch# clear ip msdp statistics

switch#

Related Commands

Command

Description

show ip msdp peer

Displays information about MSDP peers.

C Commands

This chapter describes the Cisco NX-OS PIM commands that begin with C.

clear ip mroute

To clear the multicast routing table, use the clear ip mroute command.

clear ip mroute {* | 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 multicast routing table.

default

Specifies that the default VRF entry be cleared from the multicast routing table.

management

Specifies that the management VRF entry be cleared from the multicast routing table.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

The clear routing multicast command is an alternative form of this command.

This command does not require a license.

Examples

This example shows how to clear the multicast routing table:

switch(config)# clear ip mroute *

switch(config)#

Related Commands

Command

Description

clear routing multicast

Clears the multicast routing table

show ip mroute

Displays information about the multicast routing table.

clear ip pim event-history

To clear information in the IPv4 Protocol Independent Multicast (PIM) event history buffers, use the clear ip pim event-history command.

clear ip pim event-history

Syntax Description

This command has no arguments or keywords.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

This command requires the LAN Base Services license.

Examples

This example shows how to clear information in the PIM event history buffers:

switch(config)# clear ip pim event-history

switch(config)#

Related Commands

Command

Description

ip pim event-history

Configures the size of the PIM event history buffers.

show ip pim event-history

Displays information in the PIM event history buffers.

clear ip pim interface statistics

To clear Protocol Independent Multicast (PIM) counters for a specified interface, use the clear ip pim interface statistics command.

clear ip pim interface statistics [ethernet slot/port | port-channel channel-number[.sub_if-number] | vlan vlan-id]

Syntax Description

ethernet slot/port

(Optional) Specifies the Ethernet interface. The slot number is from 1 to 255, and the port number is from 1 to 128.

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.

vlan vlan-id

(Optional) Specifies the VLAN. The range is from 1 to 4094.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

This command requires the LAN Base Services license.

Examples

Displays PIM statistics.

clear ip pim policy statistics

To clear Protocol Independent Multicast (PIM) policy counters, use the clear ip pim policy statistics command.

clear ip pim policy statistics {jp-policy | neighbor-policy} {ethernet slot/port | port-channel channel-number[.sub_if-number] | vlan vlan-id}

clear ip pim policy statistics register-policy [vrf {vrf-name | all | default | management}]

clear ip pim policy statistics {register-policy | bsr {bsr-policy | rp-candidate-policy} | auto-rp {rp-candidate-policy | mapping-agent-policy}} [vrf {vrf-name | all}]

Syntax Description

jp-policy

Specifies statistics for the join-prune policy.

neighbor-

policy

Specifies statistics for the neighbor policy.

ethernet slot/port

Specifies the Ethernet interface and the slot number and port number. The slot number is from 1 to 255, and the port number is from 1 to 128.

loopback if_number

(Optional) Specifies the loopback interface. The loopback interface number is from 0 to 1023.

port-channel number

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.

vlan

Specifies the VLAN.

vlan-id

VLAN number. The range is from 1 to 4094.

if-type

Interface type. For more information, use the question mark (?) online help function.

if-number

Interface or subinterface number. For more information about the numbering syntax for your networking device, use the question mark (?) online help function.

register-policy

Specifies statistics for the register policy.

bsr

Specifies the bootstrap protocol RP-distribution policy.

bsr-policy

Specifies the statistics for BSR messages.

rp-candidate-

policy

Specifies the statistics for RP candidate messages.

auto-rp

Specifies the statistics for Auto-RP messages.

mapping-

agent-policy

Specifies the statistics for mapping agent messages.

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

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

This command requires the LAN Base Services license.

Examples

Displays PIM policy statistics.

clear ip pim route

To clear routes specific to Protocol Independent Multicast (PIM) for IPv4, use the clear ip pim route command.

clear ip pim 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 multicast routing table.

default

Specifies that the default VRF entry be cleared from the multicast routing table.

management

Specifies that the management VRF entry be cleared from the multicast routing table.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

This command requires the LAN Base Services license.

Examples

Displays information about PIM specific routes.

clear ip pim statistics

To clear Protocol Independent Multicast (PIM) statistics counters, use the clear ip pim statistics command.

clear ip pim statistics [vrf {vrf-name | all | default | management}]

Syntax Description

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 multicast routing table.

default

Specifies that the default VRF entry be cleared from the multicast routing table.

management

Specifies that the management VRF entry be cleared from the multicast routing table.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

This command requires the LAN Base Services license.

Examples

clear ip routing multicast event-history

To clear information in the IPv4 Multicast Routing Information Base (MRIB) event history buffers, use the clear ip routing multicast event-history command.

clear ip routing multicast event-history {cli | mfdm-debugs | mfdm-events | mfdm | mfdm-stats | rib | vrf}

Syntax Description

cli

Clears the CLI event history buffer.

mfdm

Clears the multicast FIB distribution (MFDM) event history buffer.

mfdm-debugs

Clears the multicast FIB distribution (MFDM) debug history buffer.

mfdm-events

Clears the MFDM events history buffer.

mfdm-stats

Clears the MFDM sum event history buffer.

rib

Clears the RIB event history buffer.

vrf

Clears the virtual routing and forwarding (VRF) event history buffer.

Command Default

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

Configures the size of the IPv4 MRIB event history buffers.

show routing ip multicast event-history

clear ipv6 mroute

To clear routes in the IPv6 multicast routing table, use the clear ipv6 mroute command.

clear ipv6 mroute {* | group-prefix | group [source]} [vrf {vrf-name | all}]

Syntax Description

*

Specifies all routes.

group-prefix

Group prefix.

group

Group address.

source

(Optional) Source (S, G) route.

vrf

(Optional) Applies to a virtual routing and forwarding (VRF) instance.

vrf-name

VRF name.

all

Specifies all VRFs.

Defaults

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

4.0(3)

This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

This example shows how to clear all the routes in the IPv6 multicast routing table:

switch(config)# clear ipv6 mroute *

switch(config)#

Related Commands

Command

Description

show ipv6 mroute

Displays information about the IPv6 multicast routing table.

clear ipv6 routing multicast event-history

To clear information in the IPv6 Multicast Routing Information Base (M6RIB) event history buffers, use the clear ipv6 routing multicast event-history command.

clear ipv6 routing multicast event-history {cli | mfdm | mfdm-stats | rib | vrf}

Syntax Description

cli

Clears the CLI event history buffer.

mfdm

Clears the multicast FIB distribution (MFDM event history buffer.

mfdm-stats

Clears the MFDM sum event history buffer.

rib

Clears the RIB event history buffer.

vrf

Clears the virtual routing and forwarding (VRF) event history buffer.

Defaults

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

4.1(2)

This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

This example shows how to clear information in the M6RIB RIB event history buffer:

switch(config)# clear ipv6 routing multicast event-history rib

switch(config)#

Related Commands

Command

Description

ipv6 routing multicast event-history

Configures the size of the IPv6 M6RIB event history buffers.

show routing ipv6 multicast event-history

Displays information in the IPv6 M6RIB event history buffers.

clear routing ipv6 multicast

To clear the IPv6 multicast routing table, use the clear routing ipv6 multicast command.

clear routing ipv6 multicast {* | group-prefix | group [source]} [vrf {vrf-name | all}]

Syntax Description

*

Specifies routes.

group-prefix

Group prefix.

group

Group address.

source

(Optional) Source (S, G) route.

vrf

(Optional) Applies to a virtual routing and forwarding (VRF) instance.

vrf-name

VRF name.

all

Specifies all VRFs.

Defaults

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

4.0(3)

This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

Displays information about IPv6 multicast routes.

clear routing multicast

To clear the IPv4 multicast routing table, use the clear routing multicast command.

clear routing [ip | ipv4] multicast {* | group [source] | group-prefix} [vrf {vrf-name | all | default | management}]

Syntax Description

ip

(Optional) Clears IP commands.

ipv4

(Optional) Clears IPv4 commands.

*

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

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

6.0(2)N1(1)

This command was introduced.

Usage Guidelines

The clear ip mroute command is an alternative form of this command.

This command does not require a license.

Examples

This example shows how to clear the IPv4 multicast routing table:

switch(config)# clear routing multicast *

switch(config)#

Related Commands

Command

Description

clear ip mroute

Clears the multicast routing table.

show routing ip multicast

Displays information about IPv4 multicast routes.

clear ipv6 pim event-history

To clear information in the IPv6 Protocol Independent Multicast (PIM6) event history buffers, use the clear ipv6 pim event-history command.

clear ipv6 pim event-history

Syntax Description

This command has no arguments or keywords.

Defaults

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

4.1(2)

This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

This example shows how to clear information in the PIM6 event history buffers:

switch(config)# clear ipv6 pim event-history

switch(config)#

Related Commands

Command

Description

ipv6 pim event-history

Configures the size of the PIM6 event history buffers.

show ipv6 pim event-history

Displays information in the PIM6 event history buffers.

clear ipv6 pim interface statistics

To clear Protocol Independent Multicast for IPv6 (PIM6) counters for a specified interface, use the clear ipv6 pim interface statistics command.

clear ipv6 pim interface statistics [if-type if-number]

Syntax Description

if-type

(Optional) Interface type. For more information, use the question mark (?) online help function.

if-number

(Optional) Interface or subinterface number. For more information about the numbering syntax for your networking device, use the question mark (?) online help function.

Defaults

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

4.0(1)

This command was introduced.

4.0(3)

The interface argument was made optional.

Usage Guidelines

This command requires the Enterprise Services license.

Examples

This example shows how to clear PIM6 counters for a specified interface:

switch# clear ipv6 pim interface statistics ethernet 2/2

switch#

Related Commands

Command

Description

show ipv6 pim statistics

Displays PIM6 statistics.

clear ipv6 pim policy statistics

To clear Protocol Independent Multicast for IPv6 (PIM6) policy counters, use the clear ipv6 pim policy statistics command.

clear ipv6 pim policy statistics {jp-policy | neighbor-policy} if-type if-number

Syntax Description

jp-policy

Specifies the statistics for join-prune policy.

neighbor-

policy

Specifies the statistics for neighbor policy.

if-type

Interface type. For more information, use the question mark (?) online help function.

if-number

Interface or subinterface number. For more information about the numbering syntax for your networking device, use the question mark (?) online help function.

Defaults

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

4.0(1)

This command was introduced.

Usage Guidelines

This command requires the Enterprise Services license.

Examples

This example shows how to clear PIM6 join-prune policy counters:

switch(config)# clear ipv6 pim policy statistics jp-policy

Related Commands

Command

Description

show ipv6 pim policy statistics

clear ipv6 pim route

To clear routes specific to Protocol Independent Multicast for IPv6 (PIM6), use the clear ipv6 pim route command.

clear ipv6 pim route {* | group-prefix | group [source]} [vrf {vrf-name | all}]

Syntax Description

*

Specifies all routes.

group-prefix

Group prefix.

group

Group address.

source

(Optional) Source (S, G) route.

vrf

(Optional) Applies to a virtual routing and forwarding (VRF) instance.

vrf-name

VRF name.

all

Specifies all VRFs.

Defaults

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

4.1(2)

This command was introduced.

Usage Guidelines

This command requires the Enterprise Services license.

Examples

This example shows how to clear the all the routes specific to PIM6:

switch(config)# clear ipv6 pim route *

switch(config)#

Related Commands

Command

Description

show ipv6 pim route

Displays information about PIM6 specific routes.

clear ipv6 pim statistics

To clear Protocol Independent Multicast for IPv6 (PIM6) statistics counters, use the clear ipv6 pim statistics command.

clear ipv6 pim statistics [vrf {vrf-name | all}]

Syntax Description

vrf

(Optional) Applies to a virtual routing and forwarding (VRF) instance.

vrf-name

VRF name.

all

Specifies all VRFs.

Defaults

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

4.0(1)

This command was introduced.

Usage Guidelines

This command requires the Enterprise Services license.

Examples

Displays PIM6 statistics.

clear ipv6 routing multicast event-history

To clear information in the IPv6 Multicast Routing Information Base (M6RIB) event history buffers, use the clear ipv6 routing multicast event-history command.

clear ipv6 routing multicast event-history {cli | mfdm | mfdm-stats | rib | vrf}

Syntax Description

cli

Clears the CLI event history buffer.

mfdm

Clears the multicast FIB distribution (MFDM event history buffer.

mfdm-stats

Clears the MFDM sum event history buffer.

rib

Clears the RIB event history buffer.

vrf

Clears the virtual routing and forwarding (VRF) event history buffer.

Defaults

None

Command Modes

Any command mode

Supported User Roles

network-admin

network-operator

vdc-admin

vdc-operator

Command History

Release

Modification

4.1(2)

This command was introduced.

Usage Guidelines

This command does not require a license.

Examples

This example shows how to clear information in the M6RIB RIB event history buffer:

switch(config)# clear ipv6 routing multicast event-history rib

switch(config)#

Related Commands

Command

Description

ipv6 routing multicast event-history

Configures the size of the IPv6 M6RIB event history buffers.

show routing ipv6 multicast event-history

Cisco Nexus 6000 Series NX-OS Multicast Routing Command Reference

Cisco NX-OS Release 7.x

First Published: January 2013

Last Modified: April, 2017

THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.

THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.

The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public domain version of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.

NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.

IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: www.cisco.com/go/trademarks . Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any other company. (1721R)

Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional and coincidental.

Cisco Nexus 6000 Series NX-OS Multicast Routing Command Reference

© 2013-2017 Cisco Systems, Inc. All rights reserved.