Clear commands

router

Syntax

router [router-instance]

Context

clear

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears for a the router instance in which they are entered.

Parameters

router-instance

Specifies the router name or service ID.

Values

Base, management

Default

Base

arp

Syntax

arp {all | ip-addr | interface {ip-int-name | ip-addr}}

Context

clear>router

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears all or specific ARP entries.

The scope of ARP cache entries cleared depends on the command line options specified.

Parameters

all

Clears all ARP cache entries.

ip-addr

Clears the ARP cache entry for the specified IP address.

interface ip-int-name

Clears all ARP cache entries for the IP interface with the specified name.

interface ip-addr

Clears all ARP cache entries for the specified IP interface with the specified IP address.

icmp6

Syntax

icmp6 all

icmp6 global

icmp6 interface interface-name

Context

clear>router

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears ICMP statistics.

Parameters

all

Clears all statistics.

global

Clears global statistics.

interface-name

Clears ICMP6 statistics for the specified interface.

bfd

Syntax

bfd src-ip ip-address dst-ip ip-address

bfd all

Context

clear>router

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears bidirectional forwarding (BFD) sessions and statistics.

Parameters

src-ip ip-address

Specifies the source IP address, in dotted-decimal notation.

dst-ip ip-address

Specifies the destination IP address, in dotted-decimal notation.

dhcp

Syntax

dhcp

Context

clear>router

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

Commands in this context clear DHCP related information.

statistics

Syntax

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

Context

clear>router>dhcp

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clear statistics for DHCP relay and snooping statistics.

If no IP address or interface name is specified, then statistics are cleared for all configured interfaces.

If an IP address or interface name is specified, then only data regarding the specified interface is cleared.

Parameters

ip-int-name | ip-address

Clears statistics for the specified IP interface.

session

Syntax

session src-ip ip-address dst-ip ip-address

Context

clear>router>bfd

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears BFD sessions.

Parameters

src-ip ip-address

Specifies the address of the local endpoint of this BFD session.

dst-ip ip-address

Specifies the address of the remote endpoint of this BFD session.

statistics

Syntax

statistics src-ip ip-address dst-ip ip-address

statistics all

Context

clear>router>bfd

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears BFD statistics.

Parameters

src-ip ip-address

Specifies the address of the local endpoint of this BFD session.

dst-ip ip-address

Specifies the address of the remote endpoint of this BFD session.

all

Clears statistics for all BFD sessions.

neighbor

Syntax

neighbor {all | ip-address [interface interface-name}

neighbor [interface ip-int-name | ipv6-address]

Context

clear>router

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears neighbor information.

Parameters

all

Clears IPv6 neighbors.

ip-int-name

Specifies an IPv6 neighbor interface name, up to 32 characters.

ip-address

Specifies an IP neighbor address.

Values

a.b.c.d

ipv6-address

Specifies an IPv6 neighbor address.

Values

ipv6-address

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - 0 to FFFF (hexadecimal)

d - 0 to 255 (decimal)

router-advertisement

Syntax

router-advertisement all

router-advertisement [interface interface-name]

Context

clear>router

Platforms

Supported on all 7210 SAS platforms as described in this document

Description

This command clears all router advertisement counters.

Parameters

all

Clears all router advertisement counters for all interfaces.

interface interface-name

Clears router advertisement counters for the specified interface.