n Commands

nat

nat

Syntax

nat

Context

[Tree] (tools>perform nat)

[Tree] (tools>dump nat)

Full Context

tools perform nat

tools dump nat

Description

This command enables the dump or perform tools for NAT.

Platforms

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

nat

Syntax

nat

Context

[Tree] (clear nat)

Full Context

clear nat

Description

Commands in this context clear NAT commands.

Platforms

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

nat

Syntax

nat

Context

[Tree] (show>router nat)

Full Context

show router nat

Description

Commands in this context display NAT related information.

Platforms

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

nat

Syntax

nat

Context

[Tree] (show>service nat)

Full Context

show service nat

Description

Commands in this context display NAT information.

Platforms

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

nat-group

nat-group

Syntax

nat-group

nat-group nat-group-id [associations]

nat-group nat-group-id [associations]

nat-group nat-group-id inter-chassis-redundancy

nat-group nat-group-id statistics inter-chassis-redundancy

nat-group nat-group-id statistics mda mda-id [non-zero-value-only]

nat-group nat-group-id member member-number

nat-group nat-group-id member member-number inter-chassis-redundancy

nat-group nat-group-id member member-number statistics inter-chassis-redundancy

nat-group nat-group-id member member-number reassembly-statistics [non-zero-value-only]

nat-group nat-group-id member member-number statistics [non-zero-value-only]

nat-group [nat-group-id] members

Context

[Tree] (show>isa nat-group)

Full Context

show isa nat-group

Description

This command lists all active member ISAs (or group members). Up to 16 group members can be displayed (16 is the supported number of LAG links). Members can share physical ISAs (MDAs) and the physical locality of the group members can be determined from the Mda column in the output.

The number of group members will be <=X and the actual number of displayed group members will depend on the configuration based calculation.

Parameters

nat-group-id

Specifies the NAT group ID.

Values

1 to 4

associations

Displays associations applicable to the specified NAT group.

statistics

Displays NAT group statistics.

member

Displays statistics information about the resources of a member of a NAT ISA group.

member-number

Specifies the member number.

Values

1 to 255

non-zero-value-only

Displays statistics information display whose value is bigger than zero.

reassembly-statistics

Displays statistics information about IP datagram reassembly on NAT-capable ISA groups.

inter-chassis-redundancy

Displays information about inter-chassis redundancy.

Platforms

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

Output

The following shows output examples.

Sample Output
show isa nat-group
===============================================================================
ISA NAT Group Summary
===============================================================================
Mda Group 1 Group 2 Group 3
-------------------------------------------------------------------------------
3/1 active - -
3/2 - active busy
4/1 - busy active
4/2 - standby standby
===============================================================================


*A:SR12_PPPOE>config>isa>nat-group# show isa nat-group 1       
===============================================================================
ISA NAT Group 1
===============================================================================
Admin state                 : inService
Operational state           : inService
Active MDA limit            : 2
-------------------------------------------------------------------------------
NAT specific information for ISA group 1
-------------------------------------------------------------------------------
Reserved sessions           : 0
High Watermark (%)          : (Not Specified)
Low Watermark (%)           : (Not Specified)
Accounting policy           : my-acct-plcy
Last Mgmt Change            : 01/28/2012 14:47:59
-------------------------------------------------------------------------------
===============================================================================
ISA Group 1 members
===============================================================================
Group Member     State          Mda  Addresses  Blocks     Se-% Hi Se-Prio
-------------------------------------------------------------------------------
1     1          active         3/1  3          3          < 1  N  0
1     2          active         3/2  4          4          < 1  N  0
-------------------------------------------------------------------------------
No. of members: 2
===============================================================================
A:SR12_PPPOE#


*A:SR12_PPPOE>config>isa>nat-group# show isa nat-group   
===============================================================================
ISA NAT Group Summary
===============================================================================
Mda  Group 1            Group 2            Group 3            Group 4           
-------------------------------------------------------------------------------
2/1  -                  provisioned        -                  -                 
3/1  active             -                  up                 -                 
3/1  active             -                  up                 -                 
3/2  active             -                  up                 -                 
3/2  active             -                  up                 -                 
===============================================================================
A:SR12_PPPOE#


*A:SR12_PPPOE>config>isa>nat-group# show isa nat-group 1 
===============================================================================
ISA NAT Group 1
===============================================================================
Admin state                 : inService
Operational state           : inService
Active MDA limit            : 2

-------------------------------------------------------------------------------
NAT specific information for ISA group 1
-------------------------------------------------------------------------------
Reserved sessions           : 0
High Watermark (%)          : (Not Specified)
Low Watermark (%)           : (Not Specified)
Accounting policy           : my-acct-plcy
Last Mgmt Change            : 01/28/2012 14:47:59
-------------------------------------------------------------------------------
===============================================================================
ISA Group 1 members
===============================================================================
Group Member     State          Mda  Addresses  Blocks     Se-% Hi Se-Prio
-------------------------------------------------------------------------------
1     1          active         3/1  3          3          < 1  N  0
1     2          active         3/2  4          4          < 1  N  0
-------------------------------------------------------------------------------
No. of members: 2
===============================================================================
A:SR12_PPPOE#


A:SR12_PPPOE# show isa nat-group 3 member 1 statistics 
===============================================================================
ISA NAT Group 3 Member 1
===============================================================================
no resource                                               : 0
pkt rx on wrong port                                      : 0
unsupported protocol                                      : 0
no host or host group                                     : 0
no ip or port                                             : 0
no matching flow                                          : 3
max flow exceeded                                         : 0
TCP no flow for RST                                       : 0
TCP no flow for FIN                                       : 0
TCP no flow                                               : 0
addr. dep. filtering                                      : 0
ICMP type unsupported                                     : 0
ICMP local unsupported                                    : 0
ICMP checksum error                                       : 0
ICMP embedded checksum error                              : 0
ICMP unsupported L4                                       : 0
ICMP too short                                            : 0
ICMP length error                                         : 0
Pkt not IPv4 or IPv6                                      : 0
Pkt rcv error                                             : 0
Pkt error                                                 : 0
IPv4 header checksum violation                            : 0
IPv4 header malformed                                     : 0
IPv4 malformed packet                                     : 0
IPv4 ttl zero                                             : 0
IPv4 opt /IPv6 ext headers                                : 0
IPv4 undefined error                                      : 0
IPv6 fragments unsupported                                : 0
TCP/UDP malformed                                         : 0
TCP/UDP checksum failure                                  : 0
TCP/UDP length error                                      : 0
Pkt send error                                            : 0
no buf to copy pkt                                        : 0
no policy                                                 : 0
locked by mgmt core                                       : 0
port range log failed                                     : 0
MTU exceeded                                              : 0
DS Lite unrecognized next hdr                             : 0
DS Lite unknown AFTR                                      : 0
too many fragments for IP packet                          : 0
too many fragmented packets                               : 0
too many fragment holes                                   : 0
too many frags buffered                                   : 0
fragment list expired                                     : 0
fragment rate too high                                    : 0
flow log failed                                           : 0
no multiple host or subscr. IPs allowed                   : 0
to local                                                  : 1
to local ignored                                          : 0
NAT64 disabled                                            : 0
NAT64 invalid src addr                                    : 0
NAT64 frag has zero checksum                              : 0
NAT64 v4 has zero checksum                                : 0
NAT64 ICMP frag unsupported                               : 0
CPM out of memory                                         : 0
new flow                                                  : 1
TCP closed                                                : 1
TCP expired                                               : 0
UDP expired                                               : 0
ICMP expired                                              : 0
ICMP local                                                : 0
found flow                                                : 34
ARPs ignored                                              : 4
Fragments RX L2A                                          : 0
Fragments RX LSN                                          : 0
Fragments RX DSL                                          : 0
Fragments RX OUT                                          : 0
Fragments TX L2A                                          : 0
Fragments TX LSN                                          : 0
Fragments TX DSL                                          : 0
Fragments TX NAT64                                        : 0
Fragments TX OUT                                          : 0
flow create logged                                        : 0
flow delete logged                                        : 0
flow log pkt tx                                           : 0
===============================================================================
A:SR12_PPPOE#


config>isa# show isa nat-group 1 member 1 statistics
===============================================================================
ISA NAT Group 1 Member 1
===============================================================================
no resource                                               : 0
     [eNatFlowNoResource]                     "no resource",\
         ->the default, all errors without more specific reason
 
     [eNatFlowWrongPort]                      "pkt rx on wrong port",\
         -> packet came in on wrong port on ISA
 
     [eNatFlowWrongProt]                      "unsupported protocol",\
         -> protocol  is not UDMP/TCP/ICMP
 
     [eNatFlowNoHostGrp]                      "no host or host group",\
         -> cannot create new host group because out of resources, or 
current host group is not usable at the moment (because in a transient 
state)
 
     [eNatFlowNoIpOrPort]                     "no ip or port",\
          -> no Ip or port range available
 
     [eNatFlowNoMatchingFlow]                 "no matching flow",\
         -> no matching flow found
 
     [eNatFlowMaxExceeded]                    "max flow exceeded",\
          -> max flows for subscriber exceeded
 
     [eNatFlowTcpUnexpectedRst]               "TCP no flow for RST",\
     [eNatFlowTcpUnexpectedFin]               "TCP no flow for FIN",\
     [eNatFlowTcpUnexpected]                  "TCP no flow",\
         -> TCP state machine problem
 
     [eNatFlowAddressDependentFiltering]      "addr. dep. filtering",\
         -> pkt dropped because of addr. dependent filtering
 
     [eNatFlowUnsupportedICMP]                "ICMP type unsupported",\
         -> unsupported icmp type
 
     [eNatFlowUnsupportedLocalICMP]           "ICMP local unsupported",\
         -> packet to ip address on ISA is not an echo request
 
     [eNatFlowIcmpChecksumError]              "ICMP checksum error",\
         -> ICMP checksum error
 
     [eNatFlowIcmpEmbeddedPktChecksumError]   "ICMP embedded checksum 
error",\
         -> checksum error on embedded IP header
 
     [eNatFlowIcmpEmbeddedPktUnsupportedL4]   "ICMP unsupported L4",\
         -> embedded IP packet is not UDP/TCP
 
     [eNatFlowIcmpTooShort]                   "ICMP too short",\
         -> packet too short to include the ICMP header
 
     [eNatFlowIcmpLengthError]                "ICMP length error",\
         -> packet too short to include the embedded header
 
     [eNatFlowPacketErrorNotIp]               "Pkt not IPv4 or IPv6",\
     [eNatFlowPacketErrorRecv]                "Pkt rcv error",\
     [eNatFlowPacketError]                    "Pkt error",\
     [eNatFlowPacketErrorIpv4HdrChk]          "IPv4 header checksum 
violation",\
     [eNatFlowPacketErrorIpv4HdrMal]          "IPv4 header malformed",\
     [eNatFlowPacketErrorIpv4PktMal]          "IPv4 malformed packet",\
     [eNatFlowPacketErrorIpv4TtlZero]         "IPv4 ttl zero",\
     [eNatFlowPacketErrorIpv4Optv6Ext]        "IPv4 opt /IPv6 ext headers",\
     [eNatFlowPacketErrorIpv4Bad]             "IPv4 undefined error", \
     [eNatFlowPacketErrorIpv6Frag]            "IPv6 fragments unsupported",\
     [eNatFlowPacketErrorTcpUdpMal]           "TCP/UDP malformed",\
     [eNatFlowPacketErrorTcpUdpChk]           "TCP/UDP checksum failure",\
     [eNatFlowPacketErrorTcpUdpLen]           "TCP/UDP length error",\
         -> malformed incoming packet
 
     [eNatFlowPacketSendError]                "Pkt send error",\
         -> failed to tx the packet
 
     [eNatFlowPacketNoCpyBuf]                 "no buf to copy pkt",\
         -> failed to copy the packet to another buffer needed for 
correct processing
 
     [eNatFlowLockedByMgmtCore]               "locked by mgmt core",\
         -> resources temp. locked by the mgmt core
 
     [eNatFlowPRLogFailed]                    "port range log failed",\
         -> port range log failed
 
     [eNatFlowMtuExceeded]                    "MTU exceeded",\
         -> outgoing packet too big for DS-Lite tunnel or nat64 mtu
 
     [eNatFlowDslUnrecNextHdr]                "DS Lite unrecognized next 
hdr",\
         ->ipv6 pkt has wrong next header
 
     [eNatFlowDslUnknownAFTR]                 "DS Lite unknown AFTR",\
         -> AFTR address is unrecognised
 
     [eNatFlowTooManyFragsForIpPkt]           "too many fragments for IP 
packet",\
     [eNatFlowTooManyFragmentedPkts]          "too many fragmented 
packets",\
     [eNatFlowTooManyFragHoles]               "too many fragment holes",\
     [eNatFlowFragListExpire]                 "fragment list expired",\
     [eNatFlowTooManyFragBufs]                "too many frags buffered",\
     [eNatFlowFragRateTooHigh]                "fragment rate too high",\
         -> various fragment problems
 
     [eNatFlowNoPolicy]                       "no policy",\
         ->vrf not mapped to a policy
 
     [eNatFlowLogFailed]                      "flow log failed",\
         -> flow logging cannot follow the setup rate
 
     [eNatFlowMultiHostOrSubscrIp]            "no multiple host or 
subscr. IPs allowed",\
         ->multiple hosts or subscribers on the inside in use without 
port translation
 
     [eNatFlowToLocalError]                   "to local ignored",\
        -> radius authentication failure (?)
 
     [eNatFlow64Disabled]                     "NAT64 disabled",\
         -> nat64 was disabled
 
     [eNatFlow64InvalidSource]                "NAT64 invalid src addr",\
         -> source address matches pref64
 
     [eNatFlow64FragZeroChecksum]             "NAT64 frag has zero 
checksum",\
         -> v4 UDP frag has zero checksum
 
     [eNatFlow64ZeroChecksum]                 "NAT64 v4 has zero checksum",\
         -> v4 UDP has zero checksum, and policy configured to drop
 
     [eNatFlow64FragIcmp]                     "NAT64 ICMP frag unsupported"\
         ->v4 fragmented ICMP
show isa nat-group 3 
===============================================================================
ISA NAT Group 3
===============================================================================
Description                 : nat-group-3
Admin state                 : inService
Operational state           : inService
Degraded                    : false
Redundancy                  : inter-chassis
Active MDA limit            : 1
Failed MDA limit            : 0
Scaling profile             : profile1
-------------------------------------------------------------------------------
NAT specific information for ISA group 3
-------------------------------------------------------------------------------
Reserved sessions           : 0
High Watermark (%)          : (Not Specified)
Low Watermark (%)           : (Not Specified)
Accounting policy           : (Not Specified)
UPnP mapping limit          : 524288
Suppress LsnSubBlksFree     : false
LSN support                 : enabled
Last Mgmt Change            : 05/28/2020 17:48:58
-------------------------------------------------------------------------------
===============================================================================
===============================================================================
ISA Group 3 members
===============================================================================
Group Member State          MDA/VM   Addresses  Blocks     Se-% Hi Se-Prio
-------------------------------------------------------------------------------
3     1      active         esa-4/2  65536      262144     < 1  N  0
-------------------------------------------------------------------------------
No. of members: 1
===============================================================================
show isa nat-group 3 inter-chassis-redundancy 
===============================================================================
NAT inter-chassis redundancy
===============================================================================
State                       : active
State changes               : 3
Time of last change         : 05/28/2020 17:49:06
In control                  : true
Health                      : 1000
Peer health                 : 1000
Preferred                   : false
Peer preferred              : false
===============================================================================
show isa nat-group 3 statistics inter-chassis-redundancy  
===============================================================================
NAT inter-chassis redundancy statistics
===============================================================================
Transmitted frames                                      : 1227
Transmission failures                                   : 0
Received frames                                         : 1206
Receive failures (wrong peer)                           : 0
Keepalive timeouts                                      : 0
===============================================================================
Table 1. CPM Statistics Descriptions

Field

Description

Transmitted frames

Displays the total number of transmitted frames on the CPM level.

Transmission failures

Displays the transmission failures, for example due to missing route to the peer.

Received frames

Displays the total number of received frames on the CPM level.

Received failures (wrong peer)

Displays the received failures due to wrong peer.

Keepalive timeouts

Displays the total number of keepalive timeouts.

show isa nat-group 3 member 1 inter-chassis-redundancy 
===============================================================================
NAT inter-chassis redundancy member state
===============================================================================
State                       : active
Peer state                  : standby
Local IP address            : 12.12.1.1
Remote IP address           : 12.12.0.1
Unsupported flows           : 0
Tracked flows               : 888074
Tracked flows not synced    : 112
Tracked flows pending       : 960
Flows synced                : 887002
Flows marked to delete      : 0
Flows delete pending        : 0
Time of last failure        : N/A
Failure cause               : N/A
===============================================================================
Table 2. ISA Statistics Descriptions

Field

Description

State

Displays the state of the NAT inter-chassis redundancy member.

Peer state

Displays the state of the peer.

Local IP address

Displays the local IP address.

Remote IP address

Displays the IP address of the remote client.

Unsupported flows

Displays the flows other than TCP/UDP/ICMP in 1:1 NAT that are agnostic and by default created per subscriber by configuration on both nodes. There is no need to synchronize such flows.

Tracked flows

Displays the TCP/UDP/ICMP flows.

Tracked flows not synced

Displays the outstanding flows on the active node waiting to be synchronized (transient condition). On the standby node, all flows are in this state.

Tracked flows pending

Displays the flows waiting to be acknowledged.

Flows synced

Displays the flows that are synchronized.

Flows marked to delete

Displays the flows marked to be deleted due to a timeout, deleted pinhole or simply as a result of an invoked clear command.

Flows delete pending

Displays the flows waiting to be deleted due to a timeout, deleted pinhole or simply as a result of an invoked clear command.

Time of last failure

Displays the time of the last ISA failure.

Failure cause

Displays the cause of the ISA failure.

show isa nat-group 3 member 1 statistics inter-chassis-redundancy  
===============================================================================
NAT inter-chassis redundancy member statistics
===============================================================================
Transmitted frames                                      : 16540
Retransmitted frames                                    : 0
Transmitted flow create messages                        : 1823651
Transmitted flow delete messages                        : 929264
Transmitted ALG frames                                  : 0
Received frames                                         : 32745
Received flow create messages                           : 0
Received flow delete messages                           : 0
Received ALG frames                                     : 0
Dropped flow create messages (no policy)                : 0
Dropped flow create messsages (no port block)           : 0
Received fragments                                      : 0
===============================================================================
Table 3. ISA Level Statistics Descriptions

Field

Description

Transmitted frames

Displays all transmitted frames on the ISA level.

Retransmitted frames

Displays the retransmitted frames due to loss (lack of acknowledgment).

Transmitted flow create messages

Displays the transmitted flow create messages.

Transmitted flow delete messages

Displays the transmitted flow delete messages.

Transmitted ALG messages

Displays the transmitted application layer gateway messages.

Received frames

Displays all frames received.

Received flow create messages

Displays the received flow create messages.

Received flow delete messages

Displays the received flow delete messages.

Received ALG frames

Displays the received application layer gateway messages.

Dropped flow create messages (no policy)

Displays the dropped flow create messages due to lack of policy.

Dropped flow create messages (no port block)

Displays the dropped flow create messages due to block of port.

Received fragments

Displays all fragments received.

show isa nat-group <nat-group-id> members
ISA Group 1 members
===============================================================================
Group Member  State   Mda  Addresses  Blocks   Se-% Hi Se-Prio  
-------------------------------------------------------------------------------
1     1       active  1/2  17         2088      < 1  N  0
1     2       active  1/2  17         2088      < 1  N  0
1     3       bypass  1/2  17         2088      < 1  N  0
1     4       active  2/2  17         2088      < 1  N  0
1     5       active  2/2  17         2088      < 1  N  0
-------------------------------------------------------------------------------
No. of members: 5
===============================================================================
Table 4. Member State Descriptions

State

Descriptions

Active

The member is actively serving traffic.

Failed

The member is in a failed state where forwarding is not possible and L2-aware bypass redundancy mode is disabled. This event is normally associated with an MS-ISA failure.

failedBypass

The member is in failed state and the subscribers that it was serving before the failover occurred are in a bypass mode. In a bypass mode, subscribers are normally routed according to the routing table in the inside routing context (as opposed to steered to MS-ISA where NAT is performed). The operator should ensure that the routing leads those subscribers to a centralized CGN node that serve as a backup device.

This event is normally associated with an MS-ISA failure while the L2-aware bypass redundancy mode is enabled.

activeBypass

The member transitions in this state after a recovery while the L2-aware bypass mode of operation is enabled. Some subscribers that this member was serving before the failover are in bypass mode, while others that came on-line after the restoration are actively being served by this member.

nat-group

Syntax

nat-group nat-group-id member member-number l2-aware-subscribers

nat-group nat-group-id statistics mda mda-id

nat-group nat-group-id statistics inter-chassis-redundancy

nat-group nat-group-id member member-number resource-peak-values

nat-group nat-group-id member member-number statistics

nat-group nat-group-id member member-number statistics inter-chassis-redundancy

Context

[Tree] (clear>nat>isa nat-group)

Full Context

clear nat isa nat-group

Description

This command clears ISA nat-group commands related statistics or removes all the subscribers that are associated with a specific NAT group member.

Parameters

nat-group-id

Specifies the NAT group ID to clear.

Values

1 to 4

member-number

Specifies the member number.

Values

1 to 255

mda-id

Specifies the MDA for which to clear performance measurements in slot/mda format.

Values

slot — 1

mda — 1 to 4

l2-aware-subscribers

Specifies to clear the NAT group ID’s l2-aware subscribers.

statistics

Specifies to clear the NAT group ID’s statistics.

resource-peak-values

Specifies to reset the resource peak values to the current resource measurements.

inter-chassis-redundancy

Specifies to clear the inter-chassis redundancy data.

Platforms

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

nat-policy

nat-policy

Syntax

nat-policy nat-policy-name associations

nat-policy nat-policy-name

nat-policy nat-policy-name statistics

nat-policy

Context

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

Full Context

show service nat nat-policy

Description

This command displays NAT policy information.

Parameters

nat-policy-name

Specifies the NAT Policy name.

Values

32 chars max

associations

Keyword; displays the router instances and/or subscriber profiles associated with the NAT policy.

statistics

Keyword; displays statistics of the specified NAT policy.

Platforms

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

Output

The following is sample output for this command.

Sample Output
show service nat nat-policy
===============================================================================
NAT policies
===============================================================================
Policy Description
-------------------------------------------------------------------------------
outPolicy
outPolicy2
outPolicy3
-------------------------------------------------------------------------------
No. of NAT policies: 3
===============================================================================


*A:SR12_PPPOE>show>router>nat#  show service nat nat-policy "priv-nat-policy" 
===============================================================================
NAT Policy priv-nat-policy
===============================================================================
Pool                                  : privpool
Router                                : Base
Filtering                             : endpointIndependent
Block limit                           : 4
Reserved ports                        : 0
Port usage High Watermark (%)         : (Not Specified)
Port usage Low Watermark (%)          : (Not Specified)
Port forwarding limit                 : 64
Session limit                         : 65535
Reserved sessions                     : 0
Session usage High Watermark (%)      : (Not Specified)
Session usage Low Watermark (%)       : (Not Specified)
ALG enabled                           : ftp rtsp sip 
Prioritized forwarding classes        : (Not Specified)
Timeout TCP established (s)           : 7440
Timeout TCP transitory (s)            : 240
Timeout TCP SYN (s)                   : 15
Timeout TCP TIME-WAIT (s)             : 0
Timeout UDP mapping (s)               : 300
Timeout UDP initial (s)               : 15
Timeout UDP DNS (s)                   : 15
Timeout ICMP Query (s)                : 60
Timeout SIP Inactive Media (s)        : 120
Subscriber retention (s)              : 0
UDP inbound refresh                   : false
TCP MSS Adjust                        : (Not Specified)
Destination-NAT IP                    : (Not Specified)
IPFIX export policy                   : (Not Specified)
Last Mgmt Change                      : 01/28/2012 14:47:59
===============================================================================
*A:SR12_PPPOE>show>router>nat# 


show service nat nat-policy ‟outPolicy2” associations
===============================================================================
NAT Policy outPolicy2 Subscriber Profile Associations
===============================================================================
sub_prof_B_3
-------------------------------------------------------------------------------
No. of subscriber profiles: 1
===============================================================================

show service nat nat-policy ‟outPolicy2” statistics
===============================================================================
NAT Policy outPolicy2 Statistics
===============================================================================
mda 3/1
-------------------------------------------------------------------------------
hostsActive : 1
hostsPeak : 1
sessionsTcpCreated : 0
sessionsTcpDestroyed : 0
sessionsUdpCreated : 0
sessionsUdpDestroyed : 0
sessionsIcmpQueryCreated : 0
sessionsIcmpQueryDestroyed : 0
===============================================================================

nat-system-resources

nat-system-resources

Syntax

nat-system-resources mda mda-id

nat-system-resources mda mda-id detail

nat-system-resources esa-vm vapp-id

nat-system-resources detail esa-vm vapp-id

nat-system-resources nat-group nat-group-id member

Context

[Tree] (show>isa nat-system-resources)

Full Context

show isa nat-system-resources

Description

This command displays ISA NAT system resources.

Parameters

mda-id

Specifies the card and slot identifying a provisioned ISA.

Values

mda-id:

slot [xiom/]/mda

slot

1 to 2 (7750 SR-2s)

1 to 5 (7750 SR-7)

1 to 6 (7750 SR-14s)

1 to 10 (7450 ESS, 7750 SR-12)

1 to 14 (VSR)

1 to 20 (VSR)

xiom

x1 to x2

mda

1 to 2 (7450 ESS, 7750 SR-1, SR-2s, SR-7, SR-12, SR-14s)

1 to 4 (VSR)

nat-group-id

Specifies the NAT group ID.

Values

1 to 4 (7450 ESS, 7750 SR-1, SR-2s, SR-7, SR-12, SR-14s, VSR)

1 to 8 (7750 SR-12)

1 to 15 (VSR)

vapp-id

Specifies the ID of the configured ESA and ESA VM.

Values

vapp-id:

esa-id/vm-id

esa-id

1 to 16

vm-id

1 to 4

Platforms

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

nat64-lsn-sub

nat64-lsn-sub

Syntax

nat64-lsn-sub router router-instance ipv6-address-prefix ipv6-prefix

Context

[Tree] (clear>nat nat64-lsn-sub)

Full Context

clear nat nat64-lsn-sub

Description

This command clears NAT mappings for NAT64 LSN subscribers.

Parameters

router-instance

Specifies the router instance, up to 32 characters.

ipv6-prefix

Specifies the IPv6 prefix and length.

Values
  • 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

Platforms

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

neighbor

neighbor

Syntax

neighbor service-id

Context

[Tree] (clear>service>id neighbor)

Full Context

clear service id neighbor

Description

This command clears commands for a specific service.

For the 7450 ESS or 7750 SR, it clears the discovered IPv6 address of the neighboring CE associated with an Ipipe SAP. When IPv6CP comes back up following the execution of this command on an IPv6CP SAP, the node checks if an IPv6 address has been learned for the remote CE attached to the Ipipe service. If one has been learned, then this is used to bring up IPv6CP.

Parameters

service-id

The ID that uniquely identifies a service.

Values

service-id: 1 to 214748364

svc-name: A string up to 64 characters long.

service-name

Neighboring IPv6 address, for the 7450 ESS or 7750 SR only.

Platforms

All

neighbor

Syntax

neighbor [{sap sap-id | sdp sdp-id:vc-id} [address ip-address]] [detail] [family]

Context

[Tree] (show>service>id>pim-snooping neighbor)

Full Context

show service id pim-snooping neighbor

Description

This command displays PIM neighbor information.

Parameters

ip-int-name

Only displays the interface information associated with the specified IP interface name

sap-id

Displays the neighbor information associated with the specified SAP

sdp-id:vc-id

Displays the neighbor information associated with the specified SDP

ip-address

Displays information for the neighbor with the specified IP address

detail

Displays detailed neighbor information

family

Displays either IPv4 or IPv6 information for the specified neighbor

Values

ipv4 or ipv6

Platforms

All

Output

The following output is an example of service PIM snooping neighbor information.

Sample Output
*A:PE#  show service id 1 pim-snooping neighbor
===============================================================================
PIM Snooping Neighbors ipv4
===============================================================================
Port Id                 Nbr DR Prty     Up Time       Expiry Time     Hold Time
  Nbr Address
-------------------------------------------------------------------------------
SAP:1/1/9:1             1               0d 00:05:23   0d 00:01:23     105
  10.0.0.1
EVPN-MPLS               1               0d 00:05:02   0d 00:01:43     105
  10.0.0.2
EVPN-MPLS               1               0d 00:05:02   0d 00:01:43     105
  10.0.0.3
-------------------------------------------------------------------------------
Neighbors : 3
===============================================================================

neighbor

Syntax

neighbor [ip-address | evpn-mpls | sap sap-id | sdp sdp-id:vc-id | vxlan vtep ip-address vni vni-id] [family]

Context

[Tree] (clear>service>id>pim-snooping neighbor)

Full Context

clear service id pim-snooping neighbor

Description

This command clears PIM snooping neighbor information.

Parameters

ip-address

Clears information for the neighbor with the specified IP address

sap sap-id

Clears PIM snooping entries associated with the specified SAP

sdp sdp-id:vc-id

Clears PIM entries associated with the specified SDP. For a spoke-SDP, the VC ID must be specified; for a mesh SDP, the VC ID is optional.

Values

1 to 17407

family

Displays either IPv4 or IPv6 information

Values

ipv4 or ipv6

evpn-mpls

Clears PIM snooping statistics for EVPN-MPLS destinations

Platforms

All

neighbor

Syntax

neighbor [ip-address [detail]]

neighbor [as-number [detail]]

neighbor ip-address [family [type mvpn-type] [evpn-type]] {received-routes | advertised-routes} [brief] [community comm-id]

neighbor ip-address [family] {history | suppressed}

neighbor as-number [family] {history | suppressed}

neighbor ip-address orf [{send | receive}]

neighbor ip-address graceful-restart

neighbor ip-address epe-statistics

neighbor [dynamic]

Context

[Tree] (show>router>bgp neighbor)

Full Context

show router bgp neighbor

Description

This command displays BGP neighbor information and can be entered with or without any parameters. Issuing the command without any parameters displays information for all BGP peers. When the command is issued with a specific IP address or ASN, information is displayed only for the specified peer or peers with the same AS.

When either received-routes or advertised-routes is specified, the routes exchanged with the specified peer are listed (see the second output example, below).

When either history or suppressed is specified, the routes learned from those peers that either have a history or are suppressed (respectively) are listed.

The ‟State” field displays the BGP peer’s protocol state. In addition to the standard protocol states, this field can also display the ‟Disabled” operational state, which indicates the peer is operationally disabled and must be restarted by the operator.

Note:

The information generated by this command is not available by SNMP.

Parameters

as-number

Displays information for the specified AS number.

Values

1 to 4294967295

brief

Displays information in a brief format. This parameter is only supported with received-routes and advertised-routes.

community

Displays all routes with the specified BGP community.

comm-id

Specifies community IDs, up to 72 characters.

Values

[as-num:comm-val | ext-comm | well-known-comm]

where:

  • as-num — 0 to 65535

  • comm-val — 0 to 65535

  • ext-comm — the extended community, defined as one of the following:

    • {target | origin}:ip-address:comm-val

    • {target | origin}:asnum:ext-comm-val

    • {target | origin}:ext-asnum:comm-val

    • bandwidth:asnum:val-in-mbps

    • ext:4300:ovstate

    • ext:value1:value2

    • flowspec-set:ext-asnum:group-id

    where:

    • target — route target

    • origin — route origin

    • ip-address — a.b.c.d

    • ext-comm-val — 0 to 4294967295

    • ext-asnum — 0 to 4294967295

    • bandwidth — bandwidth

    • val-in-mbps — 0 to 16777215

    • ext — extended

    • ext:4300 — origin verification

    • ovstate — 0, 1, or 2 (0 for valid, 1 for not found, 2 for invalid)

    • value1 — 0000 to FFFF

    • value2 — 0 to FFFFFFFFFFFF

    • flowspec-set — flow-spec set

    • group-id — 0 to 16383

  • well-known-commnull | no-export | no-export-subconfed | no-advertise | llgr-stale | no-llgr | blackhole

detail

Displays detailed information.

dynamic

Displays information for dynamic BGP neighbors.

evpn-type

Displays information for the specified EVPN route type.

Values

auto-disc — Displays the auto discovery routes for this peer.

mac — Displays the MAC routes for this peer.

inclusive-mcast — Displays the inclusive multicast routes for this peer.

eth-seg — Displays the Ethernet segment routes for this peer.

ip-prefix — Displays the IPv4 routes for this peer.

ipv6-prefix — Displays the IPv6 routes for this peer.

smet — Displays the Selective Multicast Ethernet Tag routes for this peer.

mcast-join-synch — Displays the Multicast Join Synch routes for this peer.

mcast-leave-synch— Displays the Multicast Leave Synch routes for this peer.

family

Specifies the type of routing information to display.

Values

evpn — Displays the BGP EVPN routes for this peer.

flow-ipv4 — Displays the BGP IPv4 flow-spec routes for this peer.

flow-ipv6 — Displays the BGP IPv6 flow-spec routes for this peer.

ipv4 — Displays the BGP IPv4 routes for this peer.

ipv6 — Displays the BGP IPv6 routes for this peer.

l2-vpn — Displays the BGP L2 VPN routes for this peer.

label-ipv4 — Displays the BGP IPv4 labeled unicast routes for this peer.

label-ipv6 — Displays the BGP IPv6 labeled unicast routes for this peer.

mcast-ipv4 — Displays the BGP multicast IPv4 routes for this peer.

mcast-ipv6 — Displays the BGP multicast IPv6 routes for this peer.

mcast-vpn-ipv4 — Displays the BGP multicast VPN IPv4 routes for this peer.

mcast-vpn-ipv6 — Displays the BGP multicast VPN Ipv6 routes for this peer.

mdt-safi — Displays the BGP multicast VPN MDT-SAFI routes for this peer.

ms-pw — Displays the BGP Multi-segment PW routes for this peer.

mvpn-ipv4 — Displays the BGP NG-MVPN IPv4 routes for this peer.

mvpn-ipv6 — Displays the BGP NG-MVPN IPv6 routes for this peer.

route-target — Displays the BGP route-target constrain routes for this peer.

vpn-ipv4 — Displays the BGP VPN IPv4 routes for this peer.

vpn-ipv6 — Displays the BGP VPN IPv6 routes for this peer.

received-routes

Displays the number of routes received from this peer.

advertised-routes

Displays the number of routes advertised to this peer.

damping

Displays damping information for the specified AS number or neighbor IP address.

Values

history — Display statistics for dampened routes.

suppressed — Display the number of paths from this peer that have been suppressed by damping.

paths

Displays ORF path information for the specified neighbor IP address.

Values

send — Displays the number of paths sent to this peer.

receive — Displays the number of paths received from this peer.

graceful-restart

Displays neighbors configured for graceful restart.

ip-address

Displays information for the specified neighbor IP address.

Values

ipv4-address:

  • a.b.c.d (host bits must be 0)

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: up to 32 characters, mandatory for link local addresses

mvpn-type

Displays information for the specified MVPN route type.

Values

intra-ad — Displays the intra-ad routes for this peer.

inter-ad — Displays the inter-ad routes for this peer.

spmsi-ad — Displays the spmsi-ad routes for this peer.

leaf-ad —Displays the leaf-ad routes for this peer.

source-ad — Displays the source-ad routes for this peer.

shared-join — Displays the shared-join routes for this peer.

source-join — Displays the source-join routes for this peer.

orf

Displays outbound route filtering for the BGP instance. Outbound Route Filtering (ORF) is used to inform a neighbor of targets (using target-list) that it is willing to receive. This mechanism helps lessen the update exchanges between neighbors and saves CPU cycles to process routes that could have been received from the neighbor only to be dropped or ignored.

epe-statistics

Displays egress peer engineering (EPE) statistics for the specified IP address.

Platforms

All

Output

The following output examples show BGP router information, and BGP Neighbor Fields describes the output fields for a BGP neighbor.

BGP Neighbor Fields describes the standard and detailed command output fields for a BGP neighbor.

Table 5. BGP Neighbor Fields

Label

Description

Peer

The IP address of the configured BGP peer.

Group

The BGP peer group to which this peer is assigned.

Peer AS

The configured or inherited peer AS for the peer group.

Peer Address

The configured address for the BGP peer.

Peer Port

The TCP port number used on the far-end system.

Local AS

The configured or inherited local AS for the peer group.

Local Address

The configured or inherited local address for originating peering for the peer group.

Local Port

The TCP port number used on the local system.

Peer Type

External — Peer type configured as external BGP peers.

Internal — Peer type configured as internal BGP peers.

Bfd

Yes — BFD is enabled.

No — BFD is disabled.

Dynamic Peer

Yes — The session is dynamic (unconfigured).

No — The session is statically configured.

State

Idle — The BGP peer is not accepting connections. (Shutdown) is displayed in addition, if the peer is administratively disabled.

Active — BGP is listening for and accepting TCP connections from this peer.

Connect — BGP is attempting to establish a TCP connections from this peer.

Open Sent — BGP has sent an OPEN message to the peer and is waiting for an OPEN message from the peer.

Open Confirm — BGP has received a valid OPEN message from the peer and is awaiting a KEEPALIVE or NOTIFICATION.

Established — BGP has successfully established a peering and is exchanging routing information.

Last State

Idle — The BGP peer is not accepting connections.

Active — BGP is listening for and accepting TCP connections from this peer.

Connect — BGP is attempting to establish a TCP connections from this peer.

Open Sent — BGP has sent an OPEN message to the peer and is waiting for an OPEN message from the peer.

Open Confirm — BGP has received a valid OPEN message from the peer and is awaiting a KEEPALIVE or NOTIFICATION.

Last Event

start — BGP has initialized the BGP neighbor.

stop — BGP has disabled the BGP neighbor.

open — BGP transport connection opened.

close — BGP transport connection closed.

openFail — BGP transport connection failed to open.

error — BGP transport connection error.

connectRetry — Connect retry timer expired.

holdTime — Hold time timer expired.

keepAlive — Keepalive timer expired.

recvOpen — Receive an OPEN message.

revKeepalive — Receive a KEEPALIVE message.

recvUpdate — Receive an UPDATE message.

recvNotify — Receive a NOTIFICATION message.

None — No events have occurred.

Last Error

Displays the last BGP error and subcode to occur on the BGP neighbor.

Connect Retry

The configured or inherited connect retry timer value.

Local Pref.

The configured or inherited local preference value.

Min Route Advt.

The minimum amount of time that must pass between route updates for the same IP prefix.

Min AS Originate

The minimum amount of time that must pass between updates for a route originated by the local router.

Multihop

The maximum number of router hops a BGP connection can traverse.

Damping

Disabled — BGP neighbor is configured not to dampen route flaps.

Enabled — BGP neighbor is configured to dampen route flaps.

Loop Detect

Ignore — The BGP neighbor is configured to ignore routes with an AS loop.

Drop — The BGP neighbor is configured to drop the BGP peering if an AS loop is detected.

Off — AS loop detection is disabled for the neighbor.

MED Out

The configured or inherited MED value assigned to advertised routes without a MED attribute.

Authentication

None — No authentication is configured.

MD5 — MD5 authentication is configured.

Next Hop Self

Disabled — BGP is not configured to send only its own IP address as the BGP nexthop in route updates to the specified neighbor.

Enabled — BGP will send only its own IP address as the BGP nexthop in route updates to the neighbor.

AggregatorID Zero

Disabled — The BGP Neighbor is not configured to set the aggregator ID to 0.0.0.0 in all originated route aggregates.

Enabled — The BGP Neighbor is configured to set the aggregator ID to 0.0.0.0 in all originated route aggregates.

Remove Private

Disabled — BGP will not remove all private AS numbers from the AS path attribute, in updates sent to the specified neighbor.

Enabled — BGP will remove all private AS numbers from the AS path attribute, in updates sent to the specified neighbor.

Passive

Disabled — BGP will actively attempt to establish a BGP connection with the specified neighbor.

Enabled — BGP will not actively attempt to establish a BGP connection with the specified neighbor.

Prefix Limit

No Limit — No route limit assigned to the BGP peer group.

1 to 4294967295 — The maximum number of routes BGP can learn from a peer.

Hold Time

The configured hold time setting.

Keep Alive

The configured keepalive setting.

Active Hold Time

The negotiated hold time, if the BGP neighbor is in an established state.

Active Keep Alive

The negotiated keepalive time, if the BGP neighbor is in an established state.

Cluster Id

The configured route reflector cluster ID.

None — No cluster ID has been configured.

Client Reflect

Disabled — The BGP route reflector is configured not to reflect routes to this neighbor.

Enabled — The BGP route reflector is configured to reflect routes to this neighbor.

Preference

The configured route preference value for the peer group.

Num of Flaps

The number of route flaps in the neighbor connection.

Recd. Prefixes

The number of routes received from the BGP neighbor.

Active Prefixes

The number of routes received from the BGP neighbor and active in the forwarding table.

Recd. Paths

The number of unique sets of path attributes received from the BGP neighbor.

Suppressed Paths

The number of unique sets of path attributes received from the BGP neighbor and suppressed due to route damping.

Input Queue

The number of BGP messages to be processed.

Output Queue

The number of BGP messages to be transmitted.

i/p Messages

Total number of packets received from the BGP neighbor.

o/p Messages

Total number of packets sent to the BGP neighbor.

i/p Octets

Total number of octets received from the BGP neighbor.

o/p Octets

Total number of octets sent to the BGP neighbor.

Export Policy

The configured export policies for the peer group.

Import Policy

The configured import policies for the peer group.

Egress Engineering

Enabled — EPE is enabled for the BGP neighbor.

Disabled — EPE is disabled for the BGP neighbor.

Sample Output Show Router BGP Neighbor
# show router bgp neighbor
===============================================================================
BGP Neighbor
-------------------------------------------------------------------------------
Peer : 10.0.0.5          Group : headquarters1
-------------------------------------------------------------------------------
Peer AS            : 300Peer Port        : 0
Peer Address       : 10.0.0.5 
Local AS           : 200Local Port       : 0
Local Address      : 10.0.0.104 
Peer Type          : External             Dynamic Peer     : Yes
State              : Active               Last State       : Idle
Last Event         : stop
Last Error         : Cease
Local Family       : IPv4                 Remote Family    : Unused
Hold Time          : 90                   Keep Alive       : 30
Active Hold Time   : 0                    Active Keep Alive: 0
Cluster Id         : 0.0.0.100
Preference         : 170                  Num of Flaps     : 0
Recd. Prefixes     : 0                    Active Prefixes  : 0
Recd. Paths        : 0                    Suppressed Paths : 0
Input Queue        : 0                    Output Queue     : 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
TTL Security       : Enabled              Min TTL Value    : 255
Graceful Restart   : Disabled             Stale Routes Time: n/a
Egress Engineering : Enabled
Local Capability   : RouteRefresh MP-BGP
Remote Capability  :
Import Policy      : None Specified - Default Accept
Export Policy      : None Specified - Default Accept
-------------------------------------------------------------------------------
Peer : 10.0.0.91         Group : Santa Clara
-------------------------------------------------------------------------------
Peer AS          : 100Peer Port        : 0
Peer Address     : 10.0.0.91 
Local AS         : 200Local Port       : 0
Local Address    : 10.0.0.103 
Peer Type        : External
State            : Connect              Last State       : Active
Last Event       : openFail
Last Error       : Cease
Local Family     : IPv4                 Remote Family    : Unused
Hold Time        : 90                   Keep Alive       : 30
Active Hold Time : 0                    Active Keep Alive: 0
Cluster Id       : 0.0.0.100
Preference       : 170                  Num of Flaps     : 0
Recd. Prefixes   : 0                    Active Prefixes  : 0
Recd. Paths      : 0                    Suppressed Paths : 0
Input Queue      : 0                    Output Queue     : 0
i/p Messages     : 0                    o/p Messages     : 1
i/p Octets       : 0                    o/p Octets       : 0
i/p Updates      : 0                    o/p Updates      : 0
TTL Security     : Disabled             Min TTL Value    : n/a
Graceful Restart : Disabled             Stale Routes Time: n/a
Local Capability : RouteRefresh MP-BGP
Remote Capability:
Import Policy    : None Specified - Default Accept
Export Policy    : None Specified - Default Accept
...
-------------------------------------------------------------------------------

*A:SetupCLI>show>router>bgp# neighbor
===============================================================================
BGP Neighbor
===============================================================================
Peer  : 3.3.3.3
Group : bgp_group_1 34567890123456789012
-------------------------------------------------------------------------------
Peer AS              : 20               Peer Port            : 0
Peer Address         : 3.3.3.3
Local AS             : 100              Local Port           : 0
Local Address        : 0.0.0.0
Peer Type            : Internal
State                : Active           Last State           : Idle
Last Event           : stop
Last Error           : Cease
Local Family         : IPv4
Remote Family        : Unused
Hold Time            : 10               Keep Alive           : 30
Active Hold Time     : 0                Active Keep Alive    : 0
Cluster Id           : 2.2.3.4
Preference           : 101              Num of Flaps         : 0
Recd. Paths          : 0
IPv4 Recd. Prefixes  : 0                IPv4 Active Prefixes : 0
IPv4 Suppressed Pfxs : 0                VPN-IPv4 Suppr. Pfxs : 0
VPN-IPv4 Recd. Pfxs  : 0                VPN-IPv4 Active Pfxs : 0
Mc IPv4 Recd. Pfxs.  : 0                Mc IPv4 Active Pfxs. : 0
Mc IPv4 Suppr. Pfxs  : 0                IPv6 Suppressed Pfxs : 0
IPv6 Recd. Prefixes  : 0                IPv6 Active Prefixes : 0
Input Queue          : 0                Output Queue         : 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
TTL Security         : Disabled         Min TTL Value        : n/a
Graceful Restart     : Enabled          Stale Routes Time    : 360
Advertise Inactive   : Disabled         Peer Tracking        : Enabled
Advertise Label      : None             Bfd Enabled     : Yes 
Auth key chain       : n/a
Bfd Enabled          : Disabled Layer 2 VPN Cisco Interop : Disabled
Egress Engineering   : Enabled
Local Capability     : RouteRefresh MP-BGP
Remote Capability    :
Import Policy        : test i1
                     : test i2
                     : test i3
                     : test i4
                     : test i5 890123456789012345678901
Export Policy        : test e1
                     : test e2
                     : test e3
                     : test e4
                     : test e5 890123456789012345678901
-------------------------------------------------------------------------------
Neighbors : 1
===============================================================================

#

# show router 2 bgp neighbor 10.20.1.3
===============================================================================
BGP Neighbor
===============================================================================
Peer  : 10.20.1.3
Group : 1
-------------------------------------------------------------------------------
Peer AS              : 100              Peer Port            : 49725
Peer Address         : 10.20.1.3
Local AS             : 100              Local Port           : 179
Local Address        : 10.20.1.2
Peer Type            : Internal
State                : Established      Last State           : Established
Last Event           : recvKeepAlive
Last Error           : Cease
Local Family         : IPv4
Remote Family        : IPv4
Hold Time            : 3                Keep Alive           : 1
Active Hold Time     : 3                Active Keep Alive    : 1
Cluster Id           : None
Preference           : 170              Num of Flaps         : 0
Recd. Paths          : 1
IPv4 Recd. Prefixes  : 11               IPv4 Active Prefixes : 10
IPv4 Suppressed Pfxs : 0                VPN-IPv4 Suppr. Pfxs : 0
VPN-IPv4 Recd. Pfxs  : 0                VPN-IPv4 Active Pfxs : 0
Mc IPv4 Recd. Pfxs.  : 0                Mc IPv4 Active Pfxs. : 0
Mc IPv4 Suppr. Pfxs  : 0                IPv6 Suppressed Pfxs : 0
IPv6 Recd. Prefixes  : 0                IPv6 Active Prefixes : 0
Input Queue          : 0                Output Queue         : 0
i/p Messages         : 471              o/p Messages         : 473
i/p Octets           : 3241             o/p Octets           : 3241
i/p Updates          : 4                o/p Updates          : 4
TTL Security         : Disabled         Min TTL Value        : n/a
Advertise Inactive   : Disabled         Peer Tracking        : Disabled
Advertise Label      : None
Auth key chain       : eta_keychain1
Bfd Enabled          : Enabled Layer 2 VPN Cisco Interop : Disabled
Egress Engineering   : Enabled
Local Capability     : RouteRefresh MP-BGP
Remote Capability    : RouteRefresh MP-BGP
Import Policy        : None Specified - Default Accept
Export Policy        : static2bgp
-------------------------------------------------------------------------------
Neighbors : 1
===============================================================================
#


# show router bgp neighbor 10.0.0.11 orf
===============================================================================
BGP Neighbor 10.0.0.11 ORF
===============================================================================
Send List (Automatic)
-------------------------------------------------------------------------------
target:65535:10
target:65535:20
===============================================================================



A:A-22 show router bgp neighbor 10.0.0.1 orf
===============================================================================
BGP Neighbor 10.0.0.1 ORF
===============================================================================
Receive List
-------------------------------------------------------------------------------
target:65535:10
target:65535:20
===============================================================================

Sample Outputs Show Router BGP Neighbors IPv6 Policy Routes

The following output examples show SR IPv6 policy routes information for BGP neighbors in the BGP and BGP group contexts.

*A:Dut-B>config>router>bgp# show router bgp neighbor 10.20.1.3 advertised-routes sr-policy-ipv6 
===============================================================================
 BGP Router ID:10.20.1.2        AS:2           Local AS:2          
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
                 l - leaked, x - stale, > - best, b - backup, p - purge
 Origin codes  : i - IGP, e - EGP, ? - incomplete
===============================================================================
BGP SR-POLICY-v6 Routes
===============================================================================
Flag  RD/Color/End Point                                 LocalPref   MED
      Nexthop (Router)                                   Path-Id     IGP Cost
      As-Path                                                        Label
-------------------------------------------------------------------------------
i     2/20/3ffe::a14:102                                 100         None
      ::a14:102                                          None        N/A
      No As-Path                                                      
i     3/30/::                                            100         None
      ::a14:102                                          None        N/A
      No As-Path                                                      
-------------------------------------------------------------------------------
Routes : 2
===============================================================================
# 
# show router bgp neighbor 10.20.1.2 received-routes sr-policy-ipv6 
===============================================================================
 BGP Router ID:10.20.1.3        AS:2           Local AS:2          
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
                 l - leaked, x - stale, > - best, b - backup, p - purge
 Origin codes  : i - IGP, e - EGP, ? - incomplete
===============================================================================
BGP SR-POLICY-v6 Routes
===============================================================================
Flag  RD/Color/End Point                                 LocalPref   MED
      Nexthop (Router)                                   Path-Id     IGP Cost
      As-Path                                                        Label
-------------------------------------------------------------------------------
u*>i  2/20/3ffe::a14:102                                 100         None
      ::a14:102                                          None        N/A
      No As-Path                                                      
u*>i  3/30/::                                            100         None
      ::a14:102                                          None        N/A
      No As-Path                                                      
-------------------------------------------------------------------------------
Routes : 2
===============================================================================
Sample Output Show Router BGP Neighbor Detail Information
# show router bgp neighbor detail
===============================================================================
BGP Neighbor (detail)
-------------------------------------------------------------------------------
Peer : 10.0.0.15         Group : To_AS_40000
-------------------------------------------------------------------------------
Peer AS          : 65205                Peer Port        : 0 
Peer Address     : 10.0.0.15 
Local AS         : 65206                Local Port       : 0 
Local Address    : 10.0.0.16 
Peer Type        : External                                                     
State            : Active               Last State       : Connect             
Last Event       : openFail                                                     
Last Error       : Hold Timer Expire
Connect Retry    : 20                   Local Pref.      : 100                 
Min Route Advt.  : 30                   Min AS Orig.     : 15                  

Damping          : Disabled             Loop Detect      : Ignore              
MED Out          : No MED Out           Authentication   : None                
Next Hop Self    : Disabled             AggregatorID Zero: Disabled            
Remove Private   : Disabled             Passive          : Disabled            
Prefix Limit     : No Limit                                                     
Hold Time        : 90                   Keep Alive       : 30                  
Active Hold Time : 0                    Active Keep Alive: 0                   
Cluster Id       : None                 Client Reflect   : Enabled             
Preference       : 170                  Num of Flaps     : 0                   
Recd. Prefixes   : 0                    Active Prefixes  : 0                   
Recd. Paths      : 0                    Suppressed Paths : 0                   
Input Queue      : 0                    Output Queue     : 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                   
Export Policy    : direct2bgp 
===============================================================================
#

# show router bgp neighbor 2.2.2.2 detail 

===============================================================================
BGP Neighbor
===============================================================================
-------------------------------------------------------------------------------
Peer                 : 2.2.2.2
Description          : (Not Specified)
Group                : cisco
-------------------------------------------------------------------------------
Peer AS              : 65002            Peer Port            : 53257
Peer Address         : 2.2.2.2
Local AS             : 65002            Local Port           : 179  
Local Address        : 1.1.1.1
Peer Type            : Internal         
State                : Established      Last State           : Established
Last Event           : recvKeepAlive
Last Error           : Cease (Connection Collision Resolution)
Local Family         : IPv4
Remote Family        : IPv4
Connect Retry        : 120              Local Pref.          : 100
Min Route Advt.      : 30               
Multihop             : 0 (Default)      AS Override          : Disabled
Damping              : Disabled         Loop Detect          : Ignore
MED Out              : No MED Out       Authentication       : None
Next Hop Self        : Disabled         AggregatorID Zero    : Disabled
Remove Private       : Disabled         Passive              : Disabled
Peer Identifier      : 2.2.2.2          Fsm Est. Trans       : 1
Fsm Est. Time        : 01h17m16s        InUpd Elap. Time     : 01h19m03s
Hold Time            : 90               Keep Alive           : 30   
Min Hold Time        : 0                
Active Hold Time     : 90               Active Keep Alive    : 30   
Cluster Id           : None             Client Reflect       : Disabled
Preference           : 170              Num of Update Flaps  : 0    
Recd. Paths          : 1                
IPv4 Recd. Prefixes  : 1                IPv4 Active Prefixes : 1    
IPv4 Suppressed Pfxs : 0                VPN-IPv4 Suppr. Pfxs : 0    
VPN-IPv4 Recd. Pfxs  : 0                VPN-IPv4 Active Pfxs : 0    
Mc IPv4 Recd. Pfxs.  : 0                Mc IPv4 Active Pfxs. : 0    
Mc IPv4 Suppr. Pfxs  : 0                IPv6 Suppressed Pfxs : 0    
IPv6 Recd. Prefixes  : 0                IPv6 Active Prefixes : 0    
VPN-IPv6 Recd. Pfxs  : 0                VPN-IPv6 Active Pfxs : 0    
VPN-IPv6 Suppr. Pfxs : 0                
Mc IPv6 Recd. Pfxs.  : 0                Mc IPv6 Active Pfxs. : 0    
Mc IPv6 Suppr. Pfxs  : 0                L2-VPN Suppr. Pfxs   : 0    
L2-VPN Recd. Pfxs    : 0                L2-VPN Active Pfxs   : 0    
MVPN-IPv4 Suppr. Pfxs: 0                MVPN-IPv4 Recd. Pfxs : 0    
MVPN-IPv4 Active Pfxs: 0                MDT-SAFI Suppr. Pfxs : 0    
MDT-SAFI Recd. Pfxs  : 0                MDT-SAFI Active Pfxs : 0    
Flow-IPv4 Suppr. Pfxs: 0                Flow-IPv4 Recd. Pfxs : 0    
Flow-IPv4 Active Pfxs: 0                Rte-Tgt Suppr. Pfxs  : 0    
Rte-Tgt Recd. Pfxs   : 0                Rte-Tgt Active Pfxs  : 0    
Backup IPv4 Pfxs     : 0                Backup IPv6 Pfxs     : 0    
Mc Vpn Ipv4 Recd. Pf*: 0                Mc Vpn Ipv4 Active P*: 0    
Mc Vpn Ipv4 Suppr. P*: 0                
Backup Vpn IPv4 Pfxs : 0                Backup Vpn IPv6 Pfxs : 0    
Input Queue          : 0                Output Queue         : 0    
i/p Messages         : 158              o/p Messages         : 157  
i/p Octets           : 3090             o/p Octets           : 3009
i/p Updates          : 1                o/p Updates          : 0    
MVPN-IPv6 Suppr. Pfxs: 0                MVPN-IPv6 Recd. Pfxs : 0    
MVPN-IPv6 Active Pfxs: 0                
Flow-IPv6 Suppr. Pfxs: 0                Flow-IPv6 Recd. Pfxs : 0    
Flow-IPv6 Active Pfxs: 0                
Evpn Suppr. Pfxs     : 0                Evpn Recd. Pfxs      : 0    
Evpn Active Pfxs     : 0                
MS-PW Suppr. Pfxs    : 0                MS-PW Recd. Pfxs     : 0    
MS-PW Active Pfxs    : 0                
TTL Security         : Disabled         Min TTL Value        : n/a
Graceful Restart     : Disabled         Stale Routes Time    : n/a
Restart Time         : n/a              
Advertise Inactive   : Disabled         Peer Tracking        : Disabled
Advertise Label      : None 
Auth key chain       : n/a
Disable Cap Nego     : Disabled         Bfd Enabled          : Disabled
Flowspec Validate    : Disabled         Default Route Tgt    : Disabled
Aigp Metric          : Disabled         Split Horizon        : Disabled
Damp Peer Oscillatio*: Disabled         Update Errors        : 0    
GR Notification      : Disabled         Fault Tolerance      : Disabled
Rem Idle Hold Time   : 00h00m00s        
Next-Hop Unchanged   : None             
L2 VPN Cisco Interop : Disabled         
Egress Engineering   : Enabled
Local Capability     : RtRefresh MPBGP 4byte ASN 
Remote Capability    : RtRefresh MPBGP 4byte ASN 
Local AddPath Capabi*: Disabled
Remote AddPath Capab*: Send - None
                     : Receive - None
Import Policy        : link-bw                                                 
Export Policy        : None Specified - Default Accept
Origin Validation    : N/A
EBGP Link Bandwidth  : n/a
IPv4 Rej. Pfxs       : 0                IPv6 Rej. Pfxs       : 0    
VPN-IPv4 Rej. Pfxs   : 0                VPN-IPv6 Rej. Pfxs   : 0    
Mc IPv4 Rej. Pfxs    : 0                Mc IPv6 Rej. Pfxs    : 0    
MVPN-IPv4 Rej. Pfxs  : 0                MVPN-IPv6 Rej. Pfxs  : 0    
Flow-IPv4 Rej. Pfxs  : 0                Flow-IPv6 Rej. Pfxs  : 0    
L2-VPN Rej. Pfxs     : 0                MDT-SAFI Rej. Pfxs   : 0    
Rte-Tgt Rej. Pfxs    : 0                MS-PW Rej. Pfxs      : 0    
Mc Vpn Ipv4 Rej. Pfxs: 0                Evpn Rej. Pfxs       : 0    

===============================================================================
Prefix Limits Per Address Family
===============================================================================
Family         Limit          Idle Timeout   Threshold Log Only  Post Import
-------------------------------------------------------------------------------
ipv4           1000           forever        90        Disabled  Enabled
vpnIpv4        1000           forever        90        Disabled  Enabled
===============================================================================
-------------------------------------------------------------------------------
Neighbors : 1
===============================================================================
* indicates that the corresponding row element may have been truncated.

Standard and Detailed BGP Neighbor Output Fields describes the command output for both the standard and detailed information for a neighbor.

Table 6. Standard and Detailed BGP Neighbor Output Fields

Label

Description

BGP Router ID

The local BGP router ID.

AS

The configured autonomous system number.

Local AS

The configured local AS setting. If not configured, then it is the same value as the AS.

Flag

u — used

s — suppressed

h — history

d — decayed

* — valid

i — igp

e — egp

? — incomplete

> — best

Network

Route IP prefix and mask length for the route.

Next Hop

BGP nexthop for the route.

LocalPref

BGP local preference path attribute for the route.

MED

BGP Multi-Exit Discriminator (MED) path attribute for the route.

AS Path

The BGP AS path for the route.

Egress Engineering

Enabled — EPE is enabled for the BGP neighbor.

Disabled — EPE is disabled for the BGP neighbor.

Sample Output Show Router BGP Advertised and Received Routes Output
# show router bgp neighbor 1.101.201.201 received-routes 
===============================================================================
 BGP Router ID:10.20.1.101      AS:100         Local AS:100        
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
                 l - leaked, x - stale, > - best, b - backup, p - purge
 Origin codes  : i - IGP, e - EGP, ? - incomplete
===============================================================================
BGP Routes
===============================================================================
Flag  Network                                            LocalPref   MED
      Nexthop (Router)                                   Path-Id     Label
      As-Path                                                        
-------------------------------------------------------------------------------
u*>i  10.20.1.201/32                                     n/a         None
      1.101.201.201                                      238         -
      200                                                             
*i    10.20.1.202/32                                     n/a         2000
      1.101.201.201                                      3752        -
      200                                                             
u*>i  10.20.1.231/32                                     n/a         1000
      1.101.201.201                                      3751        -
      200                                                             
-------------------------------------------------------------------------------
Routes : 3
===============================================================================
A:Dut-F#

# show router bgp neighbor 1.101.201.201 advertised-routes
===============================================================================
 BGP Router ID:10.20.1.101      AS:100         Local AS:100        
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
                 l - leaked, x - stale, > - best, b - backup, p - purge
 Origin codes  : i - IGP, e - EGP, ? - incomplete
===============================================================================
BGP Routes
===============================================================================
Flag  Network                                            LocalPref   MED
      Nexthop (Router)                                   Path-Id     Label
      As-Path                                                        
-------------------------------------------------------------------------------
i     10.20.1.101/32                                     n/a         None
      1.101.201.101                                      88          -
      100                                                             
i     10.20.1.102/32                                     n/a         2000
      1.101.201.101                                      1118        -
      100                                                             
i     10.20.1.131/32                                     n/a         2000
      1.101.201.101                                      790         -
      100                                                             
-------------------------------------------------------------------------------
Routes : 3
===============================================================================
#

Sample Output Show Router BGP Neighbor Graceful Restart

# show router bgp neighbor 10.193.0.10 graceful-restart
============================================================================
BGP Neighbor 10.193.0.10 Graceful Restart
============================================================================
Graceful Restart locally configured for peer: Enabled
Peer's Graceful Restart feature             : Enabled
NLRI(s) that peer supports restart for      : IPv4-Unicast IPv4-MPLS IPv4-VPN
NLRI(s) that peer saved forwarding for      : IPv4-Unicast IPv4-MPLS IPv4-VPN
NLRI(s) that restart is negotiated for      : None
NLRI(s) of received end-of-rib markers      : IPv4-Unicast
NLRI(s) of all end-of-rib markers sent      : IPv4-Unicast
Restart time locally configured for peer    : 120 seconds
Restart time requested by the peer          : 390 seconds
Time stale routes from peer are kept for    : 360 seconds
Graceful restart status on the peer         : Not currently being helped
Number of Restarts                          : 328
Last Restart at                             : 08/20/2006 12:22:06
============================================================================
A:core_east#
Sample Output for EPE Statistics
Sample Output (epe-statistics)
A:Dut-C# show router bgp neighbor 10.20.1.1 epe-statistics
===============================================================================
Label Type Pkt Count Byte Count
-------------------------------------------------------------------------------
524277 node-sid 0 0
524278 adj-sid 0 0
524276 adj-sid 0 0
===============================================================================
A:Dut-C#

neighbor

Syntax

neighbor [ip-address | ip-int-name] [detail] [advertised-routes]

Context

[Tree] (show>router>rip neighbor)

Full Context

show router rip neighbor

Description

Displays RIP neighbor interface information.

Parameters

ip-address | ip-int-name

Displays information for the specified IP interface.

Values

i[-address: a.b.c.d

ip-int-name: 32 chars max

Default

all neighbor interfaces

advertised-routes

Displays the routes advertised to RIP neighbors. If no neighbors are specified, then all routes advertised to all neighbors are displayed. If a specific neighbor is given then only routes advertised to the given neighbor/interface are displayed.

Default

displays RIP information

Platforms

All

Output

The following output is an example of standard RIP group information, and Standard Show RIP Neighbor Field Descriptions describes the output fields.

Sample Output
*A:ALA-12#  show router 3 rip neighbor
==============================================================================
RIP Neighbors
==============================================================================
Interface                         Adm  Opr  Primary IP      Send  Recv  Metric  
                                                            Mode  Mode  In      
------------------------------------------------------------------------------
router-21/1                        Up   Up   10.0.3.12       None  Both  1      
router-21/2                        Up   Up   10.0.5.12       BCast Both  1      
router-21/3                        Up   Up   10.0.6.12       BCast Both  1      
router-21/4                        Up   Up   10.0.10.12      BCast Both  1      
router-21/5                        Up   Up   10.0.9.12       BCast Both  1      
router-21/6                        Up   Up   10.0.17.12      None  Both  1      
router-21/7                        Up   Up   10.0.16.12      None  Both  1
==============================================================================
*A:ALA-12#
Table 7. Standard Show RIP Neighbor Field Descriptions

Label

Description

Neighbor

The RIP neighbor interface name.

Adm

Down — The RIP neighbor interface is administratively down.

Up — The RIP neighbor interface is administratively up.

Opr

Down — The RIP neighbor interface is operationally down.

Up — The RIP neighbor interface is operationally up.

Primary IP

The primary IP address of the RIP neighbor interface.

Send Mode

Bcast — Specifies that RIPv2 formatted messages are sent to the broadcast address

Mcast — Specifies that RIPv2 formatted messages are sent to the multicast address

None — Specifies that no RIP messages are sent (i.e., silent listener).

RIPv1 — Specifies that RIPv1 formatted messages are sent to the broadcast address.

Recv Mode

Both — Specifies that RIP updates in either version 1 or version 2 format will be accepted.

None — Specifies that RIP updates will not be accepted.

RIPv1 — Specifies that RIP updates in version 1 format only will be accepted.

RIPv2 — Specifies that RIP updates in version 2 format only will be accepted.

Metric In

The metric added to routes received from a RIP neighbor.

Detailed Show RIP Neighbor Output

The following output is an example of detailed RIP group information, and Detailed Show RIP Neighbor Field Descriptions describes the output fields.

Sample Output
*A:ALA-12#  show router 3 rip peers
==============================================================================
RIP Peers
==============================================================================
Peer IP Addr      Interface Name                     Version     Last Update    
------------------------------------------------------------------------------
10.0.5.13         router-2/2                         RIPv2       0             
10.0.6.16         router-2/3                         RIPv2       2             
10.0.9.14         router-2/5                         RIPv2       8             
10.0.10.15        router-2/4                         RIPv2       0             
------------------------------------------------------------------------------
No. of Peers: 4
==============================================================================
*A:ALA-12#


*A:ALA-12# show router 3 rip neighbor detail
==============================================================================
RIP Neighbors (Detail)
==============================================================================
Neighbor "router-2/7"
------------------------------------------------------------------------------
Description    : No Description Available
Primary IP     : 10.0.16.12         Group        : seven                       
Admin State    : Up                 Oper State   : Up                          
Send Mode      : None               Receive Mode : Both                        
Metric In      : 1                  Metric Out   : 1                           
Split Horizon  : Enabled            Check Zero   : Disabled                    
Message Size   : 25                 Preference   : 100                         
Auth. Type     : None               Update Timer : 3                           
Timeout Timer  : 6                  Flush Timer  : 6                           
Export Policies:                                                                
    Rip2Rip
    direct2Rip
    bgp2Rip
Import Policies:                                                                
    None
==============================================================================
*A:ALA-12#
Table 8. Detailed Show RIP Neighbor Field Descriptions

Label

Description

Neighbor

The RIP neighbor name.

Description

The RIP neighbor description. No Description Available indicates no description is configured.

Primary IP

The RIP neighbor interface primary IP address.

Group

The RIP group name of the neighbor interface.

Admin State

Down — The RIP neighbor interface is administratively down.

Up — The RIP neighbor interface is administratively up.

Oper State

Down — The RIP neighbor interface is operationally down.

Up — The RIP neighbor interface is operationally up.

Send Mode

Bcast — Specifies that RIPv2 formatted messages are sent to the broadcast address.

Mcast — Specifies that RIPv2 formatted messages are sent to the multicast address.

None — Specifies that no RIP messages are sent (i.e., silent listener).

RIPv1 — Specifies that RIPv1 formatted messages are sent to the broadcast address.

Recv Mode

Both — Specifies that RIP updates in either version 1 or version 2 format will be accepted.

None — Specifies that RIP updates will not be accepted.

RIPv1 — Specifies that RIP updates in version 1 format only will be accepted.

RIPv2 — Specifies that RIP updates in version 2 format only will be accepted.

Metric In

The metric value added to routes received from a RIP neighbor.

Metric Out

The value added to routes exported into RIP and advertised to RIP neighbors.

Split Horizon

Disabled — Split horizon disabled for the neighbor.

Enabled — Split horizon and poison reverse enabled for the neighbor.

Check Zero

Disabled — Checking of the mandatory zero fields in the RIPv1 and RIPv2 specifications are not checked allowing receipt of RIP messages even if mandatory zero fields are non-zero for the neighbor.

Enabled — Checking of the mandatory zero fields in the RIPv1 and RIPv2 specifications and rejecting noncompliant RIP messages is enabled for the neighbor.

Message Size

The maximum number of routes per RIP update message.

Preference

The preference of RIP routes from the neighbor.

Auth. Type

Specifies the authentication type.

Update Timer

The current setting of the RIP update timer value expressed in seconds.

Timeout Timer

The current RIP timeout timer value expressed in seconds.

Export Policies

The export route policy that is used to determine routes advertised to all peers.

Import Policies

The import route policy that is used to determine which routes are accepted from RIP neighbors.

Sample Output
*A:ALA-12# show router 3 rip neighbors interface advertised-routes 
==============================================================================
RIP Advertised Routes                                                          
==============================================================================
Destination        Interface        NextHop           Metric  Tag       TTL  
------------------------------------------------------------------------------
10.0.0.2/32        10.1.8.12        0.0.0.0           10      0x2002    n/a  
10.0.0.5/32        10.1.8.12        0.0.0.0           10      0x2002    n/a  
10.0.0.8/32        10.1.8.12        0.0.0.0           10      0x2002    n/a  
10.0.0.9/32        10.1.8.12        0.0.0.0           10      0x2002    n/a  
10.0.0.10/32       10.1.8.12        0.0.0.0           10      0x2002    n/a  
10.0.0.12/32       10.1.8.12        0.0.0.0           1       0x0000    n/a  
10.0.0.13/32       10.1.8.12        0.0.0.0           10      0x2002    n/a  
10.0.0.14/32       10.1.8.12        0.0.0.0           16      0x0000    n/a  
10.0.0.15/32       10.1.8.12        0.0.0.0           2       0x0000    n/a  
10.0.0.16/32       10.1.8.12        0.0.0.0           3       0x0000    n/a  
------------------------------------------------------------------------------
No. of Advertised Routes: 10
==============================================================================
*A:ALA-12#

neighbor

Syntax

neighbor {ip-address | as as-number | external | all} [soft | soft-inbound | hard]

neighbor {ip-address | as as-number | external | all} soft-route-refresh [family]

neighbor {ip-address | as as-number | external | all} statistics

neighbor ip-address end-of-rib

Context

[Tree] (clear>router>bgp neighbor)

Full Context

clear router bgp neighbor

Description

This command resets the specified BGP peer or set of peers. By default, or when the hard option is specified, the TCP connection is brought down and the state of the BGP session returns to IDLE.

If the soft-route-refresh option is specified without an accompanying family parameter, then the session remains established and one ROUTE_REFRESH message is transmitted to the peer for each address family active on the session. If the soft-route-refresh option is specified with an accompanying family parameter, the session remains established and a single ROUTE_REFRESH message is transmitted to the peer requesting that it resend only its routes belonging to that one address family.

SR OS routers respond to route refresh requests for any supported AFI/SAFI.

Parameters

ip-address

Resets the BGP neighbor with the specified IP address.

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

  • interface: up to 32 characters, mandatory for link local addresses

as as-number

Resets all BGP neighbors with the specified peer AS.

Values

1 to 65535

external

Resets all EBGP neighbors.

all

Resets all BGP neighbors.

soft

Specifies that BGP neighbors re-evaluate all routes in the Local-RIB against the configured export policies.

soft-inbound

Specifies that BGP neighbors re-evaluate all routes in the RIB-In against the configures import policies.

hard

Initiates a hard reconfiguration.

statistics

Clears BGP neighbor statistics.

end-of-rib

Clears the routing information base (RIB). This command applies when the router is helping the BGP neighbor through a BGP graceful restart. When the clear router bgp neighbor command is issued without the end-of-rib option and the neighbor is in the process of restarting, stale routes from the neighbor will be retained until the stale-routes-time is reached or else the neighbor exits graceful restart. When the command is issued with the end-of-rib option, stale routes from the neighbor are deleted immediately and graceful restart procedures are aborted.

soft-route-refresh

Clears the session by sending one or more ROUTE_REFRESH messages to the peer, but the session stays up.

family

Specifies the one address family that should be encoded in the ROUTE_REFRESH request sent to the peer.

Values

ipv4, vpn-ipv4, ipv6, mcast-ipv4, vpn-ipv6, l2-vpn, mvpn-ipv4, mdt-safi, flow-ipv4, ms-pw, route-target, mcast-vpn-ipv4, mvpn-ipv6, flow-ipv6, evpn, mcast-ipv6, label-ipv4, label-ipv6, mcast-vpn-ipv6, bgp-ls, sr-policy-ipv4, sr-policy-ipv6, flow-vpn-ipv4, flow-vpn-ipv6

Platforms

All

neighbor

Syntax

neighbor [ip-address] [detail]

Context

[Tree] (show>router>rsvp neighbor)

Full Context

show router rsvp neighbor

Description

This command shows neighbor information.

Parameters

ip-address

Displays RSVP information about the specified IP address.

detail

Displays detailed information.

Platforms

All

Output

The following output is an example of RSVP neighbor information.

Sample Output
*A:Dut-A>config>router>mpls>lsp$ /show router rsvp neighbor 
==============================================================================
RSVP Neighbors
==============================================================================
Legend :  
    LR - Local Refresh Reduction          RR - Remote Refresh Reduction
    LD - Local Reliable Delivery          RM - Remote Node supports Message ID
    LG - Local Graceful Restart           RG - Remote Graceful Restart
==============================================================================
Neighbor        Interface                        Hello  Last Oper     Flags
                                                        Change
==============================================================================
10.20.1.2       ip-10.10.1.1                     N/A  0d 00:00:44   
10.20.1.3       ip-10.10.2.1                     N/A  0d 00:00:44   
------------------------------------------------------------------------------
Neighbors : 2
------------------------------------------------------------------------------
*A:Dut-A>config>router>mpls>lsp$


*A:SR1# show router rsvp neighbor detail
===============================================================================
RSVP Neighbors (Detailed)
===============================================================================
Legend :
    LR - Local Refresh Reduction          RR - Remote Refresh Reduction
    LD - Local Reliable Delivery          RM - Remote Node supports Message ID
    LG - Local Graceful Restart           RG - Remote Graceful Restart
===============================================================================
-------------------------------------------------------------------------------
Neighbor : 30.30.30.2
-------------------------------------------------------------------------------
Interface          : int_SR1_SR3        Hello State        : Up
Last Oper Change   : 0d 00:01:02        Flags              :
Source Instance    : 0x6c8b7            Dst. Instance      : 0x530f8e0
Hello Refresh Time : 2 secs             Hello Timeout Time : 8 secs
Hello Timeout Cnt  : 0                  Inst. Mismatch Cnt : 0
Srefresh Time Rem. : 0 secs             Epoch Num Rx       : 0
Max Msg Id Rx      : 0                  Out of order Msgs  : 0
Retransmitted Msgs : 0                  GR Helper          : Disabled
GR Proc Invoked Cnt: 0                  GR Helper State    : None
GR Helper Time Rem : N/A                GR Nbr Restart Cap : N/A
GR Nbr Restart Time: N/A                GR Nbr Recvry Time : N/A
==============================================================================

*B:edge13# show router rsvp neighbor 
========================================================================
RSVP Neighbors
========================================================================
Legend :  
    LR - Local Refresh Reduction          RR - Remote Refresh Reduction
    LD - Local Reliable Delivery          RM - Remote Node supports Message ID
    LG - Local Graceful Restart           RG - Remote Graceful Restart
========================================================================
Neighbor        Interface               Hello  Last Oper     Flags Change
========================================================================
10.11.101.2     e13c2_1                 Up   1d 00:52:56   LR RR LD RM
                                                                        
LG RG
10.11.102.2     e13c2_2                 Up   1d 00:52:56   LR RR LD RM  
10.11.103.3     e13s1_1                 Up   1d 00:52:54   LR RR LD RM
                                                                        
LG 
10.11.104.3     e13s1_2                 Up   1d 00:52:56   
10.11.105.4     e13s2_1                 Up   1d 00:52:56   
10.11.106.4     e13s2_2                 Up   1d 00:52:56   
------------------------------------------------------------------------
Neighbors : 6

neighbor

Syntax

neighbor [ip-address] [detail]

Context

[Tree] (tools>dump>router>rsvp neighbor)

Full Context

tools dump router rsvp neighbor

Description

This command dumps RSVP neighbor information.

Parameters

ip-address

Specifies the IP address.

Values

a.b.c.d

detail

Specifies detailed information.

Platforms

All

Output

The following output is an example of MPLS RSVP neighbor details.

Sample Output
*A:Dut-C# tools dump router rsvp neighbor 
NEIGHBOR: 
 nbrAddr 10.10.2.1 ifIndex 2
NEIGHBOR: 
 nbrAddr 10.10.11.4 ifIndex 5
Total Neighbor Count: 2
*A:Dut-C# tools dump router rsvp neighbor detail 
--------------------------------------------------------------------------------
NEIGHBOR: 
 nbrAddr 10.10.2.1 ifIndex 2
 Current State RSVP_NBRS_CREATED
 Hello Adjancency: UP   DownStream Sessions: 1   UpStream Sessions: 0   Flags: []
 SrcInstance: 0xddfe1  DstInstance: 0xde226  LastOperChange: 000 00:00:09.940
 NbrDownCount: 0  InstanceMismatchCount: 0  HelloTimeoutCount: 0  BFDDownCount: 0
 ProtectGroupId: 1026
 Refresh Reduction FSM State: NBR_RRS_DISABLED
 Refresh Reduction: Disabled
 Ack Desired: Disabled
 Remote Neighbor Message Id: Disabled
 Remote Neighbor Srefresh: Disabled
 RR Sequence Number: 0
 NeighborRREpoch: 0  Max Message Id received: 0
 Num Tx MsgIds present in the tree: 0
 Num Rx MsgIds present in the tree: 0
 Num Ack/Nacks Queued: 0
 Num Out of order Msgs: 0
 Num Retransmitted Msgs: 0
 Num Gshut PathErrs sent: 0 Psbs Skipped: 0 
 Timer Off  Gshut Started at 0(0 secs back)
 Graceful Helper Disabled 
 Nbr Restart Cap Absent
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
NEIGHBOR: 
 nbrAddr 10.10.11.4 ifIndex 5
 Current State RSVP_NBRS_CREATED
 Hello Adjancency: UP   DownStream Sessions: 1   UpStream Sessions: 0   Flags: []
 SrcInstance: 0xdcd58  DstInstance: 0xdcea3  LastOperChange: 000 00:00:57.310
 NbrDownCount: 0  InstanceMismatchCount: 0  HelloTimeoutCount: 0  BFDDownCount: 0
 ProtectGroupId: 1025
 Refresh Reduction FSM State: NBR_RRS_DISABLED
 Refresh Reduction: Disabled
 Ack Desired: Disabled
 Remote Neighbor Message Id: Disabled
 Remote Neighbor Srefresh: Disabled
 RR Sequence Number: 0
 NeighborRREpoch: 0  Max Message Id received: 0
 Num Tx MsgIds present in the tree: 0 
 Num Rx MsgIds present in the tree: 0
 Num Ack/Nacks Queued: 0
 Num Out of order Msgs: 0
 Num Retransmitted Msgs: 0
 Num Gshut PathErrs sent: 0 Psbs Skipped: 0 
 Timer Off  Gshut Started at 0(0 secs back)
 Graceful Helper Disabled 
 Nbr Restart Cap Absent
--------------------------------------------------------------------------------
Total Neighbor Count: 2
*A:Dut-C# 

neighbor

Syntax

neighbor [ip-address | ip-int-name [address neighbor-ip-address]] [detail] [family]

Context

[Tree] (show>router>pim neighbor)

Full Context

show router pim neighbor

Description

This command displays PIM neighbor information. This can be important if an interface has more than one adjacency. For example, a LAN-interface configuration with three routers connected and all are running PIM on their LAN interfaces. These routers then have two adjacencies on their LAN interface, each with different neighbors. If the address ip-address parameter is not defined in this example, then the show command output would display two adjacencies.

Parameters

ip-int-name

Displays interface information associated with the specified IP interface name.

ip-address

Displays interface information associated with the specified IP address.

neighbor-ip-address

Displays information about the IP address of the neighbor, on the other side of the interface.

detail

Displays detailed neighbor information.

family

Displays family information for the specified neighbor.

Values

ipv4, ipv6

Platforms

All

Output

The following output is an example of a PIM neighbor configuration. PIM Neighbor Fields provides PIM neighbor field descriptions.

Sample Output
ALA-1# show router pim neighbor
===============================================================================
PIM Neighbors
===============================================================================
Interface          Nbr DR     Nbr Address     Up Time       Expiry Time   Hold
                   Priority                                               Time
-------------------------------------------------------------------------------
ip-10.1.7.1        5          10.1.7.7        0d 00:10:39   0d 00:01:36   105
ip-10.1.2.1        5          10.1.2.2        0d 00:10:39   0d 00:01:35   105
ip-10.111.1.1      3          10.111.1.2      0d 00:09:31   0d 00:01:15   105
-------------------------------------------------------------------------------
Neighbors : 3
===============================================================================
ALA-1# 

*A:Dut-C# show router 100 pim neighbor ipv6
===============================================================================
PIM Neighbor ipv6
===============================================================================
Interface               Nbr DR Prty     Up Time       Expiry Time     Hold Time
   Nbr Address
-------------------------------------------------------------------------------
vprn_itf_C_1100         1               0d 00:02:54   0d 00:01:43     105
   ff00:db8:4403:1ff:fe01:2
mpls-if-74456(W)        1               0d 00:02:10   never           65535
   ff00:db8:a14:104
mpls-if-74457(W)        1               0d 00:02:10   never           65535
   ff00:db8:a14:105
mpls-virt-if-1030145    1               0d 00:02:44   never           65535
   ff00:db8:a14:102
-------------------------------------------------------------------------------
Neighbors : 4
===============================================================================

ALA-1# show  router pim neighbor detail
===============================================================================
PIM Neighbor
===============================================================================
Interface          : ip-10.1.7.1
Neighbor Addr      : 10.1.7.7           DR Priority        : 5
Tracking Support   : No                 LAN Delay(ms)      : 500
Gen Id             : 26470              Override Intvl(ms) : 2500
Up Time            : 0d 00:10:41        Expiry Time        : 0d 00:01:34
Hold Time(sec)     : 105
===============================================================================
PIM Neighbor
===============================================================================
Interface          : ip-10.1.2.1
Neighbor Addr      : 10.1.2.2           DR Priority        : 5
Tracking Support   : No                 LAN Delay(ms)      : 500
Gen Id             : 37928              Override Intvl(ms) : 2500
Up Time            : 0d 00:10:42        Expiry Time        : 0d 00:01:33
Hold Time(sec)     : 105
===============================================================================
PIM Neighbor
===============================================================================
Interface          : ip-10.111.1.1
Neighbor Addr      : 10.111.1.2        DR Priority        : 3
Tracking Support   : No                 LAN Delay(ms)      : 500
Gen Id             : 742098371          Override Intvl(ms) : 2500
Up Time            : 0d 00:09:33        Expiry Time        : 0d 00:01:43
Hold Time(sec)     : 105
-------------------------------------------------------------------------------
Neighbors : 3
===============================================================================
ALA-1#
Table 9. PIM Neighbor Fields

Label

Description

Interface

The neighbor’s interface name. (W) indicates wildcard tunnels.

Nbr DR Priority

The value of the neighbor's DR priority which is received in the hello message.

Nbr Address

The neighbor’s address.

Up Time

The time since this PIM neighbor (last) became a neighbor of the local router

Expiry Time

The minimum time remaining before this PIM neighbor is aged out

0 — Means that this neighbor never ages out. This happens when the PIM neighbor sends a Hello message with holdtime set to `0xffff'.

Hold Time

The value of the hold time present in the hello message

DR Priority

The value of the neighbor's DR priority which is received in the hello message

Tracking Support

Indicates if the T bit in the LAN prune delay option was present in the hello message. This indicates the neighbor's capability to disable join message suppression.

LAN Delay

The value of the LAN delay field present in the hello message received from the neighbor

Gen Id

A randomly generated 32-bit value that is regenerated each time PIM forwarding is started or restarted on the interface, including when the router itself restarts. When a hello message with a new GenID is received from a neighbor, any old hello information about that neighbor is discarded and superseded by the information from the new hello message.

Override Intvl (ms)

The value of the override interval present in the Hello message

neighbor

Syntax

neighbor [ip-int-name | ip-address | mpls-if-name] [ family]

Context

[Tree] (clear>router>pim neighbor)

Full Context

clear router pim neighbor

Description

This command clears PIM neighbor data on a specified interface or IP address.

Parameters

ip-int-name

Clears PIM neighbor on the specified interface.

ip-address

Clears PIM neighbor on the specified IP address.

mpls-if-name

Clears information associated with the specified MPLS interface.

Values

mpls-if-index

family

Clears neighbor family information.

Values

ipv4, ipv6

Platforms

All

neighbor

Syntax

neighbor [{{ip-int-name | ip-address} | mac ieee-mac-address | summary}] [{dynamic | static | managed}]

Context

[Tree] (show>router neighbor)

Full Context

show router neighbor

Description

This command displays information about the IPv6 neighbor cache.

Parameters

ip-int-name

Specifies the IP interface name.

ip-address

Specifies the address of the IPv6 interface address.

ieee-mac-address

Specifies the MAC address.

summary

Displays summary neighbor information.

dynamic

Displays dynamic neighbor information.

static

Displays static neighbor information.

managed

Displays managed neighbor information.

Platforms

All

Output

Neighbor Output — The following output is an example of IPv6 neighbor information, and Neighbor Fields describes the fields.

Sample Output
B:CORE2# show router neighbor 
===============================================================================
Neighbor Table (Router: Base)
===============================================================================
IPv6 Address                                   Interface                       
   MAC Address                State         Expiry          Type         RTR   
-------------------------------------------------------------------------------
fe80::203:faff:fe78:5c88                           net1_1_2
   00:16:4d:50:17:a3          STALE         03h52m08s       Dynamic      Yes   
fe80::203:faff:fe81:6888                           net1_2_3
   00:03:fa:1a:79:22          STALE         03h29m28s       Dynamic      Yes   
-------------------------------------------------------------------------------
No. of Neighbor Entries: 2
===============================================================================
B:CORE2#
Table 10. Neighbor Fields

Label

Description

IPv6 Address

Displays the IPv6 address

Interface

Displays the name of the IPv6 interface name

MAC Address

Specifies the link-layer address

State

Displays the current administrative state

Exp

Displays the number of seconds until the entry expires

Type

Displays the type of IPv6 interface

Interface

Displays the interface name

Rtr

Specifies whether a neighbor is a router

Mtu

Displays the MTU size

neighbor

Syntax

neighbor {all | ipv6-address [ interface interface-name]}

neighbor interface {ip-int-name | ipv6-address}

Context

[Tree] (clear>router neighbor)

Full Context

clear router neighbor

Description

This command clears IPv6 neighbor information.

Parameters

all

Clears all IPv6 neighbors.

ipv6-address

Clears the specified IPv6 neighbors.

Values

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

interface-name

Specifies the interface name.

ip-int-name

Clears the specified neighbor interface information, up to 32 characters.

Platforms

All

neighbor

Syntax

neighbor [detail]

Context

[Tree] (show>ospf neighbor)

[Tree] (show>ospf3 neighbor)

Full Context

show ospf neighbor

show ospf3 neighbor

Description

This command shows all OSPFv2 or OSPFv3 neighbor information.

Parameters

detail

Displays the detailed OSPF and OSPF3 neighbor status for all routers and all instances.

Platforms

All

Output

The following output is an example of OSPF and OSPF3 neighbor information.

Sample Output
*A:Dut-C# show ospf neighbor
 
============================================================================== 
Rtr Base OSPFv2 Instance 0 Neighbors 
===============================================================================
Interface-Name                   Rtr Id          State      Pri  RetxQ   TTL 
   Area-Id
------------------------------------------------------------------------------- 
DUTC_TO_DUTB.1.0                 10.20.1.2       Full       1    0       9 
   0.0.0.0 
DUTC_TO_DUTE.1.0                 10.20.1.5       Full       1    0       9 
   0.0.0.0 
DUTC_TO_DUTB.2.0                 10.20.1.2       Full       1    0       9 
   0.0.0.0 
DUTC_TO_DUTE.2.0                 10.20.1.5       Full       1    0       9 
   0.0.0.0 
DUTC_TO_DUTA.13.0                10.20.1.1       Full       1    0       9 
   0.0.0.0 
DUTC_TO_DUTA.14.0                10.20.1.1       Full       1    0       9 
   0.0.0.0 
------------------------------------------------------------------------------- 
No. of Neighbors: 6 
=============================================================================== 
 
=============================================================================== 
Rtr vprn1 OSPFv2 Instance 0 Neighbors 
=============================================================================== 
Interface-Name                   Rtr Id          State      Pri  RetxQ   TTL 
   Area-Id 
------------------------------------------------------------------------------- 
DUTC_TO_DUTA.7.0                 10.20.4.1       Full       1    0       9 
   0.0.0.0 
DUTC_TO_DUTD.7.0                 10.20.4.4       Full       1    0       12 
   0.0.0.0 
DUTC_TO_DUTA.8.0                 10.20.4.1       Full       1    0       9 
   0.0.0.0 
DUTC_TO_DUTD.8.0                 10.20.4.4       Full       1    0       12 
   0.0.0.0 
------------------------------------------------------------------------------- 
No. of Neighbors: 4 
=============================================================================== 
*A:Dut-C# show ospf neighbor detail  
 
=============================================================================== 
Rtr Base OSPFv2 Instance 0 Neighbors (detail) 
=============================================================================== 
------------------------------------------------------------------------------- 
Neighbor Rtr Id : 10.20.1.2  Interface: DUTC_TO_DUTB.1.0 
------------------------------------------------------------------------------- 
Neighbor IP Addr : 1.0.23.2 
Local IF IP Addr : 1.0.23.3 
Area Id          : 0.0.0.0               
Designated Rtr   : 0.0.0.0              Backup Desig Rtr : 0.0.0.0 
Neighbor State   : Full                 Priority         : 1 
Retrans Q Length : 0                    Options          : - E - -  -  - O -- 
Events           : 4                    Last Event Time  : 09/20/2018 14:38:42 
Up Time          : 0d 00:02:34          Time Before Dead : 9 sec 
GR Helper        : Not Helping          GR Helper Age    : 0 sec 
GR Exit Reason   : None                 GR Restart Reason: Unknown (0) 
Bad Nbr States   : 1                    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 
Num Restarts     : 0                    Last Restart at  : Never 
<snip>
=============================================================================== 
*A:Dut-C#   
*A:Dut-C#  
*A:Dut-C# show ospf3 neighbor  
 
=============================================================================== 
Rtr Base OSPFv3 Instance 0 Neighbors 
=============================================================================== 
Interface-Name                   Rtr Id          State      Pri  RetxQ   TTL 
   Area-Id 
------------------------------------------------------------------------------- 
DUTC_TO_DUTB.3.0                 10.20.2.2       Full       1    0       8 
   0.0.0.0 
DUTC_TO_DUTE.3.0                 10.20.2.5       Full       1    0       8 
   0.0.0.0 
DUTC_TO_DUTB.4.0                 10.20.2.2       Full       1    0       8 
   0.0.0.0 
DUTC_TO_DUTE.4.0                 10.20.2.5       Full       1    0       8 
   0.0.0.0 
DUTC_TO_DUTA.15.0                10.20.2.1       Full       1    0       8 
   0.0.0.0 
DUTC_TO_DUTA.16.0                10.20.2.1       Full       1    0       9 
   0.0.0.0 
------------------------------------------------------------------------------- 
No. of Neighbors: 6 
=============================================================================== 
 
=============================================================================== 
Rtr Base OSPFv3 Instance 64 Neighbors 
=============================================================================== 
Interface-Name                   Rtr Id          State      Pri  RetxQ   TTL 
   Area-Id 
------------------------------------------------------------------------------- 
DUTC_TO_DUTB.5.0                 10.20.3.2       Full       1    0       9 
   0.0.0.0 
DUTC_TO_DUTE.5.0                 10.20.3.5       Full       1    0       9 
   0.0.0.0 
DUTC_TO_DUTB.6.0                 10.20.3.2       Full       1    0       9 
   0.0.0.0 
DUTC_TO_DUTE.6.0                 10.20.3.5       Full       1    0       9 
   0.0.0.0 
DUTC_TO_DUTA.17.0                10.20.3.1       Full       1    0       9 
   0.0.0.0 
DUTC_TO_DUTA.18.0                10.20.3.1       Full       1    0       9 
   0.0.0.0 
------------------------------------------------------------------------------- 
No. of Neighbors: 6 
=============================================================================== 
<snip>
=============================================================================== 

*A:Dut-C# show ospf3 neighbor detail  
 
=============================================================================== 
Rtr Base OSPFv3 Instance 0 Neighbors (detail) 
=============================================================================== 
------------------------------------------------------------------------------- 
Neighbor Rtr Id : 10.20.2.2  Interface: DUTC_TO_DUTB.3.0 
------------------------------------------------------------------------------- 
Neighbor IP Addr : fe80::200:ff:fe00:2-"DUTC_TO_DUTB.3.0" 
Local IF IP Addr : fe80::200:ff:fe00:3-"DUTC_TO_DUTB.3.0" 
Area Id          : 0.0.0.0               
Designated Rtr   : 0.0.0.0              Backup Desig Rtr : 0.0.0.0 
Neighbor State   : Full                 Priority         : 1 
Retrans Q Length : 0                    Options          : ----R--EV6 
Events           : 4                    Last Event Time  : 09/20/2018 14:38:43 
Up Time          : 0d 00:03:01          Time Before Dead : 8 sec 
GR Helper        : Not Helping          GR Helper Age    : 0 sec 
GR Exit Reason   : None                 GR Restart Reason: Unknown (0) 
Bad Nbr States   : 1                    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 
Num Restarts     : 0                    Last Restart at  : Never 
------------------------------------------------------------------------------- 
Neighbor Rtr Id : 10.20.2.5  Interface: DUTC_TO_DUTE.3.0 
------------------------------------------------------------------------------- 
Neighbor IP Addr : fe80::200:ff:fe00:5-"DUTC_TO_DUTE.3.0" 
Local IF IP Addr : fe80::200:ff:fe00:3-"DUTC_TO_DUTE.3.0" 
Area Id          : 0.0.0.0               
Designated Rtr   : 0.0.0.0              Backup Desig Rtr : 0.0.0.0 
Neighbor State   : Full                 Priority         : 1 
Retrans Q Length : 0                    Options          : ----R--EV6 
Events           : 6                    Last Event Time  : 09/20/2018 14:38:43 
Up Time          : 0d 00:03:02          Time Before Dead : 9 sec 
GR Helper        : Not Helping          GR Helper Age    : 0 sec 
GR Exit Reason   : None                 GR Restart Reason: Unknown (0) 
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 
Num Restarts     : 0                    Last Restart at  : Never 
------------------------------------------------------------------------------- 
Neighbor Rtr Id : 10.20.2.2  Interface: DUTC_TO_DUTB.4.0 
------------------------------------------------------------------------------- 
Neighbor IP Addr : fe80::200:ff:fe00:2-"DUTC_TO_DUTB.4.0" 
Local IF IP Addr : fe80::200:ff:fe00:3-"DUTC_TO_DUTB.4.0" 
Area Id          : 0.0.0.0               
Designated Rtr   : 0.0.0.0              Backup Desig Rtr : 0.0.0.0 
Neighbor State   : Full                 Priority         : 1 
Retrans Q Length : 0                    Options          : ----R--EV6 
Events           : 4                    Last Event Time  : 09/20/2018 14:38:43 
Up Time          : 0d 00:03:02          Time Before Dead : 9 sec 
GR Helper        : Not Helping          GR Helper Age    : 0 sec 
GR Exit Reason   : None                 GR Restart Reason: Unknown (0) 
Bad Nbr States   : 1                    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 
Num Restarts     : 0                    Last Restart at  : Never 
------------------------------------------------------------------------------- 
<snip>
=============================================================================== 
*A:Dut-C#   

neighbor

Syntax

neighbor [ip-int-name | ip-address] [detail]

neighbor [ip-int-name] [router-id] [detail]

neighbor overview

neighbor [remote ip-address] [detail]

Context

[Tree] (show>router>ospf neighbor)

[Tree] (show>router>ospf3 neighbor)

Full Context

show router ospf neighbor

show router ospf3 neighbor

Description

This command displays neighbor information. To reduce the amount of output, the user can select the neighbors on a given interface by address or name.

The detail option produces a large amount of data. It is recommended to use detail only when requesting a specific neighbor.

Parameters

ip-int-name

Displays neighbor information only for neighbors of the interface identified by the interface name.

ip-address

Displays neighbor information only for neighbors of the interface identified by the IP address.

router-id

Displays neighbor information for the neighbor identified by the specified router ID in the show> router>ospf3 context.

remote

Displays neighbor information for the neighbor identified by the specified remote IP address in the show>router>ospf context.

Platforms

All

Output

Standard OSPF Neighbor Output

OSPF Neighbor Output Fields describes the standard command output fields for an OSPF neighbor.

Table 11. OSPF Neighbor Output Fields

Label

Description

Nbr IP Addr

The IP address this neighbor is using in its IP Source Address. On addressless links, this will not be 0.0.0.0, but the address of another of the neighbor's interfaces.

Nbr Rtr Id

A 32-bit integer uniquely identifying the neighboring router in the Autonomous System.

Nbr State

Down — This is the initial state of a neighbor conversation. It indicates that there has been no recent information received from the neighbor.

Attempt — This state is only valid for neighbors attached to NBMA networks. It indicates that no recent information has been received from the neighbor, but that a more concerted effort should be made to contact the neighbor.

Init — In this state, an Hello packet has recently been seen from the neighbor. However, bidirectional communication has not yet been established with the neighbor (the router itself did not appear in the neighbor's Hello packet).

Two Way — In this state, communication between the two routers is bidirectional.

ExchStart — This is the first step in creating an adjacency between the two neighboring routers. The goal of this step is to decide which router is the master, and to decide upon the initial Database Descriptor sequence number.

Exchange — In this state the router is describing its entire link state database by sending Database Description packets to the neighbor.

Loading — In this state, Link State Request packets are sent to the neighbor asking for the more recent LSAs that have been discovered (but not yet received) in the Exchange state.

Full — In this state, the neighboring routers are fully adjacent. These adjacencies will now appear in router-LSAs and network-LSAs.

Priority

The priority of this neighbor in the designated router election algorithm. The value 0 signifies that the neighbor is not eligible to become the designated router on this particular network.

RetxQ Len

The current length of the retransmission queue.

Dead Time

The time until this neighbor is declared down, this timer is set to the dead router interval when a valid hello packet is received from the neighbor.

No. of Neighbors

The number of adjacent OSPF neighbors on this interface.

Sample Output
A:ALA-A# show router ospf 1 neighbor
===============================================================================
Rtr Base OSPFv2 Instance 1 Neighbors
===============================================================================
Interface-Name                   Rtr Id          State      Pri  RetxQ   TTL
-------------------------------------------------------------------------------
pc157-2/1                        10.13.8.158     Full       1    0       37
pc157-2/2                        10.13.7.165     Full       100  0       33
pc157-2/3                        10.13.6.188     Full       1    0       38
-------------------------------------------------------------------------------
No. of Neighbors: 3
===============================================================================
A:ALA-A#

Detailed OSPF Neighbor Output

Detailed OSPF Neighbor Output Fields describes the detailed command output fields for an OSPF neighbor.

Table 12. Detailed OSPF Neighbor Output Fields

Label

Description

Neighbor IP Addr

The IP address this neighbor is using in its IP source address. On addressless links, this will not be 0.0.0.0, but the address of another of the neighbor's interfaces.

Local IF IP Addr

The IP address of this OSPF interface.

Area Id

A 32-bit integer uniquely identifying the area to which this interface is connected. Area ID 0.0.0.0 is used for the OSPF backbone

Designated Rtr

The IP Interface address of the router identified as the Designated Router for the network in which this interface is configured. Set to 0.0.0.0 if there is no Designated router.

Neighbor Rtr Id

A 32-bit integer uniquely identifying the neighboring router in the AS.

Neighbor State

Down — This is the initial state of a neighbor conversation. It indicates that there has been no recent information received from the neighbor.

Attempt — This state is only valid for neighbors attached to NBMA networks. It indicates that no recent information has been received from the neighbor, but that a more concerted effort should be made to contact the neighbor.

Init — In this state, an Hello packet has recently been seen from the neighbor. However, bidirectional communication has not yet been established with the neighbor (the router itself did not appear in the neighbor's Hello packet).

Two Way — In this state, communication between the two routers is bidirectional.

Exchange start — This is the first step in creating an adjacency between the two neighboring routers. The goal of this step is to decide which router is the master, and to decide upon the initial Database Descriptor sequence number.

Exchange — In this state the router is describing its entire link state database by sending Database Description packets to the neighbor.

Loading — In this state, Link State Request packets are sent to the neighbor asking for the more recent LSAs that have been discovered (but not yet received) in the Exchange state.

Full — In this state, the neighboring routers are fully adjacent. These adjacencies will now appear in router-LSAs and network-LSAs.

Priority

The priority of this neighbor in the designated router election algorithm. The value 0 signifies that the neighbor is not eligible to become the designated router on this particular network.

Retrans Q Length

The current length of the retransmission queue.

Options

E — External Routes Support

MC — Multicast Support

N/P — Type 7 LSA Support

EA — External Attribute LSA Support

DC — Demand Circuit Support

O — Opaque LSA Support

Backup Desig Rtr

The IP Interface address of the router identified as the Backup Designated Router for the network in which this interface is configured. Set to 0.0.0.0 if there is no backup designated router.

Events

The number of times this neighbor relationship has changed state, or an error has occurred.

Last Event Time

The time when the last event occurred that affected the adjacency to the neighbor.

Up Time

This value represents the uninterrupted time, in hundredths of seconds, the adjacency to this neighbor has been up. To evaluate when the last state change occurred see last event time.

Time Before Dead

The time until this neighbor is declared down, this timer is set to the dead router interval when a valid hello packet is received from the neighbor.

Bad Nbr States

The total number of OSPF packets received when the neighbor state was not expecting to receive this packet type since this interface was last enabled.

LSA Inst fails

The total number of times an LSA could not be installed into the LSDB due to a resource allocation issue since this interface was last enabled.

Bad Seq Nums

The total number of times when a database description packet was received with a sequence number mismatch since this interface was last enabled.

Bad MTUs

The total number of times when the MTU in a received database description packet was larger than the MTU of the receiving interface since this interface was last enabled.

Bad Packets

The total number of times when an LS update was received with an illegal LS type or an option mismatch since this interface was last enabled.

LSA not in LSDB

The total number of times when an LS request was received for an LSA not installed in the LSDB of this router since this interface was last enabled.

Option Mismatches

The total number of times when a LS update was received with an option mismatch since this interface was last enabled.

Nbr Duplicates

The total number of times when a duplicate database description packet was received during the exchange state since this interface was last enabled.

Sample Output
*A:Dut-C# show router ospf neighbor detail 
===============================================================================
Rtr Base OSPFv2 Instance 0 Neighbors (detail)
===============================================================================
-------------------------------------------------------------------------------
Neighbor Rtr Id : 10.20.1.1  Interface: to_Dut-A
-------------------------------------------------------------------------------
Neighbor IP Addr : 1.1.3.1
Local IF IP Addr : 1.1.3.3
Area Id          : 0.0.0.1              Adj SR SID       : Label 262141
Designated Rtr   : 10.20.1.3            Backup Desig Rtr : 10.20.1.1
Neighbor State   : Full                 Priority         : 1
Retrans Q Length : 0                    Options          : - E - -  -  - O --
Events           : 5                    Last Event Time  : 05/27/2015 08:36:02
Up Time          : 0d 00:11:01          Time Before Dead : 8 sec
GR Helper        : Not Helping          GR Helper Age    : 0 sec
GR Exit Reason   : None                 GR Restart Reason: Unknown
Bad Nbr States   : 1                    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
Num Restarts     : 0                    Last Restart at  : Never
-------------------------------------------------------------------------------
Neighbor Rtr Id : 10.20.1.2  Interface: to_Dut-B1
-------------------------------------------------------------------------------
Neighbor IP Addr : 1.2.3.2
Local IF IP Addr : 1.2.3.3
Area Id          : 0.0.0.1              Adj SR SID       : Label 262139
Designated Rtr   : 10.20.1.3            Backup Desig Rtr : 10.20.1.2
Neighbor State   : Full                 Priority         : 1
Retrans Q Length : 0                    Options          : - E - -  -  - O --
Events           : 6                    Last Event Time  : 05/27/2015 08:36:03
Up Time          : 0d 00:11:03          Time Before Dead : 10 sec
GR Helper        : Not Helping          GR Helper Age    : 0 sec
GR Exit Reason   : None                 GR Restart Reason: Unknown
Bad Nbr States   : 1                    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
Num Restarts     : 0                    Last Restart at  : Never
-------------------------------------------------------------------------------
Neighbor Rtr Id : 10.20.1.2  Interface: to_Dut-B2
-------------------------------------------------------------------------------
Neighbor IP Addr : 2.2.3.2
Local IF IP Addr : 2.2.3.3
Area Id          : 0.0.0.0              Adj SR SID       : Label 262138
Designated Rtr   : 10.20.1.3            Backup Desig Rtr : 10.20.1.2
Neighbor State   : Full                 Priority         : 1
Retrans Q Length : 0                    Options          : - E - -  -  - O --
Events           : 5                    Last Event Time  : 05/27/2015 08:36:03
Up Time          : 0d 00:11:01          Time Before Dead : 9 sec
GR Helper        : Not Helping          GR Helper Age    : 0 sec
GR Exit Reason   : None                 GR Restart Reason: Unknown
Bad Nbr States   : 1                    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
Num Restarts     : 0                    Last Restart at  : Never
-------------------------------------------------------------------------------
Neighbor Rtr Id : 10.20.1.5  Interface: to_Dut-E
-------------------------------------------------------------------------------
Neighbor IP Addr : 1.3.5.5
Local IF IP Addr : 1.3.5.3
Area Id          : 0.0.0.0              Adj SR SID       : Label 262140
Designated Rtr   : 10.20.1.5            Backup Desig Rtr : 10.20.1.3
Neighbor State   : Full                 Priority         : 1
Retrans Q Length : 0                    Options          : - E - -  -  - O --
Events           : 7                    Last Event Time  : 05/27/2015 08:36:04
Up Time          : 0d 00:11:01          Time Before Dead : 8 sec
GR Helper        : Not Helping          GR Helper Age    : 0 sec
GR Exit Reason   : None                 GR Restart Reason: Unknown
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
Num Restarts     : 0                    Last Restart at  : Never
===============================================================================
*A:Dut-C#

A:ALA-A# show router ospf 1 neighbor detail
===============================================================================
Rtr Base OSPFv2 Instance 1 Neighbors (detail)
-------------------------------------------------------------------------------
Neighbor Rtr Id  : 10.13.8.158          Interface: pc157-2/1
-------------------------------------------------------------------------------
Neighbor IP Addr : 10.16.1.8
Local IF IP Addr : 10.16.1.7
Area Id          : 0.0.0.0
Designated Rtr   : 0.0.0.0              Backup Desig Rtr : 0.0.0.0
Neighbor State   : Full                 Priority         : 1
Retrans Q Length : 0                    Options          : -E--O-
Events           : 4                    Last Event Time  : 05/06/2006 00:11:16
Up Time          : 1d 18:20:20          Time Before Dead : 38 sec
GR Helper        : Not Helping          GR Helper Age    : 0 sec
GR Exit Reason   : None                 GR Restart Reason: Unknown
Bad Nbr States   : 1                    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
Num Restarts     : 0                    Last Restart at  : Never
-------------------------------------------------------------------------------
Neighbor Rtr Id  : 10.13.7.165          Interface: pc157-2/2
-------------------------------------------------------------------------------
Neighbor IP Addr : 10.12.1.3
Local IF IP Addr : 10.12.1.7
Area Id          : 0.0.0.0
Designated Rtr   : 10.13.9.157          Backup Desig Rtr : 10.13.7.165
Neighbor State   : Full                 Priority         : 100
Retrans Q Length : 0                    Options          : -E--O-
Events           : 4                    Last Event Time  : 05/05/2006 01:39:13
Up Time          : 0d 16:52:27          Time Before Dead : 33 sec
GR Helper        : Not Helping          GR Helper Age    : 0 sec
GR Exit Reason   : None                 GR Restart Reason: Unknown
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
Num Restarts     : 0                    Last Restart at  : Never
-------------------------------------------------------------------------------
Neighbor Rtr Id  : 10.13.6.188          Interface: pc157-2/3
-------------------------------------------------------------------------------
Neighbor IP Addr : 10.14.1.4
Local IF IP Addr : 10.14.1.7
Area Id          : 0.0.0.0
Designated Rtr   : 10.13.9.157          Backup Desig Rtr : 10.13.6.188
Neighbor State   : Full                 Priority         : 1
Retrans Q Length : 0                    Options          : -E--O-
Events           : 4                    Last Event Time  : 05/05/2006 08:35:18
Up Time          : 0d 09:56:25          Time Before Dead : 38 sec
GR Helper        : Not Helping          GR Helper Age    : 0 sec
GR Exit Reason   : None                 GR Restart Reason: Unknown
Bad Nbr States   : 1                    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
Num Restarts     : 0                    Last Restart at  : Never
===============================================================================
A:ALA-A#

neighbor

Syntax

neighbor [ip-int-name | ip-address]

neighbor [ip-int-name] [router-id]

Context

[Tree] (clear>router>ospf3 neighbor)

[Tree] (clear>router>ospf neighbor)

Full Context

clear router ospf3 neighbor

clear router ospf neighbor

Description

This command marks the neighbor as dead and re-initiates the affected adjacencies.

Parameters

ip-int-name

Clears all neighbors for the interface specified by this interface name.

ip-address

Clears all neighbors for the interface specified by this IP address.

router-id

Clears all neighbors for the interface specified by this router ID.

Platforms

All

neighbor

Syntax

neighbor [ip-int-name | ipv6-address] [detail]

neighbor [detail] advertised-routes [ip-int-name | ipv6-link-local-address]

Context

[Tree] (show>router>ripng neighbor)

Full Context

show router ripng neighbor

Description

This command displays RIPng neighbor interface information.

Parameters

ip-int-name | ipv6-address

Displays information for the specified IPv6 interface and address.

Default

all neighbor interfaces

advertised-routes

Displays the routes advertised to RIPng neighbors. If no neighbors are specified, then all routes advertised to all neighbors are displayed. If a specific neighbor is given then only routes advertised to the given neighbor/interface are displayed.

Default

displays RIPng information

ipv6-link-local-address

Displays information about the of the IPv6 link local address for the neighbor.

detail

Displays detailed information.

Platforms

All

Output

The following output is an example of RIPng neighbor information.

Sample Output
*A:Dut-C>config>router>if# show router ripng neighbor "one" 
===============================================================================
RIP-NG Neighbors
===============================================================================
Interface                         Adm  Opr  Primary IP      Send  Recv  Metric
                                                            Mode  Mode  In
-------------------------------------------------------------------------------
one                               Up   Up   3ffe::10:10:3:* RipNg RipNg 1
-------------------------------------------------------------------------------
No. of Neighbors: 1
===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:Dut-C>config>router>if# show router ripng neighbor "one" detail 
===============================================================================
RIP-NG Neighbors (Detail)
===============================================================================
-------------------------------------------------------------------------------
Neighbor "one"
-------------------------------------------------------------------------------
Description    : n/a
Primary IP     : 3ffe::10:10:3:3/1* Group        : A
Admin State    : Up                 Oper State   : Up
Send Mode      : RipNg              Receive Mode : RipNg
Metric In      : 1                  Metric Out   : 1
Split Horizon  : Enabled            Check Zero   : Disabled
Message Size   : 25                 Preference   : 100
                                    Update Timer : 1
Timeout Timer  : 5                  Flush Timer  : 5
BFD            : Enabled            
Export Policies:                    
    directToRipng
Import Policies:                    
    None
===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:Dut-C>config>router>if# show router ripng neighbor 3ffe::10:10:12:3 
===============================================================================
RIP-NG Neighbors
===============================================================================
Interface                         Adm  Opr  Primary IP      Send  Recv  Metric
                                                            Mode  Mode  In
-------------------------------------------------------------------------------
three                             Up   Up   3ffe::10:10:12* RipNg RipNg 1
-------------------------------------------------------------------------------
No. of Neighbors: 1
===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:Dut-C>config>router>if# show router ripng neighbor 3ffe::10:10:12:3 detail 
===============================================================================
RIP-NG Neighbors (Detail)
===============================================================================
-------------------------------------------------------------------------------
Neighbor "three"
-------------------------------------------------------------------------------
Description    : n/a
Primary IP     : 3ffe::10:10:12:3/* Group        : B
Admin State    : Up                 Oper State   : Up
Send Mode      : RipNg              Receive Mode : RipNg
Metric In      : 1                  Metric Out   : 1
Split Horizon  : Enabled            Check Zero   : Disabled
Message Size   : 25                 Preference   : 100
                                    Update Timer : 1
Timeout Timer  : 5                  Flush Timer  : 5
BFD            : Disabled           
Export Policies:                    
    directToRipng
Import Policies:                    
    None
===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:Dut-C>config>router>if# show router ripng neighbor advertised-routes       
============================================================================
RIP-NG Advertised Routes
============================================================================
Destination                                 Interface
  Link-local-address                        Metric TTL
----------------------------------------------------------------------------
3ffe::103:800/120                           one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::103:800/120                           two
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::103:800/120                           three
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::103:800/120                           four
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:3:0/120                         one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:3:0/120                         two
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:3:0/120                         three
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:3:0/120                         four
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:12:0/120                        one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:12:0/120                        two
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:12:0/120                        three
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:12:0/120                        four
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:103:0/120                       one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:103:0/120                       two
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:103:0/120                       three
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:103:0/120                       four
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:112:0/120                       one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:112:0/120                       two
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:112:0/120                       three
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:112:0/120                       four
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:20:1:2/128                         one
  fe80::662d:ffff:fe00:0                    16     n/a
3ffe::10:20:1:2/128                         two
  fe80::662d:ffff:fe00:0                    16     n/a
3ffe::10:20:1:2/128                         three
  fe80::662d:ffff:fe00:0                    16     n/a
3ffe::10:20:1:2/128                         four
  fe80::662d:ffff:fe00:0                    16     n/a
3ffe::10:20:1:3/128                         one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:20:1:3/128                         two
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:20:1:3/128                         three
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:20:1:3/128                         four
  fe80::662d:ffff:fe00:0                    1      n/a
----------------------------------------------------------------------------
No. of Advertised Routes: 28
============================================================================
*A:Dut-C>config>router>if# show router ripng neighbor advertised-routes "one"
============================================================================
RIP-NG Advertised Routes
============================================================================
Destination                                 Interface
  Link-local-address                        Metric TTL
----------------------------------------------------------------------------
3ffe::103:800/120                           one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:3:0/120                         one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:12:0/120                        one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:103:0/120                       one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:112:0/120                       one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:20:1:2/128                         one
  fe80::662d:ffff:fe00:0                    16     n/a
3ffe::10:20:1:3/128                         one
  fe80::662d:ffff:fe00:0                    1      n/a
----------------------------------------------------------------------------
No. of Advertised Routes: 7
============================================================================

*A:Dut-C>config>router>if# show router ripng neighbor advertised-routes fe80::662d:ffff:fe00:0
============================================================================
RIP-NG Advertised Routes
============================================================================
Destination                                 Interface
  Link-local-address                        Metric TTL
----------------------------------------------------------------------------
3ffe::103:800/120                           one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::103:800/120                           two
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::103:800/120                           three
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::103:800/120                           four
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:3:0/120                         one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:3:0/120                         two
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:3:0/120                         three
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:3:0/120                         four
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:12:0/120                        one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:12:0/120                        two
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:12:0/120                        three
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:12:0/120                        four
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:103:0/120                       one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:103:0/120                       two
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:103:0/120                       three
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:103:0/120                       four
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:112:0/120                       one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:112:0/120                       two
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:112:0/120                       three
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:10:112:0/120                       four
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:20:1:2/128                         one
  fe80::662d:ffff:fe00:0                    16     n/a
3ffe::10:20:1:2/128                         two
  fe80::662d:ffff:fe00:0                    16     n/a
3ffe::10:20:1:2/128                         three
  fe80::662d:ffff:fe00:0                    16     n/a
3ffe::10:20:1:2/128                         four
  fe80::662d:ffff:fe00:0                    16     n/a
3ffe::10:20:1:3/128                         one
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:20:1:3/128                         two
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:20:1:3/128                         three
  fe80::662d:ffff:fe00:0                    1      n/a
3ffe::10:20:1:3/128                         four
  fe80::662d:ffff:fe00:0                    1      n/a
----------------------------------------------------------------------------
No. of Advertised Routes: 28
============================================================================

neighbor

Syntax

neighbor ip-addr [ip-addr] [interval seconds] [repeat repeat] [absolute | rate]

Context

[Tree] (monitor>router>bgp neighbor)

Full Context

monitor router bgp neighbor

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 five 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.

Platforms

All

Output

The following output is an example of BGP neighbor information.

Sample Output
A:ALA-12>monitor>router>bgp# neighbor 192.0.2.10 interval 3 repeat 3 absolute
===============================================================================
Monitor statistics for BGP Neighbor 192.0.2.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#

neighbor

Syntax

neighbor ip-address [ip-address] [interval seconds] [repeat repeat] [absolute | rate]

Context

[Tree] (monitor>router>ospf neighbor)

Full Context

monitor router ospf neighbor

Description

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

The first screen displays the current statistics related to the specified OSPF neighbors. 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 OSPF neighbor. Up to five 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

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.

Platforms

All

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#

neighbor

Syntax

neighbor router-id interface-name [interval seconds] [repeat repeat] [absolute | rate] area area-id

Context

[Tree] (monitor>router>ospf3 neighbor)

Full Context

monitor router ospf3 neighbor

Description

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

The first screen displays the current statistics related to the specified OSPF3 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

router-id

Specifies the IP address.

Values

a.b.c.d

interface-name

Specifies the interface name, up to 32 characters.

seconds

Configures the interval for each display, in seconds.

Values

3 to 60

Default

10

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.

area-id

Specifies the OSPF area, up to 256 characters.

Platforms

All

neighbor

Syntax

neighbor neighbor [neighbor] [interval seconds] [repeat repeat] [absolute | rate]

Context

[Tree] (monitor>router>rip neighbor)

[Tree] (monitor>router>ripng neighbor)

Full Context

monitor router rip neighbor

monitor router ripng neighbor

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. Up to five can be specified in a single statement.

Values

ip-int-name, ip-address

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.

Platforms

All

neighbor

Syntax

neighbor ieee-address

Context

[Tree] (clear>system>ptp>port neighbor)

Full Context

clear system ptp port neighbor

Description

This command clears PTP port neighbor information.

Parameters

ieee-address

Specifies the MAC address.

Values

xx:xx:xx:xx:xx:xx or xx-xx-xx-xx-xx-xxx: [0 to FFFF]H

Platforms

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

neighbor-table

neighbor-table

Syntax

neighbor-table [ip6 ipv6-address] [class class] [next-index index]

Context

[Tree] (tools>dump>wlan-gw>lanext>bd neighbor-table)

Full Context

tools dump wlan-gw lanext bd neighbor-table

Description

This command dumps neighbor table entries for the specified HLE BD.

Parameters

ipv6-address

Specifies the IPv6 address of the neighbor entry to be displayed.

class

Specifies the source on which to filter the neighbor table entries.

Values

access, network, remote

index

Specify the next-index index parameter to display the next set of results If there are more results than the current output. The additional results are indicated at the bottom of the current output.

Values

0 to 4294967295

Platforms

7750 SR, 7750 SR-e, 7750 SR-s, VSR

neighbors

neighbors

Syntax

neighbors group [name] [ip-address]

Context

[Tree] (show>service>id>gsmp neighbors)

Full Context

show service id gsmp neighbors

Description

This command display GSMP neighbor information.

Parameters

group

A GSMP group defines a set of GSMP neighbors which have the same properties.

name

Specifies a GSMP group name is unique only within the scope of the service in which it is defined.

ip-address

Specifies the ip-address of the neighbor.

Platforms

All

Output

The following output displays an example of service GSMP neighbor information.

Sample Output

These commands show the configured neighbors per service, regardless that there exists an open TCP connection with this neighbor. The admin state is shown because for a neighbor to be admin enabled, the service, gsmp node, group node and the neighbor node in this service must all be in the no shutdown state. Session gives the number of session (open TCP connections) for each configured neighbor.

A:active>show>service>id>gsmp# neighbors
============================================================================
GSMP neighbors
============================================================================
Group                           Neighbor           AdminState  Sessions
----------------------------------------------------------------------------
dslam1                          192.168.1.2       Enabled     0
dslam1                          192.168.1.3       Enabled     0
----------------------------------------------------------------------------
Number of neighbors shown: 2
============================================================================
A:active>show>service>id>gsmp# 

A:active>show>service>id>gsmp# neighbors group dslam1
============================================================================
GSMP neighbors
============================================================================
Group                           Neighbor           AdminState  Sessions
----------------------------------------------------------------------------
dslam1                          192.168.1.2       Enabled     0
dslam1                          192.168.1.3       Enabled     0
----------------------------------------------------------------------------
Number of neighbors shown: 2
============================================================================
A:active>show>service>id>gsmp#


A:active>show>service>id>gsmp# neighbors group dslam1 192.168.1.2
============================================================================
GSMP neighbors
============================================================================
Group                           Neighbor           AdminState  Sessions
----------------------------------------------------------------------------
dslam1                          192.168.1.2       Enabled     0
============================================================================
A:active>show>service>id>gsmp#

The following table describes show service-id gsmp neighbors group output fields:

Table 13. Service-ID GSMP Neighbors Group Field Descriptions

Label

Description

Group

The GSMP group name

Neighbor

The neighbor IP address

AdminState

The administrative state of the neighbor

Sessions

The number of sessions (open TCP connections) for each configured neighbor

netconf

netconf

Syntax

netconf

netconf connection

netconf counters

netconf schema-path

Context

[Tree] (show>system netconf)

Full Context

show system netconf

Description

This command displays NETCONF information.

Parameters

connection

Keyword to display active NETCONF sessions.

counters

Keyword to display NETCONF counters.

schema-path

Keyword to display the four state leafs that relate to a schema path.

Platforms

All

Output

The following is an example of NETCONF information.

NETCONF Output Fields describes the NETCONF output fields.

Sample Output
# show system netconf
===============================================================================
NETCONF Server
===============================================================================
Administrative State      : Enabled
Operational State         : Up
===============================================================================
Table 14. NETCONF Output Fields

Label

Description

Administrative State

Enabled — Indicates that NETCONF is enabled.

Disabled — Indicates that NETCONF is disabled.

Operational State

Up — Indicates that NETCONF is operational.

Down — Indicates that NETCONF is not operational.

The following is an example of NETCONF connection information.

NETCONF Connection Output Fields describes the NETCONF connection output fields.

Sample Output
# show system netconf connection
===============================================================================
NETCONF Server connections
===============================================================================
Connection          Username       Session Status         Running    Candidate
                                   Id                     Locked?    Locked?
-------------------------------------------------------------------------------
135.121.197.102     admin          56      connected      no         no
-------------------------------------------------------------------------------
Number of NETCONF sessions : 1
===============================================================================
Table 15. NETCONF Connection Output Fields

Label

Description

Connection

The IP address of the connected routers (remote client).

Username

The name of the user.

Session ID

The NETCONF session ID.

Status

Connected or not connected.

Running Locked?

Yes — Indicates the <running> datastore is locked.

No — Indicates the <running> datastore is not locked.

Candidate Locked?

Yes — Indicates the <candidate> datastore is locked.

No — Indicates the <candidate> datastore is not locked.

Number of NETCONF sessions

Total NETCONF sessions

The following is an example of NETCONF counter information.

NETCONF Counters Output Fields describes the NETCONF counter output fields.

Sample Output
# show system netconf counters
==============================================================================
NETCONF counters:
==============================================================================
    Rx Messages
------------------------------------------------------------------------------
      in gets            : 23
      in get-configs     : 19
      in edit-configs    : 35
      in copy-configs    : 0
      in delete-configs  : 0
      in validates       : 0
      in close-sessions  : 0
      in kill-sessions   : 0
      in locks           : 0
      in unlocks         : 0
      in commits         : 2
      in discards        : 1
-------------------------------------------------------------------------------
      Rx Total           : 80
==============================================================================
    Tx Messages
------------------------------------------------------------------------------
      out rpc-errors     : 4
------------------------------------------------------------------------------
      Tx Total           : 9
==============================================================================
    Failed requests due to lock being taken by other sessions 
------------------------------------------------------------------------------
      failed edit-configs: 1
      failed locks       : 0
==============================================================================
Table 16. NETCONF Counters Output Fields

Label

Description

RX Messages

Types and numbers of received messages

RX Total

Total of all received messages

TX Messages

Types and numbers of sent messages

TX Total

Total of all sent messages

failed edit-configs

Number of failed <edit-config> requests due to a lock (including implicit ones) being taken by other netconf sessions

failed locks

Number of failed <lock> requests due to a lock (including implicit ones) being taken by other netconf sessions

The following is an example of NETCONF schema path information.

NETCONF Schema Path Output Fields describes the NETCONF schema path output fields.

Sample Output
#show system netconf schema-path
===============================================================================
NETCONF Schema Path
===============================================================================
Configured  : 
Operational : cf3:/Nokia-7750_SR_TiMOS-20.10.R1/cflash/support/YANG
Primary     : cf3:/Nokia-7750_SR_TiMOS-20.10.R1/cflash/support/YANG
Secondary   : cf3:/SR_TiMOS-20.7.R1/cflash/support/YANG
Tertiary    : cf3:/SR_TiMOS-20.5.R1/cflash/support/YANG
===============================================================================
Table 17. NETCONF Schema Path Output Fields

Label

Description

Configured

State leaf representing the configured value (if configured) in the context configure system management-interface schema-path

Operational

Operational schema-path state leaf, indicating the current path of the SR OS schema files. This value is updated at boot time or at configuration time.

Primary

Primary schema-path state leaf. The value is the configured primary-image concatenated with ‟./support/YANG/”. If the primary schema-path is not configured, this field displays an error.

Secondary

Secondary schema-path state leaf. The value is the configured secondary-image concatenated with ‟./support/YANG/”. If the secondary schema-path is not configured, this field displays an error.

Tertiary

Tertiary schema-path state leaf. The value is the configured tertiary-image concatenated with ‟./support/YANG/”. If the tertiary schema-path is not configured, this field displays an error.

network

network

Syntax

network [policy-id] [detail] [match-criteria]

Context

[Tree] (show>qos network)

Full Context

show qos network

Description

This command displays network policy information.

Parameters

policy-id

Displays information for the specific policy ID.

Values

1 to 65535

Default

all network policies

detail

Includes information about ingress and egress DSCP and LSP EXP bit mappings and network policy interface associations.

match-criteria

Includes the match-criteria.

Platforms

All

Output

The following output is an example of network QoS Policy information, and Show QoS Network Output Fields describes the network QoS Policy output fields.

Sample Output
A:PE1# show qos network
==============================================================================
Network Policies                                                               
==============================================================================
Policy-Id  Name                Remark LerUseDscp Description
------------------------------------------------------------------------------
1          default             False  False      Default network QoS policy.
==============================================================================
A:PE1#

A:PE1# show qos network 1
==============================================================================
QoS Network Policy                                                             
==============================================================================
------------------------------------------------------------------------------
Network Policy (1)                                                             
------------------------------------------------------------------------------
Policy-id        : 1                      Remark           : False
Forward Class    : be                     Profile          : Out
LER Use DSCP     : False                  Scope            : Template
Description      : Default network QoS policy.
Name             : default
==============================================================================
A:PE1# 

A:PE1# show qos network 1 detail
==============================================================================
QoS Network Policy                                                             
==============================================================================
------------------------------------------------------------------------------
Network Policy (1)                                                             
------------------------------------------------------------------------------
Policy-id        : 1                      Remark           : False
Forward Class    : be                     Profile          : Out
LER Use DSCP     : False                  Scope            : Template
Description      : Default network QoS policy.
Name             : default
==============================================================================
------------------------------------------------------------------------------
DSCP (Ingress)                          Forwarding Class                Profile
------------------------------------------------------------------------------
be                                      be                              Out     
ef                                      ef                              In     
cs1                                     l2                              In     
nc1                                     h1                              In     
nc2                                     nc                              In    
af11                                    af                              In    
af12                                    af                              Out     
af13                                    af                              Out
af21                                    l1                              In
af22                                    l1                              Out    
af23                                    l1                              Out    
af31                                    l1                              In     
af32                                    l1                              Out    
af33                                    l1                              Out    
af41                                    h2                              In     
af42                                    h2                              Out    
af43                                    h2                              Out    
                                                                               
------------------------------------------------------------------------------
DSCP (Egress)                           Forwarding Class                Profile
------------------------------------------------------------------------------
No Matching Entries

------------------------------------------------------------------------------
Prec (Egress)                           Forwarding Class                Profile
------------------------------------------------------------------------------
No Matching Entries

------------------------------------------------------------------------------
LSP EXP Bit Map                         Forwarding Class                Profile
------------------------------------------------------------------------------
0                                       be                              Out    
1                                       l2                              In     
2                                       af                              Out    
3                                       af                              In     
4                                       h2                              In     
5                                       ef                              In     
6                                       h1                              In     
7                                       nc                              In     
                                                                               
------------------------------------------------------------------------------
Dot1p Bit Map                         Forwarding Class                Profile
------------------------------------------------------------------------------
No Matching Entries

------------------------------------------------------------------------------
Egress Forwarding Class Mapping                                                
------------------------------------------------------------------------------
FC Value         : 0                      FC Name          : be
- DSCP Mapping                                                                 
Out-of-Profile   : be                     In-Profile       : be

- Dot1p Mapping                                                                 
Out-of-Profile   : 0                      In-Profile       : 0
                                                                               
- LSP EXP Bit Mapping                                                          
Out-of-Profile   : 0                      In-Profile       : 0

DE Mark          :  None
Redirect Grp Q   :  None                  Redirect Grp Plcr:  None

FC Value         : 1                      FC Name          : l2
- DSCP Mapping                                                                 
Out-of-Profile   : cs1                    In-Profile       : cs1

- Dot1p Mapping                                                                 
Out-of-Profile   : 1                      In-Profile       : 1
                                                                               
- LSP EXP Bit Mapping                                                          
Out-of-Profile   : 1                      In-Profile       : 1

DE Mark          :  None
Redirect Grp Q   :  None                  Redirect Grp Plcr:  None

FC Value         : 2                      FC Name          : af
- DSCP Mapping                                                                 
Out-of-Profile   : af12                   In-Profile       : af11

- Dot1p Mapping                                                                 
Out-of-Profile   : 2                      In-Profile       : 2
                                                                               
- LSP EXP Bit Mapping                                                          
Out-of-Profile   : 2                      In-Profile       : 3

DE Mark          :  None
Redirect Grp Q   :  None                  Redirect Grp Plcr:  None

FC Value         : 3                      FC Name          : l1
- DSCP Mapping                                                                 
Out-of-Profile   : af22                   In-Profile       : af21

- Dot1p Mapping                                                                 
Out-of-Profile   : 3                      In-Profile       : 3
                                                                               
- LSP EXP Bit Mapping                                                          
Out-of-Profile   : 2                      In-Profile       : 3

DE Mark          :  None
Redirect Grp Q   :  None                  Redirect Grp Plcr:  None

FC Value         : 4                      FC Name          : h2
- DSCP Mapping                                                                 
Out-of-Profile   : af42                   In-Profile       : af41

- Dot1p Mapping                                                                 
Out-of-Profile   : 4                      In-Profile       : 4
                                                                               
- LSP EXP Bit Mapping                                                          
Out-of-Profile   : 4                      In-Profile       : 4

DE Mark          :  None
Redirect Grp Q   :  None                  Redirect Grp Plcr:  None

FC Value         : 5                      FC Name          : ef
- DSCP Mapping                                                                 
Out-of-Profile   : ef                     In-Profile       : ef

- Dot1p Mapping                                                                 
Out-of-Profile   : 5                      In-Profile       : 5
                                                                               
- LSP EXP Bit Mapping                                                          
Out-of-Profile   : 5                      In-Profile       : 5

DE Mark          :  None
Redirect Grp Q   :  None                  Redirect Grp Plcr:  None

FC Value         : 6                      FC Name          : h1
- DSCP Mapping                                                                 
Out-of-Profile   : nc1                    In-Profile       : nc1

- Dot1p Mapping                                                                 
Out-of-Profile   : 6                      In-Profile       : 6
                                                                               
- LSP EXP Bit Mapping                                                          
Out-of-Profile   : 6                      In-Profile       : 6

DE Mark          :  None
Redirect Grp Q   :  None                  Redirect Grp Plcr:  None

FC Value         : 7                      FC Name          : nc
- DSCP Mapping                                                                 
Out-of-Profile   : nc2                    In-Profile       : nc2

- Dot1p Mapping                                                                 
Out-of-Profile   : 7                      In-Profile       : 7
                                                                               
- LSP EXP Bit Mapping                                                          
Out-of-Profile   : 7                      In-Profile       : 7

DE Mark          :  None
Redirect Grp Q   :  None                  Redirect Grp Plcr:  None

------------------------------------------------------------------------------

------------------------------------------------------------------------------
Ingress Forwarding Class Mapping
------------------------------------------------------------------------------
FC Value                : 0             FC Name                 : be
Redirect UniCast Plcr   : None          Redirect MultiCast Plcr : None
Redirect BroadCast Plcr : None          Redirect Unknown Plcr   : None
 
FC Value                : 1             FC Name                 : l2
Redirect UniCast Plcr   : None          Redirect MultiCast Plcr : None
Redirect BroadCast Plcr : None          Redirect Unknown Plcr   : None
 
FC Value                : 2             FC Name                 : af
Redirect UniCast Plcr   : None          Redirect MultiCast Plcr : None
Redirect BroadCast Plcr : None          Redirect Unknown Plcr   : None
 
FC Value                : 3             FC Name                 : l1
Redirect UniCast Plcr   : None          Redirect MultiCast Plcr : None
Redirect BroadCast Plcr : None          Redirect Unknown Plcr   : None
 
FC Value                : 4             FC Name                 : h2
Redirect UniCast Plcr   : None          Redirect MultiCast Plcr : None
Redirect BroadCast Plcr : None          Redirect Unknown Plcr   : None
 
FC Value                : 5             FC Name                 : ef
Redirect UniCast Plcr   : None          Redirect MultiCast Plcr : None
Redirect BroadCast Plcr : None          Redirect Unknown Plcr   : None
 
FC Value                : 6             FC Name                 : h1
Redirect UniCast Plcr   : None          Redirect MultiCast Plcr : None
Redirect BroadCast Plcr : None          Redirect Unknown Plcr   : None
 
FC Value                : 7             FC Name                 : nc
Redirect UniCast Plcr   : None          Redirect MultiCast Plcr : None
Redirect BroadCast Plcr : None          Redirect Unknown Plcr   : None
 
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
Match Criteria (Ingress)
-------------------------------------------------------------------------------
No Matching Entries
-------------------------------------------------------------------------------
 
-------------------------------------------------------------------------------
Match Criteria (Egress)
-------------------------------------------------------------------------------
No Matching Entries
-------------------------------------------------------------------------------
 
-------------------------------------------------------------------------------
Interface Association
-------------------------------------------------------------------------------
Interface      : system
IP Addr.         : n/a                    Port Id          : system
Interface      : int
IP Addr.         : 20.0.0.1/24            Port Id          : 1/1/1

-------------------------------------------------------------------------------
Service Associations
-------------------------------------------------------------------------------
Service Id                              Service Type                  Direction
-------------------------------------------------------------------------------
No Matching Entries Found
-------------------------------------------------------------------------------

-------------------------------------------------------------------------------
SDP Associations
-------------------------------------------------------------------------------
Service Id               Service Type        Sdp Id                   Direction
-------------------------------------------------------------------------------
No Matching Entries Found
-------------------------------------------------------------------------------
===============================================================================
*A:PE1#
Table 18. Show QoS Network Output Fields

Label

Description

Policy-Id

The ID that uniquely identifies the policy.

Remark

True — Remarking is enabled for all packets that egress this router where the network policy is applied. The remarking is based on the forwarding class to DSCP and LSP EXP bit mapping defined under the egress node of the network QoS policy.

False — Remarking is disabled.

Description

A text string that helps identify the policy context in the configuration file.

Forwarding Class/ FC Name

Specifies the default ingress forwarding class (configured using the network ingress default-action command) assigned to packets for which there is no other configured forwarding class classification.

Profile

Specifies the default ingress packet profile (configured using the network ingress default-action command) assigned to packets for which there is no other configured packet profile classification.

DSCP Mapping:

Out-of-Profile

Displays the DSCP used for out-of-profile traffic.

In-Profile

Displays the DSCP used for in-profile traffic.

LSP EXP Bit Mapping:

Out-of-Profile

Displays the LSP EXP value used for out-of-profile traffic.

In-Profile

Displays the LSP EXP value used for in-profile traffic.

Interface

Displays the interface name.

IP Addr

Displays the interface IP address.

Port-Id

Specifies the physical port identifier that associates the interface.

network-domains

network-domains

Syntax

network-domains [detail] [network-domain-name]

network-domains network-domain-name interface-association

network-domains [network-domain-name] mcast-association [ state {consistent | inconsistent}]

network-domains network-domain-name sdp-association

Context

[Tree] (show>router network-domains)

Full Context

show router network-domains

Description

This command displays network-domains information.

Parameters

detail

Displays detailed network-domains information.

network-domain-name

Displays information for a specific network domain.

interface-association

Displays information for an interface network domain association.

mcast-association

Displays information for a multicast network domain association.

state

Displays information for the state of a network domain.

Values

consistent, inconsistent

sdp-association

Displays information for an SDP network domain association

Platforms

All

Output

The following output is an example of network domain information.

Sample
*A:Dut-T>config>router# show router network-domains 
===============================================================================
Network Domain Table
===============================================================================
Network Domain                   Description                                   
-------------------------------------------------------------------------------
net1                             Network domain 1                              
default                          Default Network Domain                        
-------------------------------------------------------------------------------
Network Domains : 2
===============================================================================
*A:Dut-T>config>router# 


*A:Dut-T>config>router# show router network-domains detail 
===============================================================================
Network Domain Table (Router: Base)
===============================================================================
-------------------------------------------------------------------------------
Network Domain                  : net1
-------------------------------------------------------------------------------
Description                     : Network domain 1
No. Of Ifs Associated           : 2
No. Of SDPs Associated          : 0
 
-------------------------------------------------------------------------------
Network Domain                  : default
-------------------------------------------------------------------------------
Description                     : Default Network Domain
No. Of Ifs Associated           : 3
No. Of SDPs Associated          : 0
===============================================================================
*A:Dut-T>config>router# 


*A:Dut-T>config>router# show router network-domains "net1" interface-association 
===============================================================================
Interface Network Domain Association Table
===============================================================================
Interface Name                Port             Network Domain                  
-------------------------------------------------------------------------------
intf1                         1/2/2            net1                            
intf2                         6/1/2            net1                            
-------------------------------------------------------------------------------
Interfaces : 2
===============================================================================
*A:Dut-T>config>router# 


*A:Dut-T>config>service# show router network-domains "net1" sdp-association 
===============================================================================
SDP Network Domain Association Table
===============================================================================
SDP Id                           Network Domain                                
-------------------------------------------------------------------------------
100                              net1                                          
-------------------------------------------------------------------------------
SDPs : 1
===============================================================================
*A:Dut-T>config>service# 

network-queue

network-queue

Syntax

network-queue [network-queue-policy-name] [ detail]

Context

[Tree] (show>qos network-queue)

Full Context

show qos network-queue

Description

This command displays network queue policy information.

Parameters

network-queue-policy-name

The name of the network queue policy.

Values

Valid names consist of any string, up to 32 characters, 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.

detail

Includes each queue’s rates and adaptation-rule and cbs details. It also shows FC-to-queue mapping details.

Platforms

All

Output

The following output is an example of network-queue information.

Sample Output
*A:PE# show qos network-queue
===============================================================================
Network Queue Policies
===============================================================================
Policy-Id                        Description
-------------------------------------------------------------------------------
default                          Default network queue QoS policy.
===============================================================================
*A:PE#
*A:PE# show qos network-queue "default"
===============================================================================
QoS Network Queue Policy
===============================================================================
-------------------------------------------------------------------------------
Network Queue Policy (default)
-------------------------------------------------------------------------------
Policy              : default
Description         : Default network queue QoS policy.
Wrr Policy          : (Not Specified)
Pkt.Byte Offset     : 0
HS Attachment Policy: default
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
FP      : 1-1
Port-id : 1/1/2
Port-id : 1/1/3
Port-id : 1/1/4
Port-id : 1/1/5
Port-id : 1/1/6
Port-id : 1/1/7
Port-id : 1/1/8
===============================================================================
*A:PE#
*A:PE# show qos network-queue "default" detail
===============================================================================
QoS Network Queue Policy
===============================================================================
-------------------------------------------------------------------------------
Network Queue Policy (default)
-------------------------------------------------------------------------------
Policy              : default
Description         : Default network queue QoS policy.
Wrr Policy          : (Not Specified)
Pkt.Byte Offset     : 0
HS Attachment Policy: default
-------------------------------------------------------------------------------
Queue Information
-------------------------------------------------------------------------------
Queue-Id             : 1                Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 0
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 50.00            CBS                  : 1.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 2                Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 25
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 50.00            CBS                  : 3.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 3                Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 25
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 50.00            CBS                  : 10.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 4                Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 25
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 25.00            CBS                  : 3.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 5                Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 100
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 50.00            CBS                  : 10.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 6                Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 100
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 50.00            CBS                  : 10.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 7                Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 10
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 25.00            CBS                  : 3.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 8                Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 10
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 25.00            CBS                  : 3.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 9                Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 0
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 50.00            CBS                  : 1.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 10               Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 5
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 50.00            CBS                  : 1.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 11               Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 5
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 50.00            CBS                  : 1.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 12               Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 5
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 25.00            CBS                  : 1.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 13               Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 100
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 50.00            CBS                  : 1.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 14               Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 100
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 50.00            CBS                  : 1.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 15               Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 10
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 25.00            CBS                  : 1.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
Queue-Id             : 16               Queue-Type           : auto-expedite
PIR                  : 100              CIR                  : 10
PIR Rule             : closest          CIR Rule             : closest
FIR                  : 0                FIR Rule             : closest
MBS                  : 25.00            CBS                  : 1.00
Avg Frame Overhead   : 0.00
Parent               : No
PIR Level/Weight     : n/a              CIR Level/Weight     : n/a
Low Drop Tail        : def
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
HS Queue Information
-------------------------------------------------------------------------------
Queue-Id             : 1
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 2
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 3
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 4
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 5
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 6
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 7
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 8
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 9
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 10
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 11
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 12
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 13
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 14
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 15
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
Queue-Id             : 16
PIR                  : 100
PIR Rule             : closest
HS Class Weight      : 1                HS Wrr Weight        : 1
HS Wred-Q Slope Plcy : _tmnx_hs_default
HS Alt Class Pool    : False            HS MBS               : 100.00
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
HS Wrr Group Information
-------------------------------------------------------------------------------
HS Wrr Group Id    : 1                  Class Weight       : 1
Percent Rate       : 100                PIR Adaptation Rule: closest
HS Wrr Group Id    : 2                  Class Weight       : 1
Percent Rate       : 100                PIR Adaptation Rule: closest
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
FC    UCastQ    MCastQ 
-------------------------------------------------------------------------------
be     1         9         
l2     2         10        
af     3         11        
l1     4         12        
h2     5         13        
ef     6         14        
h1     7         15        
nc     8         16        
-------------------------------------------------------------------------------
Associations
-------------------------------------------------------------------------------
FP      : 1-1
Port-id : 1/1/2
Port-id : 1/1/3
Port-id : 1/1/4
Port-id : 1/1/5
Port-id : 1/1/6
Port-id : 1/1/7
Port-id : 1/1/8
===============================================================================
*A:PE#

next-hop

next-hop

Syntax

next-hop [family [service-id service-id]] [ip-address[detail]]

Context

[Tree] (show>router>bgp next-hop)

Full Context

show router bgp next-hop

Description

This command displays BGP next-hop information.

Parameters

family

Specifies the type of routing information to be distributed by the BGP instance.

Values

ipv4, mcast-ipv4, ipv6, mcast-ipv6, label-ipv4, label-ipv6, vpn-ipv4, vpn-ipv6, evpn, mcast-vpn-ipv4, mcast-vpn-ipv6

ip-address

Displays the next hop information for the specified IP address.

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

interface - 32 characters maximum, mandatory for link local addresses
detail

Displays the longer, more detailed version of the output.

service-id service-id

Specifies the service ID.

Values

1 to 2147483647

Platforms

All

Output

BGP Next Hop Output Fields describes the command output fields for a BGP next hop.

Use the following command to display BGP next-hop information.

show router bgp next-hop 10.20.1.2
Sample Output
 =============================================================================== 
BGP Router ID:10.20.1.3        AS:2           Local AS:2           
=============================================================================== 
  
=============================================================================== 
BGP Next Hop 
=============================================================================== 
Next Hop                                                    Pref     Owner 
   Resolving Prefix                                         FibProg  Metric 
   Resolved Next Hop                                        Colored  Ref. Count 
   Admin-tag-policy                                         FlexAlgo Last Mod. 
------------------------------------------------------------------------------- 
10.20.1.2                                                   10       OSPF 
   10.20.1.2/32                                             N        10 
   10.10.3.2                                                N        0 
   --                                                       --       01h25m52s 
------------------------------------------------------------------------------- 
Next Hops : 1 
=============================================================================== 

Use the following command to display detailed BGP next-hop information.

show router bgp next-hop 1.0.0.1 detail
Sample Output
 =============================================================================== 
BGP Router ID:1.0.0.2          AS:1           Local AS:1          
=============================================================================== 
  
=============================================================================== 
BGP Next Hop 
=============================================================================== 
------------------------------------------------------------------------------- 
Next Hop              : 1.0.0.1 
Admin-tag-policy      : -- 
Color                 : -- 
Created               : 00h00m50s 
Last-modified         : 00h00m50s 
------------------------------------------------------------------------------- 
Resolving Prefix : 1.0.0.1/32 
Preference       : 10                   Metric           : 10 
Reference Count  : 1                    Owner            : OSPF 
Fib Programmed   : N                    
Resolved Next Hop: 1.1.0.1 
Egress Label     : 16777215             
------------------------------------------------------------------------------- 
Pending Next Hop Change 
------------------------------------------------------------------------------- 
Resolving Prefix : 1.0.0.1/32 
Preference       : 10                   Metric           : 10 
Reference Count  : 1                    Owner            : BGP (OSPF) 
Fib Programmed   : Y                   
Resolved Next Hop: 1.2.0.3 
Egress Label     : 16777216             
-------------------------------------------------------------------------------

Use the following command to display BGP next-hop information for an EVPN service.

show router bgp next-hop evpn service-id 202 10.20.1.3
Sample Output
===============================================================================
BGP Router ID:10.20.1.2        AS:200         Local AS:200        
===============================================================================

===============================================================================
BGP VPN Next Hop
===============================================================================
VPN Next Hop                                                Owner
   Autobind                                        FibProg  Reason
   Labels (User-labels)                            FlexAlgo Metric
   Admin-tag-policy (strict-tunnel-tagging)                 Last Mod.
-------------------------------------------------------------------------------
10.20.1.3                                                   LDP
   ldp bgp                                         Y        
   rvpls  (2)                                      --       10
   -- (N)                                                   00h01m24s
-------------------------------------------------------------------------------
Next Hops : 1
===============================================================================

Use the following command to display detailed BGP next-hop information for an EVPN service.

show router bgp next-hop evpn service-id 202 10.20.1.3 detail
Sample Output
===============================================================================
BGP Router ID:10.20.1.2        AS:200         Local AS:200        
===============================================================================

===============================================================================
BGP VPN Next Hop
===============================================================================
-------------------------------------------------------------------------------
VPN Next Hop          : 10.20.1.3
Autobind              : ldp bgp 
Labels                : rvpls  
User-labels           : 2
Admin-tag-policy      : --
Strict-tunnel-tagging : N
Color                 : --
Created               : 00h01m26s
Last-modified         : 00h01m26s
-------------------------------------------------------------------------------
Resolving Prefix : 10.20.1.3/32
Preference       : 9                    Metric           : 10
Reference Count  : 102                  Owner            : LDP
Fib Programmed   : Y                    
Resolved Next Hop: 3.2.0.3
Egress Label     : 159997               TunnelId         : 65563
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Next Hops : 1
===============================================================================
Table 19. BGP Next Hop Output Fields

Label

Description

BGP ID

The local BGP router ID

AS

The configured autonomous system number

Local AS

The configured local AS setting. If not configured, then the value is the same as the AS

Next Hop

The next-hop address

Resolving Prefix

Displays the prefix of the best next hop

Owner

Displays the routing protocol used to derive the best next hop

Preference

Displays the BGP preference attribute for the routes

Reference Count

Displays the number of routes using the resolving prefix

Resolved Next Hop

The IP address of the next hop

Last Modified

Displays the time elapsed since the next hop was modified

Created (only visible in detailed output)

Displays the time elapsed since the next hop was created

next-hop-id

next-hop-id

Syntax

next-hop-id [id] [nh-addr ip-address] [ nh-ifName interface-name] [replication-sid label] [oper {up | down}]

Context

[Tree] (show>router>p2mp-sr-tree>replication-segment next-hop-id)

Full Context

show router p2mp-sr-tree replication-segment next-hop-id

Description

This command displays information for the specified replication segment next-hop of the P2MP SR tree.

Parameters

id

Specifies the next-hop ID.

Values

1 to 4096

ip-address

Specifies the root IPv4 address.

interface-name

Specifies the interface name, up to 32 characters.

label

Displays the specified label number.

Values

0, 16 to 1048576

oper up

Displays the next-hop with operational status up.

oper down

Displays the next-hop with operational status down.

Platforms

All

node

node

Syntax

node

Context

[Tree] (show>router>bgp>routes>bgp-ls node)

Full Context

show router bgp routes bgp-ls node

Description

This command displays BGP-LS NLRIs for node types.

Platforms

All

ntp

ntp

Syntax

ntp [{peers | peer [router router-instance | service-name service-name] peer-address} | {servers | server [router router-instance | service-name service-name] server-address} | [all]] [detail]

Context

[Tree] (show>system ntp)

Full Context

show system ntp

Description

This command displays NTP protocol configuration and state.

Parameters

peers

Generates a list of known peers.

peer-address

Specifies the address of a specific peer.

Values

ipv4-address: a.b.c.d

ipv6-address:

  • x:x:x:x:x:x:x:x

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

  • x – [0 to FFFF] H

  • d – [0 to 255] D

servers

Generates a list of known servers.

server-address

Specifies the address of a specific server.

Values

ipv4-address: a.b.c.d

ipv6-address:

  • x:x:x:x:x:x:x:x

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

  • x – [0 to FFFF] H

  • d – [0 to 255] D

ptp: shows information about the internal PTP server.

router-instance

Specifies the routing context that contains the interface in the form of router-name or service-id.

Values

router-name — Base | Management

service-id — 1 to 2147483647

Default

Base

service name

Specifies the service name for the VPRN. The name can be up to 64 characters in length. Note that CPM routing instances are not supported.

all

Generates information for all clients, servers, and peers.

detail

Provides detailed information.

Platforms

All

Output

The following output is an example of NTP information, and Show NTP Field Description describes the output fields.

Sample Output

*A:Dut-A# show system ntp
===============================================================================
NTP Status
===============================================================================
Configured         : Yes                Stratum              : 4
Admin Status       : up                 Oper Status          : up
Server Enabled     : No                 Server Authenticate  : No
Clock Source       : 2001:db8:3333:4444:5555:10:100:2
Auth Check         : Yes
Current Date & Time: 2015/07/10 12:46:30 UTC
===============================================================================

*A:Dut-A# show system ntp all
===============================================================================
NTP Status
===============================================================================
Configured         : Yes                Stratum              : 4
Admin Status       : up                 Oper Status          : up
Server Enabled     : No                 Server Authenticate  : No
Clock Source       : 2001:db8:3333:4444:5555:10:100:2
Auth Check         : Yes
Current Date & Time: 2015/07/10 12:46:32 UTC
===============================================================================
===============================================================================
NTP Active Associations
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Router          Remote
-------------------------------------------------------------------------------
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -35.396
    Base            2001:db8:3333:4444:5555:40:1:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -30.850
    Base            2001:db8:3333:4444:5555:40:2:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -35.654
    Base            2001:db8:3333:4444:5555:40:3:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -30.939
    Base            2001:db8:3333:4444:5555:40:4:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -35.206
    67890           2001:db8:3333:4444:5555:40:5:3
chosen                    192.168.193.198 2  srvr  y  8    YYYYYYYY  -49.405
    67890           2001:db8:3333:4444:5555:70:1:4
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -49.054
    67890           2001:db8:3333:4444:5555:70:2:4
outlyer                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -48.682
    Base            2001:db8:3333:4444:5555:70:3:4
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -49.897
    Base            2001:db8:3333:4444:5555:70:4:4
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -48.991
    Base            2001:db8:3333:4444:5555:70:5:4
candidate                 192.168.193.198 2  bclnt y  8    YYYYYYYY  -48.991
    67890           2001:db8:3333:4444:5555:70:5:4

===============================================================================
===============================================================================
NTP Clients
===============================================================================
vRouter                                                    Time Last Request Rx
    Address
-------------------------------------------------------------------------------
Base
    10.10.100.1                                            03/06/2013 21:32:35
    2001:db8:3333:4444:5555:10:100:1                      03/06/2013 21:32:30
===============================================================================

*A:Dut-A# show system ntp detail
===============================================================================
NTP Status
===============================================================================
Configured         : Yes                Stratum              : 4
Admin Status       : up                 Oper Status          : up
Server Enabled     : No                 Server Authenticate  : No
Clock Source       : 2001:db8:3333:4444:5555:10:100:2
Auth Check         : Yes
Auth Errors        : 0                  Auth Errors Ignored  : 0
Auth Key Id Errors : 0                  Auth Key Type Errors : 0
Current Date & Time: 2015/07/10 12:46:34 UTC
===============================================================================

===============================================================================
NTP Configured Broadcast/Multicast Interfaces
===============================================================================
vRouter         Interface           Address             Type    Auth    Poll
-------------------------------------------------------------------------------
===============================================================================

===============================================================================
NTP Active Associations
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Router         Remote
-------------------------------------------------------------------------------
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -30.563
    Base           2001:db8:3333:4444:5555:40:1:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -35.233
    Base           2001:db8:3333:4444:5555:40:2:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -35.808
    Base           2001:db8:3333:4444:5555:40:3:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -34.563
    Base           2001:db8:3333:4444:5555:40:4:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -35.507
    Base           2001:db8:3333:4444:5555:40:5:3
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -49.990
    Base           2001:db8:3333:4444:5555:70:1:4
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -49.926
    Base           2001:db8:3333:4444:5555:70:2:4
chosen                    192.168.193.198 2  srvr  y  8    YYYYYYYY  -49.803
    Base           2001:db8:3333:4444:5555:70:3:4
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -49.897
    Base           2001:db8:3333:4444:5555:70:4:4
outlyer                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -50.180
    Base           2001:db8:3333:4444:5555:70:5:4
===============================================================================
===============================================================================
NTP Clients
===============================================================================
vRouter                                                    Time Last Request Rx
    Address
-------------------------------------------------------------------------------
Base
    10.10.100.1                                            03/06/2013 21:33:31
    2001:db8:3333:4444:5555:10:100:1                      03/06/2013 21:33:32
===============================================================================

*A:Dut-B# show system ntp all detail
===============================================================================
NTP Status
===============================================================================
Configured         : Yes                Stratum              : 4
Admin Status       : up                 Oper Status          : up
Server Enabled     : No                 Server Authenticate  : No
Clock Source       : 2001:db8:3333:4444:5555:10:100:2
Auth Check         : Yes
Auth Errors        : 0                  Auth Errors Ignored  : 0
Auth Key Id Errors : 0                  Auth Key Type Errors : 0
Current Date & Time: 2015/07/10 12:46:36 UTC
===============================================================================
===============================================================================
NTP Configured Broadcast/Multicast Interfaces
===============================================================================
vRouter         Interface           Address             Type    Auth    Poll
-------------------------------------------------------------------------------
vprn16          ies-16-10.60.1.3                        bcast   yes     8
vprn16          ies-16-10.60.2.3                        bcast   yes     8
vprn16          ies-16-10.60.3.3                        bcast   yes     8
vprn16          ies-16-10.60.4.3                        bcast   yes     8
vprn16          ies-16-10.60.5.3                        bcast   yes     8
vprn16          ies-16-10.60.6.3                        bcast   yes     8
vprn16          ies-16-10.60.7.3                        bcast   yes     8
vprn16          ies-16-10.60.8.3                        bcast   yes     8
vprn16          ies-16-10.60.9.3                        bcast   yes     8
vprn16          ies-16-10.60.10.3                       bcast   yes     8
vprn17          ies-10.40.17.3                          bcast   no      8
vprn18          ies-10.40.18.3                          bcast   no      8
vprn19          ies-10.40.19.3                          bcast   no      8
vprn20          ies-10.40.20.3                          bcast   no      8
........
vprn996         ies-10.43.228.3                         bcast   no      8
vprn997         ies-10.43.229.3                         bcast   no      8
vprn998         ies-10.43.230.3                         bcast   no      8
vprn999         ies-10.43.231.3                         bcast   no      8
vprn1000        ies-10.43.232.3                         bcast   no      8
management      management          192.0.2.1           mcast   yes     8
Base            ip-10.60.1.5        Host-ones           bclnt   yes     n/a
Base            ip-10.60.2.5        Host-ones           bclnt   yes     n/a
Base            ip-10.60.3.5        Host-ones           bclnt   yes     n/a
Base            ip-10.60.4.5        Host-ones           bclnt   yes     n/a
67890           ip-10.60.5.5        Host-ones           bclnt   yes     n/a
67890           ip-10.60.6.5        Host-ones           bclnt   yes     n/a
67890           ip-10.60.7.5        Host-ones           bclnt   yes     n/a
67890           ip-10.60.8.5        Host-ones           bclnt   yes     n/a
67890           ip-10.60.9.5        Host-ones           bclnt   yes     n/a
67890           ip-10.60.10.5       Host-ones           bclnt   yes     n/a
===============================================================================
===============================================================================
NTP Active Associations
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Remote
-------------------------------------------------------------------------------
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -30.563
    Base           2001:db8:3333:4444:5555:40:1:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -35.233
    Base           2001:db8:3333:4444:5555:40:2:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -35.808
    Base           2001:db8:3333:4444:5555:40:3:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -34.563
    Base           2001:db8:3333:4444:5555:40:4:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -35.507
    Base           2001:db8:3333:4444:5555:40:5:3
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -49.990
    Base           2001:db8:3333:4444:5555:70:1:4
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -49.926
    Base           2001:db8:3333:4444:5555:70:2:4
chosen                    192.168.193.198 2  srvr  y  8    YYYYYYYY  -49.803
    Base           2001:db8:3333:4444:5555:70:3:4
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -49.897
    Base           2001:db8:3333:4444:5555:70:4:4
outlyer                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -50.180
    Base           2001:db8:3333:4444:5555:70:5:4
===============================================================================
===============================================================================
NTP Clients
===============================================================================
vRouter                                                    Time Last Request Rx
    Address
-------------------------------------------------------------------------------
Base
    10.10.100.1                                            03/06/2013 21:33:31
    2001:db8:3333:4444:5555:10:100:1                      03/06/2013 21:33:32
===============================================================================

*A:Dut-C# show system ntp peers
===============================================================================
NTP Active Associations
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Router         Remote                                            
-------------------------------------------------------------------------------
candidate                 192.168.193.198 2  actpr y  8    YYYYYYYY  -20.918
    Base           2001:db8:3333:4444:5555:50:1:4
candidate                 192.168.193.198 2  actpr y  8    YYYYYYY.  -19.940
    Base           2001:db8:3333:4444:5555:50:2:4
candidate                 192.168.193.198 2  actpr y  8    YYYYYYYY  -19.970
    Base           2001:db8:3333:4444:5555:50:3:4
candidate                 192.168.193.198 2  actpr y  8    YYYYYYYY  -20.505
    Base           2001:db8:3333:4444:5555:50:4:4
candidate                 192.168.193.198 2  actpr y  8    YYYYYYY.  -21.143
    Base           2001:db8:3333:4444:5555:50:5:4
candidate                 192.168.193.198 2  paspr y  8    YYYYYYY.  -19.598
    Base           2001:db8:3333:4444:5555:50:8:4
candidate                 192.168.193.198 2  paspr y  8    YYYYYYY.  -19.038
    Base           2001:db8:3333:4444:5555:50:7:4
candidate                 192.168.193.198 2  paspr y  8    YYYYYYY.  -20.427
    Base           2001:db8:3333:4444:5555:50:9:4
candidate                 192.168.193.198 2  paspr y  8    YYYYYYYY  -20.709
    Base           2001:db8:3333:4444:5555:50:10:4
candidate                 192.168.193.198 2  paspr y  8    YYYYYYY.  -19.729
    Base           2001:db8:3333:4444:5555:50:6:4
===============================================================================
===============================================================================
NTP Clients
===============================================================================
vRouter                                                    Time Last Request Rx
    Address
-------------------------------------------------------------------------------
vprn1
    2001:db8:3333:4444:5555:40:1:2                        03/06/2013 21:35:22
vprn2
    2001:db8:3333:4444:5555:40:2:2                        03/06/2013 21:35:27
vprn3
    2001:db8:3333:4444:5555:40:3:2                        03/06/2013 21:35:30
vprn4
    2001:db8:3333:4444:5555:40:4:2                        03/06/2013 21:35:24
===============================================================================
 
*B:SR_ORDINARY_MASTER# show system ntp peers detail
===============================================================================
NTP Active Associations
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Router         Remote                                            
-------------------------------------------------------------------------------
candidate                 192.168.193.198 2  actpr y  8    YYYYYYYY  -20.918
    Base           2001:db8:3333:4444:5555:50:1:4
candidate                 192.168.193.198 2  actpr y  8    YYYYYYY.  -19.940
    Base           2001:db8:3333:4444:5555:50:2:4
candidate                 192.168.193.198 2  actpr y  8    YYYYYYYY  -19.970
    Base           2001:db8:3333:4444:5555:50:3:4
candidate                 192.168.193.198 2  actpr y  8    YYYYYYYY  -20.505
    Base           2001:db8:3333:4444:5555:50:4:4
candidate                 192.168.193.198 2  actpr y  8    YYYYYYY.  -21.143
    Base           2001:db8:3333:4444:5555:50:5:4
candidate                 192.168.193.198 2  paspr y  8    YYYYYYY.  -19.598
    Base           2001:db8:3333:4444:5555:50:8:4
candidate                 192.168.193.198 2  paspr y  8    YYYYYYY.  -19.038
    Base           2001:db8:3333:4444:5555:50:7:4
candidate                 192.168.193.198 2  paspr y  8    YYYYYYY.  -20.427
    Base           2001:db8:3333:4444:5555:50:9:4
candidate                 192.168.193.198 2  paspr y  8    YYYYYYYY  -20.709
    Base           2001:db8:3333:4444:5555:50:10:4
candidate                 192.168.193.198 2  paspr y  8    YYYYYYY.  -19.729
    Base           2001:db8:3333:4444:5555:50:6:4
===============================================================================
===============================================================================
NTP Clients
===============================================================================
vRouter                                                    Time Last Request Rx
    Address
-------------------------------------------------------------------------------
vprn1
    2001:db8:3333:4444:5555:40:1:2                        03/06/2013 21:35:22
vprn2
    2001:db8:3333:4444:5555:40:2:2                        03/06/2013 21:35:27
vprn3
    2001:db8:3333:4444:5555:40:3:2                        03/06/2013 21:35:30
vprn4
    2001:db8:3333:4444:5555:40:4:2                        03/06/2013 21:35:24
===============================================================================

*A:Dut-C# show system ntp peer router Base 2001:db8:3333:4444:5555:50:1:4
===============================================================================
NTP Peer
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Router        Remote
-------------------------------------------------------------------------------
candidate                 192.168.193.198 2  actpr y  8    YYYYYYYY  -24.164
    Base           2001:db8:3333:4444:5555:50:1:4
===============================================================================

*B:SR_ORDINARY_MASTER# show system ntp peer router Base 2001:db8:3333:4444:5555:50:1:4 detail
===============================================================================
NTP Peer
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Router        Remote
-------------------------------------------------------------------------------
candidate                 192.168.193.198 2  actpr y  8    YYYYYYYY  -24.164
    Base           2001:db8:3333:4444:5555:50:1:4
===============================================================================

*A:Dut-B# show system ntp servers
===============================================================================
NTP Active Associations
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Router         Remote
-------------------------------------------------------------------------------
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -25.124
    Base           2001:db8:3333:4444:5555:40:1:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -19.409
    vprn20          2001:db8:3333:4444:5555:40:2:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -26.174
    vprn20          2001:db8:3333:4444:5555:40:3:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -25.193
    vprn20          2001:db8:3333:4444:5555:40:4:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -19.499
    vprn20          2001:db8:3333:4444:5555:40:5:3
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -49.050
    vprn20          2001:db8:3333:4444:5555:70:1:4
chosen                    192.168.193.198 2  srvr  y  8    YYYYYYYY  -48.754
    vprn20          2001:db8:3333:4444:5555:70:2:4
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -48.891
    vprn20          2001:db8:3333:4444:5555:70:3:4
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -48.562
    vprn20          2001:db8:3333:4444:5555:70:4:4
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -48.687
    vprn20          2001:db8:3333:4444:5555:70:5:4
===============================================================================
===============================================================================
NTP Clients
===============================================================================
vRouter                                                    Time Last Request Rx
    Address
-------------------------------------------------------------------------------
Base
    10.10.100.1                                            03/06/2013 21:39:27
    2001:db8:3333:4444:5555:10:100:1                      03/06/2013 21:39:21
===============================================================================

*A:Dut-B# show system ntp servers detail
===============================================================================
NTP Active Associations
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Router         Remote
-------------------------------------------------------------------------------
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -25.124
    Base           2001:db8:3333:4444:5555:40:1:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -19.409
    vprn20          2001:db8:3333:4444:5555:40:2:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -26.174
    vprn20          2001:db8:3333:4444:5555:40:3:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -25.193
    vprn20          2001:db8:3333:4444:5555:40:4:3
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -19.499
    vprn20          2001:db8:3333:4444:5555:40:5:3
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -49.050
    vprn20          2001:db8:3333:4444:5555:70:1:4
chosen                    192.168.193.198 2  srvr  y  8    YYYYYYYY  -48.754
    vprn20          2001:db8:3333:4444:5555:70:2:4
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -48.891
    vprn20          2001:db8:3333:4444:5555:70:3:4
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -48.562
    vprn20          2001:db8:3333:4444:5555:70:4:4
candidate                 192.168.193.198 2  srvr  y  8    YYYYYYYY  -48.687
    vprn20          2001:db8:3333:4444:5555:70:5:4
===============================================================================
===============================================================================
NTP Clients
===============================================================================
vRouter                                                    Time Last Request Rx
    Address
-------------------------------------------------------------------------------
Base
    10.10.100.1                                            03/06/2013 21:39:27
    2001:db8:3333:4444:5555:10:100:1                      03/06/2013 21:39:21
===============================================================================

*A:Dut-B# show system ntp server service-name vprn20 2001:db8:3333:4444:5555:40:1:3
===============================================================================
NTP Server
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Router          Remote
-------------------------------------------------------------------------------
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -19.679
    vprn20          2001:db8:3333:4444:5555:40:1:3
===============================================================================
*

A:Dut B# show system ntp server servicename vprn20 2001:db8:3333:4444:5555:40:1:3 
detail
===============================================================================
NTP Server
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Router          Remote
-------------------------------------------------------------------------------
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -19.679
    vprn20          2001:db8:3333:4444:5555:40:1:3
===============================================================================

*A:Dut-C# show system ntp peer router 20 2001:db8:3333:4444:5555:50:1:4
===============================================================================
NTP Peer
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Router          Remote
-------------------------------------------------------------------------------
candidate                 192.168.193.198 2  actpr y  8    YYYYYYYY  -24.164
    vprn20          2001:db8:3333:4444:5555:50:1:4
===============================================================================

*B:SR_ORDINARY_MASTER# show system ntp peer router 20 2001:db8:3333:4444:5555:50:1:4 detail
===============================================================================
NTP Peer
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Router          Remote
-------------------------------------------------------------------------------
candidate                 192.168.193.198 2  actpr y  8    YYYYYYYY  -24.164
    vprn20          2001:db8:3333:4444:5555:50:1:4
===============================================================================

*A:Dut-B# show system ntp server router 20 2001:db8:3333:4444:5555:40:1:3
===============================================================================
NTP Server
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Router          Remote
-------------------------------------------------------------------------------
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -19.679
    vprn20          2001:db8:3333:4444:5555:40:1:3
===============================================================================

A:Dut-B# show system ntp server router 20 2001:db8:3333:4444:5555:40:1:3 detail
===============================================================================
NTP Server
===============================================================================
State                     Reference ID    St Type  A  Poll Reach     Offset(ms)
    Router          Remote
-------------------------------------------------------------------------------
invalid                   192.168.193.198 2  srvr  y  8    YYYYYYYY  -19.679
    vprn20          2001:db8:3333:4444:5555:40:1:3
===============================================================================
Table 20. Show NTP Field Description

Label

Description

Configured

Yes — NTP is configured.

No — NTP is not configured.

Admin Status

up — Administrative state is enabled.

down — Administrative state is disabled.

Server Enabled

Yes — This node is configured to serve external clients.

No — This node is not configured to server external clients.

Stratum

Displays stratum level of this node.

Oper Status

up — The operational state is enabled.

down — The operational state is disabled.

Auth Check

Displays the authentication requirement.

Server Authenticate

Yes — Authentication is mandatory on received requests.

No — Authentication is not mandatory on received requests.

Clock Source

Address of the chosen server.

Auth Errors

Displays the number of authentication errors.

Auth Errors Ignored

Displays the number of authentication errors ignored.

Auth key Id Errors

Displays the number of key identification errors.

Auth Key Type Errors

Displays the number of authentication key type errors.

Current Date & Time

Current date and time as determined by the NTP process in the node.

vRouter

The router instance containing the interface.

Router

The router instance containing the address.

Interface

The interface configured in NTP.

Address

The address used for transmitted messages.

Type

bcast — broadcast interface

mcast — multicast interface

bclnt — broadcast client

srvr — server

actpr — active peer

paspr — passive peer

Auth

yes — Authentication in use.

no — Authentication not in use.

Poll

# — Current poll interval used on the interface.

State

Reject — The peer is rejected and will not be used for synchronization. Rejection reasons could be the peer is unreachable, the peer is synchronized to this local server so synchronizing with it would create a sync loop, or the synchronization distance is too large. This is the normal startup state.

Invalid — The peer is not maintaining an accurate clock. This peer will not be used for synchronization.

Excess — The peer's synchronization distance is greater than ten other peers. This peer will not be used for synchronization.

Outlier — The peer is discarded as an outlier. This peer will not be used for synchronization.

Candidate — The peer is accepted as a possible source of synchronization.

Selected — The peer is an acceptable source of synchronization, but its synchronization distance is greater than six other peers.

Chosen — The peer is chosen as the source of synchronization.

ChosenPPS — The peer is chosen as the source of synchronization, but the actual synchronization is occurring from a pulse-per-second (PPS) signal.

Remote

The IP address of the remote NTP server or peer with which this local host is exchanging NTP packets.

Reference ID

When stratum is between 0 and 15 this field shows the IP address of the remote NTP server or peer with which the remote is exchanging NTP packets. For reference clocks, this field shows the identification assigned to the clock, such as, ‟.GPS.” For an NTP server or peer, if the client has not yet synchronized to a server/peer, the status cannot be determined and displays the following codes:

Peer Codes:

ACST — The association belongs to any cast server.

AUTH — Server authentication failed. Wait while the association is restarted.

AUTO — Autokey sequence failed. Wait while the association is restarted.

BCST — The association belongs to a broadcast server.

CRPT— Cryptographic authentication or identification failed. The details should be in the system log file or the cryptostats statistics file, if configured. No further messages will be sent to the server.

DENY — Access denied by remote server. No further messages will be sent to the server.

DROP — Lost peer in symmetric mode. Wait while the association is restarted.

RSTR — Access denied due to local policy. No further messages will be sent to the server.

INIT — The association has not yet synchronized for the first time.

MCST — The association belongs to a manycast server.

NKEY — No key found. Either the key was never installed or is not trusted.

RATE — Rate exceeded. The server has temporarily denied access because the client exceeded the rate threshold.

RMOT — The association from a remote host running the ntpdc utility has had unauthorized attempted access.

STEP — A step change in system time has occurred, but the association has not yet resynchronized.

System Codes:

INIT — The system clock has not yet synchronized for the first time.

STEP — A step change in system time has occurred, but the system clock has not yet resynchronized.

St

Stratum level of this node.

A

y — Authentication is enabled.

n — Authentication is disabled.

Poll

Polling interval.

Reach

Shows the reachability for the most recent polls (up to 8):

Y — The NTP peer or server did respond in the indicated poll.

No — The NTP peer or server did not respond in the indicated poll.

Offset

The time between the local and remote UTC time, in milliseconds.

Time Last Request Rx

The time at which the last request was received from the client.

number-of-tunnels

number-of-tunnels

Syntax

number-of-tunnels tunnel-type tunnel-type isa mda

number-of-tunnels tunnel-type tunnel-type esa-vm esa-id/vm-id

number-of-tunnels tunnel-type tunnel-type system

number-of-tunnels tunnel-type tunnel-type tunnel-group tunnel-group-id

Context

[Tree] (show>isa>stats>ip-tunnel-stats number-of-tunnels)

Full Context

show isa statistics ip-tunnel-stats number-of-tunnels

Description

This command displays the number of tunnels that are operationally up for the specified tunnel and scope.

The following scope types are supported:

  • per ISA

  • per tunnel group

  • per system

    Note that L2TPv2 does not have a per-ISA scope.

The system collects statistics every hour for the past 24 hours per wall clock. A current value is also included in the output.

Parameters

tunnel-type

Displays information about the tunnel type.

Values

gre, ip-in-ip, l2tpv3

mda

Displays information about the ISA ID.

Values

slot/mda

system

Displays information about the system.

tunnel-group-id

Displays information about the tunnel group ID.

Values

1 to 16

esa-vm

Displays the ID of the configured ESA and ESA VM.

Values

esa-vm:

esa-id/vm-id

esa-id

1 to 16

vm-id

1 to 4

Platforms

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

number-of-tunnels

Syntax

number-of-tunnels gateway name [history-stats-in-count count] [history-stats-in-min minutes] [current]

number-of-tunnels [history-stats-in-count count] [history-stats-in-min minutes] [ current] esa-vm esa-id/vm-id

number-of-tunnels tunnel-type tunnel-type [ history-stats-in-count count] [history-stats-in-min minutes] [current] [show-oid] esa-vm esa-id/vm-id

number-of-tunnels tunnel-type tunnel-type gateway name [history-stats-in-count count] [history-stats-in-min minutes] [ current] [show-oid]

number-of-tunnels isa mda [history-stats-in-count count] [history-stats-in-min minutes] [current]

number-of-tunnels tunnel-type tunnel-type isa mda [history-stats-in-count count] [history-stats-in-min minutes] [ current] [show-oid]

number-of-tunnels system [history-stats-in-count count] [history-stats-in-min minutes] [ current]

number-of-tunnels tunnel-type tunnel-type system [ history-stats-in-count count] [history-stats-in-min minutes] [current] [show-oid]

number-of-tunnels tunnel-group tunnel-group-id [ history-stats-in-count count] [history-stats-in-min minutes] [current]

number-of-tunnels tunnel-type tunnel-type tunnel-group tunnel-group-id [history-stats-in-count count] [history-stats-in-min minutes] [ current] [show-oid]

Context

[Tree] (show>isa>stats>ipsec-stats number-of-tunnels)

Full Context

show isa statistics ipsec-stats number-of-tunnels

Description

This command displays information for the number of IPsec tunnel statistics of the specified tunnel type and scope. The system collects statistics every hour for the last 24 hour according to the wall clock. The current value is also included in the output.

This command supports following scopes:

  • per system

  • per ISA

  • per tunnel group

  • per IPsec GW

The start time value in the output indicates the time when the results are collected.

Parameters

tunnel-type

Displays information about the specified the tunnel type.

Values

all, sl2l, dl2l, ra

mda

Displays information about the specified ISA ID.

Values

slot/mda

tunnel-group-id

Displays information about the specified tunnel group ID.

Values

1 to 16

name

Displays information about the specified IPsec GW name up to 32 characters in length.

count

Displays information for the number of statistics intervals to be displayed (starting with the most recent).

Values

1 to 96

minutes

Displays information about the specified period covered by the statistics to be displayed (starting with the most recent).

Values

1 to 1440

current

Displays information about the current value. The values of count and minutes are ignored by the system once this parameter is specified.

show-oid

Displays information about the Object Identifier (OID) of the current statistical value.

esa-vm

Displays the ID of the configured ESA and ESA VM.

Values

esa-vm:

esa-id/vm-id

esa-id

1 to 16

vm-id

1 to 4

Platforms

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

Output

The following is an example output of the show isa statistics ipsec-stats number of tunnels command.

Sample Output
show>isa>stats>ipsec-stats# number-of-tunnels tunnel-group 1 
===============================================================================
STATISTICS FOR ISA TUNNEL GROUP 1
===============================================================================
INDEX        VALUE                     START TIME          SAMPLING DURATION
-------------------------------------------------------------------------------
NUMBER OF TOTAL IPSEC TUNNELS
1 (CURRENT)  1                         2017/05/23 00:30:13 N/A
2            1                         2017/05/23 00:00:00 N/A
3            1                         2017/05/22 23:00:00 N/A
4            0                         2017/05/22 22:00:00 N/A
5            0                         2017/05/22 21:00:00 N/A
6            0                         2017/05/22 20:00:00 N/A
7            0                         2017/05/22 19:00:00 N/A
8            1                         2017/05/22 18:00:00 N/A
NUMBER OF IPSEC STATIC LAN-TO-LAN (SL2L) TUNNELS
1 (CURRENT)  0                         2017/05/23 00:30:13 N/A
2            0                         2017/05/23 00:00:00 N/A
3            0                         2017/05/22 23:00:00 N/A
4            0                         2017/05/22 22:00:00 N/A
5            0                         2017/05/22 21:00:00 N/A
6            0                         2017/05/22 20:00:00 N/A
7            0                         2017/05/22 19:00:00 N/A
8            0                         2017/05/22 18:00:00 N/A
NUMBER OF IPSEC DYNAMIC LAN-TO-LAN (DL2L) TUNNELS
1 (CURRENT)  0                         2017/05/23 00:30:13 N/A
2            0                         2017/05/23 00:00:00 N/A
3            0                         2017/05/22 23:00:00 N/A
4            0                         2017/05/22 22:00:00 N/A
5            0                         2017/05/22 21:00:00 N/A
6            0                         2017/05/22 20:00:00 N/A
7            0                         2017/05/22 19:00:00 N/A
8            0                         2017/05/22 18:00:00 N/A
NUMBER OF IPSEC REMOTE ACCESS (RA) TUNNELS
1 (CURRENT)  1                         2017/05/23 00:30:13 N/A
2            1                         2017/05/23 00:00:00 N/A
3            1                         2017/05/22 23:00:00 N/A
4            0                         2017/05/22 22:00:00 N/A
5            0                         2017/05/22 21:00:00 N/A
6            0                         2017/05/22 20:00:00 N/A
7            0                         2017/05/22 19:00:00 N/A
8            1                         2017/05/22 18:00:00 N/A
-------------------------------------------------------------------------------
NO. OF ENTRIES: 32
===============================================================================
SHOW>ISA>STATS>IPSEC-STATS# NUMBER-OF-TUNNELS TUNNEL-GROUP 1 SHOW-OID TUNNEL-TYPE ALL 
-------------------------------------------------------------------------------
CURRENT STATISTIC INFO
-------------------------------------------------------------------------------
OID: TMNXIPSECTNLGRPHISTSTATSVALUE10.1.1.2
-------------------------------------------------------------------------------
===============================================================================
STATISTICS FOR ISA TUNNEL GROUP 1
===============================================================================
INDEX        VALUE                     START TIME          SAMPLING DURATION
-------------------------------------------------------------------------------
NUMBER OF TOTAL IPSEC TUNNELS
1 (CURRENT)  1                         2017/05/23 00:32:04 N/A
2            1                         2017/05/23 00:00:00 N/A
3            1                         2017/05/22 23:00:00 N/A
4            0                         2017/05/22 22:00:00 N/A
5            0                         2017/05/22 21:00:00 N/A
6            0                         2017/05/22 20:00:00 N/A
7            0                         2017/05/22 19:00:00 N/A
8            1                         2017/05/22 18:00:00 N/A
-------------------------------------------------------------------------------
NO. OF ENTRIES: 8                     
===============================================================================