Clear commands

database

Syntax

database [interface ip-int-name | ip-address] group group-ip-address [source src-ip-address]

database grp-interface interface-name [fwd-service service-id]

database [interface ip-int-name | ip-address] group grp-ip-address source src-ip-address

database host [ip-address]

database interface ip-int-name | ip-address [group grp-ip-address] [source src-ip-address]

Context

clear>router>igmp

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

This command clears IGMP or PIM database statistics on a specified interface or IP address.

Parameters

interface ip-int-name

Clears the IGMP or PIM database on the specified interface.

interface ip-address

Clears the IGMP or PIM database on the specified IP address.

group group-ip-address

Clears the multicast group address (ipv4 or ipv6) or zero in the specified address group.

source ip-address

Clears the IGMP or PIM database from the specified source IP address.

database

Syntax

database [interface ip-int-name | mt-int-name | int-ip-address] [group grp-ip-address [source ip-address]] [family]

Context

clear>router>pim

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

This command clears IGMP or PIM database statistics on a specified interface or IP address.

Parameters

interface ip-int-name

Clears the IGMP or PIM database on the specified interface.

interface ip-address

Clears the IGMP or PIM database on the specified IP address.

group group-ip-address

Clears the multicast group address (ipv4) or zero in the specified address group.

source ip-address

Clears the IGMP or PIM database from the specified source IP address.

family

Clears IPv4 information.

statistics

Syntax

statistics [interface ip-int-name | ip-address]

Context

clear>router>igmp

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

This command clears IGMP statistics on a specified interface or IP address.

An interface and group or source cannot be specified at the same time.

Parameters

interface ip-int-name

Clears IGMP statistics on the specified interface.

interface ip-address

Clears IGMP statistics on the specified IP address.

statistics

Syntax

statistics [{[interface ip-int-name | ip-address | mt-int-name]} {[group grp-ip-address [source ip-address]]}] [family]]

Context

clear>router>pim

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

This command clears PIM statistics on a specified interface or IP address.

An interface and group or source cannot be specified at the same time.

Parameters

interface ip-int-name

Clears PIM statistics on the specified interface.

interface ip-address

Clears PIM statistics on the specified IP address.

group grp-ip-address

When only the group address is specified and no source is specified, (*,G) statistics are cleared. When the group address is specified along with the source address, the (S,G) statistics are reset to zero.

source ip-address

When the source address is specified along with the group address, the (S,G) statistics are reset to zero.

family

Clears IPv4 information.

version

Syntax

version [interface ip-int-name | ip-address]

Context

clear>router>igmp

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

This command clears IGMP statistics on a specified interface or IP address.

Parameters

ip-int-name

Clears IGMP or PIM statistics on the specified interface.

ip-address

Clears IGMP or PIM statistics on the specified IP address.

neighbor

Syntax

neighbor [ip-int-name | ip-address] [family]

Context

clear>router>pim

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

This command clears PIM neighbor data on a specified interface or IP address.

Parameters

ip-int-name

Clears PIM neighbor on the specified interface.

ip-address

Clears PIM neighbor on the specified IP address.

family

Clears IPv4 information.

s-pmsi

Syntax

s-pmsi [mdSrcAddr] [mdGrpAddr] [vprnSrcAddr vprnGrpAddr]

Context

clear>router>pim

Platforms

7210 SAS-T (network mode only), 7210 SAS-R6, 7210 SAS-R12, 7210 SAS-Mxp, and 7210 SAS-Sx/S 1/10GE (in standalone mode)

Description

This command clears the PIM selective provider multicast service interface cache.

Parameters

mdSrcAddr

Clears the specified source address used for Multicast Distribution Tree (MDT).

mdGrpAddr

Clears the specified group address used for Multicast Distribution Tree (MDT).

vprnSrcAddr

Clears the specified source address of the multicast sender.

vprnGrpAddr

Clears the specified multicast group address.

msdp

Syntax

msdp

Context

clear>router

Platforms

7210 SAS-Sx/S 1/10GE (standalone)

Description

Commands in this context clear and reset MSDP entities and statistics.

cache

Syntax

cache [peer ip-address] [group ip-address] [source ip-address] [originrp ip-address]

Context

clear>router>msdp

Platforms

7210 SAS-Sx/S 1/10GE (standalone)

Description

This command clears the MSDP cache.

Parameters

peer ip-address

Clears the cache of the IP address of the peer to which MSDP SA requests for groups matching this entry's group range were sent.

group ip-address

Clears the group IP address of the SA entry.

source ip-address

Clears the source IP address of the SA entry.

originrp ip-address

Clears the origin RP address type of the SA entry.

statistics

Syntax

statistics [peer ip-address]

Context

clear>router>msdp

Platforms

7210 SAS-Sx/S 1/10GE (standalone)

Description

This command clears IP address statistics of the peer to which MSDP SA requests for groups matching this entry's group range were sent.

Parameters

ip-address

Clears the statistics of the specified IP address.

igmp-snooping

Syntax

igmp-snooping

Context

clear>service>id

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

Commands in this context clear IGMP snooping-related data.

port-db

Syntax

port-db {sap sap-id | sdp sdp-id:vc-id} [group grp-address [source ip-address]]

Context

clear>service>id>igmp-snooping

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

This command clears the information from the IGMP snooping port database.

Parameters

sap sap-id

Clears IGMP snooping statistics matching the specified SAP ID and optional encapsulation value. The sap-id can be in one of the following formats:

Encapsulation type

Syntax

Example

null

port-id

1/1/3

dot1q

port-id :qtag1

1/1/3:100

qinq

port-id :qtag1.qtag2

1/1/3:100.200

qtag1, qtag2

Specifies the encapsulation value on the specified port ID.

Values

0 to 4094

sdp sdp-id

Clears only IGMP snooping entries associated with the specified mesh SDP or spoke-SDP. For a spoke-SDP, the VC ID must be specified; for a mesh SDP, the VC ID is optional.

Values

1 to 17407

vc-id

Specifies the virtual circuit ID on the SDP ID for which to clear information.

Values

1 to 4294967295

Default

For mesh SDPs only, all VC IDs

group grp-address

Clears IGMP snooping statistics matching the specified group address.

source ip-address

Clears IGMP snooping statistics matching one particular source within the multicast group.

querier

Syntax

querier

Context

clear>service>id>igmp-snooping

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

This command clears information from the IGMP snooping queriers for the VPLS service.

statistics

Syntax

statistics [sap sap-id | sdp sdp-id:vc-id]

Context

clear>service>id>igmp-snooping

Platforms

Supported on all 7210 SAS platforms as described in this document.

Description

This command clears IGMP snooping statistics for the VPLS service.

Parameters

sap sap-id

Displays IGMP snooping statistics for a specific SAP. The sap-id can be in one of the following formats:

Encapsulation type

Syntax

Example

null

port-id

1/1/3

dot1q

port-id :qtag1

1/1/3:100

qinq

port-id :qtag1.qtag2

1/1/3:100.200

qtag1, qtag2

Specifies the encapsulation value on the specified port ID.

Values

0 to 4094

sdp sdp-id

Displays the IGMP snooping statistics for a specific spoke or mesh SDP.

Values

1 to 17407

vc-id

Specifies the virtual circuit ID on the SDP ID for which to display information.

Values

1 to 4294967295

Default

For mesh SDPs only, all VC IDs