Global commands

Global commands are used for operational functions, such as entering configuration sessions, navigating the CLI, executing OAM commands, and logging into remote hosts.

back number
bof 
exclusive 
private 
read-only 
configure 
exclusive 
global 
private 
read-only 
debug 
exclusive 
private 
read-only 
delete string
edit-config 
bof 
debug 
exclusive 
global 
li 
private 
read-only 
enable 
exec string
echo 
exit 
all 
history 
info keyword
[cli-path] string
converted 
detail 
flat 
full-context 
inheritance 
json 
model keyword
units 
xml 
li 
exclusive 
private 
read-only 
logout 
oam 
efm 
local-loopback 
[action] keyword
port-id string
remote-loopback 
[action] keyword
port-id string
eth-cfm 
eth-test 
data-length number
[destination] (mac-unicast-address-no-zero | number)
ma-admin-name reference
md-admin-name reference
mep-id number
priority number
linktrace 
[destination] (mac-unicast-address-no-zero | number)
ma-admin-name reference
md-admin-name reference
mep-id number
ttl number
loopback 
[destination] (mac-unicast-address-no-zero | keyword | number)
interval number
lbm-padding number
ma-admin-name reference
md-admin-name reference
mep-id number
priority number
send-count number
size number
timeout number
one-way-delay-test 
[destination] (mac-unicast-address-no-zero | number)
ma-admin-name reference
md-admin-name reference
mep-id number
priority number
two-way-delay-test 
[destination] (mac-unicast-address-no-zero | number)
ma-admin-name reference
md-admin-name reference
mep-id number
priority number
two-way-slm-test 
[destination] (mac-unicast-address-no-zero | number)
interval (number | decimal-number)
ma-admin-name reference
md-admin-name reference
mep-id number
priority number
send-count number
size number
timeout number
oam-pm 
action keyword
session reference
test-type keyword
saa 
owner reference test reference
start 
accounting boolean
stop 
accounting boolean
password 
ping 
bypass-routing 
count number
[destination] (ipv4-address-with-zone | ipv6-address-with-zone | string-not-all-spaces)
do-not-fragment 
fc keyword
interface (reference | reference | reference | reference | reference)
interval (number | decimal-number)
next-hop-address (ipv4-address-no-zone | ipv6-address-no-zone)
output-format keyword
pattern (keyword | number)
router-instance (reference | reference)
size number
source-address (ipv4-address-no-zone | ipv6-address-no-zone)
subscriber string
timeout number
tos number
ttl number
pwc 
[path-type] keyword
previous 
pyexec (string | reference)
[argument-01] string
[argument-02] string
[argument-03] string
[argument-04] string
[argument-05] string
[argument-06] string
[argument-07] string
[argument-08] string
[argument-09] string
[argument-10] string
quit-config 
ssh 
[destination] (ipv4-address-with-zone | ipv6-address-with-zone | string-not-all-spaces)
key-re-exchange 
mbytes (number | keyword)
minutes (number | keyword)
login-name string
router-instance (reference | reference)
telnet 
[destination] (ipv4-address-with-zone | ipv6-address-with-zone | string-not-all-spaces)
port number
router-instance (reference | reference)
source-address (ipv4-address-no-zone | ipv6-address-no-zone)
top 
traceroute 
decode keyword
dest-port number
dest-port-udp-fixed 
[destination] (ipv4-address-no-zone | ipv6-address-no-zone | string-not-all-spaces)
detail 
min-ttl number
numeric 
probe-count number
protocol keyword
router-instance (reference | reference)
size number
source-address (ipv4-address-no-zone | ipv6-address-no-zone)
tos number
ttl number
wait number
tree 
[cli-path] string
detail 
flat 

Global command descriptions

back [levels] number

Synopsis Move back one or more levels
Context back number
Treeback
Introduced16.0.R1

Platforms

All

[levels] number

Synopsis Number of levels to move up
Context back number
Treeback
Range1 to 4294967295
Default1

Notes

This element is part of a list key.

Introduced16.0.R1

Platforms

All

bof

Synopsis Enter a candidate configuration mode
Context bof
Tree bof
Introduced20.10.R1

Platforms

All

exclusive

Synopsis Enter exclusive configuration mode
Context bof exclusive
Treeexclusive
Introduced20.10.R1

Platforms

All

private

Synopsis Enter private configuration mode
Context bof private
Treeprivate
Introduced20.10.R1

Platforms

All

read-only

Synopsis Enter read-only configuration mode
Context bof read-only
Treeread-only
Introduced20.10.R1

Platforms

All

configure

Synopsis Enter a candidate configuration mode
Context configure
Treeconfigure
Introduced16.0.R2

Platforms

All

global

Synopsis Enter global configuration mode
Context configure global
Treeglobal
Introduced16.0.R2

Platforms

All

private

Synopsis Enter private configuration mode
Context configure private
Treeprivate
Introduced16.0.R4

Platforms

All

debug

Synopsis Enter a candidate configuration mode
Context debug
Tree debug
Introduced21.5.R1

Platforms

All

exclusive

Synopsis Enter exclusive configuration mode
Context debug exclusive
Treeexclusive
Introduced21.5.R1

Platforms

All

private

Synopsis Enter private configuration mode
Context debug private
Treeprivate
Introduced21.5.R1

Platforms

All

read-only

Synopsis Enter read-only configuration mode
Context debug read-only
Treeread-only
Introduced21.5.R1

Platforms

All

delete [cli-path] string

Synopsis Delete an element
Context delete string
Treedelete
Introduced16.0.R1

Platforms

All

[cli-path] string

Synopsis Absolute path or relative path from pwc
Contextdelete string
Treedelete

Notes

This element is part of a list key.

Introduced16.0.R1

Platforms

All

edit-config

Synopsis Enter a configuration mode
Context edit-config
Treeedit-config
Introduced16.0.R1

Platforms

All

bof

Synopsis Enter the bof configuration context
Context edit-config bof
Treebof
Introduced20.10.R1

Platforms

All

debug

Synopsis Enter the debug configuration context
Contextedit-config debug
Treedebug
Introduced21.5.R1

Platforms

All

global

Synopsis Enter global configuration mode
Context edit-config global
Treeglobal
Introduced16.0.R1

Platforms

All

li

Synopsis Enter the li configuration context
Context edit-config li
Treeli
Introduced19.10.R1

Platforms

All

enable

Synopsis Enable administrative mode
Context enable
Tree enable
Introduced20.2.R1

Platforms

All

exec [url] string

Synopsis Execute commands from a file
Context exec string
Treeexec
Introduced16.0.R1

Platforms

All

[url] string

Synopsis Location of the file to be executed
Context exec string
Treeexec

Notes

This element is part of a list key.

Introduced16.0.R1

Platforms

All

echo

Synopsis Display the commands as they are being executed
Contextexec string echo
Treeecho
Introduced16.0.R1

Platforms

All

exit

Synopsis Return to the previous context or to operational root
Contextexit
Treeexit
Introduced16.0.R1

Platforms

All

all

Synopsis Return to the root context
Context exit all
Treeall
Introduced16.0.R1

Platforms

All

history

Synopsis Show the command history
Context history
Tree history
Introduced16.0.R1

Platforms

All

info [from] keyword

Synopsis Show the information under the present working context
Contextinfo keyword
Treeinfo
Introduced16.0.R1

Platforms

All

[from] keyword

Synopsis Source datastore
Context info keyword
Treeinfo

Description

This command specifies the source datastore. This option is not supported for state elements.

Optionscandidate, running, baseline, intended

Notes

This element is part of a list key.

Introduced16.0.R1

Platforms

All

[cli-path] string

Synopsis Absolute path or relative path from pwc
Contextinfo keyword [cli-path] string
Tree[cli-path]
Introduced20.10.R1

Platforms

All

converted

Synopsis Include converted third-party model configuration from the running datastore
Contextinfo keyword converted
Treeconverted

Description

This option specifies the inclusion of converted configuration values from third party models in the output and is only available when configure system management-interface yang-modules openconfig-modules is set to true.

This option should only be used in the configure region when third party models are used. The output with this option is the same as info when used in other configuration regions.

This option is not supported for state elements.

Introduced16.0.R1

Platforms

All

detail

Synopsis Include default and unconfigured values
Contextinfo keyword detail
Treedetail
Introduced16.0.R1

Platforms

All

flat

Synopsis Show the context from the pwc on each line
Contextinfo keyword flat
Treeflat

Description

This option shows the hierarchy on each line starting from the present working context.

Notes

The following elements are part of a choice: flat, json, or xml.

Introduced16.0.R1

Platforms

All

inheritance

Synopsis Include configuration inherited from configuration groups
Contextinfo keyword inheritance
Treeinheritance

Description

This option specifies the inclusion of configuration inherited from configuration groups in the output.

This option should only be used in the configure region when configuration groups are used. The output with this option is the same as info when used in other configuration regions.

This option is not supported for state elements.

Introduced16.0.R1

Platforms

All

json

Synopsis Show the output in indented JSON IETF format
Contextinfo keyword json
Treejson

Notes

The following elements are part of a choice: flat, json, or xml.

Introduced19.10.R1

Platforms

All

model keyword

Synopsis Model for which to display converted output
Contextinfo keyword model keyword
Treemodel

Description

This option specifies the model which displays the converted output.

This option is only supported with the converted option and is only available when configure system management-interface yang-modules openconfig-modules is set to true.

Optionsall, openconfig
Default all
Introduced20.7.R1

Platforms

All

units

Synopsis Include unit types for applicable elements
Contextinfo keyword units
Treeunits
Introduced20.5.R1

Platforms

All

xml

Synopsis Show the output in indented XML format
Contextinfo keyword xml
Treexml

Notes

The following elements are part of a choice: flat, json, or xml.

Introduced20.7.R1

Platforms

All

li

Synopsis Enter a candidate configuration mode
Context li
Tree li
Introduced19.10.R1

Platforms

All

exclusive

Synopsis Enter exclusive configuration mode
Context li exclusive
Treeexclusive
Introduced19.10.R1

Platforms

All

private

Synopsis Enter private configuration mode
Context li private
Treeprivate
Introduced19.10.R1

Platforms

All

read-only

Synopsis Enter read-only configuration mode
Context li read-only
Treeread-only
Introduced19.10.R1

Platforms

All

logout

Synopsis Exit the CLI session
Context logout
Tree logout
Introduced16.0.R1

Platforms

All

oam

Synopsis Perform OAM tests
Context oam
Tree oam
Introduced20.2.R1

Platforms

All

efm

Synopsis Enter the efm context
Context oam efm
Treeefm
Introduced20.2.R1

Platforms

All

local-loopback
Synopsis Start or stop local loopback test on a port
Contextoam efm local-loopback
Treelocal-loopback
Introduced20.2.R1

Platforms

All

[action] keyword
Synopsis Action type for the test
Context oam efm local-loopback [action] keyword
Tree[action]
Optionsstart, stop

Notes

This element is mandatory.

Introduced 20.2.R1

Platforms

All

remote-loopback
Synopsis Start or stop remote loopback test on a port
Contextoam efm remote-loopback
Treeremote-loopback
Introduced20.2.R1

Platforms

All

[action] keyword
Synopsis Action type for the test
Context oam efm remote-loopback [action] keyword
Tree[action]
Optionsstart, stop

Notes

This element is mandatory.

Introduced 20.2.R1

Platforms

All

eth-cfm

Synopsis Initiate an Ethernet Connectivity Fault Management test
Contextoam eth-cfm
Treeeth-cfm
Introduced20.2.R1

Platforms

All

eth-test
Synopsis Initiate an OAM ETH-CFM test
Context oam eth-cfm eth-test
Treeeth-test
Introduced20.2.R1

Platforms

All

[destination] (mac-unicast-address-no-zero | number)
Synopsis Destination MAC address or remote MEP ID of the peer
Contextoam eth-cfm eth-test [destination] (mac-unicast-address-no-zero | number)
Tree[destination]
Range1 to 8191

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

ma-admin-name reference
Synopsis Association name
Context oam eth-cfm eth-test ma-admin-name reference
Treema-admin-name

Reference

state eth-cfm domain string association string

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

mep-id number
Synopsis Local Maintenance Association Endpoint (MEP) ID
Contextoam eth-cfm eth-test mep-id number
Treemep-id
Range1 to 8191

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

priority number
Synopsis Frame priority that can be manipulated by QoS policies
Contextoam eth-cfm eth-test priority number
Treepriority
Range0 to 7
Default7
Introduced 20.2.R1

Platforms

All

linktrace
Synopsis Initiate a linktrace test
Context oam eth-cfm linktrace
Treelinktrace
Introduced20.2.R1

Platforms

All

[destination] (mac-unicast-address-no-zero | number)
Synopsis Destination MAC address or remote MEP ID of the peer
Contextoam eth-cfm linktrace [destination] (mac-unicast-address-no-zero | number)
Tree[destination]
Range1 to 8191

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

ma-admin-name reference
Synopsis Association name
Context oam eth-cfm linktrace ma-admin-name reference
Treema-admin-name

Reference

state eth-cfm domain string association string

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

mep-id number
Synopsis Local Maintenance Association Endpoint (MEP) ID
Contextoam eth-cfm linktrace mep-id number
Treemep-id
Range1 to 8191

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

ttl number
Synopsis Time to live for a returned linktrace
Contextoam eth-cfm linktrace ttl number
Treettl
Range0 to 255
Default64
Introduced 20.2.R1

Platforms

All

loopback
Synopsis Initiate a loopback test
Context oam eth-cfm loopback
Treeloopback
Introduced20.2.R1

Platforms

All

[destination] (mac-unicast-address-no-zero | keyword | number)
Synopsis Destination MAC address or remote MEP ID of the peer
Contextoam eth-cfm loopback [destination] (mac-unicast-address-no-zero | keyword | number)
Tree[destination]
Range1 to 8191
Optionsmulticast

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

interval number
Synopsis Time between probes within the test run
Contextoam eth-cfm loopback interval number
Treeinterval
Range0 to 600
Unitsdeciseconds
Default 0
Introduced20.2.R1

Platforms

All

lbm-padding number
Synopsis Data portion size of the data TLV, no octet string
Contextoam eth-cfm loopback lbm-padding number
Treelbm-padding

Description

This command specifies the size of the data portion of the data TLV which does not allow for an optional octet string.

MSDU is not processed when setting is in use. A value of 0 means that no data TLV is added to the packet. This is specified with an octet string. This parameter and size are mutually exclusive.

Range0 | 3 to 9778
Default0
Introduced 20.2.R1

Platforms

All

ma-admin-name reference
Synopsis Association name
Context oam eth-cfm loopback ma-admin-name reference
Treema-admin-name

Reference

state eth-cfm domain string association string

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

mep-id number
Synopsis Local Maintenance Association Endpoint (MEP) ID
Contextoam eth-cfm loopback mep-id number
Treemep-id
Range1 to 8191

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

priority number
Synopsis Frame priority that can be manipulated by QoS policies
Contextoam eth-cfm loopback priority number
Treepriority
Range0 to 7
Introduced20.2.R1

Platforms

All

size number
Synopsis Data portion size of the data TLV, octet string allowed
Contextoam eth-cfm loopback size number
Treesize

Description

This command specifies the size of the data portion of the data TLV allowing for an optional octet string to be included.

A value of 0 means that no data TLV is added to the packet. This parameter and lbm-padding are mutually exclusive.

Range0 to 1500
Unitsbytes
Default 0
Introduced20.2.R1

Platforms

All

timeout number
Synopsis Wait time for a reply to a sent message request
Contextoam eth-cfm loopback timeout number
Treetimeout

Description

This command specifies the time the router waits for a message reply after sending a message request.

Upon expiration of the timeout, the router assumes that the message response is not received. Any response received after the timeout is silently discarded.

Range1 to 10
Unitsseconds
Default 5
Introduced20.2.R1

Platforms

All

one-way-delay-test
Synopsis Initiate a one-way delay test
Context oam eth-cfm one-way-delay-test
Treeone-way-delay-test
Introduced20.2.R1

Platforms

All

[destination] (mac-unicast-address-no-zero | number)
Synopsis Destination MAC address or remote MEP ID of the peer
Contextoam eth-cfm one-way-delay-test [destination] (mac-unicast-address-no-zero | number)
Tree[destination]
Range1 to 8191

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

mep-id number
Synopsis Local Maintenance Association Endpoint (MEP) ID
Contextoam eth-cfm one-way-delay-test mep-id number
Treemep-id
Range1 to 8191

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

two-way-delay-test
Synopsis Initiate a two-way delay test
Context oam eth-cfm two-way-delay-test
Treetwo-way-delay-test
Introduced20.2.R1

Platforms

All

[destination] (mac-unicast-address-no-zero | number)
Synopsis Destination MAC address or remote MEP ID of the peer
Contextoam eth-cfm two-way-delay-test [destination] (mac-unicast-address-no-zero | number)
Tree[destination]
Range1 to 8191

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

mep-id number
Synopsis Local Maintenance Association Endpoint (MEP) ID
Contextoam eth-cfm two-way-delay-test mep-id number
Treemep-id
Range1 to 8191

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

two-way-slm-test
Synopsis Initiate a two-way SLM test in SAA
Context oam eth-cfm two-way-slm-test
Treetwo-way-slm-test
Introduced20.2.R1

Platforms

All

[destination] (mac-unicast-address-no-zero | number)
Synopsis Destination MAC address or remote MEP ID of the peer
Contextoam eth-cfm two-way-slm-test [destination] (mac-unicast-address-no-zero | number)
Tree[destination]
Range1 to 8191

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

interval (number | decimal-number)
Synopsis Time between probes within the test run
Contextoam eth-cfm two-way-slm-test interval (number | decimal-number)
Treeinterval
Range1 to 10
Unitsseconds
Default 5
Introduced20.2.R1

Platforms

All

mep-id number
Synopsis Local Maintenance Association Endpoint (MEP) ID
Contextoam eth-cfm two-way-slm-test mep-id number
Treemep-id
Range1 to 8191

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

size number
Synopsis Data portion size of the data TLV, octet string allowed
Contextoam eth-cfm two-way-slm-test size number
Treesize

Description

This command specifies the size of the data portion of the data TLV allowing for an optional octet string to be included.

Range0 to 1500
Unitsbytes
Default 0
Introduced20.2.R1

Platforms

All

timeout number
Synopsis Wait time for a reply to a sent message request
Contextoam eth-cfm two-way-slm-test timeout number
Treetimeout

Description

This command specifies the time the router waits for a message reply after sending a message request.

Upon expiration of the timeout, the router assumes that the message response is not received. Any response received after the timeout is silently discarded.

Range1 to 10
Unitsseconds
Default 5
Introduced20.2.R1

Platforms

All

oam-pm

Synopsis Initiate an on-demand OAM Performance Monitoring test
Contextoam oam-pm
Treeoam-pm
Introduced20.2.R1

Platforms

All

action keyword
Synopsis OAM-PM test action
Context oam oam-pm action keyword
Treeaction
Optionsstart, stop

Notes

This element is mandatory.

Introduced 20.2.R1

Platforms

All

session reference
Synopsis OAM-PM session name
Context oam oam-pm session reference
Treesession

Reference

state oam-pm session string

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

test-type keyword
Synopsis Test type
Contextoam oam-pm test-type keyword
Treetest-type
Optionsdm, dmm, lmm, slm, twamp-light

Notes

This element is mandatory.

Introduced20.2.R1

Platforms

All

saa

Synopsis Enter the saa context
Context oam saa
Treesaa
Introduced22.10.R1

Platforms

All

owner [owner-name] reference test reference
Synopsis SAA owner name
Contextoam saa owner reference test reference
Treeowner
Introduced22.10.R1

Platforms

All

[owner-name] reference
Synopsis Name of the owner of SAA test to be stopped or started
Contextoam saa owner reference test reference
Treeowner

Reference

state saa owner string test string

Notes

This element is part of a list key.

Introduced22.10.R1

Platforms

All

test reference
Synopsis Name of the SAA test to be stopped or started
Contextoam saa owner reference test reference
Treeowner

Reference

state saa owner string test string

Notes

This element is part of a list key.

Introduced22.10.R1

Platforms

All

start
Synopsis Start the SAA test
Context oam saa owner reference test reference start
Treestart
Introduced22.10.R1

Platforms

All

accounting boolean
Synopsis Disable recording results in accounting policy
Contextoam saa owner reference test reference start accounting boolean
Treeaccounting
Defaulttrue
Introduced22.10.R1

Platforms

All

stop
Synopsis Stop the SAA test
Context oam saa owner reference test reference stop
Treestop
Introduced22.10.R1

Platforms

All

accounting boolean
Synopsis Disable recording results in accounting policy
Contextoam saa owner reference test reference stop accounting boolean
Treeaccounting
Defaulttrue
Introduced22.10.R1

Platforms

All

password

Synopsis Change the local user password
Context password
Treepassword
Introduced20.10.R1

Platforms

All

ping

Synopsis Ping an IP address or DNS name
Context ping
Tree ping
Introduced19.10.R1

Platforms

All

bypass-routing

Synopsis Bypass routing table when sending ping request to host
Contextping bypass-routing
Treebypass-routing

Description

When configured, the system bypasses the routing table when sending the ping request to a host on a directly-attached network. If the host is not on a directly-attached network, an error is returned.

Notes

The following elements are part of a choice: bypass-routing, interface, next-hop-address, or subscriber.

Introduced19.10.R1

Platforms

All

count number

Synopsis Number of ping requests to send to the remote host
Contextping count number
Treecount
Range1 to 100000
Unitspackets
Default 5
Introduced19.10.R1

Platforms

All

[destination] (ipv4-address-with-zone | ipv6-address-with-zone | string-not-all-spaces)

Synopsis Destination IP address or DNS name
Context ping [destination] (ipv4-address-with-zone | ipv6-address-with-zone | string-not-all-spaces)
Tree[destination]
String Length1 to 128

Notes

This element is mandatory.

Introduced19.10.R1

Platforms

All

do-not-fragment

Synopsis Do not fragment the request frame
Context ping do-not-fragment
Treedo-not-fragment

Description

This command sets the do-not-fragment bit in the IPv4 header. This prevents packet fragmentation along the path when there is an MTU mismatch. 

Introduced19.10.R1

Platforms

All

fc keyword

Synopsis Forwarding class option for the transmitted packet
Contextping fc keyword
Treefc
Optionsbe, l2, af, l1, h2, ef, h1, nc
Default nc
Introduced19.10.R1

Platforms

All

interface (reference | reference | reference | reference | reference)

Synopsis Sending interface name
Context ping interface (reference | reference | reference | reference | reference)
Treeinterface

Reference

state router string interface string

state service ies string interface string

state service ies string subscriber-interface string

state service vprn string interface string

state service vprn string subscriber-interface string

Notes

The following elements are part of a choice: bypass-routing, interface, next-hop-address, or subscriber.

Introduced19.10.R1

Platforms

All

interval (number | decimal-number)

Synopsis Time between consecutive ping requests
Contextping interval (number | decimal-number)
Treeinterval
Range1 to 10000
Unitsseconds
Default 1
Introduced19.10.R1

Platforms

All

next-hop-address (ipv4-address-no-zone | ipv6-address-no-zone)

Synopsis Next-hop address to send packet, ignoring routing table
Contextping next-hop-address (ipv4-address-no-zone | ipv6-address-no-zone)
Treenext-hop-address

Description

This command specifies the next-hop address. The system does not use the routing table and the address must be on an adjacent router attached to a common subnet.

Notes

The following elements are part of a choice: bypass-routing, interface, next-hop-address, or subscriber.

Introduced19.10.R1

Platforms

All

output-format keyword

Synopsis Output format
Contextping output-format keyword
Treeoutput-format
Optionssummary, detail
Default detail
Introduced19.10.R1

Platforms

All

pattern (keyword | number)

Synopsis Pattern string to include in the packet
Contextping pattern (keyword | number)
Treepattern
Range0 to 65535
Optionssequential
Defaultsequential
Introduced19.10.R1

Platforms

All

router-instance (reference | reference)

Synopsis Router name or VPRN service name
Context ping router-instance (reference | reference)
Treerouter-instance
DefaultBase

Reference

state router string

state service vprn string

Introduced19.10.R1

Platforms

All

size number

Synopsis Request packet size including ICMP header and payload
Contextping size number
Treesize
Range0 to 16384
Unitsbytes
Default 56
Introduced19.10.R1

Platforms

All

source-address (ipv4-address-no-zone | ipv6-address-no-zone)

Synopsis Source IP address used in the ICMP Echo Request packet
Contextping source-address (ipv4-address-no-zone | ipv6-address-no-zone)
Treesource-address
Introduced19.10.R1

Platforms

All

subscriber string

Synopsis Subscriber ID for sending ICMP Echo Request packets
Contextping subscriber string
Treesubscriber
String Length1 to 64

Notes

The following elements are part of a choice: bypass-routing, interface, next-hop-address, or subscriber.

Introduced19.10.R1

Platforms

All

timeout number

Synopsis Wait time for the ICMP Echo Reply packet
Contextping timeout number
Treetimeout

Description

This command specifies the time to wait for the ICMP Echo Reply packet. The timer is started when the last ICMP Echo Request is sent.

Range1 to 10
Unitsseconds
Default 5
Introduced19.10.R2

Platforms

All

tos number

Synopsis Type of Service (ToS) bits in the IP header
Contextping tos number
Treetos
Range0 to 255
Default0
Introduced 19.10.R1

Platforms

All

ttl number

Synopsis Time to Live (TTL) included in the request packet
Contextping ttl number
Treettl
Range1 to 128
Default64
Introduced 19.10.R1

Platforms

All

pwc

Synopsis Show the present working context
Context pwc
Tree pwc
Introduced16.0.R1

Platforms

All

[path-type] keyword

Synopsis Alternative format to display the path
Contextpwc [path-type] keyword
Tree[path-type]

Description

This command provides alternative formats to display the present working context.

The gnmi-path option replaces the xpath option.

Optionsmodel-path, gnmi-path, cli-path, json-instance-path
Introduced19.10.R1

Platforms

All

previous

Synopsis Display previous working context
Context pwc previous
Treeprevious
Introduced16.0.R1

Platforms

All

pyexec [url] (string | reference)

Synopsis Execute a Python application
Context pyexec (string | reference)
Treepyexec
Introduced21.7.R1

Platforms

All

[url] (string | reference)

Synopsis Location of the script to be executed
Contextpyexec (string | reference)
Treepyexec

Reference

state python python-script string

Notes

This element is part of a list key.

Introduced21.7.R1

Platforms

All

quit-config

Synopsis Exit the candidate configuration mode
Contextquit-config
Treequit-config
Introduced16.0.R1

Platforms

All

ssh

Synopsis SSH to an IP address or DNS name
Context ssh
Tree ssh
Introduced20.7.R1

Platforms

All

[destination] (ipv4-address-with-zone | ipv6-address-with-zone | string-not-all-spaces)

Synopsis Destination IP address or DNS name
Context ssh [destination] (ipv4-address-with-zone | ipv6-address-with-zone | string-not-all-spaces)
Tree[destination]
String Length1 to 128

Notes

This element is mandatory.

Introduced20.7.R1

Platforms

All

key-re-exchange

Synopsis Enter the key-re-exchange context
Contextssh key-re-exchange
Treekey-re-exchange
Introduced20.7.R1

Platforms

All

mbytes (number | keyword)
Synopsis Maximum bytes before initiating key re-exchange
Contextssh key-re-exchange mbytes (number | keyword)
Treembytes

Description

This command specifies the number of bytes transmitted on an SSH session, after which the SSH client initiates the key re-exchange.

Range1 to 64000
Unitsmegabytes
Options infinite
Default1024
Introduced 20.7.R1

Platforms

All

minutes (number | keyword)
Synopsis Time after which SSH client initiates key re-exchange
Contextssh key-re-exchange minutes (number | keyword)
Treeminutes
Range1 to 1440
Unitsminutes
Options infinite
Default60
Introduced 20.7.R1

Platforms

All

login-name string

Synopsis SSH login username
Context ssh login-name string
Treelogin-name
String Length1 to 32
Introduced20.7.R1

Platforms

All

router-instance (reference | reference)

Synopsis Router name or VPRN service name
Context ssh router-instance (reference | reference)
Treerouter-instance
DefaultBase

Reference

state router string

state service vprn string

Introduced20.7.R1

Platforms

All

telnet

Synopsis Telnet to an IP address or DNS name
Context telnet
Tree telnet

Description

This command opens a Telnet session to a remote host. In SR-series networks, the Telnet servers limit Telnet clients to three login attempts; if unsuccessful, the Telnet client session disconnects. The number is not user configurable. 

Introduced20.7.R1

Platforms

All

[destination] (ipv4-address-with-zone | ipv6-address-with-zone | string-not-all-spaces)

Synopsis Destination IP address or DNS name
Context telnet [destination] (ipv4-address-with-zone | ipv6-address-with-zone | string-not-all-spaces)
Tree[destination]

Description

This command specifies the IP address or DNS name (if DNS name resolution is configured) of the remote host for the Telnet session.

String Length1 to 128

Notes

This element is mandatory.

Introduced20.7.R1

Platforms

All

port number

Synopsis Remote host TCP port for the Telnet connection
Contexttelnet port number
Treeport
Range1 to 65535
Default23
Introduced 20.7.R1

Platforms

All

router-instance (reference | reference)

Synopsis Router name or VPRN service name
Context telnet router-instance (reference | reference)
Treerouter-instance
DefaultBase

Reference

state router string

state service vprn string

Introduced20.7.R1

Platforms

All

source-address (ipv4-address-no-zone | ipv6-address-no-zone)

Synopsis Source IP address of the Telnet packets
Contexttelnet source-address (ipv4-address-no-zone | ipv6-address-no-zone)
Treesource-address
Introduced20.7.R1

Platforms

All

top

Synopsis Move to the top level of the context
Context top
Tree top
Introduced16.0.R1

Platforms

All

traceroute

Synopsis Show the route taken to an IP address or DNS name
Contexttraceroute
Treetraceroute
Introduced19.10.R1

Platforms

All

decode keyword

Synopsis Perform original datagram parsing functions
Contexttraceroute decode keyword
Treedecode
Optionsnone, original-datagram
Defaultnone
Introduced 22.7.R1

Platforms

All

dest-port number

Synopsis Transport protocol destination port number
Contexttraceroute dest-port number
Treedest-port
Range1 to 65535
Default33434
Introduced 20.10.R1

Platforms

All

[destination] (ipv4-address-no-zone | ipv6-address-no-zone | string-not-all-spaces)

Synopsis Destination IP address or DNS name
Context traceroute [destination] (ipv4-address-no-zone | ipv6-address-no-zone | string-not-all-spaces)
Tree[destination]
String Length1 to 128

Notes

This element is mandatory.

Introduced19.10.R1

Platforms

All

detail

Synopsis Display MPLS label stack information or TCP port status
Contexttraceroute detail
Treedetail
Introduced19.10.R1

Platforms

All

min-ttl number

Synopsis First hop traceroute probes using the TTL value
Contexttraceroute min-ttl number
Treemin-ttl

Description

This command specifies the first hop traceroute probes, using the ttl value.

Range1 to 255
Default1
Introduced 21.10.R1

Platforms

All

numeric

Synopsis Display IP addresses instead of DNS names
Contexttraceroute numeric
Treenumeric
Introduced19.10.R1

Platforms

All

probe-count number

Synopsis Number of probes to send per hop
Context traceroute probe-count number
Treeprobe-count
Range1 to 10
Default3
Introduced 20.10.R1

Platforms

All

protocol keyword

Synopsis Packet type to send
Context traceroute protocol keyword
Treeprotocol

Description

This command sets the transport protocol, UDP or TCP, for the traceroute packet. A targeted VPRN service silently discards TCP traceroutes and only responds to UDP traceroutes.

Optionsudp, tcp
Default udp
Introduced21.10.R1

Platforms

All

router-instance (reference | reference)

Synopsis Router name or VPRN service name
Context traceroute router-instance (reference | reference)
Treerouter-instance
DefaultBase

Reference

state router string

state service vprn string

Introduced19.10.R1

Platforms

All

size number

Synopsis Number of pad bytes in each transmitted packet
Contexttraceroute size number
Treesize
Range0 to 9786
Unitsbytes
Default 0
Introduced21.10.R1

Platforms

All

source-address (ipv4-address-no-zone | ipv6-address-no-zone)

Synopsis Source address of the probe packets
Context traceroute source-address (ipv4-address-no-zone | ipv6-address-no-zone)
Treesource-address

Description

This command specifies the source address of the probe packets. If the IP address is not one of the interfaces of the device, the system returns an error.

Introduced19.10.R1

Platforms

All

tos number

Synopsis Type of Service (ToS) bits in the IP header
Contexttraceroute tos number
Treetos
Range0 to 255
Default0
Introduced 19.10.R1

Platforms

All

ttl number

Synopsis Maximum number of hops (TTL) to probe
Contexttraceroute ttl number
Treettl
Range1 to 255
Default30
Introduced 19.10.R1

Platforms

All

wait number

Synopsis Time to wait for a response to the probe
Contexttraceroute wait number
Treewait
Range10 to 60000
Unitsmilliseconds
Default 5000
Introduced19.10.R1

Platforms

All

tree

Synopsis Show the command tree under the present working context
Contexttree
Treetree
Introduced16.0.R1

Platforms

All

[cli-path] string

Synopsis Absolute path or relative path from pwc
Contexttree [cli-path] string
Tree[cli-path]
Introduced20.10.R1

Platforms

All

detail

Synopsis Display the tree with keys and field values
Contexttree detail
Treedetail
Introduced16.0.R1

Platforms

All

flat

Synopsis Show the context from the pwc on each line
Contexttree flat
Treeflat
Introduced16.0.R1

Platforms

All