Clear Commands

external-alarms

Syntax

external-alarms alarm [all | alarm-id]

Context

clear

Description

This command clears remote site external alarm information.

Parameters

all

clears the status for all alarms

alarm-id

clears the status for a specific alarm

Values

1 to 2147483647

lag

Syntax

lag lag-id statistics

Context

clear

Description

This command clears statistics for the specified LAG.

Parameters

lag-id

the LAG identifier, expressed as a decimal integer

Values

1 to 32

statistics

specifies that statistics are cleared for the specified LAG

mda

Syntax

mda mda-id

mda mda-id statistics {source-mda | destination-mda | fabric-port | fabric-global | fabric-firewall | all}

mda mda-id ring {all | mac ieee-address | port port-id}

mda mda-id statistics ip-transport

mda mda-id statistics security [encryption | firewall]

mda mda-id statistics mirror

mda mda-id statistics cflowd

mda all

Context

clear

Description

The clear mda form of this command reinitializes the specified adapter card and clears all the collected fabric statistics related to the card. The clear mda statistics form of this command clears all the collected fabric statistics related to the specified adapter card. The clear mda ring form of this command clears the dynamic FDB entries related to the specified ring adapter card.

The clear mda all form of this command applies only to the 7705 SAR-A, 7705 SAR-Ax, 7705 SAR-M, 7705 SAR-H, 7705 SAR-Hc, and 7705 SAR-Wx and is equivalent to clearing all adapter cards using all keywords above (source-mda, destination-mda, fabric-port, and fabric-global)

Parameters

mda-id

the slot number of the specified adapter card

statistics

specifies that fabric statistics will be cleared for the specified adapter card

source-mda

clears all the network and access ingress traffic statistics in the fabric direction from the specified adapter card towards all other destination adapter cards

destination-mda

clears all the network and access ingress traffic statistics towards the specified adapter card fabric port, from all other adapter cards

fabric-port

clears the fabric port statistics towards the specified destination adapter card, if the specified adapter card has fabric-stats-enabled. If the specified adapter card does not have fabric-stats-enabled, no statistics will be cleared.

fabric-global

clears global fabric statistics collected for all egress traffic from the fabric

fabric-firewall

clears fabric firewall statistics collected for all egress traffic from the fabric

security

clears only security statistics for the specified adapter card

encryption

specifies that encryption statistics will be cleared for the specified adapter card

firewall

specifies that firewall statistics will be cleared for the specified adapter card

ip-transport

specifies that IP transport statistics will be cleared for the specified adapter card

mirror

specifies that mirror statistics will be cleared for the specified adapter card

cflowd

clears Cflowd queue statistics on the 7705 SAR-8 Shelf V2, 7705 SAR-18, or 7705 SAR-X

mda-id all

clears all the collected fabric statistics related to the specified adapter card. This command is equivalent to clearing the specified adapter card using all keywords above (source-mda, destination-mda, fabric-port, fabric-global).

ring all

clears the entire dynamic FDB

ieee-address

clears the dynamic FDB entry for the specified MAC address

port-id

clears the dynamic FDB entries for the specified port

all

clears all the collected fabric statistics across all adapter cards or modules

mw

Syntax

mw

Context

clear

Description

This command enables the context to clear microwave link parameters.

link

Syntax

link mw-link-id statistics

Context

clear mw

Description

This command clears microwave link statistics.

Parameters

mw-link-id

specifies the microwave link ID number, using the form mw-link-id

Values

id = 1 to 24

radio

Syntax

radio port-id

radio radio perfmon [all | g826 | acm | power]

Context

clear mw

Description

This command reboots managed microwave devices or resets their performance monitoring statistics.

Note:

This command will bring down the microwave link; traffic will not pass over it while the radio is rebooting.

Parameters

port-id

specifies the physical port ID associated with the MPR-e radio, in the format slot/mda/port (where port = 1 through 4)

radio

specifies the MWA performance monitoring radio

acm

resets the Adaptive Coding and Modulation level MWA performance monitoring statistics to 0

all

resets all MWA performance monitoring statistics to 0

g826

resets the G.286 MWA performance monitoring statistics to 0

power

resets the radio power MWA performance monitoring statistics to 0

rsl-history

Syntax

rsl-history port-id

Context

clear mw

Description

This command clears the RSL history for the specified MPR-e radio.

Parameters

port-id

specifies the physical port ID associated with the MPR-e radio, in the format slot/mda/port (where port = 1 through 4)

port

Syntax

port port-id statistics

port port-id atm pvc [vpi[/vci]] statistics

port port-id atm pvp [vpi] statistics

port port-id frame-relay dlci dlci

Context

clear

Description

This command clears the statistics for the specified port or channel group.

Parameters

port-id

specifies the physical port ID

Syntax

port-id

slot[/mda[/port]] or slot/mda/port[.channel]

bundle-id

bundle-type-slot/mda.bundle-num

bundle keyword

bundle-num: 1 to 32

type ima, ppp

statistics

specifies that port statistics will be cleared

atm

specifies that ATM port statistics will be cleared

vpi

specifies the ATM network virtual path identifier (VPI) for this PVC

vci

specifies the ATM network virtual channel identifier (VCI) for this PVC

pvc

clears PVC statistics

pvp

clears PVP statistics

frame-relay dlci

clears circuit-level frame relay statistics

dlci

specifies the frame relay virtual circuit identifier

The clear port port-id statistics frame-relay dlci dlci command differs from the clear port port-id statistics command in the sense that the former clears the circuit-level SAP statistics whereas the latter clears the frame relay port statistics.

scada

Syntax

scada bridge-id statistics

Context

clear

Description

This command clears the statistics for all or specified bridges or branches.

Parameters

bridge-id

specifies the bridge ID or branch ID (the bridge ID is in the format slot/mda/bridge-id, where bridge-id is 1 to 16; the branch ID is in the format slot/mda/bridge-id.branch-id, where branch-id is 1 to 32)

statistics

specifies that bridge or branch statistics will be cleared