2.12. Basic CLI Command Reference

2.12.1. Command Hierarchies

2.12.1.1. Global Commands

back
echo [text-to-echo] [extra-text-to-echo] [more-text]
exec [-echo] [-syntax] {filename | eof-marker-string} [-arguments [256 chars max] [[256 chars max]. . . (up to 5 max)]]
exit [all]
help
help edit
help globals
info [detail] [objective]
logout
mrinfo {ip-address | dns-name} [router router-instance | service-name service-name]
mstat source [ip-address | dns-name] group {ip-address | dns-name} [destination ip-address | dns-name] [hop hop] [router router-instance | service-name service-name] [wait-time wait-time]
mtrace source [ip-address | dns-name] group {ip-address | dns-name} [destination ip-address | dns-name] [hop hop] [router router-instance | service-name service-name] [wait-time wait-time]
ping {ip-address | dns-name} [rapid | detail] [ttl time-to-live] [tos type-of-service] [size bytes] [pattern pattern] [source ip-address] [interval centisecs | secs] [{next-hop ip-address} | {interface interface-name} | bypass-routing] [count requests] [do-not-fragment] [router router-instance | service-name service-name] [timeout timeout] [fc fc-name]
pwc [previous]
sleep [seconds]
ssh host [-1 username] [-v ssh-version] [router router-instance | service-name service-name]
telnet {ip-address | dns-name} [port] service-name service-name
telnet {ip-address | dns-name} [port] [router router-instance]
traceroute {ip-address | dns-name} [ttl ttl] [wait milliseconds] [no-dns] [source ip-address] [tos type-of-service] [router router-instance | service-name service-name] [detail]
tree [detail] [flat]
write {user-name | broadcast} message

2.12.1.2. Monitor Commands

monitor
card slot-number fp fp-number ingress {access | network} queue-group queue-group-name instance instance-id [interval seconds] [repeat repeat] policer policer-id [absolute | percent-rate | reference-rate]
ccag ccag-id [path-id] [type] [seconds] [repeat] [absolute | rate]
ip entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
ipv6 entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
mac entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
filter
ip ip-filter-id entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
ipv6 ipv6-filter-id entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
mac mac-filter-id entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
lag lag-id [lag-id...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
ip entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
ipv6 entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
mac entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
port port-id [port-id...(up to 5 total)] [interval seconds] [repeat repeat] [absolute | rate] [multiclass]
port port-id [port-id. . . (up to 5 total)] atm. . .
port all-ethernet-rates [interval seconds] [repeat repeat]
qos
card slot-number fp fp-number queue-group queue-group-name instance instance-id [ingress] [access | networks] [interval seconds] [repeat repeat] [absolute | percent-rate | reference-rate] [arbiter root | name]
customer customer-id site customer-site-name [arbiter root | name] [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate]
port port-id egress network queue-group queue-group-name instance instance-id [interval seconds] [repeat repeat] [absolute | rate] [arbiter root | name]
sap sap-id [arbiter name | root] [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate]
subscriber sub-ident-string [arbiter name | root] [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate]
port port-id exp-secondary-shaper shaper-name [interval seconds] [repeat repeat] [absolute | rate]
port port-id vport name [interval seconds] [repeat repeat]
customer customer-id site customer-site-name [scheduler scheduler-name] [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate]
port port-id queue-group queue-group-name [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate] [access | network] [instance instance-id]
port port-id vport name [interval seconds] [repeat repeat] [absolute | rate]
sap sap-id [scheduler scheduler-name] [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate]
sap sap-id encap-group group-name [member encap-id] [scheduler scheduler-name] [interval seconds] [repeat repeat] [absolute | rate]
subscriber sub-ident-string [scheduler scheduler-name] [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate]
subscriber sub-ident-string [interval seconds] [repeat repeat] [absolute | rate] sap sap-id sla-profile sla-profile-name
router [router-instance]
router service-name service-name
bgp
neighbor ip-addr [ip-addr...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
isis [isis-instance]
statistics [interval seconds] [repeat repeat] [absolute | rate]
ldp
fec-egress-stats ip-prefix/mask [interval seconds] [repeat repeat] [absolute | rate]
session ldp-id [ldp-id...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
statistics [interval seconds] [repeat repeat] [absolute | rate]
mpls
interface interface [interface...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
lsp-egress-stats lsp lsp-name [interval seconds] [repeat repeat] [absolute | rate]
lsp-ingress-stats lsp lsp-name [interval seconds] [repeat repeat] [absolute | rate]
tp-lsp-egress-stats lsp lsp-name [interval seconds] [repeat repeat] [absolute | rate]
tp-lsp-ingress-stats lsp lsp-name [interval seconds] [repeat repeat] [absolute | rate]
ospf [ospf-instance]
interface interface [interface...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
neighbor ip-addr [ip-addr...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
virtual-link nbr-rtr-id area area-id [interval seconds] [repeat repeat] [absolute | rate]
virtual-neighbor nbr-rtr-id area area-id [interval seconds] [repeat repeat] [absolute | rate]
ospf3 [ospf-instance]
interface interface [interface...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
neighbor ip-address [ip-address...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
virtual-link nbr-rtr-id area area-id [interval seconds] [repeat repeat] [absolute | rate]
virtual-neighbor nbr-rtr-id area area-id [interval seconds] [repeat repeat] [absolute | rate]
pim
group grp-ip-address [source ip-address] [interval interval] [repeat repeat] [absolute | rate]
rip
neighbor neighbor [neighbor...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
rsvp
interface interface [interface...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
vrrp
instance interface interface-name vr-id virtual-router-id [ipv6] [interval seconds] [repeat repeat] [absolute | rate]
id service-id
sap sap-id [interval seconds] [repeat repeat] [absolute | rate]
sap sap-id encap-group group-name [member encap-id] [interval seconds] [repeat repeat] [absolute | rate]
sdp {sdp-id [:vc-id] | far-end ip-address} [interval seconds] [repeat repeat] [absolute | rate]
subscriber sub-ident-string sap sap-id sla-profile sla-profile-name [interval seconds] [repeat repeat] [absolute | rate] [base]
subscriber sub-ident-string sap sap-id sla-profile sla-profile-name [interval seconds] [repeat repeat] [absolute | rate] egress-policer-id egress-policer-id
subscriber sub-ident-string sap sap-id sla-profile sla-profile-name [interval seconds] [repeat repeat] [absolute | rate] egress-queue-id egress-queue-id
subscriber sub-ident-string sap sap-id sla-profile sla-profile-name interval [seconds] [repeat repeat] [absolute | rate] ingress-policer-id ingress-policer-id
subscriber sub-ident-string sap sap-id sla-profile sla-profile-name interval [seconds] [repeat repeat] [absolute | rate] ingress-queue-id ingress-queue-id

2.12.1.3. Environment Commands

— environment
alias alias-name alias-command-name
— no alias alias-name
[no] create
kernel password password
— no kernel
[no] more
reduced-prompt [no of nodes in prompt]
[no] shell
[no] terminal
length lines
width width
time-display {local | utc}
[no] time-stamp

2.12.1.4. Candidate Commands

edit [exclusive]
commit [confirmed timeout] [comment comment]
commit no-checkpoint [confirmed timeout]
copy [line]
delete [line]
discard [now]
goto line
insert [line]
load file-url [overwrite | insert | append]
quit
redo [count]
replace [line]
save file-url
undo [count]
view [line]
info [operational]
show
— system

2.12.1.5. Rollback Commands

— admin
— rollback
compare [to checkpoint2]
compare checkpoint1 to checkpoint2
delete {checkpoint-id | rescue}
revert {checkpoint-id | rescue} [now]
save [comment comment] [rescue]
view [checkpoint-id | rescue]
view {source}
config
— system
— rollback
local-max-checkpoints [1 to 50]
remote-max-checkpoints [1 to 2000]
[no] rescue-location file-url
[no] rollback-location file-url/rollback filename

2.12.1.6. Management Infrastructure Control Commands

config
— system
management cli

2.12.2. Command Descriptions

2.12.2.1. Global Commands

back

Syntax 
back
Context 
<global>
Description 

This command moves the context back one level of the command hierarchy. For example, if the current level is the config router ospf context, the back command moves the cursor to the config router context level.

echo

Syntax 
echo [text-to-echo] [extra-text-to-echo] [more-text]
Context 
<global>
Description 

This command echoes arguments on the command line. The primary use of this command is to allow messages to be displayed to the screen in files executed with the exec command.

Parameters 
text-to-echo—
Specifies a text string to be echoed up to 256 characters.
extra-text-to-echo—
Specifies more text to be echoed up to 256 characters.
more-text—
Specifies more text to be echoed up to 256 characters.

enable-admin

Syntax 
enable-admin
Context 
<global>
Description 

See the description for the admin-password command. If the admin-password is configured in the config>system>security>password context, then any user can enter a special administrative mode by entering the enable-admin command.

enable-admin is in the default profile. By default, all users are given access to this command.

Once the enable-admin command is entered, the user is prompted for a password. If the password matches, the user is given unrestricted access to all the commands.

The minimum length of the password is determined by the minimum-length command. The complexity requirements for the password are determined by the complexity command.

The following shows a password configuration example:

A:ALA-1>config>system>security# info
----------------------------------------------
...
            password
                aging 365
                minimum-length 8
                attempts 5 time 5 lockout 20
                admin-password "rUYUz9XMo6I" hash
            exit
...
----------------------------------------------
A:ALA-1>config>system>security#

There are two ways to verify that a user is in the enable-admin mode:

  1. show users — administrator can know which users are in this mode
  2. Enter the enable-admin command again at the root prompt and an error message will be returned.
A:ALA-1# show users
===============================================================================
User Type From Login time Idle time
===============================================================================
admin Console -- 10AUG2006 13:55:24 0d 19:42:22
admin Telnet 10.20.30.93 09AUG2004 08:35:23 0d 00:00:00 A
-------------------------------------------------------------------------------
Number of users : 2
'A' indicates user is in admin mode
===============================================================================
A:ALA-1#
A:ALA-1# enable-admin
MINOR: CLI Already in admin mode.
A:ALA-1#

exec

Syntax 
exec [-echo] [-syntax] {file-name | eof-marker-string} [-argument [256 chars max] [[256 chars max]. . . (up to 5 max)]]
Context 
<global>
Description 

This command executes the contents of a text file as if they were CLI commands entered at the console.

exec commands do not have no versions.

Related Commands:

boot-bad-exec: Use this command to configure a URL for a CLI script to exec following a failed configuration boot.

boot-good-exec: Use this command to configure a URL for a CLI script to exec following a successful configuration boot.

<<: Stdin can be used as the source of commands for the exec command. When stdin is used as the exec command input, the command list is terminated with <Ctrl-C>, “EOF<Return>” or “eof_string<Return>”.

If an error occurs entering an exec file sourced from stdin, all commands after the command returning the error will be silently ignored. The exec command will indicate the command error line number when the stdin input is terminated with an end-of-file input.

Parameters 
-echo—
Echoes the contents of the exec file to the session screen as it executes.
Default—
echo disabled
-syntax—
Performs a syntax check of the file without executing the commands. Syntax checking will be able to find invalid commands and keywords, but it will not be able to validate erroneous user- supplied parameters.
Default—
execute file commands
file-name—
Specifies the text file with CLI commands to execute, up to 256 characters in length.
eof-marker-string—
Specifies the ASCII printable string used to indicate the end of the exec file when stdin is used as the exec file source. <Ctrl-C> and “EOF” can always be used to terminate an exec file sourced from stdin up to 254 characters in length.
Default—
EOF
-argument—
Specifies up to five arguments, each up to 254 characters in length.

exit

Syntax 
exit [all]
Context 
<global>
Description 

This command returns to the context from which the current level was entered. For example, to navigate to the current level on a context by context basis, then the exit command only moves the cursor back one level.

A:ALA-1# configure
A:ALA-1>config# router
A:ALA-1>config>router# ospf
A:ALA-1>config>router>ospf# exit
A:ALA-1>config>router# exit
A:ALA-1>config# exit

When navigating to the current level by entering a command string, the exit command returns the cursor to the context in which the command was initially entered.

A:ALA-1# configure router ospf
A:ALA-1>config>router>ospf# exit
A:ALA-1#

The exit all command moves the cursor all the way back to the root level.

A:ALA-1# configure
A:ALA-1>config# router
A:ALA-1>config>router# ospf
A:ALA-1>config>router>ospf# exit all
A:ALA-1#
Parameters 
all—
Exits back to the root CLI context.

help

Syntax 
help
help edit
help global
help special-characters
Context 
<global>
Description 

This command provides a brief description of the help system. The following information is shown:

Help may be requested at any point by hitting a question mark '?'.
In case of an executable node, the syntax for that node will be displayed with an
explanation of all parameters.
In case of sub-commands, a brief description is provided.
Global Commands:
Help on global commands can be observed by issuing "help globals" at any time.
Editing Commands:
Help on editing commands can be observed by issuing "help edit" at any time.
Parameters 
help—
Displays a brief description of the help system.
edit—
Displays help on editing.

Available editing keystrokes:

Delete current character.....................Ctrl-d
Delete text up to cursor.....................Ctrl-u
Delete text after cursor.....................Ctrl-k
Move to beginning of line....................Ctrl-a
Move to end of line..........................Ctrl-e
Get prior command from history...............Ctrl-p
Get next command from history................Ctrl-n
Move cursor left.............................Ctrl-b
Move cursor right............................Ctrl-f
Move back one word...........................Esc-b
Move forward one word........................Esc-f
Convert rest of word to uppercase............Esc-c
Convert rest of word to lowercase............Esc-l
Delete remainder of word.....................Esc-d
Delete word up to cursor.....................Ctrl-w
Transpose current and previous character.....Ctrl-t
Enter command and return to root prompt......Ctrl-z
Refresh input line...........................Ctrl-l
global—
Displays help on global commands.

Available global commands:

back            - Go back a level in the command tree
echo            - Echo the text that is typed in
exec            - Execute a file - use -echo to show the commands and
                  prompts on the screen
exit            - Exit to intermediate mode - use option all to exit to
                  root prompt
help            - Display help
history         - Show command history
info            - Display configuration for the present node
logout          - Log off this system
oam             + OAM Test Suite
ping            - Verify the reachability of a remote host
pwc             - Show the present working context
sleep           - Sleep for specified number of seconds
ssh             - SSH to a host
telnet          - Telnet to a host
traceroute      - Determine the route to a destination address
tree            - Display command tree structure from the context of
                  execution
write           - Write text to another user
special-characters—
Displays help on special characters.

Use the following CLI commands to display more information about commands and command syntax:

? —
Lists all commands in the current context.
string?—
Lists all commands available in the current context that start with the string.
command ?—
Displays command’s syntax and associated keywords.
string<Tab> or string<Space>—
Completes a partial command name (auto-completion) or lists available commands that match the string.

history

Syntax 
history
Context 
<global>
Description 

This command lists the last 30 commands entered in this session.

Re-execute a command in the history with the !n command, where n is the line number associated with the command in the history output.

Example:

A:ALA-1# history
  68 info
  69 exit
  70 info
  71 filter
  72 exit all
  73 configure
  74 router
  75 info
  76 interface "test"
  77 exit
  78 reduced-prompt
  79 info
  80 interface "test"
  81 icmp unreachables exit all
  82 exit all
  83 reduced-prompt
  84 configure router
  85 interface
  86 info
  87 interface "test"
  88 info
  89 reduced-prompt
  90 exit all
  91 configure
  92 card 1
  93 card-type
  94 exit
  95 router
  96 exit
  97 history
A:ALA-1# !91
A:ALA-1# configure
A:ALA-1>config#

info

Syntax 
info [detail] [objective]
Context 
<global>
Description 

This command displays the running configuration for the configuration context.

The output of this command is similar to the output of the admin display-config command. This command, however, lists the configuration of the context where it is entered and all branches below that context level.

By default, the command only enters the configuration parameters that vary from the default values. The detail keyword causes all configuration parameters to be displayed. The “include-dynamic” objective keyword includes configuration parameters from dynamic sources such as VSD or dynamic data service Python scripts. These dynamic configuration parameters are not saved in the configuration file.

Example:

A:ALA-48>config>router>if-attr# info
------------------------------------
            admin-group "green" value 15
            admin-group "red" value 25
            admin-group "yellow" value 20
A:ALA-48>config>router>mpls# info
------------------------------------
            interface "system"
            exit
            interface "to-104"
                admin-group "green"
                admin-group "red"
                admin-group "yellow"
                label-map 35
                    swap 36 nexthop 10.10.10.91
                    no shutdown
                exit
            exit
            path "secondary-path"
                hop 1 10.10.0.111  strict
                hop 2 10.10.0.222  strict
                hop 3 10.10.0.123  strict
                no shutdown
            exit
            path "to-NYC"
                hop 1 10.10.10.104  strict
                hop 2 10.10.0.210  strict
                no shutdown
            exit
            path "to-104"
                no shutdown
            exit
            lsp "to-104"
                to 10.10.10.104
                from 10.10.10.103
                rsvp-resv-style ff
                cspf
...
----------------------------------------------
A:ALA-48>config>router>mpls#
A:ALA-48>config>router>mpls# info detail
----------------------------------------------
            frr-object
            no resignal-timer
            interface "system"
                no admin-group
                no shutdown
            exit
            interface "to-104"
                admin-group "green"
                admin-group "red"
                admin-group "yellow"
                label-map 35
                    swap 36 nexthop 10.10.10.91
                    no shutdown
                exit
                no shutdown
            exit
            path "secondary-path"
                hop 1 10.10.0.111  strict
                hop 2 10.10.0.222  strict
                hop 3 10.10.0.123  strict
                no shutdown
            exit
            path "to-NYC"
                hop 1 10.10.10.104  strict
                hop 2 10.10.0.210  strict
                no shutdown
            exit
            path "to-104"
                no shutdown
            exit
            lsp "to-104"
                to 10.10.10.104
                from 10.10.10.103
                rsvp-resv-style ff
                adaptive
                cspf
                include "red"
                exclude "green"
                adspec
                fast-reroute one-to-one
                    no bandwidth
                    no hop-limit
                    node-protect
                exit
                hop-limit 10
                retry-limit 0
                retry-timer 30
                secondary "secondary-path"
                    no standby
                    no hop-limit
                    adaptive
                    no include
                    no exclude
                    record
                    record-label
                    bandwidth 50000
                    no shutdown
                exit
                primary "to-NYC"
                    hop-limit 50
                    adaptive
                    no include
                    no exclude
                    record
                    record-label
                    no bandwidth
                    no shutdown
                exit
                no shutdown
            exit
...
----------------------------------------------
A:ALA-48>config>router>mpls#
Parameters 
detail—
Displays all configuration parameters including parameters at their default values.
objective—
Provides an output objective that controls the configuration parameters to be displayed.
Values—
include-dynamic — Includes configuration parameters from dynamic sources such as vsd or dynamic data service Python scripts.

 

logout

Syntax 
logout
Context 
<global>
Description 

This command logs out of the router session.

When the logout command is issued from the console, the login prompt is displayed, and any log IDs directed to the console are discarded. When the console session resumes (regardless of the user), the log output to the console resumes.

When a Telnet session is terminated from a logout command, all log IDs directed to the session are removed. When a user logs back in, the log IDs must be re-created.

mrinfo

Syntax 
mrinfo {ip-address | dns-name} [router router-instance | service-name service-name]
Context 
<global>
Description 

This command is used to print relevant multicast information from the target multicast router. Information displayed includes adjacency information, protocol, metrics, thresholds, and flags from the target multicast route.

Parameters 
ip-address—
Specifies the IP address of the multicast capable target router.
Values—
ipv4 unicast address (a.b.c.d)

 

dns-name—
Specifies the DNS name (if DNS name resolution is configured). 63 characters maximum.
router-instance
Specifies the router name or service ID used to specify the router instance.
Values—
router-name: Base vprn-service-id: 1 to 2147483647

 

Default—
Base
service-name—
Specifies the service name up to 64 characters in length.

mstat

Syntax 
mstat source [ip-address | dns-name] group {ip-address | dns-name} [destination ip-address | dns-name] [hop hop] [router router-instance | service-name service-name] [wait-time wait-time]
Context 
<global>
Description 

This command traces a multicast path from a source to a receiver and displays multicast packet rate and loss information.

Parameters 
source ip-address—
Specifies the ip-address of the multicast capable target router.
Values—
ipv4 address (a.b.c.d)

 

dns-name—
Specifies the DNS name (if DNS name resolution is configured). 63 characters maximum.
group ip-address
Specifies the multicast address or DNS name of the group that resolves to the multicast group address that will be used. If the group is not specified, address 224.2.0.1 (the MBone audio) will be used. This will suffice if packet loss statistics for a particular multicast group are not needed.
destination ip-address
Specifies either the IP address or the DNS name of the unicast destination. If this parameter is omitted the IP address of the system where the command is entered will be used. The receiver parameter can also be used to specify a local interface address as the destination address for sending the trace query. The response will also be returned to the address specified as the receiver.
hop—
Specifies the maximum number of hops that will be traced from the receiver back toward the source.
Values—
1 to 255

 

Default—
32 hops (infinity for the DVMRP routing protocol)
router-instance
Specifies the router name or service ID used to identify the router instance.
Values—

router-name:

Base

service-id:

1 to 2147483647

 

Default—
Base
service-name
Specifies the service name up to 64 characters in length.
wait-time
Specifies the number of seconds to wait for the response.
Values—
1 to 60

 

mtrace

Syntax 
mtrace source [ip-address | dns-name] group {ip-address | dns-name} [destination ip-address | dns-name] [hop hop] [router router-instance | service-name service-name] [wait-time wait-time]
Context 
<global>
Description 

This command traces a multicast path from a source to a receiver.

Parameters 
source ip-address—
Specifies the ip-address of the multicast capable target router.
Values—
ipv4 address (a.b.c.d)

 

dns-name—
Specifies the DNS name (if DNS name resolution is configured). 63 characters maximum.
group ip-address
Specifies the multicast address or DNS name of the group that resolves to the multicast group address that will be used. If the group is not specified, address 224.2.0.1 (the MBone audio) will be used. This will suffice if packet loss statistics for a particular multicast group are not needed.
destination ip-address
Specifies either the IP address or the DNS name of the unicast destination. If this parameter is omitted the IP address of the system where the command is entered will be used. The receiver parameter can also be used to specify a local interface address as the destination address for sending the trace query. The response will also be returned to the address specified as the receiver.
hop
Specifies the maximum number of hops that will be traced from the receiver back toward the source.
Values—
1 to 255

 

Default—
32 hops (infinity for the DVMRP routing protocol)
router-instance
Specifies the router name or service ID used the identify the router instance.
Values—

router-name:

“Base”

service-id:

1 to 2147483647

 

Default—
Base
service-name
Specifies the service name up to 64 characters in length.
wait-time
Specifies the number of seconds to wait for the response.
Values—
1 to 60

 

password

Syntax 
password
Context 
<root>
Description 

This command changes a user’s CLI login password.

When a user logs in after the administrator forces a new-password-at-login, or the password has expired (aging), then this command is automatically invoked.

When invoked, the user is prompted to enter the old password, the new password, and then the new password again to verify the correct input.

If a user fails to create a new password after the administrator forces a new-password-at-login or after the password has expired, the user is not allowed to access the CLI.

A user cannot configure a non-conformant password for themselves using the global password command. A password value that does not conform to the minimum-length or other password complexity rules can be configured using the config>system>security>user>password command (for example, by an administrator), but a warning is provided in the CLI. This allows, for example, an administrator to configure a non-conformant password for a user.

ping

Syntax 
ping {ip-address | dns-name} [rapid | detail] [ttl time-to-live] [tos type-of-service] [size bytes] [pattern pattern] [source ip-address] [interval centisecs | secs] [{next-hop ip-address} | {interface interface-name} | bypass-routing] [count requests] [do-not-fragment] [router router-instance | service-name service-name] [timeout timeout] [fc fc-name]
Context 
<global>
Description 

This command is the TCP/IP utility that is used to verify IP reachability.

Parameters 
ip-address | dns-name—
Specifies the remote host to ping. The IP address or the DNS name (if DNS name resolution is configured) can be specified.
Values—
ipv4-address: a.b.c.d
ipv6-address:
  1. x:x:x:x:x:x:x:x[-interface]
  2. x:x:x:x:x:x:d.d.d.d[-interface]
  3. x: [0 to FFFF] H
  4. d: [0 to 255] D
dns-name: 128 characters max

 

rapid | detail—
Specifies to send ping requests rapidly. The results are reported in a single message, not in individual messages for each ping request. By default, five ping requests are sent before the results are reported. To change the number of requests, include the count option.

The detail parameter includes in the output the interface on which the ping reply was received.

Example output:

 
A:ALA-1# ping 192.168.xx.xx4 detail
PING 192.168.xx.xx4: 56 data bytes
64 bytes from 192.168.xx.xx4 via fei0: icmp_seq=0 ttl=64 time=0.000 ms.
64 bytes from 192.168.xx.xx4 via fei0: icmp_seq=1 ttl=64 time=0.000 ms.
64 bytes from 192.168.xx.xx4 via fei0: icmp_seq=2 ttl=64 time=0.000 ms.
64 bytes from 192.168.xx.xx4 via fei0: icmp_seq=3 ttl=64 time=0.000 ms.
64 bytes from 192.168.xx.xx4 via fei0: icmp_seq=4 ttl=64 time=0.000 ms.
 
---- 192.168.xx.xx4 PING Statistics ----
5 packets transmitted, 5 packets received, 0.00% packet loss
round-trip min/avg/max/stddev = 0.000/0.000/0.000/0.000 ms
A:ALA-1#
 
time-to-live
Specifies the IP Time To Live (TTL) value to include in the ping request, expressed as a decimal integer.
Values—
0 to 128

 

Default—
64
type-of-service
Specifies the type-of-service (TOS) bits in the IP header of the ping packets, expressed as a decimal integer.
Values—
0 to 255

 

Default—
0
bytes
Specifies the size in bytes of the ping request packets.
Values—
0 to 16384

 

Default—
56 bytes (actually 64 bytes because 8 bytes of ICMP header data are added to the packet)
pattern
Specifies a 16-bit pattern string to include in the ping packet, expressed as a decimal integer.
Values—
0 to 65535

 

Default—
system-generated sequential pattern
source ip-address
Specifies the source IP address to use in the ping requests, in dotted decimal notation.
Values—
ipv4-address: a.b.c.d
ipv6-address:
  1. x:x:x:x:x:x:x:x (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d
  3. x: [0 to FFFF] H
  4. d: [0 to 255] D

 

Default—
The IP address of the egress IP interface.
centisecs | secs
The interval between consecutive ping requests, expressed as a decimal integer.
Values—
1 to 10000 seconds; if “rapid” is selected, 1 to 10000 centiseconds

 

Default—
1 second; if “rapid” is selected, 1 centisecond
next-hop ip-address
Disregards the routing table and will send this packet to the specified next hop address. This address must be on an adjacent router that is attached to a subnet that is common between this and the next-hop router.
Values—
ipv4-address: a.b.c.d
ipv6-address:
  1. x:x:x:x:x:x:x:x (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d
  3. x: [0 to FFFF] H
  4. d: [0 to 255] D

 

Default—
Per the routing table.
interface-name
Specifies the interface name. 32 characters maximum.
bypass-routing—
Sends the ping request to a host on a directly attached network bypassing the routing table. The host must be on a directly attached network or an error is returned.
requests
Specifies the number of ping requests to send to the remote host, expressed as a decimal integer.
Values—
1 to 10000

 

Default—
5
do-not-fragment—
Specifies that the request frame should not be fragmented. This option is particularly useful in combination with the size parameter for maximum MTU determination (does not apply to ICMPv6).
router-instance
Specifies the router name, CPM router instance, or service ID.
Values—

router-instance : router name or service-id

router-name

“Base” | “management” | cpm-vr-name | “vpls-management”

cpm-vr-name

[32 characters maximum]

vprn-service-id

1 to 2147483647

 

Default—
Base
service-name
Specifies the service name up to 64 characters in length.
timeout
Specifies the timeout in seconds.
Values—
1 to 10

 

Default—
5
fc-name
Specifies the forwarding class.
Values—
be, l2, af, l1, h2, ef, h1, nc

 

Default—
nc

pwc

Syntax 
pwc [previous]
Context 
<global>
Description 

This command displays the present or previous working context of the CLI session. The pwc command provides a user who is in the process of dynamically configuring a chassis a way to display the current or previous working context of the CLI session. The pwc command displays a list of the CLI nodes that hierarchically define the current context of the CLI instance of the user.

The following example is from a 7750 SR:

A:ALA-1>config>router>bgp>group# pwc
-----------------------------------------------
Present Working Context :
-----------------------------------------------
<root>
  configure
  router Base
  bgp
  group test
  ospf
  area 1
-----------------------------------------------
A:ALA-1>config>router>bgp>group#

When the previous keyword is specified, the previous context displays. This is the context entered by the CLI parser upon execution of the exit command. The current context of the CLI is not affected by the pwc command.

The following example is from a 7450 ESS:

*A:ALA-1>config>router>ospf>area>if# pwc previous
---------------------------------------------------------
Previous Working Context :
---------------------------------------------------------
 <root>
  configure
  router "Base"
  ospf
  area "0.0.0.0"
---------------------------------------------------------
*A:ALA-1config>router>ospf>area>if#
 
Parameters 
previous—
Displays the previous present working context.

sleep

Syntax 
sleep [seconds]
Context 
<global>
Description 

This command causes the console session to pause operation (sleep) for 1 second (default) or for the specified number of seconds.

Default 

sleep 1

Parameters 
seconds—
Specifies the number of seconds for the console session to sleep, expressed as a decimal integer.
Values—
1 to 100

 

Default—
1

ssh

Syntax 
ssh host [-1 username] [-v ssh-version] [router router-instance | service-name service-name]
Context 
<global>
Description 

This command initiates a client SSH session with the remote host and is independent from the administrative or operational state of the SSH server. However, to be the target of an SSH session, the SSH server must be operational.

Quitting SSH while in the process of authentication is accomplished by either executing a ctrl-c or "~." (tilde and dot) assuming the “~” is the default escape character for SSH session.

Parameters 
host—
Specifies the remote host for the SSH session.
Values—

host: user@hostname - [255 chars max]

user

32 chars max

hostname

[dns-name | ipv4-address | ipv6-address]

ipv4-address

a.b.c.d

ipv6-address

x:x:x:x:x:x:x:x[-interface]

x:x:x:x:x:x:d.d.d.d[-interface]

x - [0 to FFFF]H

d - [0 to 255]D

interface - 32 chars max, mandatory for link local addresses

dns-name

128 chars max

 

username
Specifies the user name to use when opening the SSH session; 32 characters maximum.
router-instance
Specifies the router name or service ID.
Values—

router-instance : router-name or vprn-svc-id

router-name

“Base”, “management” , “vpls-management”

vprn-svc-id

1 to 2147483647

 

Default—
Base
service-name
Specifies the service name up to 64 characters in length.

telnet

Syntax 
telnet {ip-address | dns-name} [port] service-name service-name
telnet {ip-address | dns-name} [port] [router router-instance]
Context 
<global>
Description 

This command opens a Telnet session to a remote host. Telnet servers in SR-series networks limit Telnet clients to three attempts to login; this number is not user configurable. The Telnet server disconnects the Telnet client session after three attempts.

Parameters 
ip-address —
Specifies the IP address or the DNS name (providing DNS name resolution is configured).
Values—

ipv4-address

a.b.c.d

ipv6-address

x:x:x:x:x:x:x:x[-interface]

x:x:x:x:x:x:d.d.d.d[-interface]

x: [0 to FFFF]H

d: [0 to 255]D ipv6-address

interface: 32 chars max, mandatory for link local addresses

dns-name

128 chars max

Note:

IPv6 applies to the 7750 SR and 7950 XRS.

 

dns-name
Specifies the DNS name (if DNS name resolution is configured) up to 128 characters in length.
port—
Specifies the TCP port number to use Telnet to the remote host, expressed as a decimal integer.
Values—
1 to 65535

 

Default—
23
router-instance
Specifies the router name or service ID used to identify the router instance.
Values—

router-instance : router-name or vprn-svc-id

router-name

“Base”, “management”, vpls-management”

vprn-svc-id

1 to 2147483647

 

Default—
Base
service-name
Specifies the service name up to 64 characters in length.

traceroute

Syntax 
traceroute {ip-address | dns-name} [ttl ttl] [wait milliseconds] [no-dns] [source ip-address] [tos type-of-service] [router router-instance | service-name service-name] [detail]
Context 
<global>
Description 

The TCP/IP traceroute utility determines the route to a destination address. Note that aborting a traceroute with the <Ctrl-C> command could require issuing a second <Ctrl-C> command before the prompt is returned.

A:ALA-1# traceroute 192.168.xx.xx4
traceroute to 192.168.xx.xx4, 30 hops max, 40 byte packets
 1  192.168.xx.xx4 0.000 ms  0.000 ms  0.000 ms
A:ALA-1#
Parameters 
ip-address | dns-name—
Specifies the remote address to traceroute. The IP address or the DNS name (if DNS name resolution is configured) can be specified.
Values—

ipv4-address

a.b.c.d

ipv6-address

x:x:x:x:x:x:x:x[-interface]

x:x:x:x:x:x:d.d.d.d[-interface]

x: [0 to FFFF]H

d: [0 to 255]D

dns-name

63 characters maximum

Note:

IPv6 applies to the 7750 SR and 7950 XRS.

 

ttl
Specifies the maximum time-to-live (TTL) value to include in the traceroute request, expressed as a decimal integer.
Values—
1 to 255

 

Default—
30 hops
milliseconds
Specifies the time in milliseconds to wait for a response to a probe, expressed as a decimal integer.
Values—
10 to 60000

 

Default—
5000 milliseconds
no-dns—
Specifies that a DNS lookup for the specified host name will not be performed.
Default—
DNS lookups are performed
source ip-address
Specifies the source IP address to use as the source of the probe packets in dotted decimal notation. If the IP address is not one of the device’s interfaces, an error is returned.
Values—

ipv4-address

a.b.c.d

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]H

d: [0 to 255]D

 

type-of-service
Specifies the type-of-service (TOS) bits in the IP header of the probe packets, expressed as a decimal integer.
Values—
0 to 255

 

Default—
0
router-instance
Specifies the router name, CPM router instance, or service ID.
Values—

router-instance : router-name or service-id

router-name

Base, management, cpm-vr-name, vpls-management

cpm-vr-name

[32 characters maximum]

vprn-service-id

1 to 2147483647

 

Default—
Base
service-name—
Specifies the service name up to 64 characters in length.
detail—
Displays MPLS label stack information (if available).

tree

Syntax 
tree [detail] [flat]
Context 
<global>
Description 

This command displays the command hierarchy structure of the current working context.

Parameters 
detail—
Displays parameter information for each command shown in the tree output.
flat—
Displays the full context on each line.

write

Syntax 
write {user-name | broadcast} message
Context 
<global>
Description 

This command sends a console message to a specific user or to all users with active console sessions.

Parameters 
user-name—
Specifies the name of a user up to 32 characters in length with an active console session to which to send a console message.
Values—
any valid CLI username

 

broadcast—
Sends the message-string to all users logged into the router.
message—
Specifies the message string to send. Allowed values are any string up to 256 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

2.12.2.2. Monitor CLI Commands

card

Syntax 
card slot-number fp fp-number ingress {access | network} queue-group queue-group-name instance instance-id [interval seconds] [repeat repeat] policer policer-id [absolute | percent-rate | reference-rate]
Context 
monitor
Description 

This command monitors policer statistics in an ingress FP queue group.

Parameters 
slot-number
Specifies the slot number associated with the queue group, expressed as an integer.
Values—
1 to 10

 

fp-number
Specifies the FP number associated with the queue group, expressed as an integer.
Values—
1 to 2

 

ingress—
Displays policer statistics applied on the ingress FP.
access—
Displays policer statistics on the FP access.
network—
Displays policer statistics on the FP network.
queue-group-name
Specifies the name of the queue group up to 32 characters in length.
instance-id
Specifies the identification of a specific instance of the queue-group.
Values—
1 to 65535

 

repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
policer-id
Specifies the policer ID; must exist within the queue-group template applied to the ingress context of the forwarding plane.
Values—
1 to 32

 

absolute—
Displays Raw statistics, without processing. No calculations are performed on the delta or rate statistics.
percent-rate—
Displays rate-per-second for each statistic based on the reference rate of 10G.
Values—
1 to 999

 

Default—
10
reference-rate—
Displays rate-per-second for each statistic as a percentage based on the reference rate specified.
Values—
100M, 1G, 10G, 40G, 100G, 400G

 

Default—
10G

ccag

Syntax 
ccag ccag-id [path] [type] [seconds] [repeat] [absolute | rate]
Context 
monitor
Description 

Displays monitor command output of traffic statistics for Cross Connect Aggregation Groups (CCAGs) ports.

Parameters 
ccag-id—
Specifies the CCAG instance to monitor.
Values—
1 to 8

 

path-id—
Specifies the CCA path nodal context where the CCA path bandwidth, buffer and accounting parameters are maintained. The path context must be specified with either the a or b keyword specifying the CCA path context to be entered.
Values—
a, b

 

type—
Specifies cross connect type.
Values—
sap-sap, sap-net, net-sap

 

seconds—
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

cpm-filter

Syntax 
cpm-filter
Context 
monitor
Description 

This command displays monitor command output for CPM filters.

ip

Syntax 
ip entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>cpm-filter
Description 

This command displays monitor command statistics for IP filter entries.

Parameters 
entry-id
Displays information on the specified filter entry ID for the specified filter ID only.
Values—
1 to 2048

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

ipv6

Syntax 
ipv6 entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>cpm-filter
Description 

This command displays monitor command statistics for IPv6 filter entries.

Parameters 
entry-id
Displays information on the specified filter entry ID for the specified filter ID only.
Values—
1 to 2048

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

mac

Syntax 
mac entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>cpm-filter
Description 

This command displays monitor command statistics for MAC filter entries.

Parameters 
entry-id
Displays information on the specified filter entry ID for the specified filter ID only.
Values—
1 to 2048

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

filter

Syntax 
filter
Context 
monitor
Description 

This command enables the context to configure criteria to monitor IP and MAC filter statistics.

ip

Syntax 
ip ip-filter-id entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>filter>management-access-filter
Description 

This command enables IP filter monitoring. The statistical information for the specified IP filter entry displays at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified IP filter. The subsequent statistical information listed for each interval is displayed as a delta to the previous display.

When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
ip-filter-id—
Displays detailed information for the specified filter ID and its filter entries.
Values—
[1 to 65535] | fSpec-[0 to 2147483647] | [1 to 65535 to 8192] | [1 to 65535:P1 to 4096] | _tmnx_tms_egr-mda-id-F | _tmnx_tms-ing-mda-id-F | _tmx_ofs_ofs-name | _tmnx_vsd_[1 to 65535] | name: 64 chars max

 

entry-id—
Displays information on the specified filter entry ID for the specified filter ID only.
Values—
[1 to 65535], fSpec-[0 to 2147483647]-[1 to 65353]

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of filter IP information.

Sample Output
A:ALA-1>monitor# filter ip 10 entry 1 interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for IP filter 10 entry 1
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
===============================================================================
A:ALA-1>monitor#
 
 
A:ALA-1>monitor# filter ip 10 entry 1 interval 3 repeat 3 rate
===========================================================================
Monitor statistics for IP filter 10 entry 1
===========================================================================
At time t = 0 sec (Base Statistics)
---------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
---------------------------------------------------------------------------
At time t = 3 sec (Mode: Rate)
---------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
---------------------------------------------------------------------------
At time t = 6 sec (Mode: Rate)
---------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
---------------------------------------------------------------------------
At time t = 9 sec (Mode: Rate)
---------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
===========================================================================
A:ALA-1>monitor#

ipv6

Syntax 
ipv6 ipv6-filter-id entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>filter
Description 

This command enables IPv6 filter monitoring. The statistical information for the specified IPv6 filter entry displays at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified IPv6 filter. The subsequent statistical information listed for each interval is displayed as a delta to the previous display.

When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
ipv6-filter-id—
Displays detailed information for the specified IPv6 filter ID and its filter entries.
Values—
[1 to 65535] | fSpec-[0 to 2147483647] | [1 to 65535 to 8192] | [1 to 65535:P1 to 4096] | _tmnx_tms_egr-mda-id-F | _tmnx_tms-ing-mda-id-F | _tmx_ofs_ofs-name | _tmnx_vsd_[1 to 65535] | name: 64 chars max

 

entry-id—
Displays information on the specified filter entry ID for the specified filter ID only.
Values—
1 to 65535

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Default—
10
Values—
1 to 999

 

absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of filter IPv6 information.

Sample Output
A:ALA-48# monitor filter ipv6 100 entry 10 interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for IPv6 filter 100 entry 10
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Ing. Matches : 0                                Egr. Matches   : 1
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Ing. Matches : 0                                Egr. Matches   : 1
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Ing. Matches : 0                                Egr. Matches   : 1
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Ing. Matches : 0                                Egr. Matches   : 01
===============================================================================
A:ALA-48#
 
 
A:ALA-48# monitor filter ipv6 100 entry 10 interval 3 repeat 3 rate
==============================================================================
Monitor statistics for IPv6 filter 100 entry 10
------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
------------------------------------------------------------------------------
Ing. Matches : 0                                Egr. Matches   : 1
------------------------------------------------------------------------------
At time t = 3 sec (Mode: Rate)
------------------------------------------------------------------------------
Ing. Matches : 0                                Egr. Matches   : 1
------------------------------------------------------------------------------
At time t = 6 sec (Mode: Rate)
------------------------------------------------------------------------------
Ing. Matches : 0                                Egr. Matches   : 1
------------------------------------------------------------------------------
At time t = 9 sec (Mode: Rate)
------------------------------------------------------------------------------
Ing. Matches : 0                                Egr. Matches   : 1
==============================================================================
A:ALA-48#

mac

Syntax 
mac mac-filter-id entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>filter
Description 

This command enables MAC filter monitoring. The statistical information for the specified MAC filter entry displays at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified MAC filter. The subsequent statistical information listed for each interval is displayed as a delta to the previous display. When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
mac-filter-id—
Specifies the MAC filter policy ID.
Values—
filter-id | filter-name
filter-id: 1 to 65535
filter-name: 64 chars max

 

entry-id—
Displays information on the specified filter entry ID for the specified filter ID only.
Values—
1 to 65535

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of filter mac information.

Sample Output
A:ALA-1>monitor>filter# mac 50 entry 10 interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for Mac filter 50 entry 10
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
===============================================================================
 
 
A:ALA-1>monitor>filter# mac 50 entry 10 interval 3 repeat 3 rate
===============================================================================
Monitor statistics for Mac filter 50 entry 10
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Rate)
-------------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Rate)
-------------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Rate)
-------------------------------------------------------------------------------
Ing. Matches: 0                                Egr. Matches    : 0
===============================================================================
A:ALA-1>monitor>filter#

lag

Syntax 
lag lag-id [lag-id...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor
Description 

This command monitors traffic statistics for Link Aggregation Group (LAG) ports. Statistical information for the specified LAG ID(s) displays at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified LAG ID. The subsequent statistical information listed for each interval is displayed as a delta to the previous display. When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
lag-id—
Specifies the number of the LAG.
Values—
1 to 200

 

Default—
none — the LAG ID value must be specified
seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Specifies raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of monitor lag command information.

Sample Output
A:ALA-12# monitor lag 12 
===============================================================================
Monitor statistics for LAG ID 12
===============================================================================
Port-id Input Input Output Output Input Output
Bytes Packets Bytes Packets Errors Errors
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
1/1/1 2168900 26450 64 1 0 0
1/1/2 10677318 125610 2273750 26439 0 0
1/1/3 2168490 26445 0 0 0 0
-------------------------------------------------------------------------------
Totals 15014708 178505 2273814 26440 0 0 
-------------------------------------------------------------------------------
At time t = 5 sec (Mode: Delta)
-------------------------------------------------------------------------------
1/1/1 0 0 0 0 00
1/1/2 258 3 86 1 0 0
1/1/3 82 1 0 0 0 0
-------------------------------------------------------------------------------
Totals 340 4 86 1 0 0
===============================================================================
A:ALA-12#

management-access-filter

Syntax 
management-access-filter
Context 
monitor
Description 

This command enables the context to monitor management-access filters. These filters are configured in the config>system>security>mgmt-access-filter context.

ip

Syntax 
ip entry entry-id [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>management-access-filter
Description 

This command monitors statistics for the MAF IP filter entry.

Parameters 
entry-id
Specifies an existing IP MAF entry ID.
Values—
1 to 9999

 

seconds—
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

ipv6

Syntax 
ipv6 entry-id [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>management-access-filter
Description 

This command monitors statistics for the MAF IPv6 filter entry.

Parameters 
entry-id
Specifies an existing IP MAF entry ID.
Values—
1 to 9999

 

interval seconds—
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

mac

Syntax 
mac entry-id [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>management-access-filter
Description 

This command monitors statistics for the MAF MAC filter entry.

Parameters 
entry-id
Specifies an existing IP MAF entry ID.
Values—
1 to 9999

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

port

Syntax 
port port-id [port-id...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate] [multiclass]
port port-id [port-id. . . (up to 5 total)] atm. . .
port all-ethernet-rates [interval seconds] [repeat repeat]
Context 
monitor
Description 

This command enables port traffic monitoring. The specified port(s) statistical information displays at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified port(s). The subsequent statistical information listed for each interval is displayed as a delta to the previous display.

When the rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
port-id
Specifies up to 5 port IDs. Port-IDs are only MLPPP bundles or bundle protection groups when the multiclass is specified.

port-id

slot/mda/port [.channel]

eth-sat-id

esat-id/slot/port

esat

keyword

id

1 to 20

pxc-id

pxc-id.sub-port

pxc

keyword

id

1 to 64

sub-port

a, b

aps-id

aps-group-id[.channel]

aps

keyword

group-id

1 to 64 (16 for 7750 SR-c12 and 7750 SR-c4)

bundle-id

bundle-type-slot/mda.bundle-num

bundle

keyword

type

ima, ppp

bundle-num

1 to 128 (16 for 7750 SR-c12 and 7750 SR-c4)

seconds
Configures the interval for each display in seconds.
Default—
10 seconds
Values—
3 to 60

 

repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate —
Displays rate-per-second for each statistic instead of the delta.
multiclass—
Displays multiclass information.
atm—
Displays ATM information.
all-ethernet-rates—
Displays all Ethernet rate information.
Output 

The following output is an example of monitor port information.

Sample Output
A:ALA-12>monitor# port 2/1/4 interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for Port 2/1/4
===============================================================================
                                             Input                      Output
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Octets                                           0                           0
Packets                                         39                         175
Errors                                           0                           0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Octets                                           0                           0
Packets                                         39                         175
Errors                                           0                           0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Octets                                           0                           0
Packets                                         39                         175
Errors                                           0                           0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Octets                                           0                           0
Packets                                         39                         175
Errors                                           0                           0
===============================================================================
A:ALA-12>monitor# 
 
A:ALA-12>monitor# port 2/1/4 interval 3 repeat 3 rate
===============================================================================
Monitor statistics for Port 2/1/4
===============================================================================
                                             Input                      Output
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Octets                                           0                           0
Packets                                         39                         175
Errors                                           0                           0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Rate)
-------------------------------------------------------------------------------
Octets                                           0                           0
Packets                                          0                           0
Errors                                           0                           0
Bits                                             0                           0
Utilization (% of port capacity)              0.00                        0.00
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Rate)
-------------------------------------------------------------------------------
Octets                                           0                           0
Packets                                          0                           0
Errors                                           0                           0
Bits                                             0                           0
Utilization (% of port capacity)              0.00                        0.00
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Rate)
-------------------------------------------------------------------------------
Octets                                           0                           0
Packets                                          0                           0
Errors                                           0                           0
Bits                                             0                           0
Utilization (% of port capacity)              0.00                        0.00
===============================================================================
A:ALA-12>monitor#
 
 
===============================================================================
*A:Cpm-A> monitor port bundle-fr-1/1.1
===============================================================================
Monitor statistics for Port bundle-fr-1/1.1
===============================================================================
                                                   Input                 Output
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
--------------------------------------------------------------------------------
Octets                                                 0                      0
Packets                                                0                      0
Errors                                                 0                      0

qos

Syntax 
qos
Context 
monitor
Description 

This command enables the context to configure criteria to monitor QoS scheduler statistics for specific customers and SAPs.

arbiter-stats

Syntax 
arbiter-stats
Context 
monitor>qos
Description 

This command enables the context to configure monitor commands for arbiter statistics.

card

Syntax 
card slot-number fp fp-number queue-group queue-group-name instance instance-id [ingress] [access | networks] [interval seconds] [repeat repeat] [absolute | percent-rate | reference-rate] [arbiter root | name]
Context 
monitor>qos>arbiter-stats
Description 

This command monitors arbiter statistics in an ingress FP queue group.

Parameters 
slot-number
Specifies the slot number associated with the queue group, expressed as an integer.
Values—
1 to 10

 

fp-number
Specifies the FP number associated with the queue group, expressed as an integer.
Values—
1 to 2

 

queue-group-name
Specifies the name of the queue group up to 32 characters in length.
instance-id
Specifies the identification of a specific instance of the queue-group.
Values—
1 to 65535

 

ingress—
Displays arbiter-name statistics applied on the ingress FP.
access—
Displays arbiter-name statistics applied on the FP access.
network—
Displays arbiter-name statistics applied on the FP network.
seconds
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11 seconds
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
percent-rate—
Displays rate-per-second for each statistic based on the reference rate of 10G.
reference-rate—
Displays rate-per-second for each statistic as a percentage based on the reference rate specified.
Values—
100M, 1G, 10G, 40G, 100G, 400G

 

Default—
10G
name
Specifies the name of the policer control policy arbiter.
Values—
an existing arbiter-name in the form of a string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

 

root—
Specifies the root arbiter.

customer

Syntax 
customer customer-id site customer-site-name [arbiter root | name] [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>qos>arbiter-stats
Description 

This command monitors arbiter statistics for a customer site.

Parameters 
customer-id—
Specifies the ID number to be associated with the customer, expressed as an integer.
Values—
1 to 2147483647

 

customer-site-name
Specifies the customer site which is an anchor point for ingress and egress arbiter hierarchy.
name
Specifies the name of the policer control policy arbiter. This parameter is mandatory if the SAP resides on a LAG in adapt-qos link or port-fair mode.
Values—
An existing arbiter-name in the form of a string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

 

root —
Specifies the root arbiter.
ingress —
Displays arbiter-name statistics applied on the site ingress.
egress —
Displays arbiter-name statistics applied on the site egress.
seconds
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11 seconds
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute —
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate —
Displays rate-per-second for each statistic.

port

Syntax 
port port-id egress network queue-group queue-group-name instance instance-id
[interval seconds] [repeat repeat] [absolute | rate] [arbiter root | name]
Context 
monitor>qos>arbiter-stats
Description 

This command monitors arbiter statistics for a customer site.

Parameters 
port-id
Specifies the port ID.
Values—
slot/mda/port [.channel]

 

network
Specifies statistics for an egress network queue group.
Values—
network

 

queue-group-name
Specifies the name of the queue group up to 32 characters in length.
instance-id
Specifies the identification of a specific instance of the queue-group.
Values—
1 to 65535

 

seconds
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11 seconds
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate —
Displays rate-per-second for each statistic.
name
Specifies the name of the policer control policy arbiter.
Values—
An existing arbiter-name in the form of a string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

 

root—
Specifies the root arbiter.

sap

Syntax 
sap sap-id [arbiter name | root] [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>qos>arbiter-stats
Description 

This command monitors arbiter statistics for a SAP.

Parameters 
sap-id—
Specifies the physical port identifier portion of the SAP definition.
name—
Specifies the name of the policer control policy arbiter. This parameter is mandatory if the SAP resides on a LAG in adapt-qoslink or port-fair mode.
Values—
An existing scheduler-name in the form of a string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

 

root—
Specifies the arbiter to which this queue would be feeding.
ingress—
Displays scheduler-name statistics applied on the ingress SAP.
egress—
Displays scheduler-name statistics applied on the egress SAP.
seconds
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

subscriber

Syntax 
subscriber sub-ident-string [arbiter name | root] [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>qos>arbiter-stats
Description 

This command monitors arbiter statistics for a subscriber.

Parameters 
sub-ident-string—
Specifies an existing subscriber a identification policy name.
name—
Specifies the name of the policer control policy arbiter.
Values—
An existing arbiter name in the form of a string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

 

root—
Specifies the arbiter to which this queue would be feeding.
ingress—
Displays arbiter name statistics applied on the ingress SAP.
egress—
Displays arbiter name statistics applied on the egress SAP.
seconds
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

port

Syntax 
port port-id exp-secondary-shaper shaper-name [interval seconds] [repeat repeat] [absolute | rate]
port port-id vport name [interval seconds] [repeat repeat]
Context 
monitor>qos
Description 

This command monitors expanded secondary shaper statistics.

Parameters 
port-id
Specifies the port ID.
Values—
slot/mda/port
esat-id/slot/port
pxc-id.sub-port

 

shaper-name
Displays statistics for the named exp secondary shaper.
seconds—
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11 seconds
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic.
vport name
Displays statistics for the named VPORT.

scheduler-stats

Syntax 
scheduler-stats
Context 
monitor>qos
Description 

This command enables the context to configure monitor commands for scheduler statistics.

customer

Syntax 
customer customer-id site customer-site-name [scheduler scheduler-name] [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>qos>scheduler-stats
Description 

Use this command to monitor scheduler statistics per customer multi-service-site. The first screen displays the current statistics related to the specified customer ID and customer site name. The subsequent statistical information listed for each interval is displayed as a delta to the previous display. When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta. Monitor commands are similar to show commands but only statistical information displays. These commands display selected statistics per the configured number of times at the interval specified.

Parameters 
customer-id—
Specifies the ID number to be associated with the customer, expressed as an integer.
Values—
1 to 2147483647

 

customer-site-name
Specifies the customer site, which is an anchor point for ingress and egress virtual scheduler hierarchy. It can be up to 32 characters in length.
scheduler-name
Specifies an existing scheduler-name. Scheduler names are configured in the config>qos>scheduler-policy>tier level context. This parameter is mandatory if the customer resides on a LAG in adapt-qoslink or port-fair mode.
Values—
An existing scheduler-name is in the form of a string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

 

ingress—
Displays the customer’s multi-service-site ingress scheduler policy.
egress—
Displays the customer’s multi-service-site egress scheduler policy.
seconds
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

port

Syntax 
port port-id queue-group queue-group-name [ingress | egress] [interval seconds]
[repeat repeat] [absolute | rate] [access | network] [instance instance-id]
port port-id vport name [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>qos>scheduler-stats
Description 

This command monitors scheduler statistics in a port queue group or a VPORT.

Parameters 
port-id
Specifies the port ID.
Values—
slot/mda/port

 

queue-group-name
Specifies the name of the queue group up to 32 characters in length.
instance-id
Specifies the identification of a specific instance of the queue-group.
Values—
1 to 65535

 

ingress—
Specifies statistics are for an ingress queue group.
egress—
Specifies statistics are for an egress queue group.
seconds
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11 seconds
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic.
access—
Displays scheduler statistics applied on an access port.
network—
Displays scheduler statistics applied on a network port.
name
Displays statistics for the named VPORT up to 32 characters in length.

sap

Syntax 
sap sap-id [scheduler scheduler-name] [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>qos>scheduler-stats
Description 

Use this command to monitor scheduler statistics for a SAP at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified SAP. The subsequent statistical information listed for each interval is displayed as a delta to the previous display.

When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
sap-id—
Specifies the physical port identifier portion of the SAP definition.
scheduler-name
Specifies an existing scheduler-name. Scheduler names are configured in the config>qos>scheduler-policy>tier level context. This parameter is mandatory if the SAP resides on a LAG in adapt-qoslink or port-fair mode.
Values—
An existing scheduler-name in the form of a string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

 

ingress—
Displays scheduler-name statistics applied on the ingress SAP.
egress—
Displays scheduler-name statistics applied on the egress SAP.
seconds
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11 seconds
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

sap

Syntax 
sap sap-id [scheduler scheduler-name] [interval seconds] [repeat repeat] [absolute | rate]
sap sap-id encap-group group-name [member encap-id] [scheduler scheduler-name] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>qos>scheduler-stats
Description 

This command monitors scheduler statistics for a SAP encap-group.

Parameters 
sap-id
Specifies the physical port identifier portion of the SAP definition.
group-name
Displays statistics for the encap group up to 32 characters in length.
encap-id
Specifies the value of the encap-id to be displayed.
Values—
0 to 16777215

 

scheduler-name
Specifies an existing scheduler-name. Scheduler names are configured in the config>qos>scheduler-policy>tier level context. This parameter is mandatory if the SAP resides on a LAG in adapt-qoslink or port-fair mode.
Values—
An existing scheduler-name is in the form of a string up to 32 characters long composed of printable, 7-bit ASCII characters.

 

seconds
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11 seconds
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic.

subscriber

Syntax 
subscriber sub-ident-string [scheduler scheduler-name] [ingress | egress] [interval seconds] [repeat repeat] [absolute | rate]
subscriber sub-ident-string [interval seconds] [repeat repeat] [absolute | rate] sap sap-id sla-profile sla-profile-name
Context 
monitor>qos>scheduler-stats
Description 

This command monitors scheduler statistics for a subscriber.

Parameters 
sub-ident-string—
Specifies an existing subscriber an identification policy name. The name can be a maximum of 32 characters long.
scheduler-name
Specifies an existing QoS scheduler policy name. Scheduler names are configured in the config>qos>scheduler-policy>tier level context.
Values—
An existing scheduler-name in the form of a string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

 

ingress—
Displays scheduler-name statistics applied on the ingress SAP.
egress—
Displays scheduler-name statistics applied on the egress SAP.
seconds
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11 seconds
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.
sap-id—
Specifies the physical port identifier portion of the SAP definition.
sla-profile-name—
Specifies the SLA profile belonging to the subscriber host. 32 characters max.

router

Syntax 
router [router-instance]
router service-name service name
Context 
monitor
Description 

This command enables the context to configure criteria to monitor statistical information for a variety of routing protocols.

Parameters 
router-instance
Specifies the router name or service ID.
Values—

router-name:

Base, management, cpm-vr-name, vpls-management

vprn-service-id:

1 to 2147483647

cpm-vr-name

32 chars max

 

Default—
Base
service-name—
Specifies the service name used to identify the router instance. The name can be up to 64 characters long.

bgp

Syntax 
bgp
Context 
monitor>router
Description 

This command monitors commands for the BGP instance.

neighbor

Syntax 
neighbor ip-addr [ip-addr...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>bgp
Description 

This command displays statistical BGP neighbor information at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified neighbor(s). The subsequent statistical information listed for each interval is displayed as a delta to the previous display.

When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
ip-addr
Displays damping information for entries received from the BGP neighbor. Up to 5 IP addresses can be specified.
Values—
a.b.c.d

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of BGP neighbor information.

Sample Output
A:ALA-12>monitor>router>bgp# neighbor 180.0.0.10 interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for BGP Neighbor 180.0.0.10
===============================================================================
At time t = 0 sec
-------------------------------------------------------------------------------
Recd. Prefixes   : 2                    Sent Prefixes    : 0
Recd. Paths      : 0                    Suppressed Paths : 0
Num of Flaps     : 0
i/p Messages     : 916                  o/p Messages     : 916
i/p Octets       : 17510                o/p Octets       : 17386
i/p Updates      : 2                    o/p Updates      : 0
-------------------------------------------------------------------------------
At time t = 3 sec
-------------------------------------------------------------------------------
Recd. Prefixes   : 0                    Sent Prefixes    : 0
Recd. Paths      : 0                    Suppressed Paths : 0
Num of Flaps     : 0
i/p Messages     : 0                    o/p Messages     : 0
i/p Octets       : 0                    o/p Octets       : 0
i/p Updates      : 0                    o/p Updates      : 0
-------------------------------------------------------------------------------
At time t = 6 sec
-------------------------------------------------------------------------------
Recd. Prefixes   : 0                    Sent Prefixes    : 0
Recd. Paths      : 0                    Suppressed Paths : 0
Num of Flaps     : 0
i/p Messages     : 0                    o/p Messages     : 0
i/p Octets       : 0                    o/p Octets       : 0
i/p Updates      : 0                    o/p Updates      : 0
-------------------------------------------------------------------------------
At time t = 9 sec
-------------------------------------------------------------------------------
Recd. Prefixes   : 0                    Sent Prefixes    : 0
Recd. Paths      : 0                    Suppressed Paths : 0
Num of Flaps     : 0
i/p Messages     : 0                    o/p Messages     : 0
i/p Octets       : 6                    o/p Octets       : 0
i/p Updates      : 0                    o/p Updates      : 0
===============================================================================
A:ALA-12>monitor>router>bgp#

isis

Syntax 
isis [isis-instance]
Context 
monitor>router
Description 

This command monitors commands for the ISIS instance.

Parameters 
isis-instance—
Specifies the ISIS protocol instance within the router instance.
Values—
0 to 31

 

statistics

Syntax 
statistics [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>isis
Description 

This command displays statistical IS-IS traffic information at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified router statistics. The subsequent statistical information listed for each interval is displayed as a delta to the previous display. When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of ISIS statistics.

Sample Output
A:ALA-12>monitor>router>isis# statistics interval 3 repeat 2 absolute
===============================================================================
ISIS Statistics
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
ISIS Instance     : 1                       SPF Runs       : 2
Purge Initiated   : 0                       LSP Regens.    : 11
 
CSPF Statistics
 
Requests          : 0                       Request Drops  : 0
Paths Found       : 0                       Paths Not Found: 0
-------------------------------------------------------------------------------
PDU Type   Received   Processed  Dropped    Sent       Retransmitted
-------------------------------------------------------------------------------
LSP        0          0          0          0          0
IIH        0          0          0          74         0
CSNP       0          0          0          0          0
PSNP       0          0          0          0          0
Unknown    0          0          0          0          0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
ISIS Instance     : 1                       SPF Runs       : 2
Purge Initiated   : 0                       LSP Regens.    : 11
 
CSPF Statistics
 
Requests          : 0                       Request Drops  : 0
Paths Found       : 0                       Paths Not Found: 0
-------------------------------------------------------------------------------
PDU Type   Received   Processed  Dropped    Sent       Retransmitted
-------------------------------------------------------------------------------
LSP        0          0          0          0          0
IIH        0          0          0          74         0
CSNP       0          0          0          0          0
PSNP       0          0          0          0          0
Unknown    0          0          0          0          0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Absolute)
-------------------------------------------------------------------------------
ISIS Instance     : 1                       SPF Runs       : 2
Purge Initiated   : 0                       LSP Regens.    : 11
 
CSPF Statistics
 
Requests          : 0                       Request Drops  : 0
Paths Found       : 0                       Paths Not Found: 0
-------------------------------------------------------------------------------
PDU Type   Received   Processed  Dropped    Sent       Retransmitted
-------------------------------------------------------------------------------
LSP        0          0          0          0          0
IIH        0          0          0          74         0
CSNP       0          0          0          0          0
PSNP       0          0          0          0          0
Unknown    0          0          0          0          0
===============================================================================
 
 
A:ALA-12>monitor>router>isis# statistics interval 3 repeat 2 rate
===============================================================================
ISIS Statistics
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
ISIS Instance     : 1                       SPF Runs       : 2
Purge Initiated   : 0                       LSP Regens.    : 11
 
CSPF Statistics
 
Requests          : 0                       Request Drops  : 0
Paths Found       : 0                       Paths Not Found: 0
-------------------------------------------------------------------------------
PDU Type   Received   Processed  Dropped    Sent       Retransmitted
-------------------------------------------------------------------------------
LSP        0          0          0          0          0
IIH        0          0          0          76         0
CSNP       0          0          0          0          0
PSNP       0          0          0          0          0
Unknown    0          0          0          0          0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Rate)
-------------------------------------------------------------------------------
ISIS Instance     : 1                       SPF Runs       : 0
Purge Initiated   : 0                       LSP Regens.    : 0
 
CSPF Statistics
 
Requests          : 0                       Request Drops  : 0
Paths Found       : 0                       Paths Not Found: 0
-------------------------------------------------------------------------------
PDU Type   Received   Processed  Dropped    Sent       Retransmitted
-------------------------------------------------------------------------------
LSP        0          0          0          0          0
IIH        0          0          0          0          0
CSNP       0          0          0          0          0
PSNP       0          0          0          0          0
Unknown    0          0          0          0          0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Rate)
-------------------------------------------------------------------------------
ISIS Instance     : 1                       SPF Runs       : 0
Purge Initiated   : 0                       LSP Regens.    : 0
 
CSPF Statistics
 
Requests          : 0                       Request Drops  : 0
Paths Found       : 0                       Paths Not Found: 0
-------------------------------------------------------------------------------
PDU Type   Received   Processed  Dropped    Sent       Retransmitted
-------------------------------------------------------------------------------
LSP        0          0          0          0          0
IIH        0          0          0          1          0
CSNP       0          0          0          0          0
PSNP       0          0          0          0          0
Unknown    0          0          0          0          0
===============================================================================
A:ALA-12>monitor>router>isis#

ldp

Syntax 
ldp
Context 
monitor>router
Description 

This command monitors commands for the LDP instance.

fec-egress-stats

Syntax 
fec-egress-stats ip-prefix/mask [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>ldp
Description 

This command monitors egress statistics for LDP FEC prefixes.

Parameters 
ip-prefix/mask—
Values—

ipv4-prefix

a.b.c.d

ipv4-prefix-le

0 to 32

ipv6-prefix

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] H

d: [0 to 255] D

ipv6-prefix-le

0 to 128

 

seconds—
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

session

Syntax 
session ldp-id [ldp-id...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>ldp
Description 

This command displays statistical information for LDP sessions at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified LDP session(s). The subsequent statistical information listed for each interval is displayed as a delta to the previous display.

When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
ldp-id—
Specifies the IP address of the LDP session to display.
Values—

ipv4-address

label-space

ipv6-address

[label-space]

label-space

0 to 65535

ipv4-address

a.b.c.d

ipv6-address

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

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

x: [0 to FFFF] H

d: [0 to 255] D

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of LDP session information.

Sample Output
A:ALA-103>monitor>router>ldp# session 10.10.10.104 interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for LDP Session 10.10.10.104
===============================================================================
                              Sent                     Received
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
FECs                          1                        2
Hello                         5288                     5289
Keepalive                     8225                     8225
Init                          1                        1
Label Mapping                 1                        4
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       1                        1
Address Withdraw              0                        0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
FECs                          1                        2
Hello                         5288                     5289
Keepalive                     8226                     8226
Init                          1                        1
Label Mapping                 1                        4
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       1                        1
Address Withdraw              0                        0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Absolute)
-------------------------------------------------------------------------------
FECs                          1                        2
Hello                         5288                     5290
Keepalive                     8226                     8226
Init                          1                        1
Label Mapping                 1                        4
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       1                        1
Address Withdraw              0                        0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Absolute)
-------------------------------------------------------------------------------
FECs                          1                        2
Hello                         5288                     5290
Keepalive                     8226                     8226
Init                          1                        1
Label Mapping                 1                        4
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       1                        1
Address Withdraw              0                        0
========================================================================
A:ALA-12>monitor>router>ldp#
 
 
A:ALA-12>monitor>router>ldp# session 10.10.10.104 interval 3 repeat 3 rate
===============================================================================
Monitor statistics for LDP Session 10.10.10.104
===============================================================================
                              Sent                     Received
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
FECs                          1                        2
Hello                         5289                     5290
Keepalive                     8227                     8227
Init                          1                        1
Label Mapping                 1                        4
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       1                        1
Address Withdraw              0                        0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Rate)
-------------------------------------------------------------------------------
FECs                          0                        0
Hello                         0                        0
Keepalive                     0                        0
Init                          0                        0
Label Mapping                 0                        0
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       0                        0
Address Withdraw              0                        0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Rate)
-------------------------------------------------------------------------------
FECs                          0                        0
Hello                         0                        0
Keepalive                     0                        0
Init                          0                        0
Label Mapping                 0                        0
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       0                        0
Address Withdraw              0                        0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Rate)
-------------------------------------------------------------------------------
FECs                          0                        0
Hello                         0                        0
Keepalive                     0                        0
Init                          0                        0
Label Mapping                 0                        0
Label Request                 0                        0
Label Release                 0                        0
Label Withdraw                0                        0
Label Abort                   0                        0
Notification                  0                        0
Address                       0                        0
Address Withdraw              0                        0
===============================================================================
A:ALA-12>monitor>router>ldp#

statistics

Syntax 
statistics [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>ldp
Description 

Monitor statistics for LDP instance at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the LDP statistics. The subsequent statistical information listed for each interval is displayed as a delta to the previous display. When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of LDP statistics information.

Sample Output
A:ALA-12>monitor>router>ldp# statistics interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for LDP instance
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 1                    Serv FECs Recv     : 2
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 1                    Serv FECs Recv     : 2
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 1                    Serv FECs Recv     : 2
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 1                    Serv FECs Recv     : 2
===============================================================================
A:ALA-12>monitor>router>ldp#
 
 
A:ALA-12>monitor>router>ldp# statistics interval 3 repeat 3 rate
===============================================================================
Monitor statistics for LDP instance
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 1                    Serv FECs Recv     : 2
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Rate)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 0                    Serv FECs Recv     : 0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Rate)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 0                    Serv FECs Recv     : 0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Rate)
-------------------------------------------------------------------------------
Addr FECs Sent    : 0                    Addr FECs Recv     : 0
Serv FECs Sent    : 0                    Serv FECs Recv     : 0
===============================================================================
A:ALA-12>monitor>router>ldp#

mpls

Syntax 
mpls
Context 
monitor>router
Description 

This commands monitors commands for the MPLS instance.

interface

Syntax 
interface interface [interface...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>mpls
Description 

This command displays statistics for MPLS interfaces at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the MPLS interface(s). The subsequent statistical information listed for each interval is displayed as a delta to the previous display. When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
interface—
Specifies the IP address of the interface (ip-address) or interface name (ip-int-name). Up to 5 interfaces can be specified. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.
Values—
ip-int-name, ip-address

 

seconds
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11 seconds
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of MPLS interface information.

Sample Output
A:ALA-12>monitor>router>mpls# interface system interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for MPLS Interface "system"
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
  Transmitted  : Pkts - 0                     Octets - 0
  Received     : Pkts - 0                     Octets - 0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
  Transmitted  : Pkts - 0                     Octets - 0
  Received     : Pkts - 0                     Octets - 0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Absolute)
-------------------------------------------------------------------------------
  Transmitted  : Pkts - 0                     Octets - 0
  Received     : Pkts - 0                     Octets - 0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Absolute)
-------------------------------------------------------------------------------
  Transmitted  : Pkts - 0                     Octets - 0
  Received     : Pkts - 0                     Octets - 0
===============================================================================
A:ALA-12>monitor>router>mpls# 
 
 
A:ALA-12>monitor>router>mpls# interface system interval 3 repeat 3 rate
===============================================================================
Monitor statistics for MPLS Interface "system"
===============================================================================
-------------------------------------------------------------------------------
  Transmitted  : Pkts - 0                     Octets - 0
  Received     : Pkts - 0                     Octets - 0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Rate)
-------------------------------------------------------------------------------
  Transmitted  : Pkts - 0                     Octets - 0
  Received     : Pkts - 0                     Octets - 0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Rate)
-------------------------------------------------------------------------------
  Transmitted  : Pkts - 0                     Octets - 0
  Received     : Pkts - 0                     Octets - 0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Rate)
-------------------------------------------------------------------------------
  Transmitted  : Pkts - 0                     Octets - 0
  Received     : Pkts - 0                     Octets - 0
===============================================================================
A:ALA-12>monitor>router>mpls#

lsp-egress-stats

Syntax 
lsp-egress-stats lsp lsp-name [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>mpls
Description 

This command displays egress statistics for LSP interfaces at the configured interval until the configured count is reached.

Default 

no lsp-egress-stats

Parameters 
lsp-name—
Specifies the LSP name up to 64 characters in length.
repeat—
Specifies how many times the command is repeated.
Values—
1 to 999

 

Default—
10
seconds
Specifies the interval for each display, in seconds.
Values—
3 to 60

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of LSP egress statistics information.

Sample Output
B:Dut-C-cpm2# monitor router mpls lsp-egress-stats lsp sample repeat 3 interval 10 
absolute 
===============================================================================
Monitor egress statistics for MPLS LSP "sample"
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
LSP Name      : sample
-------------------------------------------------------------------------------
Collect Stats : Enabled                 Accting Plcy. : 5                      
Adm State     : Up                      PSB Match     : True                   
FC BE
InProf Pkts   : 0                       OutProf Pkts  : 551                    
InProf Octets : 0                       OutProf Octets: 560918                 
FC L2
InProf Pkts   : 0                       OutProf Pkts  : 551                    
InProf Octets : 0                       OutProf Octets: 560918                 
FC AF
InProf Pkts   : 551                     OutProf Pkts  : 0                      
InProf Octets : 560918                  OutProf Octets: 0                      
FC L1
InProf Pkts   : 551                     OutProf Pkts  : 0                      
InProf Octets : 560918                  OutProf Octets: 0                      
FC H2
InProf Pkts   : 0                       OutProf Pkts  : 551                    
InProf Octets : 0                       OutProf Octets: 560918                 
FC EF
InProf Pkts   : 0                       OutProf Pkts  : 551                    
InProf Octets : 0                       OutProf Octets: 560918                 
FC H1
InProf Pkts   : 0                       OutProf Pkts  : 551                    
InProf Octets : 0                       OutProf Octets: 560918                 
FC NC
InProf Pkts   : 551                     OutProf Pkts  : 0                      
InProf Octets : 560918                  OutProf Octets: 0 
-------------------------------------------------------------------------------
At time t = 10 sec (Mode: Absolute)
-------------------------------------------------------------------------------
LSP Name      : sample
-------------------------------------------------------------------------------
Collect Stats : Enabled                 Accting Plcy. : 5                      
Adm State     : Up                      PSB Match     : True                   
FC BE
InProf Pkts   : 0                       OutProf Pkts  : 580                    
InProf Octets : 0                       OutProf Octets: 590440                 
FC L2
InProf Pkts   : 0                       OutProf Pkts  : 580                    
InProf Octets : 0                       OutProf Octets: 590440                 
FC AF
InProf Pkts   : 580                     OutProf Pkts  : 0                      
InProf Octets : 590440                  OutProf Octets: 0                      
FC L1
InProf Pkts   : 580                     OutProf Pkts  : 0                      
InProf Octets : 590440                  OutProf Octets: 0                      
FC H2
InProf Pkts   : 0                       OutProf Pkts  : 580                    
InProf Octets : 0                       OutProf Octets: 590440                 
FC EF
InProf Pkts   : 0                       OutProf Pkts  : 580                    
InProf Octets : 0                       OutProf Octets: 590440                 
FC H1
InProf Pkts   : 0                       OutProf Pkts  : 580                    
InProf Octets : 0                       OutProf Octets: 590440                 
FC NC
InProf Pkts   : 580                     OutProf Pkts  : 0                      
InProf Octets : 590440                  OutProf Octets: 0 
-------------------------------------------------------------------------------
At time t = 20 sec (Mode: Absolute)
-------------------------------------------------------------------------------
LSP Name      : sample
-------------------------------------------------------------------------------
Collect Stats : Enabled                 Accting Plcy. : 5                      
Adm State     : Up                      PSB Match     : True                   
FC BE
InProf Pkts   : 0                       OutProf Pkts  : 609                    
InProf Octets : 0                       OutProf Octets: 619962                 
FC L2
InProf Pkts   : 0                       OutProf Pkts  : 609                    
InProf Octets : 0                       OutProf Octets: 619962                 
FC AF
InProf Pkts   : 609                     OutProf Pkts  : 0                      
InProf Octets : 619962                  OutProf Octets: 0                      
FC L1
InProf Pkts   : 609                     OutProf Pkts  : 0                      
InProf Octets : 619962                  OutProf Octets: 0                      
FC H2
InProf Pkts   : 0                       OutProf Pkts  : 609                    
InProf Octets : 0                       OutProf Octets: 619962                 
FC EF
InProf Pkts   : 0                       OutProf Pkts  : 609                    
InProf Octets : 0                       OutProf Octets: 619962                 
FC H1
InProf Pkts   : 0                       OutProf Pkts  : 609                    
InProf Octets : 0                       OutProf Octets: 619962                 
FC NC
InProf Pkts   : 609                     OutProf Pkts  : 0                      
InProf Octets : 619962                  OutProf Octets: 0 
-------------------------------------------------------------------------------
At time t = 30 sec (Mode: Absolute)
-------------------------------------------------------------------------------
LSP Name      : sample
-------------------------------------------------------------------------------
Collect Stats : Enabled                 Accting Plcy. : 5                      
Adm State     : Up                      PSB Match     : True                   
FC BE
InProf Pkts   : 0                       OutProf Pkts  : 638                    
InProf Octets : 0                       OutProf Octets: 649484                 
FC L2
InProf Pkts   : 0                       OutProf Pkts  : 638                    
InProf Octets : 0                       OutProf Octets: 649484                 
FC AF
InProf Pkts   : 638                     OutProf Pkts  : 0                      
InProf Octets : 649484                  OutProf Octets: 0                      
FC L1
InProf Pkts   : 638                     OutProf Pkts  : 0                      
InProf Octets : 649484                  OutProf Octets: 0                      
FC H2
InProf Pkts   : 0                       OutProf Pkts  : 638                    
InProf Octets : 0                       OutProf Octets: 649484                 
FC EF
InProf Pkts   : 0                       OutProf Pkts  : 638                    
InProf Octets : 0                       OutProf Octets: 649484                 
FC H1
InProf Pkts   : 0                       OutProf Pkts  : 638                    
InProf Octets : 0                       OutProf Octets: 649484                 
FC NC
InProf Pkts   : 638                     OutProf Pkts  : 0                      
InProf Octets : 649484                  OutProf Octets: 0 
===============================================================================
B:Dut-C-cpm2# 

lsp-ingress-stats

Syntax 
lsp-ingress-stats lsp lsp-name [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>mpls
Description 

This command displays ingress statistics for LSP interfaces at the configured interval until the configured count is reached.

Parameters 
lsp-name—
Specifies the LSP name up to 64 characters in length.
repeat—
Specifies how many times the command is repeated.
Values—
1 to 999

 

Default—
10
seconds
Specifies the interval for each display, in seconds.
Values—
3 to 60

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of LSP ingress statistics information.

Sample Output
B:Dut-C-cpm2# monitor router mpls lsp-ingress-stats lsp sample 1.1.1.1 repeat 3 
interval 10 absolute 
===============================================================================
Monitor ingress statistics for MPLS LSP "sample"
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
LSP Name      : sample
Sender        : 1.1.1.1
-------------------------------------------------------------------------------
Collect Stats : Enabled                 Accting Plcy. : None                   
Adm State     : Up                      PSB Match     : True                   
FC BE
InProf Pkts   : 539                     OutProf Pkts  : 0                      
InProf Octets : 548702                  OutProf Octets: 0                      
FC L2
InProf Pkts   : 0                       OutProf Pkts  : 539                    
InProf Octets : 0                       OutProf Octets: 548702                 
FC AF
InProf Pkts   : 0                       OutProf Pkts  : 0                      
InProf Octets : 0                       OutProf Octets: 0                      
FC L1
InProf Pkts   : 1078                    OutProf Pkts  : 0                      
InProf Octets : 1097404                 OutProf Octets: 0                      
FC H2
InProf Pkts   : 0                       OutProf Pkts  : 539                    
InProf Octets : 0                       OutProf Octets: 548702                 
FC EF
InProf Pkts   : 539                     OutProf Pkts  : 0                      
InProf Octets : 548702                  OutProf Octets: 0                      
FC H1
InProf Pkts   : 539                     OutProf Pkts  : 0                      
InProf Octets : 548702                  OutProf Octets: 0                      
FC NC
InProf Pkts   : 0                       OutProf Pkts  : 539                    
InProf Octets : 0                       OutProf Octets: 548702 
-------------------------------------------------------------------------------
At time t = 10 sec (Mode: Absolute)
-------------------------------------------------------------------------------
LSP Name      : sample
Sender        : 1.1.1.1
-------------------------------------------------------------------------------
Collect Stats : Enabled                 Accting Plcy. : None                   
Adm State     : Up                      PSB Match     : True                   
FC BE
InProf Pkts   : 568                     OutProf Pkts  : 0                      
InProf Octets : 578224                  OutProf Octets: 0                      
FC L2
InProf Pkts   : 0                       OutProf Pkts  : 568                    
InProf Octets : 0                       OutProf Octets: 578224                 
FC AF
InProf Pkts   : 0                       OutProf Pkts  : 0                      
InProf Octets : 0                       OutProf Octets: 0                      
FC L1
InProf Pkts   : 1136                    OutProf Pkts  : 0                      
InProf Octets : 1156448                 OutProf Octets: 0                      
FC H2
InProf Pkts   : 0                       OutProf Pkts  : 568                    
InProf Octets : 0                       OutProf Octets: 578224                 
FC EF
InProf Pkts   : 568                     OutProf Pkts  : 0                      
InProf Octets : 578224                  OutProf Octets: 0                      
FC H1
InProf Pkts   : 568                     OutProf Pkts  : 0                      
InProf Octets : 578224                  OutProf Octets: 0                      
FC NC
InProf Pkts   : 0                       OutProf Pkts  : 568                    
InProf Octets : 0                       OutProf Octets: 578224 
-------------------------------------------------------------------------------
At time t = 20 sec (Mode: Absolute)
-------------------------------------------------------------------------------
LSP Name      : sample
Sender        : 1.1.1.1
-------------------------------------------------------------------------------
Collect Stats : Enabled                 Accting Plcy. : None                   
Adm State     : Up                      PSB Match     : True                   
FC BE
InProf Pkts   : 597                     OutProf Pkts  : 0                      
InProf Octets : 607746                  OutProf Octets: 0                      
FC L2
InProf Pkts   : 0                       OutProf Pkts  : 597                    
InProf Octets : 0                       OutProf Octets: 607746                 
FC AF
InProf Pkts   : 0                       OutProf Pkts  : 0                      
InProf Octets : 0                       OutProf Octets: 0                      
FC L1
InProf Pkts   : 1194                    OutProf Pkts  : 0                      
InProf Octets : 1215492                 OutProf Octets: 0                      
FC H2
InProf Pkts   : 0                       OutProf Pkts  : 597                    
InProf Octets : 0                       OutProf Octets: 607746                 
FC EF
InProf Pkts   : 597                     OutProf Pkts  : 0                      
InProf Octets : 607746                  OutProf Octets: 0                      
FC H1
InProf Pkts   : 597                     OutProf Pkts  : 0                      
InProf Octets : 607746                  OutProf Octets: 0                      
FC NC
InProf Pkts   : 0                       OutProf Pkts  : 597                    
InProf Octets : 0                       OutProf Octets: 607746 
-------------------------------------------------------------------------------
At time t = 30 sec (Mode: Absolute)
-------------------------------------------------------------------------------
LSP Name      : sample
Sender        : 1.1.1.1
-------------------------------------------------------------------------------
Collect Stats : Enabled                 Accting Plcy. : None                   
Adm State     : Up                      PSB Match     : True                   
FC BE
InProf Pkts   : 627                     OutProf Pkts  : 0                      
InProf Octets : 638286                  OutProf Octets: 0                      
FC L2
InProf Pkts   : 0                       OutProf Pkts  : 627                    
InProf Octets : 0                       OutProf Octets: 638286                 
FC AF
InProf Pkts   : 0                       OutProf Pkts  : 0                      
InProf Octets : 0                       OutProf Octets: 0                      
FC L1
InProf Pkts   : 1254                    OutProf Pkts  : 0                      
InProf Octets : 1276572                 OutProf Octets: 0                      
FC H2
InProf Pkts   : 0                       OutProf Pkts  : 627                    
InProf Octets : 0                       OutProf Octets: 638286                 
FC EF
InProf Pkts   : 627                     OutProf Pkts  : 0                      
InProf Octets : 638286                  OutProf Octets: 0                      
FC H1
InProf Pkts   : 627                     OutProf Pkts  : 0                      
InProf Octets : 638286                  OutProf Octets: 0                      
FC NC
InProf Pkts   : 0                       OutProf Pkts  : 627                    
InProf Octets : 0                       OutProf Octets: 638286 
===============================================================================
B:Dut-C-cpm2# 

tp-lsp-egress-stats

Syntax 
tsp-lsp-egress-stats lsp lsp-name [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>mpls
Description 

This command monitors MPLS TP LSP egress statistics.

Parameters 
lsp-name—
Specifies the LSP name up to 64 characters in length.
repeat—
Specifies how many times the command is repeated.
Values—
1 to 999

 

Default—
10
seconds
Specifies the interval for each display, in seconds.
Values—
3 to 60

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

tp-lsp-ingress-stats

Syntax 
tsp-lsp-ingress-stats lsp lsp-name [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>mpls
Description 

This command monitors MPLS TP LSP ingress statistics.

Parameters 
lsp-name—
Specifies the LSP name up to 64 characters in length.
repeat—
Specifies how many times the command is repeated.
Values—
1 to 999

 

Default—
10
seconds
Specifies the interval for each display, in seconds.
Values—
3 to 60

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

ospf

Syntax 
ospf [ospf-instance]
Context 
monitor>router
Description 

This command enables the context to configure monitor commands for the OSPF instance.

Parameters 
ospf-instance—
Specifies the OSPF instance.
Values—
0 to 31

 

ospf3

Syntax 
ospf [ospf-instance]
Context 
monitor>router
Description 

This command enables the context to configure monitor commands for the OSPF3 instance.

Parameters 
ospf-instance—
Specifies the OSPF3 instance.
Values—

ospf-instance

0 to 31, 64 to 95

0 to 31

ipv6-unicast address-family

64 to 95

ipv4-unicast address-family

 

interface

Syntax 
interface interface [interface...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>ospf
monitor>router>ospf3
Description 

This command displays statistics for OSPF interfaces at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the OSPF interface(s). The subsequent statistical information listed for each interval is displayed as a delta to the previous display.

When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
interface—
Specifies the IP address of the interface (ip-address) or interface name (ip-int-name). Up to 5 interfaces can be specified. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.
Values—
ip-int-address, ip-address

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of OSPF interface information.

Sample Output
A:ALA-12>monitor>router>ospf# interface to-104 interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for OSPF Interface "to-104"
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Tot Rx Packets : 8379                   Tot Tx Packets : 8528
Rx Hellos      : 8225                   Tx Hellos      : 8368
Rx DBDs        : 6                      Tx DBDs        : 12
Rx LSRs        : 2                      Tx LSRs        : 1
Rx LSUs        : 55                     Tx LSUs        : 95
Rx LS Acks     : 91                     Tx LS Acks     : 52
Retransmits    : 2                      Discards       : 0
Bad Networks   : 0                      Bad Virt Links : 0
Bad Areas      : 0                      Bad Dest Addrs : 0
Bad Auth Types : 0                      Auth Failures  : 0
Bad Neighbors  : 0                      Bad Pkt Types  : 0
Bad Lengths    : 0                      Bad Hello Int. : 0
Bad Dead Int.  : 0                      Bad Options    : 0
Bad Versions   : 0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Tot Rx Packets : 8379                   Tot Tx Packets : 8528
Rx Hellos      : 8225                   Tx Hellos      : 8368
Rx DBDs        : 6                      Tx DBDs        : 12
Rx LSRs        : 2                      Tx LSRs        : 1
Rx LSUs        : 55                     Tx LSUs        : 95
Rx LS Acks     : 91                     Tx LS Acks     : 52
Retransmits    : 2                      Discards       : 0
Bad Networks   : 0                      Bad Virt Links : 0
Bad Areas      : 0                      Bad Dest Addrs : 0
Bad Auth Types : 0                      Auth Failures  : 0
Bad Neighbors  : 0                      Bad Pkt Types  : 0
Bad Lengths    : 0                      Bad Hello Int. : 0
Bad Dead Int.  : 0                      Bad Options    : 0
Bad Versions   : 0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Tot Rx Packets : 8380                   Tot Tx Packets : 8529
Rx Hellos      : 8226                   Tx Hellos      : 8369
Rx DBDs        : 6                      Tx DBDs        : 12
Rx LSRs        : 2                      Tx LSRs        : 1
Rx LSUs        : 55                     Tx LSUs        : 95
Rx LS Acks     : 91                     Tx LS Acks     : 52
Retransmits    : 2                      Discards       : 0
Bad Networks   : 0                      Bad Virt Links : 0
Bad Areas      : 0                      Bad Dest Addrs : 0
Bad Auth Types : 0                      Auth Failures  : 0
Bad Neighbors  : 0                      Bad Pkt Types  : 0
Bad Lengths    : 0                      Bad Hello Int. : 0
Bad Dead Int.  : 0                      Bad Options    : 0
Bad Versions   : 0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Tot Rx Packets : 8380                   Tot Tx Packets : 8529
Rx Hellos      : 8226                   Tx Hellos      : 8369
Rx DBDs        : 6                      Tx DBDs        : 12
Rx LSRs        : 2                      Tx LSRs        : 1
Rx LSUs        : 55                     Tx LSUs        : 95
Rx LS Acks     : 91                     Tx LS Acks     : 52
Retransmits    : 2                      Discards       : 0
Bad Networks   : 0                      Bad Virt Links : 0
Bad Areas      : 0                      Bad Dest Addrs : 0
Bad Auth Types : 0                      Auth Failures  : 0
Bad Neighbors  : 0                      Bad Pkt Types  : 0
Bad Lengths    : 0                      Bad Hello Int. : 0
Bad Dead Int.  : 0                      Bad Options    : 0
Bad Versions   : 0
===============================================================================
A:ALA-12>monitor>router>ospf# 
 
 
A:ALA-12>monitor>router>ospf# interface to-104 interval 3 repeat 3 rate
===============================================================================
Monitor statistics for OSPF Interface "to-104"
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Tot Rx Packets : 8381                   Tot Tx Packets : 8530
Rx Hellos      : 8227                   Tx Hellos      : 8370
Rx DBDs        : 6                      Tx DBDs        : 12
Rx LSRs        : 2                      Tx LSRs        : 1
Rx LSUs        : 55                     Tx LSUs        : 95
Rx LS Acks     : 91                     Tx LS Acks     : 52
Retransmits    : 2                      Discards       : 0
Bad Networks   : 0                      Bad Virt Links : 0
Bad Areas      : 0                      Bad Dest Addrs : 0
Bad Auth Types : 0                      Auth Failures  : 0
Bad Neighbors  : 0                      Bad Pkt Types  : 0
Bad Lengths    : 0                      Bad Hello Int. : 0
Bad Dead Int.  : 0                      Bad Options    : 0
Bad Versions   : 0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Rate)
-------------------------------------------------------------------------------
Tot Rx Packets : 0                      Tot Tx Packets : 0
Rx Hellos      : 0                      Tx Hellos      : 0
Rx DBDs        : 0                      Tx DBDs        : 0
Rx LSRs        : 0                      Tx LSRs        : 0
Rx LSUs        : 0                      Tx LSUs        : 0
Rx LS Acks     : 0                      Tx LS Acks     : 0
Retransmits    : 0                      Discards       : 0
Bad Networks   : 0                      Bad Virt Links : 0
Bad Areas      : 0                      Bad Dest Addrs : 0
Bad Auth Types : 0                      Auth Failures  : 0
Bad Neighbors  : 0                      Bad Pkt Types  : 0
Bad Lengths    : 0                      Bad Hello Int. : 0
Bad Dead Int.  : 0                      Bad Options    : 0
Bad Versions   : 0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Rate)
-------------------------------------------------------------------------------
Tot Rx Packets : 0                      Tot Tx Packets : 0
Rx Hellos      : 0                      Tx Hellos      : 0
Rx DBDs        : 0                      Tx DBDs        : 0
Rx LSRs        : 0                      Tx LSRs        : 0
Rx LSUs        : 0                      Tx LSUs        : 0
Rx LS Acks     : 0                      Tx LS Acks     : 0
Retransmits    : 0                      Discards       : 0
Bad Networks   : 0                      Bad Virt Links : 0
Bad Areas      : 0                      Bad Dest Addrs : 0
Bad Auth Types : 0                      Auth Failures  : 0
Bad Neighbors  : 0                      Bad Pkt Types  : 0
Bad Lengths    : 0                      Bad Hello Int. : 0
Bad Dead Int.  : 0                      Bad Options    : 0
Bad Versions   : 0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Rate)
-------------------------------------------------------------------------------
Tot Rx Packets : 0                      Tot Tx Packets : 0
Rx Hellos      : 0                      Tx Hellos      : 0
Rx DBDs        : 0                      Tx DBDs        : 0
Rx LSRs        : 0                      Tx LSRs        : 0
Rx LSUs        : 0                      Tx LSUs        : 0
Rx LS Acks     : 0                      Tx LS Acks     : 0
Retransmits    : 0                      Discards       : 0
Bad Networks   : 0                      Bad Virt Links : 0
Bad Areas      : 0                      Bad Dest Addrs : 0
Bad Auth Types : 0                      Auth Failures  : 0
Bad Neighbors  : 0                      Bad Pkt Types  : 0
Bad Lengths    : 0                      Bad Hello Int. : 0
Bad Dead Int.  : 0                      Bad Options    : 0
Bad Versions   : 0
===============================================================================
A:ALA-12>monitor>router>ospf#

neighbor

Syntax 
neighbor ip-address [ip-address...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>ospf
monitor>router>ospf3
Description 

This command displays statistical OSPF or OSPF3 neighbor information at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified OSPF neighbor(s). The subsequent statistical information listed for each interval is displayed as a delta to the previous display.

When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
ip-address
Specifies the IP address to display information for entries received from the specified OPSF neighbor. Up to 5 IP addresses can be specified.
Values—
a.b.c.d

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat
Configures the number of times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of OSPF neighbor information.

Sample Output
A:ALA-12>monitor>router# ospf neighbor 10.0.0.104 interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for OSPF Neighbor 10.0.0.104
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Bad Nbr States   : 0                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Bad Nbr States   : 0                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Bad Nbr States   : 0                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Absolute)
-------------------------------------------------------------------------------
Bad Nbr States   : 0                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
=======================================================================
A:ALA-12>monitor>router# 
 
 
A:ALA-12>monitor>router# ospf neighbor 10.0.0.104 interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for OSPF Neighbor 10.0.0.104
===============================================================================
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Bad Nbr States   : 0                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Rate)
-------------------------------------------------------------------------------
Bad Nbr States   : 0                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
-------------------------------------------------------------------------------
At time t = 6 sec (Mode: Rate)
-------------------------------------------------------------------------------
Bad Nbr States   : 0                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
-------------------------------------------------------------------------------
At time t = 9 sec (Mode: Rate)
-------------------------------------------------------------------------------
Bad Nbr States   : 0                    LSA Inst fails   : 0
Bad Seq Nums     : 0                    Bad MTUs         : 0
Bad Packets      : 0                    LSA not in LSDB  : 0
Option Mismatches: 0                    Nbr Duplicates   : 0
===============================================================================
A:ALA-12>monitor>router#

virtual-link

Syntax 
virtual-link nbr-rtr-id area area-id [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>ospf
monitor>router>ospf3
Description 

This command displays statistical OSPF virtual link information at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified neighbor(s). The subsequent statistical information listed for each interval is displayed as a delta to the previous display.

When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
nbr-rtr-id—
Specifies the IP address to uniquely identify a neighboring router in the autonomous system.
Values—
a.b.c.d

 

area-id—
Specifies the OSPF area ID, expressed in dotted decimal notation or as a 32-bit decimal integer.
Values—
ip-address, 0 to 4294967295

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

virtual-neighbor

Syntax 
virtual-neighbor nbr-rtr-id area area-id [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>ospf
monitor>router>ospf3
Description 

This command displays statistical OSPF virtual neighbor information at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified OSPF virtual neighbor router. The subsequent statistical information listed for each interval is displayed as a delta to the previous display.

When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
nbr-rtr-id—
Specifies the IP address to uniquely identify a neighboring router in the autonomous system.
Values—
a.b.c.d

 

area-id—
Specifies the OSPF area ID, expressed in dotted decimal notation or as a 32-bit decimal integer.
Values—
ip-address, 0 to 4294967295

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

pim

Syntax 
pim
Context 
monitor>router
Description 

This command monitors commands for the PIM instance.

group

Syntax 
group grp-ip-address [source ip-address] [interval interval] [repeat repeat] [absolute | rate]
Context 
monitor>router>pim
Description 

This command monitors statistics for a PIM source group.

Parameters 
grp-ip-address—
Specifies the IP address of an multicast group that identifies a set of recipients that are interested in a particular data stream.
ip-address
Specifies the source IP address to use in the ping requests in dotted decimal notation.
Values—
0.0.0.0 to 255.255.255.255

 

Default—
the IP address of the egress IP interface
interval
Configures the interval for each display in seconds.
Values—
10, 20, 30, 40, 50, 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

rip

Syntax 
rip
Context 
router>monitor
Description 

This command monitors commands for the RIP instance.

neighbor

Syntax 
neighbor neighbor [neighbor...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>rip
Description 

This command displays statistical RIP neighbor information at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the specified RIP neighbor(s). The subsequent statistical information listed for each interval is displayed as a delta to the previous display. When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
neighbor
Specifies the IP interface name or the IP address of the neighbor to be monitored.
Values—
ip-int-name, ip-address

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

rsvp

Syntax 
rsvp
Context 
monitor>router
Description 

This command monitors commands for the RSVP instance.

interface

Syntax 
interface interface [interface...(up to 5 max)] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>rsvp
Description 

This command displays statistics for RSVP interfaces at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the RSVP interface(s). The subsequent statistical information listed for each interval is displayed as a delta to the previous display. When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
interface—
Specifies the IP address of the interface (ip-address) or interface name (ip-int-name). Up to 5 interfaces can be specified. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.
Values—
ip-int-name, ip-address

 

seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

vrrp

Syntax 
vrrp
Context 
monitor>router
Description 

This command enables the context to configure criteria to monitor VRRP statistical information for a VRRP enabled on a specific interface.

instance

Syntax 
instance interface interface-name vr-id virtual-router-id [ipv6] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>router>vrrp
Description 

This command monitors statistics for a VRRP instance.

Parameters 
interface-name—
Specifies the name of the existing IP interface on which VRRP is configured. The name may can up to 32 characters long.
virtual-router-id
Specifies the virtual router ID for the existing IP interface, expressed as a decimal integer.
Values—
1 to 255

 

ipv6—
Specifies the IPv6 instance.
seconds
Configures the interval for each display in seconds.
Values—
3 to 60

 

Default—
10 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
rate—
Displays rate-per-second for each statistic instead of the delta.

service

Syntax 
service
Context 
monitor
Description 

This command enables the context to configure criteria to monitor specific service SAP criteria.

id

Syntax 
id service-id
Context 
monitor>service
Description 

This command displays statistics for a specific service, specified by the service-id, at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the service-id. The subsequent statistical information listed for each interval is displayed as a delta to the previous display. When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
service-id—
Specifies the unique service identification number which identifies the service in the service domain.

sap

Syntax 
sap sap-id [interval seconds] [repeat repeat] [absolute | rate]
sap sap-id encap-group group-name [member encap-id] [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>service>id
Description 

This command monitors statistics for a SAP associated with this service.

This command displays statistics for a specific SAP, identified by the port-id and encapsulation value, at the configured interval until the configured count is reached.

The first screen displays the current statistics related to the SAP. The subsequent statistical information listed for each interval is displayed as a delta to the previous display. When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.

Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.

Parameters 
sap-id—
Specifies the physical port identifier portion of the SAP definition.
Values—

:null

port-id | bundle-id | bpgrp-id | lag-id | aps-id

dot1q

port-id | bundle-id | bpgrp-id | lag-id | aps-id | pw-id:[qtag1|cp-conn-prof-id]

qinq

port-id | bundle-id | bpgrp-id | lag-id | pw-id:[qtag1 cp-conn-prof-id].[qtag2 | cp-conn-prof-id]

cp

keyword

conn-prof-id

1 to 8000

atm

port-id | aps-id [:vpi/vci | vpi | vpi1.vpi2 | cp.conn-prof-id]

cp

keyword

conn-prof-id

1 to 8000

frame

port-id | aps-id:dlci

cisco-hdlc

slot/mda/port.channel

cem

slot/mda/port.channel

ima-grp

bundle-id [:vpi/vci | vpi | vpi1.vpi2 | cp.conn-prof-id]

cp

keyword

conn-prof-id

1 to 8000

port-id

slot/mda/port[.channel]

esat-id/slot/port

pxc-id.sub-port

bundle-id

bundle-type-slot/mda.-bundle-nu

bundle

keyword

type

ima | fr | ppp

bundle-num

1 to 336

bpgrp-id

bpgrp-type-bpgrp-num

bgrp

keyword

type

ima | ppp

bgrp-num

1 to 2000

aps-id

aps-group-id[.channel]

aps

keyword

group-id

1 to 128

ccag-id

ccag-id.path-id[cc-type]:cc-id

ccag

keyword

id

1 to 8

path-id

a | b

cc-type

.sap-net | .net-sap

cc-id

1 to 4094

eth-tunnel

eth-tunnel-id[:eth-tun-sap-id]

id

1 to 1024

eth-tun-sap-id

0 to 4094

lag-id

lag-id

lag

keyword

id

1 to 800

pw-id

pw-id

pw

keyword

id

1 to 10239

qtag1

* | 0 to 4094

qtag2

* | null | 0 to 4094

vpi

0 to 4095 (NNI)

0 to 255 (UNI)

vci

1 | 2 | 5 to 65535

dlci

16 to 1022

tunnel-id

tunnel-id.private | public:tag

tunnel

keyword

id

1 to 16

tag

0 to 4094

 

port-id—
Specifies the physical port ID in the slot/mda/port, esat-id/slot/port or pxc-id.sub-port format.

If the card in the slot has XMAs/MDAs installed, the port-id must be in the slot_number/MDA_number/port_number format. For example 6/2/3 specifies port 3 on XMA/MDA 2 in slot 6.

The port-id must reference a valid port type. When the port-id parameter represents SONET/SDH and TDM channels, the port ID must include the channel ID. A period “.” separates the physical port from the channel-id. The port must be configured as an access port. Channels are supported on the 7750 SR.

If the SONET/SDH port is configured as clear-channel then only the port is specified.

bundle-id—
Specifies the multilink bundle to be associated with this IP interface. The bundle keyword must be entered at the beginning of the parameter. This parameter applies to the 7750 SR.

The command syntax must be configured as follows:

bundle-id: bundle-type-slot-id/mda-slot.bundle-num

bundle-id value range: 1 to 128

For example:

*A:ALA-12>config#  port bundle-ppp-5/1.1
*A:ALA-12>config>port# multilink-bundle
bgprp-id—
Specifies the bundle protection group ID to be associated with this IP interface. The bpgrp keyword must be entered at the beginning of the parameter. This parameter applies to the 7750 SR.

The command syntax must be configured as follows:

bpgrp-id:

bpgrp-type-bpgrp-num

type:

ima

bpgrp-num value range:

1 to 1280

Example:

*A:ALA-12>config# port bpgrp-ima-1
*A:ALA-12>config>service>vpls$ sap bpgrp-ima-1
qtag1, qtag2—
Specifies the encapsulation value used to identify the SAP on the port or sub-port. If this parameter is not specifically defined, the default value is 0.
Values—

qtag1:

0 to 4094

qtag2 :

* | 0 to 4094

 

The values depends on the encapsulation type configured for the interface. Table 22 describes the allowed values for the port and encapsulation types.
Table 22:  qtag values by port and encapsulation type 

Port Type

Encap-Type

Allowed Values

Comments

Ethernet

Null

0

The SAP is identified by the port.

Ethernet

Dot1q

0 to 4094

The SAP is identified by the 802.1Q tag on the port. Note that a 0 qtag1 value also accepts untagged packets on the dot1q port.

Ethernet

QinQ

qtag1: 0 to 4094

qtag2: 0 to 4094

The SAP is identified by two 802.1Q tags on the port. Note that a 0 qtag1 value also accepts untagged packets on the dot1q port.

SONET/SDH

IPCP

The SAP is identified by the channel. No BCP is deployed and all traffic is IP.

SONET/SDH TDM

BCP-Null

0

The SAP is identified with a single service on the channel. Tags are assumed to be part of the customer packet and not a service delimiter.

SONET/SDH TDM

BCP-Dot1q

0 to 4094

The SAP is identified by the 802.1Q tag on the channel.

SONET/SDH TDM

Frame Relay

16 to 991

The SAP is identified by the data link connection identifier (DLCI).

SONET/SDH ATM

ATM

vpi (NNI) 0 to 4095

vpi (UNI) 0 to 255

vci 1, 2, 5 to 65535

The SAP is identified by port or by PVPC or PVCC identifier (vpi, vpi/vci, or vpi range)

group-name—
Specifies the name of the encap group. The name can be a maximum of 32 character long.
encap-id—
Specifies the value of the encap-id to be displayed.
Values—
0 to 16777215

 

seconds
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays absolute rate-per-second value for each statistic.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of SAP information.

Sample Output
*A:cses-A13# monitor service id 88  sap 1/1/2:0
===============================================================================
Monitor statistics for Service 88 SAP 1/1/2:0
===============================================================================
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Sap Statistics
-------------------------------------------------------------------------------
Last Cleared Time     : N/A
                        Packets                 Octets
Forwarding Engine Stats
Dropped               : 0                       0
Off. HiPrio           : 0                       0
Off. LowPrio          : 0                       0
Off. Uncolor          : 0                       0
 
Queueing Stats(Ingress QoS Policy 1)
Dro. HiPrio           : 0                       0
Dro. LowPrio          : 0                       0
For. InProf           : 0                       0
For. OutProf          : 0                       0
 
Queueing Stats(Egress QoS Policy 1)
Dro. InProf           : 0                       0
Dro. OutProf          : 0                       0
For. InProf           : 0                       0
For. OutProf          : 0                       0
-------------------------------------------------------------------------------
Sap per Queue Stats
-------------------------------------------------------------------------------
                        Packets                 Octets
 
Ingress Queue 1 (Unicast) (Priority)
Off. HiPrio           : 0                       0
Off. LoPrio           : 0                       0
Dro. HiPrio           : 0                       0
Dro. LoPrio           : 0                       0
For. InProf           : 0                       0
For. OutProf          : 0                       0

sdp

Syntax 
sdp {sdp-id [:vc-id] | far-end ip-address} [interval seconds] [repeat repeat] [absolute | rate]
Context 
monitor>service>id
Description 

This command monitors statistics for an SDP binding associated with this service.

Parameters 
sdp-id—
Specifies the SDP identifier.
Values—
sdp-id: 1 to 17407
vc-id: 1 to 4294967295

 

ip-address
Specifies the system address of the far-end router for the SDP in dotted decimal notation. The string may be up to 32 characters in length.
seconds
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11 seconds
repeat—
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays absolute rate-per-second value for each statistic.
rate—
Displays rate-per-second for each statistic instead of the delta.
Output 

The following output is an example of SDP information.

Sample Output
A:ALA-12# monitor service id 100 sdp 10 repeat 3
===============================================================================
Monitor statistics for Service 100 SDP binding 10
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
I. Fwd. Pkts.   : 0                     I. Dro. Pkts.   : 0
E. Fwd. Pkts.   : 0                     E. Fwd. Octets  : 0
-------------------------------------------------------------------------------
At time t = 11 sec (Mode: Delta)
-------------------------------------------------------------------------------
I. Fwd. Pkts.   : 0                     I. Dro. Pkts.   : 0
E. Fwd. Pkts.   : 0                     E. Fwd. Octets  : 0
-------------------------------------------------------------------------------
At time t = 22 sec (Mode: Delta)
-------------------------------------------------------------------------------
I. Fwd. Pkts.   : 0                     I. Dro. Pkts.   : 0
E. Fwd. Pkts.   : 0                     E. Fwd. Octets  : 0
-------------------------------------------------------------------------------
At time t = 33 sec (Mode: Delta)
-------------------------------------------------------------------------------
I. Fwd. Pkts.   : 0                     I. Dro. Pkts.   : 0
E. Fwd. Pkts.   : 0                     E. Fwd. Octets  : 0
===============================================================================
A:ALA-12#

subscriber

Syntax 
subscriber sub-ident-string sap sap-id sla-profile sla-profile-name [repeat repeat] [absolute | rate] [base]
subscriber sub-ident-string sap sap-id sla-profile sla-profile-name [repeat repeat] [absolute | rate] egress-policer-id egress-policer-id
subscriber sub-ident-string sap sap-id sla-profile sla-profile-name [repeat repeat] [absolute | rate] egress-queue-id egress-queue-id
subscriber sub-ident-string sap sap-id sla-profile sla-profile-name [repeat repeat] [absolute | rate] ingress-policer-id ingress-policer-id
subscriber sub-ident-string sap sap-id sla-profile sla-profile-name [repeat repeat] [absolute | rate] ingress-queue-id ingress-queue-id
Context 
monitor>service
Description 

This command monitors statistics for a subscriber.

Parameters 
sub-ident-string—
Specifies an existing subscriber identification profile to monitor up to 32 characters in length.
sap-id
Specifies the physical port identifier portion of the SAP definition.
Values—

:null

port-id | bundle-id | bpgrp-id | lag-id | aps-id

dot1q

port-id | bundle-id | bpgrp-id | lag-id | aps-id | pw-id:[qtag1|cp-conn-prof-id]

qinq

port-id | bundle-id | bpgrp-id | lag-id | pw-id:[qtag1 cp-conn-prof-id].[qtag2 | cp-conn-prof-id]

cp

keyword

conn-prof-id

1 to 8000

atm

port-id | aps-id [:vpi/vci | vpi | vpi1.vpi2 | cp.conn-prof-id]

cp

keyword

conn-prof-id

1 to 8000

frame

port-id | aps-id:dlci

cisco-hdlc

slot/mda/port.channel

cem

slot/mda/port.channel

ima-grp

bundle-id [:vpi/vci | vpi | vpi1.vpi2 | cp.conn-prof-id]

cp

keyword

conn-prof-id

1 to 8000

port-id

slot/mda/port[.channel]

esat-id/slot/port

pxc-id.sub-port

bundle-id

bundle-type-slot/mda.-bundle-nu

bundle

keyword

type

ima | fr | ppp

bundle-num

1 to 336

bpgrp-id

bpgrp-type-bpgrp-num

bgrp

keyword

type

ima | ppp

bgrp-num

1 to 2000

aps-id

aps-group-id[.channel]

aps

keyword

group-id

1 to 128

ccag-id

ccag-id.path-id[cc-type]:cc-id

ccag

keyword

id

1 to 8

path-id

a | b

cc-type

.sap-net | .net-sap

cc-id

1 to 4094

eth-tunnel

eth-tunnel-id[:eth-tun-sap-id]

id

1 to 1024

eth-tun-sap-id

0 to 4094

lag-id

lag-id

lag

keyword

id

1 to 800

pw-id

pw-id

pw

keyword

id

1 to 10239

qtag1

* | 0 to 4094

qtag2

* | null | 0 to 4094

vpi

0 to 4095 (NNI)

0 to 255 (UNI)

vci

1 | 2 | 5 to 65535

dlci

16 to 1022

tunnel-id

tunnel-id.private | public:tag

tunnel

keyword

id

1 to 16

tag

0 to 4094

 

sla-profile-name
Specifies an existing SLA profile. The name can be a maximum of 32 characters long.
seconds
Configures the interval for each display in seconds.
Values—
11 to 60

 

Default—
11
repeat
Configures how many times the command is repeated.
Values—
1 to 999

 

Default—
10
absolute—
Displays raw statistics, without processing. No calculations are performed on the delta or rate statistics.
Default—
mode delta
rate—
Displays rate-per-second for each statistic instead of the delta.
base—
Monitor base statistics.
egress-policer-id—
Monitors statistics for the policer.
Values—
1 to 63

 

egress-queue-id
Monitors statistics for this queue.
Values—
1 to 8

 

ingress-policer-id—
Monitors statistics for this policer.
Values—
1 to 63

 

ingress-queue-id
Monitors statistics for this queue.
Values—
1 to 32

 

Output 

The following output is an example of subscriber-information.

Sample Output
A:Dut-A# monitor service subscriber nokia_100 sap 1/2/1:101 sla-profile sla_
default
===============================================================================
Monitor statistics for Subscriber nokia_100
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
SLA Profile Instance statistics
-------------------------------------------------------------------------------
                        Packets                 Octets
Off. HiPrio           : 0                       0
Off. LowPrio          : 94531                   30704535
Off. Uncolor          : 0                       0
 
Queueing Stats (Ingress QoS Policy 1000)
Dro. HiPrio           : 0                       0
Dro. LowPrio          : 7332                    2510859
For. InProf           : 0                       0
For. OutProf          : 87067                   28152288
 
Queueing Stats (Egress QoS Policy 1000)
Dro. InProf           : 880                     127660
Dro. OutProf          : 0                       0
For. InProf           : 90862                   12995616
For. OutProf          : 0                       0
-------------------------------------------------------------------------------
SLA Profile Instance per Queue statistics
-------------------------------------------------------------------------------
                        Packets                 Octets
Ingress Queue 1 (Unicast) (Priority)
Off. HiPrio           : 0                       0
Off. LowPrio          : 0                       0
Off. Uncolor          : 0                       0
Dro. HiPrio           : 0                       0
Dro. LowPrio          : 0                       0
For. InProf           : 0                       0
For. OutProf          : 0                       0
 
Ingress Queue 2 (Unicast) (Priority)
Off. HiPrio           : 0                       0
Off. LowPrio          : 94531                   30704535
Off. Uncolor          : 0                       0
Dro. HiPrio           : 0                       0
Dro. LowPrio          : 7332                    2510859
For. InProf           : 0                       0
For. OutProf          : 87067                   28152288
 
Ingress Queue 3 (Unicast) (Priority)
Off. HiPrio           : 0                       0
Off. LowPrio          : 0                       0
Off. Uncolor          : 0                       0
Dro. HiPrio           : 0                       0
Dro. LowPrio          : 0                       0
For. InProf           : 0                       0
For. OutProf          : 0                       0
 
Ingress Queue 11 (Multipoint) (Priority)
Off. HiPrio           : 0                       0
Off. LowPrio          : 0                       0
Off. Uncolor          : 0                       0
Dro. HiPrio           : 0                       0
Dro. LowPrio          : 0                       0
For. InProf           : 0                       0
For. OutProf          : 0                       0
 
Egress Queue 1
Dro. InProf           : 880                     127660
Dro. OutProf          : 0                       0
For. InProf           : 90862                   12995616
For. OutProf          : 0                       0
 
Egress Queue 2
Dro. InProf           : 0                       0
Dro. OutProf          : 0                       0
For. InProf           : 0                       0
For. OutProf          : 0                       0
 
Egress Queue 3
Dro. InProf           : 0                       0
Dro. OutProf          : 0                       0
For. InProf           : 0                       0
For. OutProf          : 0                       0
===============================================================================
A:Dut-A#
 
 
A:Dut-A# monitor service subscriber nokia_100 sap 1/2/1:101 sla-
profile  sla_default base rate
===============================================================================
Monitor statistics for Subscriber nokia_100
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
SLA Profile Instance statistics
-------------------------------------------------------------------------------
                        Packets                 Octets
Off. HiPrio           : 0                       0
Off. LowPrio          : 109099                  35427060
Off. Uncolor          : 0                       0
Queueing Stats (Ingress QoS Policy 1000)
Dro. HiPrio           : 0                       0
Dro. LowPrio          : 8449                    2894798
For. InProf           : 0                       0
For. OutProf          : 100523                  32489663
Queueing Stats (Egress QoS Policy 1000)
Dro. InProf           : 880                     127660
Dro. OutProf          : 0                       0
For. InProf           : 105578                  15104553
For. OutProf          : 0                       0
-------------------------------------------------------------------------------
At time t = 11 sec (Mode: Rate)
-------------------------------------------------------------------------------
SLA Profile Instance statistics
-------------------------------------------------------------------------------
                        Packets                 Octets                  % Port
                                                                        Util.
Off. HiPrio           : 0                       0                       0.00
Off. LowPrio          : 1469                    477795                  0.38
Off. Uncolor          : 0                       0                       0.00
Queueing Stats (Ingress QoS Policy 1000)
Dro. HiPrio           : 0                       0                       0.00
Dro. LowPrio          : 119                     40691                   0.03
For. InProf           : 0                       0                       0.00
For. OutProf          : 1349                    437350                  0.34
Queueing Stats (Egress QoS Policy 1000)
Dro. InProf           : 0                       0                       0.00
Dro. OutProf          : 0                       0                       0.00
For. InProf           : 1469                    209129                  0.16
For. OutProf          : 0                       0                       0.00
===============================================================================
A:Dut-A#

A:Dut-A# monitor service subscriber nokia_100 sap 1/2/1:101 sla-
profile sla_ default ingress-queue-id 1
===============================================================================
Monitor statistics for Subscriber nokia_100
===============================================================================
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
                        Packets                 Octets
Ingress Queue 1 (Unicast) (Priority)
Off. HiPrio           : 0                       0
Off. LowPrio          : 0                       0
Off. Uncolor          : 0                       0
Dro. HiPrio           : 0                       0
Dro. LowPrio          : 0                       0
For. InProf           : 0                       0
For. OutProf          : 0                       0
===============================================================================
A:Dut-A#
 
 
A:Dut-A# monitor service subscriber nokia_100 sap 1/2/1:101 sla-profile 
sla_default egress-queue-id 1
===============================================================================
Monitor statistics for Subscriber nokia_100
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
                        Packets                 Octets
Egress Queue 1
Dro. InProf           : 880                     127660
Dro. OutProf          : 0                       0
For. InProf           : 164366                  23506178
For. OutProf          : 0                       0
===============================================================================
A:Dut-A#

2.12.2.3. CLI Environment Commands

alias

Syntax 
alias alias-name alias-command-name
no alias alias-name
Context 
environment
Description 

This command enables the substitution of a command line (or part of a command line) by an alias. Use the alias command to create alternative or easier to remember/understand names for an entity or command string. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes. The special characters “/” and “\” cannot be used as the first character inside an alias string. An alias can contain a double quote character by preceding the quote with a “\” character (for example, alias my-alias "| match \"string\""). Only a single command can be present in the command string (the command can be long with many parameters but there is no support for aliases that include multiple CLI commands/lines). The alias command can be entered in any context but must be created in the root>environment context.

For example, to create an alias named soi to display OSPF interfaces, enter:

alias soi “show router ospf interface”

Complex aliases can be created to have shortcuts for customized show routine output:

environment alias my-summary "| match expression \"----|Description|Interface|Admin State|Oper State|Transceiver Type|Optical Compliance|Link Length\" | match invert-match expression \"Ethernet Interface|OTU Interface\" | match invert-match expression \"----\" post-lines 1"

and then used like this:

show port detail my-summary

Parameters 
alias-name—
Specifies the alias name. Do not use a valid command string for the name of the alias. If the alias specified is an actual command, this causes the command to be replaced by the alias. The string may be up to 80 characters in length.
alias-command-name—
Specifies the command name to be associated. The name can be a maximum of 320 characters long.

create

Syntax 
[no] create
Context 
environment
Description 

By default, the create command is required to create a new OS entity.

The no form of the command disables requiring the create keyword.

Default 

create

kernel

Syntax 
kernel password password
no kernel
Context 
environment
Description 

This command enables and disables the kernel.

Parameters 
password—
Specifies the password to access the kernel.The password can be up to 256 characters in length.

more

Syntax 
[no] more
Context 
environment
Description 

This command enables per-screen CLI output, meaning that the output is displayed on a screen-by- screen basis. The terminal screen length can be modified with the terminal command.

The following prompt appears at the end of each screen of paginated output:

Press any key to continue (Q to quit)

The no form of the command displays the output all at once. If the output length is longer than one screen, the entire output will be displayed, which may scroll the screen.

Default 

more

reduced-prompt

Syntax 
reduced-prompt [number of nodes in prompt]
no reduced-prompt
Context 
environment
Description 

This command configures the maximum number of higher CLI context levels to display in the CLI prompt for the current CLI session. This command is useful when configuring features that are several node levels deep, causing the CLI prompt to become too long. By default, the CLI prompt displays the system name and the complete context in the CLI.

The number of nodes specified indicates the number of higher-level contexts that can be displayed in the prompt. For example, if reduced prompt is set to 2, the two highest contexts from the present working context are displayed by name with the hidden (reduced) contexts compressed into a ellipsis (“…”).

A:ALA-1>environment# reduced-prompt 2
A:ALA-1>config>router# interface to-103
A:ALA-1>...router>if#

The setting is not saved in the configuration. It must be reset for each CLI session or stored in an exec script file.

The no form of the command reverts to the default.

Default 

no reduced-prompt

Parameters 
number of nodes in prompt—
Specifies the maximum number of higher-level nodes displayed by name in the prompt, expressed as a decimal integer.
Values—
0 to 15

 

Default—
2

saved-ind-prompt

Syntax 
[no] saved-ind-prompt
Context 
environment
Description 

This command enables saved indicator in the prompt. When changes are made to the configuration file a “*” appears in the prompt string indicating that the changes have not been saved. When an admin save command is executed the “*” disappears.

*A:ALA-48# admin save
Writing file to ftp://128.251.10.43/./sim48/sim48-config.cfg
Saving configuration .... Completed.
A:ALA-48#

shell

Syntax 
shell password password
no shell
Context 
environment
Description 

This command enables and disables the shell.

Parameters 
password—
Specifies the password to enter the shell. The password can be up to 256 characters in length.
Values—
256 characters max

 

suggest-internal-objects

Syntax 
[no] suggest-internal-objects
Context 
environment
Description 

This command enables suggesting of internally created objects while auto completing.

The no form of the command disables the command.

terminal

Syntax 
terminal
no terminal
Context 
environment
Description 

This command enables the context to configure the terminal screen length for the current CLI session.

length

Syntax 
length lines
Context 
environment>terminal
Description 

This command sets the number of lines on a screen.

Parameters 
lines—
Specifies the number of lines for the terminal screen length, expressed as a decimal integer.
Values—
1 to 512

 

Default—
24 — terminal dimensions are set to 24 lines long by 80 characters wide

width

Syntax 
width width
Context 
environment>terminal
Description 

This command determines display terminal width.

Default 

width 80

Parameters 
width—
Sets the width of the display terminal.
Values—
1 to 512

 

time-display

Syntax 
time-display {local | utc}
Context 
environment
Description 

This command displays time stamps in the CLI session based on local time or Coordinated Universal Time (UTC).

The system keeps time internally in UTC and is capable of displaying the time in either UTC or local time based on the time zone configured.

This configuration command is only valid for times displayed in the current CLI session. This includes displays of event logs, traps and all other places where a time stamp is displayed.

In general all time stamps are shown in the time selected. This includes log entries destined for console/session, memory, or SNMP logs. Log files on compact flash are maintained and displayed in UTC format.

Default 

local

Parameters 
local—
Indicates that local time should be used.
utc—
Indicates that UTC time should be used.

time-stamp

Syntax 
[no] time-stamp
Context 
environment
Description 

This command specifies whether the time-stamp should be displayed before the prompt.

2.12.2.4. Candidate Commands

candidate

Syntax 
candidate
Context 
<root>
Description 

This command enables the context to edit candidate configurations.

Commands in the candidate CLI branch, except candidate edit, are available only when in edit-cfg mode.

edit

Syntax 
edit [exclusive]
Context 
candidate
Description 

This command enables the edit-cfg mode where changes can be made to the candidate configuration and sets the edit-point to the end of the candidate. In edit-cfg mode the CLI prompt contains edit-cfg near the root of the prompt. Commands in the candidate CLI branch, except candidate edit, are available only when in edit-cfg mode.

Parameters 
exclusive—
Allows a user to exclusively create a candidate configuration by blocking other users (and other sessions of the same user) from entering edit-cfg mode. Exclusive edit-cfg mode can only be entered if the candidate configuration is empty and no user is in edit-cfg mode. Once a user is in exclusive edit-cfg mode no other users/sessions are allowed in edit-cfg mode. The user must either commit or discard the exclusive candidate before leaving exclusive edit-cfg mode. If the CLI session times out while a user is in exclusive edit-cfg mode then the contents of the candidate are discarded. The admin disconnect command can be used to force a user to disconnect (and to clear the contents of the candidate) if they have the candidate locked.

commit

Syntax 
commit [confirmed timeout] [comment comment]
commit no-checkpoint [confirmed timeout]
Context 
candidate
Description 

This command applies the changes in the candidate configuration to the active running configuration. The candidate changes will take operational effect.

If a commit operation is successful then all of the candidate changes will take operational effect and the candidate is cleared. If there is an error in the processing of the commit, or a ‘commit confirmed’ is not confirmed and an auto-revert occurs, then the router will return to a configuration state with none of the candidate changes applied. The operator can then continue editing the candidate and try a commit later.

By default, the SR OS will automatically create a new rollback checkpoint after a commit operation. The rollback checkpoint will contain the new configuration changes made by the commit. An optional no-checkpoint keyword can be used to avoid the auto-creation of a rollback checkpoint after a commit.

A commit operation is blocked if a rollback revert is currently being processed.

Parameters 
confirmed —
specifies that the commit operation (if successful) should be automatically reverted (undone) at the end of the timeout period unless the operator issues the confirm command before the timeout period expires. A rollback checkpoint is created after the commit operation (if successful) and will remain available whether the commit is auto-reverted or not. The contents of the candidate will remain visible (candidate view) and changes to the candidate are blocked until the timeout is completed or the candidate confirm command is executed. If the timeout expires and an auto-revert occurs, then the original candidate config will be available in edit-cfg mode.

Standard line-by-line non-transactional configuration commands (including via SNMP) are not blocked during the countdown period and any changes made to the configuration during the countdown period will be rolled back if the timeout expires. The confirmed option is useful when changes are being made that could impact management reachability to the router.

A rollback revert is blocked during the countdown period until the commit has been confirmed.

timeout—
the auto-revert timeout period in minutes
Values—
1 to 168

 

no-checkpoint—
used to avoid the automatic creation of a rollback checkpoint for a successful commit
comment comment
adds a comment up to 255 characters in length to the automatic rollback checkpoint

confirm

Syntax 
confirm
Context 
candidate
Description 

This command is used to stop an automatic reversion to the previous configuration after the candidate commit confirmed command was used. If the confirm command is not executed before the commit confirmed timeout period expires then the previous commit changes will be undone and the previous candidate configuration will be available for editing and a subsequent commit.

During the countdown the contents of the candidate will remain visible (candidate view) and changes to the candidate are blocked until the timeout is completed or the candidate confirm command is executed. Executing the confirm command clears the contents of the candidate and allows editing of the candidate.

copy

Syntax 
copy [line]
Context 
candidate
Description 

This command copies the selected CLI node (which includes all sub-branches) into a temporary buffer that can be used for a subsequent insert. The contents of the temporary buffer are deleted when the operator exits the candidate edit mode.

Parameters 
line—
indicates which line to copy
Values—
line, offset, first, edit-point, last
line — absolute line number
offset — relative line number to the current edit point. Prefixed with ‘+’ or ‘-’.
first — keyword to indicate the first line
edit-point — keyword to indicate the current edit point
last — keyword to indicate the last line that is not ‘exit’

 

delete

Syntax 
delete [line]
Context 
candidate
Description 

This command deletes the selected CLI node (which includes all sub-branches). The deleted lines are also copied into a temporary buffer that can be used for a subsequent insert.

Parameters 
line—
indicates which line to delete
Values—

line, offset, first, edit-point last

line

absolute line number

offset

relative line number to current edit point. Prefixed with '+' or '-'

first

keyword - first line

edit-point

keyword - current edit point

last

keyword - last line that is not 'exit'

 

discard

Syntax 
discard [now]
Context 
candidate
Description 

This command deletes the entire contents of the candidate configuration and exits the edit-cfg mode. Undo cannot be used to recover a candidate that has been discarded with candidate discard.

Parameters 
now—
avoids a confirmation prompt for the discard

goto

Syntax 
goto line
Context 
candidate
Description 

This command changes the edit point of the candidate configuration. The edit point is the point after which new commands are inserted into the candidate configuration as an operator navigates the CLI and issues commands in edit-cfg mode.

Parameters 
line—
indicates which line to change starting at the point indicated by the following options
Values—

line, offset, first, edit-point last

line

absolute line number

offset

relative line number to current edit point. Prefixed with '+' or '-'

first

keyword - first line

edit-point

keyword - current edit point

last

keyword - last line that is not 'exit'

 

insert

Syntax 
insert [line]
Context 
candidate
Description 

This command inserts the contents of the temporary buffer (populated by a previous copy or delete command) into the candidate configuration. The contents are inserted by default after the current edit point. Optional parameters allow the insertion after some other point of the candidate. The contents of the temporary buffer are deleted when the operator exits candidate edit mode.

Insertions are context-aware. The temporary buffer always stores the CLI context (such as the current CLI branch) for each line deleted or copied. If the lines to be inserted are supported at the context of the insertion point then the lines are simply inserted into the configuration. If the lines to be inserted are not supported at the context of the insertion point, then the context at the insertion point is first closed using multiple exit statements, the context of the lines to be inserted is built (added) into the candidate at the insertion point, then the lines themselves are added, the context of the inserted lines is closed using exit statements and finally the context from the original insertion point is built again leaving the context at the same point as it was before the insertion.

Parameters 
line—
indicates where to insert the line starting at the point indicated by the following options
Values—

line, offset, first, edit-point last

line

absolute line number

offset

relative line number to current edit point. Prefixed with '+' or '-'

first

keyword - first line

edit-point

keyword - current edit point

last

keyword - last line that is not 'exit'

 

load

Syntax 
load file-url [overwrite | insert | append]
Context 
candidate
Description 

This command loads a previously saved candidate configuration into the current candidate. The edit point will be set to the end of the loaded configuration lines. The candidate configuration cannot be modified while a load is in progress.

Default 

If the candidate is empty then a load without any of the optional parameters (such as overwrite, etc) will simply load the file-url into the candidate. If the candidate is not empty then one of the options, such as overwrite, insert, and so on, must be specified.

Parameters 
file-url—
the directory and filename to load
overwrite—
discards the contents of the current candidate and replace it with the contents of the file
insert—
inserts the contents of the file at the current edit point
append —
inserts the contents of the file at the end of the current candidate

quit

Syntax 
quit
Context 
candidate
Description 

This command exits the edit-cfg mode. The contents of the current candidate will not be deleted and the operator can continue editing the candidate later.

redo

Syntax 
redo [count]
Context 
candidate
Description 

This command reapplies the changes to the candidate that were removed using a previous undo. All undo/redo history is lost when the operator exits edit-cfg mode.

A redo command is blocked if another user has made changes in the same CLI branches that would be impacted during the redo.

Parameters 
count—
the number of previous changes to reapply
Values—
1 to 50

 

Default—
1

replace

Syntax 
replace [line]
Context 
candidate
Description 

This command displays the specified line (a single line only) and allows it to be changed.

Parameters 
line—
indicates which line to replace starting at the point indicated by the following options
Values—

line, offset, first, edit-point last

line

absolute line number

offset

relative line number to current edit point. Prefixed with '+' or '-'

first

keyword - first line

edit-point

keyword - current edit point

last

keyword - last line that is not 'exit'

 

save

Syntax 
save file-url
Context 
candidate
Description 

This command saves the current candidate to a file.

Parameters 
file-url—
the directory and filename

undo

Syntax 
undo [count]
Context 
candidate
Description 

This command removes the most recent change(s) done to the candidate. The changes can be reapplied using the redo command. All undo/redo history is lost when the operator exists edit-cfg mode. Undo can not be used to recover a candidate that has been discarded with candidate discard.

An undo command is blocked if another user has made changes in the same CLI branches that would be impacted during the undo.

Parameters 
count—
the number of previous changes to remove
Values—
1 to 50

 

Default—
1

view

Syntax 
view [line]
Context 
candidate
Description 

This command displays the candidate configuration along with line numbers that can be used for editing the candidate configuration.

Parameters 
line —
displays the candidate configuration starting at the point indicated by the following options (the display is not limited to the current CLI context/branch)
Values—

line, offset, first, edit-point last

line

absolute line number

offset

relative line number to current edit point. Prefixed with '+' or '-'

first

keyword - first line

edit-point

keyword - current edit point

last

keyword - last line that is not 'exit'

 

info

Syntax 
info [operational]
Context 
<root>
Description 

In edit-cfg mode, the operational keyword is mandatory when using the info command.

candidate

Syntax 
candidate
Context 
show>system
Description 

This command shows candidate configuration information.

Output 

The following output is an example of candidate information, and Table 23 describes the output fields.

Sample Output
*A:bksim3107# show system candidate
===============================================================================
Candidate Config Information
===============================================================================
Candidate configuration state          : modified
Num editors/viewers                    : 0
Candidate cfg exclusive locked         : no
Last commit state                      : revert-failed
Last commit time                       : 10/23/2012 17:21:47
Checkpoint created with last commit    : yes
Scheduled revert time                  : N/A
Last commit revert time                : 10/23/2012 17:22:47
 
===============================================================================
Users in edit-cfg mode
===============================================================================
Username         Type (from)
===============================================================================
admin            Console
Joris            Telnet (172.31.117.239)
===============================================================================
Table 23:  Candidate Output Fields 

Label

Description  

Candidate configuration state

• empty — indicates there are no uncommitted changes in the candidate config

• modified — indicates there are uncommitted changes in the candidate config

• unconfirmed — indicates there are no uncommitted changes in the candidate config but the result of the last commit will be auto-reverted unless it is confirmed before the timeout expires

Num editors/viewers

the number of CLI sessions currently in edit-cfg mode

Candidate cfg exclusive locked

indicates if a user has exclusively locked the candidate using the candidate edit exclusive command

Last commit state

• none — indicates there have been no commits since the last reboot of the node

• in-progress — indicates the system is currently committing the candidate config

• success — indicates the last commit finished successfully

• revert-pending — indicates the last commit finished successfully but has not been confirmed yet, and will be auto-reverted if it is not confirmed before the timeout expires

• failed — indicates the last commit failed and has been undone

• revert-in-progress — indicates the last commit finished successfully but was not confirmed in time and is currently being reverted

• reverted — indicates the last commit finished successfully but was not confirmed in time and has been reverted

• revert-failed — indicates the last commit finished successfully but was not confirmed in time and the system attempted to revert it but failed

Last commit time

the time at which the last commit attempt was started

Checkpoint created with last commit

indicates if a rollback checkpoint was created after the previous commit completed

Scheduled revert time

used to indicate the currently scheduled auto-revert time based on the confirmed option being used with a candidate commit

Last commit revert time

the time the commit was last reverted

Users in edit-cfg mode

lists all the user sessions that are currently in edit-cfg mode

Type (from)

indicates the type of session (such as Console, Telnet, and so on) and also the source of the session (such as the source IP address of the remote host)

2.12.2.5. Rollback Commands

compare

Syntax 
compare [to checkpoint2]
compare checkpoint1 to checkpoint2
Context 
admin
admin>rollback
config>xx (where xx is any sub-branch at any level below config, but not at the config context itself)
Description 

This command displays the differences between rollback checkpoints and the active operational configuration, with source1 as the base/first file to which source2 is compared.

A compare operation does not check authorization of each line of output. Permission to execute the compare operation from the admin branch of CLI (authorization for the admin rollback compare or admin compare command itself) should only be given to users who are allowed to view the entire configuration, similar to permissions for admin display-config.

Default 

The defaults for source1 and source2 are context aware and differ based on the branch in which the command is executed. In general, the default for source1 matches the context from which the command is issued.

  1. In the admin node: No defaults. source1 and source2 must be specified.
  2. In the admin>rollback node:
    source1 default = active-cfg, source2 default = latest-rb
    compare: equivalent to “compare active-cfg to latest-rb”
    compare to source2: equivalent to “compare active-cfg to source2”
  3. In a config>xx node:
    compare to source2: equivalent to “compare active-cfg to source2”
Parameters 
checkpoint1, checkpoint2—
Specifies comparison information.
Values—
active-cfg — The currently operational configuration that is active in the node.
latest-rb — The most recent rollback checkpoint (the checkpoint file at the configured rollback-location with “*.rb” as the suffix).
rescue — The rescue configuration (at the configured rescue-location).
checkpoint-id — An ID from [1 to 9] indicating a specific rollback checkpoint. A checkpoint-id of 1 indicates the rollback checkpoint file (at the configured rollback-location) with “*.rb.1” as the suffix, 2 for file “*.rb.2”, and so on.

 

delete

Syntax 
delete {checkpoint-id | rescue}
Context 
admin>rollback
Description 

This command deletes a rollback checkpoint and causes the suffixes to be adjusted (decremented) for all checkpoints older that the one that was deleted (to close the hole in the list of checkpoint files and create room to create another checkpoint).

If config redundancy rollback-sync is enabled, a rollback delete will also delete the equivalent checkpoint on the standby CF and shuffle the suffixes on the standby CF.

It is not advised to manually delete a rollback checkpoint (for example, using a file delete command). If a rollback checkpoint file is manually deleted without using the admin rollback delete command then the suffixes of the checkpoint files are not shuffled, nor is the equivalent checkpoint file deleted from the standby CF. This manual deletion creates a hole in the checkpoint file list until enough new checkpoints have been created to roll the hole off the end of the list.

Parameters 
latest-rb—
Specifies the most recently created rollback checkpoint (corresponds to the file-url.rb rollback checkpoint file).
checkpoint-id—
An ID from [1 to 9] indicating a specific rollback checkpoint. A checkpoint-id of 1 indicates the rollback checkpoint file (at the configured rollback location) with *.rb.1 as the suffix, 2 for file *.rb.2, and so on.
rescue—
Deletes the rescue checkpoint. No checkpoint suffix numbers are changed.

revert

Syntax 
revert {latest-rb| checkpoint-id | rescue} [now]
Context 
admin>rollback
Description 

This command initiates a configuration rollback revert operation that will return the configuration state of the node to a previously saved checkpoint. The rollback revert minimizes impacts to running services. There are no impacts in areas of configuration that did not change since the checkpoint. Configuration parameters that changed (or items on which changed configuration have dependencies) are first removed (revert to default) and the previous values are then restored (can be briefly service impacting in changed areas).

Parameters 
latest-rb—
Specifies the most recently created rollback checkpoint (corresponds to the file-url.rb rollback checkpoint file).
checkpoint-id—
Specifies the configuration to return to (which rollback checkpoint file to use). Checkpoint-id of 1 corresponds to the file-url.rb.1 rollback checkpoint file. The higher the id, the older the checkpoint. Max is the highest rollback checkpoint supported or configured.
Values—
1 to 9

 

rescue—
Specifies to revert to the rescue checkpoint.
now—
Forces a rollback revert without any interactive confirmations (assumes ‘y’ for any confirmations that would have occurred).

save

Syntax 
save [comment comment] [rescue]
Context 
admin>rollback
Description 

If the optional rescue keyword is not used, this command saves a rollback checkpoint at the location and with the filename specified by the rollback-location with a suffix of .rb. The previously saved checkpoints will have their suffixes incremented by one (.rb.1 becomes .rb.2, etc). If there are already as many checkpoint files as the maximum number supported, then the last checkpoint file is deleted.

If the rescue keyword is used, then this command saves the current operational configuration as a rescue configuration at the location and with the filename specified by the rescue location. The filename will have the suffix .rc appended.

Parameters 
comment-string—
Specifies a comment of up to 255 characters in length that is associated with the checkpoint.
rescue—
Saves the rescue checkpoint instead of a normal rollback checkpoint.

view

Syntax 
view [checkpoint-id | rescue]
Context 
admin>rollback
Description 

This command displays the checkpoint.

Parameters 
latest-rb—
Specifies the most recently created rollback checkpoint (corresponds to the file-url.rb rollback checkpoint file).
checkpoint-id—
Indicates rollback checkpoint file to be viewed. Checkpoint-id of 1 corresponds to the file-url.rb.1 rollback checkpoint file. The higher the id, the older the checkpoint. Max is the highest rollback checkpoint supported or configured.
Values—
1 to 9

 

rescue—
Displays the rescue configuration.

view

Syntax 
view {source}
Context 
admin
Description 

The context to configure administrative system viewing parameters. Only authorized users can execute the commands in the admin context.

Parameters 
source—
Specifies the source of the configuration to view.
Values—
active-cfg, rescue, latest-rb, checkpoint-id

 

active-cfg—
Specifies current running configuration.
rescue—
Specifies a rescue checkpoint configuration.
latest-rb—
Specifies the latest configuration.
checkpoint-id
Specifies a specific checkpoint file configuration.
Values—
1 to 9

 

local-max-checkpoints

Syntax 
local-max-checkpoints [1 to 50]
Context 
config>system>rollback
Description 

Configures the maximum number of rollback checkpoint files when the rollback-location is on local compact flash.

Default 

no local-max-checkpoints

remote-max-checkpoints

Syntax 
remote-max-checkpoints [1 to 200]
Context 
config>system>rollback
Description 

Configures the maximum number of rollback checkpoint files when the rollback-location is remote (for example, ftp).

Default 

no remote-max-checkpoints

rescue-location

Syntax 
[no] rescue-location file-url
Context 
config>system>rollback
Description 

The location and filename of the rescue configuration is configurable to be local (on compact flash) or remote. The suffix .rc will be automatically appended to the filename when a rescue configuration file is saved. Trivial FTP (TFTP) is not supported for remote locations.

Default 

no rescue location

Parameters 
file-url—
Specifies the URL.
Values—

local-url | remote-url

local-url

[cflash-id/][file-path] 200 chars max, including flash-id directory length 99 chars max each

remote-url

[{ftp://}login:pswd@ remote-locn/][file-path] 255 chars max directory length 99 chars max each

remote-locn

[hostname | ipv4-address | ipv6-address]

ipv4-address

a.b.c.d

ipv6-address

x:x:x:x:x:x:x:x[-interface]

x:x:x:x:x:x:d.d.d.d[-interface]

x - [0 to FFFF]H

d - [0 to 255]D

interface - 32 chars max, for link local addresses

cflash-id

cf1:, cf1-A:, cf1-B:, cf2:, cf2-A:, cf2-B:, cf3:, cf3-A:, cf3-B:

rescue filename

suffixed with rc during rescue file creation

 

rollback-location

Syntax 
rollback-location file-url/rollback filename
Context 
config>system>rollback
Description 

The location and name of the rollback checkpoint files is configurable to be local (on compact flash) or remote. The file-url must not contain a suffix (just a path/directory + filename). The suffixes for rollback checkpoint files are “.rb”, ".rb.1", ..., ".rb.9" and are automatically appended to rollback checkpoint files.

Default 

no rollback-location

Parameters 
file-url—
Specifies the URL.
Values—

local-url | remote-url

local-url

[cflash-id/][file-path] 200 chars max, including flash-id directory length 99 chars max each

remote-url

[{ftp://}login:pswd@ remote-locn/][file-path] 255 chars max directory length 99 chars max each

remote-locn

[hostname | ipv4-address | ipv6-address]

ipv4-address

a.b.c.d

ipv6-address

x:x:x:x:x:x:x:x[-interface]

x:x:x:x:x:x:d.d.d.d[-interface]

x - [0 to FFFF]H

d - [0 to 255]D

interface - 32 chars max, for link local addresses

cflash-id

cf1:, cf1-A:, cf1-B:, cf2:, cf2-A:, cf2-B:, cf3:, cf3-A:, cf3-B:

 

rollback-filename—
Specifies the rollback file name.
Values—
suffixed with .rb, .rb.1 up to .9 during rollback checkpoint creation

 

2.12.2.6. Management Infrastructure Control Commands

management

Syntax 
management cli
Context 
config>system
Description 

This command enables the context to configure management interface parameters.

Parameters 
cli—
Allows configuration of parameters related to basic CLI commands for datastore infrastructure operation and behavior.

configuration

Syntax 
configuration
Context 
config>system>management
Description 

This command enables the context to configure parameters related to configuration data.

immediate

Syntax 
[no] immediate
Context 
config>system>management>configuration
Description 

This command enables writable access in the configure CLI branch.

The no form of this command, when configured under the management cli context, blocks writeable access and configuration changes in the configure CLI branch. This causes the running configuration datastore from the configure CLI branch to be read-only.

This command can be used to enforce the use of candidate configuration and the commit command, instead of allowing immediate mode line-by-line configuration changes.

Default 

immediate

2.12.2.7. Show Commands

The following command outputs are examples only; actual displays may differ depending on supported functionality and user configuration.

alias

Syntax 
alias
Context 
<root>
Description 

This command displays a list of existing aliases.

Output 

The following output is an example of alias information, and Table 24 describes the output fields.

Sample Output
A:ALA-103>config>system# show alias
==============================================================================
Alias-Name                    Alias-command-name
==============================================================================
sri                           show router interface
sse                           show service service-using epipe
ssvpls                        show service service-using vpls
ssvprn                        show service service-using vprn
ssi                           show service service-using ies
------------------------------------------------------------------------------
Number of aliases : 5
==============================================================================
A:ALA-103>config>system#
Table 24:  Show Alias Output Fields 

Label

Description

Alias-Name

displays the name of the alias

Alias-command-name

the command and parameter syntax that define the alias

Number of aliases

the total number of aliases configured on the router