perform commands

The perform commands are YANG-modeled versions of the tools perform commands and are available in MD-CLI and NETCONF interfaces. The perform commands execute actions in the router, such as:
  • force a LAG subgroup to become active
  • set an IS-IS overload condition
  • terminate a Python script
perform 
filter 
ip-filter reference 
entry reference 
activate-primary-action 
ipv6-filter reference 
entry reference 
activate-primary-action 
mac-filter reference 
entry reference 
activate-primary-action 
redirect-policy reference 
activate-best-dest 
lag 
clear-force 
lag 
[lag-name] reference
sub-group number
multi-chassis 
all 
peer 
[ip-address] reference
force-active 
lag 
[lag-name] reference
sub-group number
multi-chassis 
all 
peer 
[ip-address] reference
force-standby 
lag 
[lag-name] reference
sub-group number
multi-chassis 
all 
peer 
[ip-address] reference
load-balance 
class number
[lag-name] reference
python 
python-policy 
cache 
policy 
hex-key string
[name] reference
set-lifetime number
string-key string
python-script 
protect 
hmac-sha256-key string
input-file string
output-file string
reload 
script 
[name] reference
router string 
isis reference 
ldp-sync-exit 
overload 
max-metric boolean
[seconds] number
run-manual-spf 
system 
script-control 
script-policy 
stop 
all 
owner reference
policy-name reference
security 
secure-boot 
show 
uefi-variables 
card reference

perform command descriptions

perform

Synopsis Perform troubleshooting and debugging
Contextperform
Treeperform
Introduced23.7.R1

Platforms

All

filter

Synopsis Enter the filter context
Context perform filter
Treefilter
Introduced23.7.R1

Platforms

All

ip-filter [filter-name] reference
Synopsis Enter the ip-filter list instance
Contextperform filter ip-filter reference
Treeip-filter
Introduced23.7.R1

Platforms

All

[filter-name] reference
Synopsis Name to associate with the IP filter
Context perform filter ip-filter reference
Treeip-filter

Reference

state filter ip-filter string

Notes

This element is part of a list key.

Introduced23.7.R1

Platforms

All

entry [entry-id] reference
Synopsis Enter the entry list instance
Context perform filter ip-filter reference entry reference
Treeentry
Introduced23.7.R1

Platforms

All

[entry-id] reference
Synopsis ID for the IP filter entry
Context perform filter ip-filter reference entry reference
Treeentry

Reference

state filter ip-filter string entry number

Notes

This element is part of a list key.

Introduced23.7.R1

Platforms

All

activate-primary-action
Synopsis Switch from the secondary to the primary action
Contextperform filter ip-filter reference entry reference activate-primary-action
Treeactivate-primary-action

Description

This command activates the primary action for the specified filter policy entry. If the primary action is already active, the command has no effect. If a secondary action is active, the primary action is activated unless the primary target is down. If the configure filter redirect sticky-dest command is configured, the timer expires.

Introduced23.7.R1

Platforms

All

ipv6-filter [filter-name] reference
Synopsis Enter the ipv6-filter list instance
Contextperform filter ipv6-filter reference
Treeipv6-filter
Introduced23.7.R1

Platforms

All

[filter-name] reference
Synopsis Name to associate with the IPv6 filter
Contextperform filter ipv6-filter reference
Treeipv6-filter

Reference

state filter ipv6-filter string

Notes

This element is part of a list key.

Introduced23.7.R1

Platforms

All

entry [entry-id] reference
Synopsis Enter the entry list instance
Context perform filter ipv6-filter reference entry reference
Treeentry
Introduced23.7.R1

Platforms

All

[entry-id] reference
Synopsis ID for the IPv6 filter entry
Context perform filter ipv6-filter reference entry reference
Treeentry

Reference

state filter ipv6-filter string entry number

Notes

This element is part of a list key.

Introduced23.7.R1

Platforms

All

activate-primary-action
Synopsis Switch from the secondary to the primary action
Contextperform filter ipv6-filter reference entry reference activate-primary-action
Treeactivate-primary-action

Description

This command activates the primary action for the specified filter policy entry. If the primary action is already active, the command has no effect. If a secondary action is active, the primary action is activated unless the primary target is down. If the configure filter redirect sticky-dest command is configured, the timer expires.

Introduced23.7.R1

Platforms

All

mac-filter [filter-name] reference
Synopsis Enter the mac-filter list instance
Contextperform filter mac-filter reference
Treemac-filter
Introduced23.7.R1

Platforms

All

[filter-name] reference
Synopsis Name to associate with the MAC filter
Contextperform filter mac-filter reference
Treemac-filter

Reference

state filter mac-filter string

Notes

This element is part of a list key.

Introduced23.7.R1

Platforms

All

entry [entry-id] reference
Synopsis Enter the entry list instance
Context perform filter mac-filter reference entry reference
Treeentry
Introduced23.7.R1

Platforms

All

[entry-id] reference
Synopsis ID for the MAC filter entry
Context perform filter mac-filter reference entry reference
Treeentry

Reference

state filter mac-filter string entry number

Notes

This element is part of a list key.

Introduced23.7.R1

Platforms

All

activate-primary-action
Synopsis Switch from the secondary to the primary action
Contextperform filter mac-filter reference entry reference activate-primary-action
Treeactivate-primary-action

Description

This command activates the primary action for the specified filter policy entry. If the primary action is already active, the command has no effect. If a secondary action is active, the primary action is activated unless the primary target is down. If the configure filter redirect sticky-dest command is configured, the timer expires.

Introduced23.7.R1

Platforms

All

redirect-policy [redirect-policy-name] reference
Synopsis Enter the redirect-policy list instance
Contextperform filter redirect-policy reference
Treeredirect-policy
Introduced23.7.R1

Platforms

All

[redirect-policy-name] reference
Synopsis Name of the redirect policy
Context perform filter redirect-policy reference
Treeredirect-policy

Reference

state filter redirect-policy string

Notes

This element is part of a list key.

Introduced23.7.R1

Platforms

All

activate-best-dest
Synopsis Activate the current best destination
Contextperform filter redirect-policy reference activate-best-dest
Treeactivate-best-dest

Description

This command forces a PBR switch to the best destination selected by the redirect policy when that destination is not currently active as result of sticky destination functionality being enabled for the specified redirect policy. If the configure filter redirect sticky-dest command is configured, the timer expires.

Introduced23.7.R1

Platforms

All

lag

Synopsis Perform LAG operations
Context perform lag
Treelag
Introduced23.7.R1

Platforms

All

clear-force
Synopsis Perform LAG clear-force operation
Context perform lag clear-force
Treeclear-force
Introduced23.7.R1

Platforms

All

multi-chassis
Synopsis Enter the multi-chassis context
Contextperform lag clear-force multi-chassis
Treemulti-chassis
Introduced23.7.R1

Platforms

All

force-active
Synopsis Perform LAG force-active operation
Context perform lag force-active
Treeforce-active
Introduced23.7.R1

Platforms

All

multi-chassis
Synopsis Enter the multi-chassis context
Contextperform lag force-active multi-chassis
Treemulti-chassis
Introduced23.7.R1

Platforms

All

force-standby
Synopsis Perform LAG force-standby operation
Context perform lag force-standby
Treeforce-standby
Introduced23.7.R1

Platforms

All

multi-chassis
Synopsis Enter the multi-chassis context
Contextperform lag force-standby multi-chassis
Treemulti-chassis
Introduced23.7.R1

Platforms

All

python

Synopsis Enter the python context
Context perform python
Treepython
Introduced23.10.R1

Platforms

All

python-policy
Synopsis Enter the python-policy context
Context perform python python-policy
Treepython-policy
Introduced23.10.R1

Platforms

All

cache
Synopsis Enter the cache context
Context perform python python-policy cache
Treecache

Description

Commands in this context operate on python cache entries.

Introduced23.10.R1

Platforms

All

policy
Synopsis Set the lifetime of a specified python cache entry
Contextperform python python-policy cache policy
Treepolicy
Introduced23.10.R1

Platforms

All

hex-key string
Synopsis Policy key in hexadecimal format
Context perform python python-policy cache policy hex-key string
Treehex-key
String Length3 to 1026

Notes

The following elements are part of a mandatory choice: hex-key or string-key.

Introduced23.10.R1

Platforms

All

python-script
Synopsis Enter the python-script context
Contextperform python python-script
Treepython-script
Introduced23.10.R1

Platforms

All

protect
Synopsis Convert a Python file into a protected SRPY format
Contextperform python python-script protect
Treeprotect

Description

When invoked, the system converts a normal (unprotected) Python script file into a protected SRPY format using a specified key.

For more information about the SRPY format and protected scripts, see "Python script protection" in the 7450 ESS, 7750 SR, and VSR Triple Play Service Delivery Architecture Guide.

Introduced23.10.R1

Platforms

All

reload
Synopsis Enter the reload context
Context perform python python-script reload
Treereload

Description

Commands in this context reload and recompile the primary, secondary, and tertiary scripts in the specified Python scripts, in that order. The system uses the first script that comes up.

Executing these commands may update the last modified time for the system configuration.

Introduced23.10.R1

Platforms

All

router [router-instance] string

Synopsis Enter the router list instance
Contextperform router string
Treerouter
Introduced23.10.R1

Platforms

All

[router-instance] string
Synopsis Router name or VPRN service name
Context perform router string
Treerouter
MD-CLI DefaultBase

Notes

This element is part of a list key.

Introduced23.10.R1

Platforms

All

isis [isis-instance] reference
Synopsis Enter the isis list instance
Context perform router string isis reference
Treeisis
Introduced23.10.R1

Platforms

All

[isis-instance] reference
Synopsis IS-IS instance
Contextperform router string isis reference
Treeisis
MD-CLI Default0

Reference

state router string isis number

Notes

This element is part of a list key.

Introduced23.10.R1

Platforms

All

overload
Synopsis Perform IS-IS overload
Context perform router string isis reference overload
Treeoverload
Introduced23.10.R1

Platforms

All

system

Synopsis Enter the system context
Context perform system
Treesystem
Introduced23.7.R1

Platforms

All

script-control
Synopsis Enter the script-control context
Contextperform system script-control
Treescript-control
Introduced23.10.R1

Platforms

All

script-policy
Synopsis Enter the script-policy context
Contextperform system script-control script-policy
Treescript-policy
Introduced23.10.R1

Platforms

All

stop
Synopsis Stop the execution of scripts
Context perform system script-control script-policy stop
Treestop
Introduced23.10.R1

Platforms

All

all
Synopsis Stop script execution for all script policies
Contextperform system script-control script-policy stop all
Treeall

Notes

The following elements are part of a mandatory choice: all or (owner and policy-name).

Introduced23.10.R1

Platforms

All

owner reference
Synopsis Stop script execution for a specific owner
Contextperform system script-control script-policy stop owner reference
Treeowner
DefaultTiMOS CLI

Reference

state system script-control script-policy string owner string

Notes

The following elements are part of a mandatory choice: all or (owner and policy-name).

Introduced23.10.R1

Platforms

All

policy-name reference
Synopsis Stop script execution for a specific policy
Contextperform system script-control script-policy stop policy-name reference
Treepolicy-name

Reference

state system script-control script-policy string owner string

Notes

The following elements are part of a mandatory choice: all or (owner and policy-name).

Introduced23.10.R1

Platforms

All

security
Synopsis Enter the security context
Context perform system security
Treesecurity
Introduced23.7.R1

Platforms

7750 SR-1-24D, 7750 SR-1-46S, 7750 SR-1-48D, 7750 SR-1-92S, 7750 SR-1x-48D, 7750 SR-1x-92S, 7750 SR-s, 7950 XRS-20e

secure-boot
Synopsis Enter the secure-boot context
Context perform system security secure-boot
Treesecure-boot
Introduced23.7.R1

Platforms

7750 SR-1-24D, 7750 SR-1-46S, 7750 SR-1-48D, 7750 SR-1-92S, 7750 SR-1x-48D, 7750 SR-1x-92S, 7750 SR-s, 7950 XRS-20e

show
Synopsis Enter the show context
Context perform system security secure-boot show
Treeshow
Introduced23.7.R1

Platforms

7750 SR-1-24D, 7750 SR-1-46S, 7750 SR-1-48D, 7750 SR-1-92S, 7750 SR-1x-48D, 7750 SR-1x-92S, 7750 SR-s, 7950 XRS-20e

uefi-variables
Synopsis Display secure-boot UEFI variables
Context perform system security secure-boot show uefi-variables
Treeuefi-variables
Introduced23.7.R1

Platforms

7750 SR-1-24D, 7750 SR-1-46S, 7750 SR-1-48D, 7750 SR-1-92S, 7750 SR-1x-48D, 7750 SR-1x-92S, 7750 SR-s, 7950 XRS-20e

card reference
Synopsis CPM slot where UEFI variables are returned
Contextperform system security secure-boot show uefi-variables card reference
Treecard

Reference

state cpm string

Notes

This element is mandatory.

Introduced23.7.R1

Platforms

7750 SR-1-24D, 7750 SR-1-46S, 7750 SR-1-48D, 7750 SR-1-92S, 7750 SR-1x-48D, 7750 SR-1x-92S, 7750 SR-s, 7950 XRS-20e