s Commands – Part IV

syslog

syslog

Syntax

syslog [syslog-id]

Context

[Tree] (show>log syslog)

Full Context

show log syslog

Description

This command displays syslog event log destination summary information or detailed information on a specific syslog destination.

Parameters

syslog-id

Displays detailed information on the specified syslog event log destination.

Values

1 to 10

Platforms

All

Output

The following output is an example of syslog information, and Output fields: log syslog describes the output fields.

Output example: syslog summary
A:node-2# show log syslog

===============================================================================
Syslog Target Hosts
===============================================================================
Syslog Name
Id     Ip Address                                      Port        Sev Level
         Below Level Drop                                Facility    Prefix
           TLS Profile
-------------------------------------------------------------------------------
Sunnyvale Server
1      10.1.1.2                                        514         emergency
         0                                               local7      yes

Naperville Server 
2      192.168.0.10                                    514         info
         0                                               local7      yes

===============================================================================
Table 1. Output fields: log syslog

Label

Description

Syslog Name

The syslog name for the syslog destination

Id

The syslog ID for the syslog destination

Ip Address

The IP address of the syslog target host

Port

The configured port number used when sending Syslog messages

Sev Level

The Syslog message severity level threshold

Below Level Drop

A count of messages not sent to the syslog collector target because the severity level of the message was above the configured severity. The higher the level, the lower the severity.

Facility

The facility code for messages sent to the syslog target host

Prefix

Yes — A log prefix was prepended to the Syslog message sent to the syslog host

No — A log prefix was not prepended to the Syslog message sent to the syslog host

TLS Profile

The TLS profile name

The following output is an example of syslog information, and Output fields: log syslog ID describes the output fields.

Output example: syslog ID 1 summary
A:node-2# show log syslog 1

===============================================================================
Syslog target 1 name Sunnyvale Server
===============================================================================
IP Address       : 10.1.1.2
Port             : 514
Log-ids          : none
Prefix           : TMNX
Facility         : local7
Severity Level   : info
Prefix           : yes
Below Level Drop : 0
Description      : N/A
TLS Profile Name : N/A
HOSTNAME         : node-2
TIMESTAMP Format : millisecond
===============================================================================
Table 2. Output fields: log syslog ID

Label

Description

IP Address

The IP address of the syslog target host

Port

The configured port number used when sending Syslog messages

Log-ids

Events are directed to this destination

Prefix

The prefix string prepended to the Syslog message

Facility

The facility code for messages sent to the syslog target host

Severity Level

The Syslog message severity level threshold

Prefix

Yes — A log prefix was prepended to the Syslog message sent to the syslog host

No — A log prefix was not prepended to the Syslog message sent to the syslog host

Below Level Drop

A count of the messages not sent to the syslog collector target because the severity level of the message was above the configured severity. The higher the level, the lower the severity.

Description

The syslog server description

TLS Profile Name

The TLS profile name

HOSTNAME

A string-based name used for the syslog HOSTNAME field instead of an IP address

TIMESTAMP Format

The timestamp format used for the syslog TIMESTAMP field:

  • standard – the standard HH:MM:SS format is being used
  • millisecond – a format of HH:MM:SS.sss is being used. The 3 additional fractional second digits provide millisecond granularity.

syslog

Syntax

syslog

Context

[Tree] (show>service>nat syslog)

Full Context

show service nat syslog

Description

This command enters the connect to display NAT syslog information

Platforms

7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR

syslog-export-policy

syslog-export-policy

Syntax

syslog-export-policy name associations

syslog-export-policy name

syslog-export-policy

Context

[Tree] (show>service>nat>syslog syslog-export-policy)

Full Context

show service nat syslog syslog-export-policy

Description

This command displays information about syslog export policies.

Parameters

name

Displays information about the specified NAT syslog export policy.

associations

Displays where the syslog-export-policy is configured.

Platforms

7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR

Output

The following output is an example of syslog export policy information.

Output Example
*SR-OS-NODE-1# show service nat syslog syslog-export-policy <name>
===============================================================================
NAT syslog policy
===============================================================================
Description                           
Facility                             
Log prefix                           
Max tx delay (deciseconds)           
MTU                                  
Rate limit (pps)                     
Severity level                        
Includes                             
Last management change              
-------------------------------------------------------------------------------
Collectors
-------------------------------------------------------------------------------
Router                               
Source IP address                    
Administrative state                 
Destination port                     
IP address                           
Last management change               
-------------------------------------------------------------------------------

The following output is an example of syslog export policy associations.

Output Example
*A:Dut-C# show service nat syslog syslog-export-policy <name> associations
===============================================================================
policies with syslog-export-policy <name>
===============================================================================
Policy    
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
No. of policies 
===============================================================================

The following output is an example of syslog-export-policy <name> information.


*A:Dut-C# show service nat nat-policy <name>
===============================================================================
NAT Policy policy_lsn_1_3
===============================================================================
Description                           : 
                                        
Pool                                  : 
Router                                : 
Filtering                             : 
Block limit                           : 
Reserved ports                        : 
Port usage High Watermark (%)         : 
Port usage Low Watermark (%)          : 
Port forwarding limit                 : 
Port forwarding range end             : 
Session limit                         : 
Reserved sessions                     : 
Session usage High Watermark (%)      : 
Session usage Low Watermark (%)       : 
ALG enabled                           : 
Prioritized forwarding classes        : 
Timeout TCP established (s)           : 
Timeout TCP transitory (s)            : 
Timeout TCP SYN (s)                   : 
Timeout TCP TIME-WAIT (s)             : 
Timeout TCP RST (s)                   : 
Timeout UDP mapping (s)               : 
Timeout UDP initial (s)               : 
Timeout UDP DNS (s)                   : 
Timeout ICMP Query (s)                : 
Timeout SIP Inactive Media (s)        : 
Subscriber retention (s)              : 
UDP inbound refresh                   : 
TCP MSS Adjust                        :
Destination NAT classifier            :
Destination-NAT-only router           :
Destination-NAT-only ISA NAT group    :
IPFIX export policy                   : 
Syslog export policy                   syslog-export-policy associated with this nat-policy
Reset unknown TCP                     : 
L2 outside                            : 
Last Mgmt Change                      : 

The following output is an example of syslog-export-policy information.

*A:Dut-C>show>service>nat>syslog# syslog-export-policy
===============================================================================
Syslog export policies
===============================================================================
Syslog export policy             
Description description of each syslog-export-policy
-------------------------------------------------------------------------------
No. of syslog export policies: 

Output fields: syslog export policy displays syslog export policy field descriptions.

Table 3. Output fields: syslog export policy

Field

Description

Description

Displays the description for the syslog export policy.

Facility

Displays information about the facility.

Valid values: kernel, user, mail, systemd, auth, syslogd, printer, netnews, uucp, cron, authpriv, ftp, ntp, logaudit, logalert, cron2, local0, local1, local2, local3, local4, local5, local6, local7

Log prefix

Displays information about the log prefix.

Max tx delay (deciseconds)

Displays the time waited to aggregate multiple events info a single log message (event aggregation).

MTU

Displays information about the IP MTU of the syslog frame.

Rate limit (pps)

Displays the rate limit imposed on syslog frames sent toward the collector.

Severity level

Displays the syslog severity level.

Valid values: emergency, alert, critical, error, warning, notice, info, debug

Includes

Displays the optional fields related to the flow that can be included in the flow log message.

Last management change

Displays the time and date of the last configuration change.

Router

Displays the routing instance from which the collector is reachable.

Source IP address

Displays the source IP address of the syslog frame.

Administrative state

Displays the administrative state of the collector.

Destination port

Displays the destination port of the collector.

IP address

Displays the IP address of the collector.

Syslog export policy

Displays the syslog export policy associated with this NAT policy.

No. of syslog export policies

Displays the number of syslog export policies configured in the system.

system

system

Syntax

system

Context

[Tree] (show system)

Full Context

show system

Description

Commands in this context display system information.

Platforms

All

system

Syntax

system

Context

[Tree] (tools>perform system)

Full Context

tools perform system

Description

This command is a tool for controlling the system.

Platforms

All

system

Syntax

system

Context

[Tree] (show>service system)

Full Context

show service system

Description

Commands in this context display service system information.

Platforms

All

system

Syntax

system [all]

Context

[Tree] (tools>dump>resource-usage system)

Full Context

tools dump resource-usage system

Description

This command displays resource information for resources that are managed at the system level.

Parameters

all

Displays all system resource usage information, as well as resource usage information for all cards, FPs, and MDAs in the system.

Platforms

All

Output

The following output is an example of system information.

Output Example
*A:PE# tools dump resource-usage system
===============================================================================
Resource Usage Information for System
===============================================================================
                                                  Total   Allocated        Free
-------------------------------------------------------------------------------
                 SAP Ingress QoS Policies |        3071           1        3070
                  SAP Egress QoS Policies |        3071           2        3069
            Ingress Queue-Group Templates |        2047           4        2043
             Egress Queue-Group Templates |        2047           5        2042
        Egress Port Queue-Group Instances |      163839           4      163835
         Ingress FP Queue-Group Instances |       16383           0       16383
              Fast Depth Monitored Queues |       50000          25       49975
                        Egress Port VPort |       40959           1       40958

system

Syntax

system

Context

[Tree] (clear system)

Full Context

clear system

Description

This command allows an operator to clear system information.

Platforms

All

system

Syntax

system

Context

[Tree] (tools>dump system)

Full Context

tools dump system

Description

Commands in this context dump tools for system.

Platforms

All

system

Syntax

system

Context

[Tree] (tools>dump>service system)

Full Context

tools dump service system

Description

Commands in this context dump service system information.

Platforms

All

system

Syntax

system status

Context

[Tree] (show>subscr-mgmt>status system)

Full Context

show subscriber-mgmt status system

Description

This command displays subscriber management status information.

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR

Output

The following output is an example of subscriber management system status information.

Output Example
*B:Dut-C# show subscriber-mgmt status system 
===============================================================================
Subscriber Management System Status
===============================================================================
Chassis 1
-------------------------------------------------------------------------------
Memory usage high                                       : No
DHCP message processing overload                        : No
Statistics usage high                                   : No
Number of subscribers using statistics                  : 0
Data-trigger statistics
-------------------------------------------------------------------------------
Packets received                                        : 0
Packets dropped                                         : 0
Packets in queue (actual)                               : 0
Packets in queue (peak)                                 : 1
Bridged Residential Gateway statistics
-------------------------------------------------------------------------------
BRG initialized                                         : 0
BRG operational                                         : 0
BRG in connectivity verification                        : 0
BRG on hold                                             : 0
BRG authenticated by proxy                              : 0
Subscriber VLAN statistics resources
-------------------------------------------------------------------------------
Administrative state                                    : in-service
Number of entries                                       : 2
Interface statistics resources
-------------------------------------------------------------------------------
Administrative state sub-if                             : in-service
Number of sub-if stats entries                          : 1
Administrative state grp-if                             : in-service
Number of grp-if stats entries                          : 2
===============================================================================
*B:Dut-C# 

system-config

system-config

Syntax

system-config

Context

[Tree] (show>eth-cfm system-config)

Full Context

show eth-cfm system-config

Description

This command shows various ETH-CFM system-level configuration parameters under the config> eth-cfm [{redundancy | slm | system}] hierarchies and various system capabilities.

Platforms

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

Output

The following output is an example of ETH-CFM system-level configuration information.

Output Example
show eth-cfm system-config
===============================================================================
CFM System Configuration
===============================================================================
Redundancy
    MC-LAG Standby MEP Shutdown: false
    MC-LAG Hold-Timer          :   1 second(s)

Synthetic Loss Measurement
    Inactivity Timer           : 100 second(s)

ETH-CCM Grace-Period
    Transmit Enabled           : true

Sender ID Information
    ChassisID Subtype          : chassisComponent

MD Auto-Id Range Information
    md-index start             : 3294967295
    md-index end               : 4294967295
    ma-index start             : 3294967295
    ma-index end               : 4294967295

Display
    Name-based display         : false


-------------------------------------------------------------------------------
ETH-CFM System Configuration Limits
-------------------------------------------------------------------------------
Component                                     Current Usage        System Limit
-------------------------------------------------------------------------------
Maintenance Domain (MD)                                   2               25000
Maintenance Association (MA)                              2               25000
  Extended MA (up to 400 MEPs)                            0                  10
Maintenance Endpoint (MEP)                                2               25000
  One-second MEP                                          1               10000
  Sub-second MEP                                          0                7000
Alarm Indication Signal (AIS)                             0               25000
Client Signal Fail (CSF)                                  0               25000
Primary Vlan Ingress MP                                   0               19999
Primary Vlan Egress MP                                    0               19999
LMM Stats Enabled                                         0                8000
LBM Concurrent Tests                                      0                1000
  Multicast LB Tests                                      0                  10
LTM Concurrent Tests                                      0                 100
-------------------------------------------------------------------------------
===============================================================================
 
MD Auto-Id Range Information
    md-index start             : 3000000000
    md-index end               : 4000000000
    ma-index start             : 3000000000
    ma-index end               : 4000000000
-------------------------------------------------------------------------------
ETH-CFM System Configuration Limits
-------------------------------------------------------------------------------
Component                                     Current Usage        System Limit
-------------------------------------------------------------------------------
Maintenance Domain (MD)                                   9               25000
Maintenance Association (MA)                             26               25000
  Extended MA (up to 400 MEPs)                            0                  10
Maintenance Endpoint (MEP)                               18               25000
  One-second MEP                                         16                5000
  Sub-second MEP                                          0                5000
Alarm Indication Signal (AIS)                             2               25000
Client Signal Fail (CSF)                                  0               25000
Primary Vlan Ingress MP                                   3               19999
Primary Vlan Egress MP                                    3               19999
LMM Stats Enabled                                         1                8000
LBM Concurrent Tests                                      0                 100
  Multicast LB Tests                                      0                  10
LTM Concurrent Tests                                      0                 100

system-filter

system-filter

Syntax

system-filter [chained-to]

Context

[Tree] (show>filter system-filter)

Full Context

show filter system-filter

Description

This command shows system filter information.

Parameters

chained-to

Displays filters that chain to a given system filter.

Platforms

All

Output

No Parameters Specified — When no parameters are specified, the output is grouped for IPv4 and IPv6, and displays information about the active system filter and all filters with scope system.

The following output is an example of system filter information when no parameters are specified.

Output Example
*A:Dut-C>show>filter# system-filter
 
===============================================================================
IP system filters
===============================================================================
Filter-Id                     Active
-------------------------------------------------------------------------------
100                           Yes
65535                         No
-------------------------------------------------------------------------------
No. of IP system filters (total / active): 2 / 1
===============================================================================
 
===============================================================================
IPv6 system filters
===============================================================================
Filter-Id                     Active
-------------------------------------------------------------------------------
No Matching Entries
-------------------------------------------------------------------------------
No. of IPv6 system filters (total / active): 0 / 0
===============================================================================

With chained-to Option Specified — The following output is an example of system filter information when the chained-to option is specified.

*A:Dut-C>show>filter# system-filter chained-to
 
============================================================================
IP filters that chain to the active IP system filter
============================================================================
3                  4                  5                  6
5:23               6:24
----------------------------------------------------------------------------
No. of IP filters that chain to the active IP system filter: 6
============================================================================
 
============================================================================
IPv6 filters that chain to the active IPv6 system filter
============================================================================
No Matching Entries
----------------------------------------------------------------------------
No. of IPv6 filters that chain to the active IPv6 system filter: 0
============================================================================

system-info

system-info

Syntax

system-info

Context

[Tree] (show>eth-cfm system-info)

Full Context

show eth-cfm system-info

Description

This command displays system-level ETH-CFM information states.

Platforms

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

Output

The following output is an example of system-level ETH-CFM information.

Output Example
show eth-cfm system-info
===============================================================================
CFM System State Information
===============================================================================
ETH-CCM Grace-Period           : Inactive
===============================================================================

system-statistics

system-statistics

Syntax

system-statistics data-trigger

Context

[Tree] (clear>subscr-mgmt system-statistics)

Full Context

clear subscriber-mgmt system-statistics

Description

This command clears subscriber statistics at the system level.

Parameters

data-trigger

Clears data trigger statistics for all data trigger enabled SAPs in the system.

Platforms

7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR

system-statistics

Syntax

system-statistics

Context

[Tree] (clear>nat system-statistics)

Full Context

clear nat system-statistics

Description

This command clears NAT statistics at the system level.

Platforms

7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR