Clear commands

database

Syntax

database [group grp-ip-address [source src-ip-address]]

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

database host ip-address [group grp-ip-address [source src-ip-address]]

database host all [group grp-ip-address [source src-ip-address]]

database group-interface all

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 grp-ip-address

Clears the multicast group address or zero in the specified address group.

source src-ip-address

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

group-interface all

Clears the IGMP database on all group interfaces.

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 group-interface [fwd-service service-id] ip-int-name

statistics group-interface all

statistics host ip-address

statistics host all

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 a group or source cannot be specified at the same time.

Parameters

group-interface interface-name

Clears the IGMP statistics on the specifies group interface.

group-interface all

Clears the IGMP statistics on all group interfaces.

fwd-service service-id

Clears the IGMP statistics on the specified service ID.

Values

1 to 2147483647 | svc-name: 64 char max

host ip-address

Clears the IGMP statistics on the specified host.

host all

Clears the IGMP statistics on all hosts.

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, then the (S,G) statistics are reset to zero.

source ip-address

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

family

Clears IPv4 information.

version

Syntax

version group-interface [fwd-service service-id] ip-int-name

version group-interface all

version host ip-address

version host all

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

group-interface interface-name

Clears the IGMP version on the specifies group interface.

group-interface all

Clears the IGMP version on all group interfaces.

fwd-service service-id

Clears the IGMP version on the specified service ID.

Values

1 to 2147483647 | svc-name: 64 char max

host ip-address

Clears the IGMP version on the specified host.

host all

Clears the IGMP version on all hosts.

interface ip-int-name

Clears IGMP version on the specified interface.

interface ip-address

Clears IGMP version 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.

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 about 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

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

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 about 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

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

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