reset commands

The reset commands are YANG-modeled versions of the clear commands and are available in MD-CLI and NETCONF interfaces. The reset commands are primarily used to:
  • set statistics in a specific area back to a value of zero
  • reset specific hardware assemblies, for example, cards
  • delete temporary operational state data, for example, contents of a log in memory
reset 
filter 
ip-exception 
direction keyword
entry reference
[filter-name] reference
ip-filter 
direction keyword
entry reference
[filter-name] reference
ipv6-exception 
direction keyword
entry reference
[filter-name] reference
ipv6-filter 
direction keyword
entry reference
[filter-name] reference
log 
[log-id] reference
mac-filter 
direction keyword
entry reference
[filter-name] reference
lag reference 
bfd-session 
port 
family keyword
[lag-port] reference
lacp-statistics 
statistics 
log 
event-handling 
handlers 
all 
handler 
[name] reference
information 
log-events 
repeating-events 
all 
log-id 
[name] reference
router string 
interface string 
hold-time 
mac 
address 
[mac-address] string
all 
policy-accounting 
all 
class 
all 
index number
[name] keyword
policer 
all 
index 
[policer-index] number
statistics 
urpf-statistics 
saa 
owner reference test reference 
statistics 
system 
management-interface 
remote-management 
managers 
all 
manager 
[name] reference
statistics 
all 
manager 
[name] reference
script-control 
script-policy 
completed 
all 
policy 
owner reference
[policy-name] reference
security 
cpm-filter 
cpm-queue 
queue-id reference
ip-filter 
entry reference
ipv6-filter 
entry reference
mac-filter 
entry reference
management-access-filter 
ip-filter 
entry reference
ipv6-filter 
entry reference
mac-filter 
entry reference

reset command descriptions

reset

Synopsis Clear statistics or reset operational state
Contextreset
Treereset

Description

Commands in this context are used to clear specific statistics, reset specific hardware assemblies (for example, cards), and delete temporary operational state data (for example, contents of a log in memory).

Introduced23.3.R1

Platforms

All

filter

Synopsis Enter the filter context
Context reset filter
Treefilter
Introduced23.3.R1

Platforms

All

ip-exception
Synopsis Reset operation on the specified IP exception filter
Contextreset filter ip-exception
Treeip-exception
Introduced23.3.R1

Platforms

VSR

entry reference
Synopsis Entry ID for the filter
Context reset filter ip-exception entry reference
Treeentry

Reference

state filter ip-exception string entry number

Introduced23.3.R1

Platforms

VSR

ip-filter
Synopsis Reset operation on the specified IP filter
Contextreset filter ip-filter
Treeip-filter
Introduced23.3.R1

Platforms

All

entry reference
Synopsis Entry ID for the filter
Context reset filter ip-filter entry reference
Treeentry

Reference

state filter ip-filter string entry number

Introduced23.3.R1

Platforms

All

ipv6-exception
Synopsis Reset operation on the specified IPv6 exception filter
Contextreset filter ipv6-exception
Treeipv6-exception
Introduced23.3.R1

Platforms

VSR

entry reference
Synopsis Entry ID for the filter
Context reset filter ipv6-exception entry reference
Treeentry

Reference

state filter ipv6-exception string entry number

Introduced23.3.R1

Platforms

VSR

ipv6-filter
Synopsis Reset operation on the specified IPv6 filter
Contextreset filter ipv6-filter
Treeipv6-filter
Introduced23.3.R1

Platforms

All

entry reference
Synopsis Entry ID for the IPv6 filter
Context reset filter ipv6-filter entry reference
Treeentry

Reference

state filter ipv6-filter string entry number

Introduced23.3.R1

Platforms

All

log
Synopsis Reset the specified filter log
Context reset filter log
Treelog

Description

This command reinitializes or rolls over the specified memory filter log. Memory filter logs are reinitialized and cleared of contents.

This command is applicable only to filter logs that are directed to memory destinations. Filter logs with destinations other than memory are not affected by this command.

Introduced23.7.R1

Platforms

All

[log-id] reference
Synopsis ID of the filter log to reset
Context reset filter log [log-id] reference
Tree[log-id]

Reference

state filter log number

Notes

This element is mandatory.

Introduced23.7.R1

Platforms

All

mac-filter
Synopsis Reset operation on the specified MAC filter
Contextreset filter mac-filter
Treemac-filter
Introduced23.3.R1

Platforms

All

entry reference
Synopsis Entry ID for the MAC filter
Context reset filter mac-filter entry reference
Treeentry

Reference

state filter mac-filter string entry number

Introduced23.3.R1

Platforms

All

lag [lag-name] reference

Synopsis Enter the lag list instance
Context reset lag reference
Treelag

Description

Commands in this context configure LAG reset operations.

Introduced23.3.R1

Platforms

All

[lag-name] reference
Synopsis LAG name, starting with lag-
Context reset lag reference
Treelag

Reference

state lag string

Notes

This element is part of a list key.

Introduced23.3.R1

Platforms

All

bfd-session
Synopsis Enter the bfd-session context
Context reset lag reference bfd-session
Treebfd-session

Description

Commands in this context reset the LAG BFD session data.

Introduced23.3.R1

Platforms

All

port
Synopsis Port identifier in the LAG
Context reset lag reference bfd-session port
Treeport
Introduced23.3.R1

Platforms

All

family keyword
Synopsis BFD session family type
Context reset lag reference bfd-session port family keyword
Treefamily
Optionsipv4, ipv6

Notes

This element is mandatory.

Introduced 23.3.R1

Platforms

All

[lag-port] reference
Synopsis Member port of the LAG
Context reset lag reference bfd-session port [lag-port] reference
Tree[lag-port]

Reference

state lag string port reference

Notes

This element is mandatory.

Introduced23.3.R1

Platforms

All

log

Synopsis Enter the log context
Context reset log
Treelog

Description

Commands in this context provide reset operations for events, logs, and the event handling system (EHS).

Introduced23.7.R1

Platforms

All

event-handling
Synopsis Enter the event-handling context
Contextreset log event-handling
Treeevent-handling

Description

Commands in this context provide reset operations for the EHS.

Introduced23.7.R1

Platforms

All

handlers
Synopsis Enter the handlers context
Context reset log event-handling handlers
Treehandlers

Description

Commands in this context reset statistics related to EHS handlers.

Introduced23.7.R1

Platforms

All

all
Synopsis Reset statistics for all EHS handlers
Contextreset log event-handling handlers all
Treeall

Description

This command resets all statistics for all handlers in the state log event-handling handler context and in the output of the show log event-handling handler command.

Introduced23.7.R1

Platforms

All

handler
Synopsis Reset statistics for a specified EHS handler
Contextreset log event-handling handlers handler
Treehandler

Description

This command resets all statistics for the specified handler in the state log event-handling handler context and in the output of the show log event-handling handler command.

Introduced23.7.R1

Platforms

All

information
Synopsis Reset general EHS operational data
Context reset log event-handling information
Treeinformation

Description

This command resets all data in the state log event-handling summary-statistics context and in the output of the show log event-handling information command.

Introduced23.7.R1

Platforms

All

log-events
Synopsis Enter the log-events context
Context reset log log-events
Treelog-events

Description

Commands in this context reset the operational state related to log events.

Introduced23.7.R1

Platforms

All

repeating-events
Synopsis Enter the repeating-events context
Contextreset log log-events repeating-events
Treerepeating-events

Description

Commands in this context reset the operational state related to repeating log events.

Introduced23.7.R1

Platforms

All

all
Synopsis Reset operation for all repeating log events
Contextreset log log-events repeating-events all
Treeall

Description

This command cancels the repetition of all log events that are currently repeating.

All repeating log events stop repeating.

Introduced23.7.R1

Platforms

All

log-id
Synopsis Reset the specified event log
Context reset log log-id
Treelog-id

Description

This command reinitializes or rolls over the specified memory or file event log. Memory logs are reinitialized and cleared of contents. File logs are manually rolled over by this command.

This command is applicable only to event logs that are directed to file destinations and memory destinations. This command does not affect SNMP, syslog, console, CLI, or session logs.

Introduced23.7.R1

Platforms

All

[name] reference
Synopsis Name of the event log to reset
Context reset log log-id [name] reference
Tree[name]

Reference

state log log-id string

Notes

This element is mandatory.

Introduced23.7.R1

Platforms

All

router [router-instance] string

Synopsis Enter the router list instance
Contextreset router string
Treerouter
Introduced23.7.R1

Platforms

All

[router-instance] string
Synopsis Router name or VPRN service name
Context reset router string
Treerouter

Notes

This element is part of a list key.

Introduced23.7.R1

Platforms

All

interface [interface-name] string
Synopsis Enter the interface list instance
Contextreset router string interface string
Treeinterface

Description

Commands in this context reset IP interface statistics.

Introduced23.7.R1

Platforms

All

[interface-name] string
Synopsis Interface name
Contextreset router string interface string
Treeinterface
String Length1 to 32

Notes

This element is part of a list key.

Introduced23.7.R1

Platforms

All

mac
Synopsis Enter the mac context
Context reset router string interface string mac
Treemac
Introduced23.7.R1

Platforms

All

all
Synopsis Reset all MAC addresses for the specified interface
Contextreset router string interface string mac all
Treeall
Introduced23.7.R1

Platforms

All

policy-accounting
Synopsis Enter the policy-accounting context
Contextreset router string interface string policy-accounting
Treepolicy-accounting

Description

Commands in this context reset the accounting statistics.

Introduced23.7.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS

all
Synopsis Reset all the policy-accounting statistics
Contextreset router string interface string policy-accounting all
Treeall

Description

When configured, the system resets all classes, indexes, and policers.

Introduced23.7.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS

class
Synopsis Reset the specified policy-accounting class
Contextreset router string interface string policy-accounting class
Treeclass
Introduced23.7.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS

all
Synopsis Reset all policy-accounting class indexes
Contextreset router string interface string policy-accounting class all
Treeall

Notes

The following elements are part of a mandatory choice: all or index.

Introduced23.7.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS

index number
Synopsis Policy-accounting class index
Context reset router string interface string policy-accounting class index number
Treeindex
Range1 to 255

Notes

The following elements are part of a mandatory choice: all or index.

Introduced23.7.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS

policer
Synopsis Enter the policer context
Context reset router string interface string policy-accounting policer
Treepolicer
Introduced23.7.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS

saa

Synopsis Enter the saa context
Context reset saa
Treesaa
Introduced23.3.R1

Platforms

All

owner [owner-name] reference test reference
Synopsis Enter the owner list instance
Context reset saa owner reference test reference
Treeowner
Introduced23.3.R1

Platforms

All

[owner-name] reference
Synopsis Name of SAA test owner for which to reset statistics
Contextreset saa owner reference test reference
Treeowner

Description

This command configures the name of the SAA test owner.

When not configured, the system uses "TiMOS CLI" as the default owner.

Reference

state saa owner string test string

Notes

This element is part of a list key.

Introduced23.3.R1

Platforms

All

test reference
Synopsis Name of the SAA test for which to reset statistics
Contextreset saa owner reference test reference
Treeowner

Reference

state saa owner string test string

Notes

This element is part of a list key.

Introduced23.3.R1

Platforms

All

statistics
Synopsis Clear the SAA test statistics
Context reset saa owner reference test reference statistics
Treestatistics

Description

This command clears historical statistics for a completed run. If this option is not configured, the reset operation has no impact.

Introduced23.3.R1

Platforms

All

system

Synopsis Enter the system context
Context reset system
Treesystem
Introduced23.3.R1

Platforms

All

management-interface
Synopsis Enter the management-interface context
Contextreset system management-interface
Treemanagement-interface
Introduced23.7.R1

Platforms

All

remote-management
Synopsis Enter the remote-management context
Contextreset system management-interface remote-management
Treeremote-management

Description

Commands in this context reset operational information related to the remote management feature that is used with the Network Interface Shell (NISH) Tool.

Introduced23.7.R1

Platforms

All

managers
Synopsis Enter the managers context
Context reset system management-interface remote-management managers
Treemanagers

Description

Commands in this context reset and restart the remote management manager connection process for NISH managers.

Introduced23.7.R1

Platforms

All

manager
Synopsis Reset connection for a remote NISH manager
Contextreset system management-interface remote-management managers manager
Treemanager

Description

This command resets and restarts the remote management manager connection process for the specified NISH manager.

Introduced23.7.R1

Platforms

All

statistics
Synopsis Enter the statistics context
Context reset system management-interface remote-management statistics
Treestatistics

Description

Commands in this context reset statistics for NISH remote management managers.

Introduced23.7.R1

Platforms

All

script-control
Synopsis Enter the script-control context
Contextreset system script-control
Treescript-control
Introduced23.7.R1

Platforms

All

script-policy
Synopsis Enter the script-policy context
Contextreset system script-control script-policy
Treescript-policy
Introduced23.7.R1

Platforms

All

completed
Synopsis Enter the completed context
Context reset system script-control script-policy completed
Treecompleted

Description

Commands in this context delete completed script run history entries.

Introduced23.7.R1

Platforms

All

policy
Synopsis Delete script run entries for specific policies
Contextreset system script-control script-policy completed policy
Treepolicy
Introduced23.7.R1

Platforms

All

owner reference
Synopsis Script-policy owner for run history deletion
Contextreset system script-control script-policy completed policy owner reference
Treeowner

Description

This command specifies the script policy owner for run history deletion.

The system only deletes run history entries for script policies with this owner and the specified policy name.

DefaultTiMOS CLI

Reference

state system script-control script-policy string owner string

Introduced23.7.R1

Platforms

All

security
Synopsis Enter the security context
Context reset system security
Treesecurity
Introduced23.3.R1

Platforms

All

cpm-filter
Synopsis Enter the cpm-filter context
Context reset system security cpm-filter
Treecpm-filter
Introduced23.3.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS

cpm-queue
Synopsis Reset CPM queue information
Context reset system security cpm-filter cpm-queue
Treecpm-queue
Introduced23.3.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS

queue-id reference
Synopsis Queue ID for the CPM queue
Context reset system security cpm-filter cpm-queue queue-id reference
Treequeue-id

Reference

state system security cpm-queue queue number

Notes

This element is mandatory.

Introduced23.3.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS

ip-filter
Synopsis Reset IP filter information
Context reset system security cpm-filter ip-filter
Treeip-filter
Introduced23.3.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS

entry reference
Synopsis Entry ID for IP filter
Context reset system security cpm-filter ip-filter entry reference
Treeentry

Reference

state system security cpm-filter ip-filter entry number

Introduced23.3.R1

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS

management-access-filter
Synopsis Enter the management-access-filter context
Contextreset system security management-access-filter
Treemanagement-access-filter
Introduced23.3.R1

Platforms

All