l Commands
l2-aware
l2-aware
Syntax
l2-aware create subscriber sub-ident-string ip ip-address protocol {tcp | udp} [port port] lifetime lifetime [outside-ip ip-address] [outside-port port] [nat-policy policy-name]
l2-aware delete subscriber sub-ident-string ip ip-address protocol {tcp | udp} port port [nat-policy policy-name]
l2-aware modify subscriber sub-ident-string ip ip-address protocol {tcp | udp} port port lifetime lifetime [nat-policy policy-name]
Context
[Tree] (tools>perform>nat>port-forwarding-action l2-aware)
Full Context
tools perform nat port-forwarding-action l2-aware
Description
This command enables Layer-2-Aware NAT port forwarding action.
Platforms
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
l2-aware-blocks
l2-aware-blocks
Syntax
l2-aware-blocks [outside-ip-prefix ip-prefix/length] [outside-port [1..65535]] [pool pool-name]
Context
[Tree] (show>router>nat l2-aware-blocks)
Full Context
show router nat l2-aware-blocks
Description
This command displays Layer 2 aware NAT blocks.
Parameters
- ip-prefix
-
Specifies the IP prefix.
- length
-
Specifies the IP prefix length.
- pool-name
-
Specifies the pool name up to 32 characters.
Platforms
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
Output
The following is sample output for this command.
Sample Outputshow router nat l2-aware-blocks
===============================================================================
Layer-2-Aware NAT blocks for Base
===============================================================================
10.81.0.0 [32..33]
Pool : MyPool
Policy : outPolicy
Started : 2010/02/04 16:24:55
Subscriber ID : Sub001
10.81.0.0 [34..35]
Pool : MyPool
Policy : outPolicy
Started : 2010/02/04 16:25:24
Subscriber ID : Sub003
10.81.0.203 [32..41]
Pool : MyPool2
Policy : outPolicy2
Started: 2010/02/04 16:25:21
Subscriber ID : Sub002
-------------------------------------------------------------------------------
Number of blocks: 3
===============================================================================
l2-aware-hosts
l2-aware-hosts
Syntax
l2-aware-hosts [outside-router router-instance] [outside-ip outside-ip-address] [inside-ip-prefix ip-prefix/mask] [vas-filter vas-filter-name]
Context
[Tree] (show>service>nat l2-aware-hosts)
Full Context
show service nat l2-aware-hosts
Description
This command displays layer-2 aware NAT hosts.
Parameters
- nat-policy-name
-
Specifies the NAT policy name, up to 32 characters.
- nat-group-id
-
Specifies the NAT group ID.
- router-instance
-
Specifies the router instance.
- outside-ip-address
-
Specifies the outside IP address.
- sub-ident
-
Specifies the identifier, up to 32 characters.
Platforms
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
Output
The following is sample output for this command.
Sample Outputshow service nat l2-aware-hosts
===============================================================================
Layer-2-Aware NAT hosts
===============================================================================
Inside IP Out-Router Outside IP Subscriber
-------------------------------------------------------------------------------
10.0.0.100 Base 10.81.0.0 Sub001
10.0.0.102 Base 10.81.0.0 Sub001
10.0.0.101 Base 10.81.0.203 Sub002
10.0.0.103 Base 10.81.0.0 Sub003
-------------------------------------------------------------------------------
No. of hosts: 4
===============================================================================
l2-aware-sub
l2-aware-sub
Syntax
l2-aware-sub sub-ident-string
l2-aware-sub sub-ident-string firewall-statistics
Context
[Tree] (clear>nat l2-aware-sub)
Full Context
clear nat l2-aware-sub
Description
This command clears NAT mappings for L2-Aware subscribers.
Parameters
- sub-ident-string
-
Specifies the subscriber identification string, up to 64 characters.
- firewall-statistics
-
Clears only the firewall counters.
Platforms
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
l2-aware-subscribers
l2-aware-subscribers
Syntax
l2-aware-subscribers subscriber sub-ident
l2-aware-subscribers [nat-policy nat-policy-name] [nat-group nat-group-id] [member [1..255]] [outside-router router-instance] [outside-ip outside-ip-address] [firewall-policy policy-name]
Context
[Tree] (show>service>nat l2-aware-subscribers)
Full Context
show service nat l2-aware-subscribers
Description
This command displays layer-2 aware NAT subscribers.
Parameters
- nat-policy-name
-
Specifies the NAT policy name, up to 32 characters.
- nat-group-id
-
Specifies the NAT group ID.
- router-instance
-
Specifies the router instance.
- outside-ip-address
-
Specifies the outside IP address.
- sub-ident
-
Specifies the identifier, up to 32 characters.
Platforms
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
Output
The following is sample output for this command.
Sample Outputshow service nat l2-aware-subscribers
===============================================================================
Layer-2-Aware NAT subscribers
===============================================================================
Subscriber Policy Group/Member
Outside IP Router Ports
-------------------------------------------------------------------------------
Sub001 outPolicy 1/1
10.81.0.0 Base 32-33
Sub002 outPolicy2 1/1
10.81.0.203 Base 32-41
Sub003 outPolicy 1/1
10.81.0.0 Base 34-35
-------------------------------------------------------------------------------
No. of subscribers: 3
===============================================================================
show service nat l2-aware-subscribers subscriber "Sub881”
===============================================================================
Layer-2-Aware NAT subscriber Sub001
===============================================================================
Policy : outPolicy
ISA NAT group : 1
ISA NAT group member : 1
Outside router : Base
Outside IP : 10.81.0.0
ICMP Port usage (%) : < 1
ICMP Port usage high : false
UDP Port usage (%) : < 1
UDP Port usage high : false
TCP Port usage (%) : < 1
TCP Port usage high : false
Session usage (%) : < 1
Session usage high : false
Number of sessions : 0
Number of reserved sessions : 0
Ports : 32-33
===============================================================================
l2-route-table
l2-route-table
Syntax
l2-route-table [detail] [bgp-ad] [multi-homing] [bgp-vpls] [bgp-vpws] [all-routes]
Context
[Tree] (show>service l2-route-table)
Full Context
show service l2-route-table
Description
This command displays Layer 2 route table information.
Parameters
- detail
-
Displays detailed information.
- bgp-ad
-
Displays BGP AD related information.
- multi-homing
-
Displays multihoming related information.
- bgp-vpls
-
Displays BGP VPLS related information.
- bgp-vpws
-
Displays BGP VPWS related information.
- all-routes
-
Displays active or inactive routes.
Platforms
All
Output
Use the following command to display Layer 2 route table information.
Sample Outputshow service l2-route-table
========================================================================
Services: L2 Route Information - Summary
========================================================================
Svc Id L2-Routes (RD-Prefix) Next Hop Origin
Sdp Bind Id PW Temp Id
------------------------------------------------------------------------
1000 *192.0.2.3:60002-192.0.2.3 192.0.2.3 BGP-L2
32766:4294967293 1
------------------------------------------------------------------------
No. of L2 Route Entries: 1
========================================================================
===============================================================================
Services: L2 Multi-Homing Route Information - Summary
===============================================================================
Svc Id L2-Routes (RD-Prefix) Next Hop SiteId State DF
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
No. of L2 Multi-Homing Route Entries: 0
===============================================================================
========================================================
Services: L2 Bgp-Vpls Route Information - Summary
========================================================
Svc Id L2-Routes (RD) Next Hop Ve-Id
Sdp Bind Id PW Temp Id
--------------------------------------------------------
1001 *192.0.2.3:60003 192.0.2.3 3
32765:4294967292 1
--------------------------------------------------------
No. of L2 Bgp-Vpls Route Entries: 1
========================================================
========================================================
Services: L2 Bgp-Vpws Route Information - Summary
========================================================
Svc Id L2-Routes (RD) Next Hop Ve-Id
Sdp Bind Id PW Temp Id
--------------------------------------------------------
1002 *192.0.2.3:60004 192.0.2.3 3
32764:4294967291 1
--------------------------------------------------------
No. of L2 Bgp-Vpws Route Entries: 1
========================================================
show service l2-route-table bgp-vpls
========================================================
Services: L2 Bgp-Vpls Route Information - Summary
========================================================
Svc Id L2-Routes (RD) Next Hop Ve-Id
Sdp Bind Id PW Temp Id
--------------------------------------------------------
1001 *192.0.2.3:60003 192.0.2.3 3
32765:4294967292 1
--------------------------------------------------------
No. of L2 Bgp-Vpls Route Entries: 1
========================================================
show service l2-route-table detail
===============================================================================
Services: L2 Route Information - Summary
===============================================================================
Svc Id : 1000
Origin : BGP-L2
PW Temp Id : 1
RD-Prefix : *192.0.2.3:60002-192.0.2.3
Next Hop : 192.0.2.3
Status : active
Sdp Bind Id : 32766:4294967293
===============================================================================
===============================================================================
Services: L2 Multi-Homing Route Information - Summary
===============================================================================
===============================================================================
===============================================================================
Services: L2 Bgp-Vpls Route Information - Summary
===============================================================================
Svc Id : 1001
VeId : 3
PW Temp Id : 1
RD : *192.0.2.3 : 60003
Next Hop : 192.0.2.3
State (D-Bit) : up(0)
Path MTU : 1514
Hash Label Tx : 1
Hash Label Rx : 1
Control Word : 0
Seq Delivery : 0
DF Bit : clear
Status : active
Sdp Bind Id : 32765:4294967292
===============================================================================
===============================================================================
Services: L2 Bgp-Vpws Route Information - Summary
===============================================================================
Svc Id : 1002
VeId : 3
PW Temp Id : 1
RD : *192.0.2.3:60004
Next Hop : 192.0.2.3
State (D-Bit) : up(0)
Path MTU : 1514
Hash Label Tx : 1
Hash Label Rx : 1
Control Word : 0
Seq Delivery : 0
Status : active
Tx Status : active
CSV : 0
Preference : 0
Sdp Bind Id : 32764:4294967291
===============================================================================
l2-route-table
Syntax
l2-route-table [detail] [bgp-ad] [multi-homing] [bgp-vpls] [bgp-vpws] [all-routes]
Context
[Tree] (show>service>id l2-route-table)
Full Context
show service id l2-route-table
Description
This command displays Layer 2 route table information.
Parameters
- detail
-
Displays detailed information.
- bgp-ad
-
Displays BGP-AD information.
- multi-homing
-
Displays multi-homing information.
- bgp-vpls
-
Displays BGP VPLS information.
- bgp-vpws
-
Displays BGP VPWS information.
- all-routes
-
Displays active or inactive routes.
Platforms
All
Output
Use the following command to display Layer 2 route table information.
Sample Outputshow service id 1 l2-route-table detail
===============================================================================
Services L2 Route Information Detail - Service 1
===============================================================================
-------------------------------------------------------------------------------
BGP Auto-discovery Information
-------------------------------------------------------------------------------
Admin State : Down
Vpls Id : 100.1.200.1:65535
Prefix : 10.20.1.3
-------------------------------------------------------------------------------
===============================================================================
Services: L2 Route Information - Service 1
===============================================================================
===============================================================================
===============================================================================
Services: L2 Multi-Homing Route Information - Summary
===============================================================================
===============================================================================
===============================================================================
Services: L2 Bgp-Vpls Route Information - Service 1
===============================================================================
VeId : 1
PW Temp Id : 20
RD : *10.20.1.1:1
Next Hop : 10.20.1.1
State (D-Bit) : up(0)
Path MTU : 0
Hash Label Tx : 1
Hash Label Rx : 1
Control Word : 0
Seq Delivery : 0
DF Bit : clear
Status : active
Sdp Bind Id : 32767:4294967295
VeId : 4
PW Temp Id : 20
RD : *10.20.1.6:1
Next Hop : 10.20.1.6
State (D-Bit) : up(0)
Path MTU : 0
Hash Label Tx : 1
Hash Label Rx : 1
Control Word : 0
Seq Delivery : 0
DF Bit : clear
Status : active
Sdp Bind Id : 32766:4294967292
===============================================================================
===============================================================================
Services: L2 Bgp-Vpws Route Information - Service 1
===============================================================================
===============================================================================
Label |
Description |
---|---|
Admin State |
Displays the administrative state of the service Up — Indicates the service is administratively enabled Down — Indicates the service is administratively disabled |
Vpls Id |
Displays the Virtual Private LAN Service (VPLS) ID |
Prefix |
Displays information for the specified IP prefix and mask length |
VeId |
Displays the VEID for BGP-VPLS routes |
PW Temp Id |
Displays the Pseudowire (PW) temporary ID |
RD |
Displays information for the route distinguisher |
Next Hop |
Displays the next hop for the route |
State (D-Bit) |
Displays the state of the Disable-bit (D-bit).The D-bit ensures packet integrity between the terminal and host packet assembler/disassemblers |
Path MTU |
Displays the maximum transmission unit (MTU) of the path |
Hash Label Tx |
Displays the transmit hash label value |
Hash Label Rx |
Displays the receive hash label value |
Control Word |
Displays information about the control word. The control word is an optional 4-byte field used in the pseudowire packet |
Seq Delivery |
Displays information about sequence delivery |
DF Bit |
Displays information about the DF bit |
Status |
Displays the status of the service |
Sdp Bind Id |
Displays information about the SDP binding ID |
l2-services
l2-services
Syntax
l2-services [service service-id]
Context
[Tree] (show>cflowd l2-services)
Full Context
show cflowd l2-services
Description
This command displays Layer 2 and SAP/SDP services on which Layer 2 sampling is enabled.
Parameters
- service-id
-
Specifies the service ID.
Platforms
All
Output
The following output is an example of cflowd Layer 2 services information.
Sample Output*A:Dut-B>config>cflowd# show cflowd l2-services
===============================================================================
Cflowd L2-Services
===============================================================================
ServiceId Type SAP Admin Oper
-------------------------------------------------------------------------------
1 Epipe 1/1/8:1 Up Up
-------------------------------------------------------------------------------
No. of SAPs: 1
===============================================================================
l2-vpn
l2-vpn
Syntax
l2-vpn [aspath-regex reg-exp] [community comm-id] [rd rd] [brief] [l2vpn-type] [veid veid] [offset vpls-base-offset] [siteid site-id]
l2-vpn [aspath-regex reg-exp] hunt [community comm-id] [rd rd] [brief] [l2vpn-type] [veid veid] [offset vpls-base-offset] [siteid site-id]
l2-vpn [detail | longer] [aspath-regex reg-exp] [community comm-id] [rd rd] [l2vpn-type] [veid veid] [offset vpls-base-offset] [siteid site-id]
Context
[Tree] (show>router>bgp>routes l2-vpn)
Full Context
show router bgp routes l2-vpn
Description
This command displays BGP flow L2-VPN routes.
Parameters
- reg-exp
-
Displays routes matching the specified regular expression, up to 80 characters.
- hunt
-
Displays entries for the specified route.
- comm-id
-
Specifies the community ID, up to 72 characters.
- rd
-
Displays information for the route distinguisher.
- brief
-
Displays the BGP flow L2-VPN route information in a brief format.
- l2vpn-type
-
Specifies a 12-byte Virtual Switch Instance identifier (VSI-ID) type.
- veid
-
Specifies a two byte identifier that represents the local bridging instance in a VPLS and is advertised through the BGP NLRI. This value must be lower than or equal to the max-ve-id.
- vpls-base-offset
-
Specifies a two byte identifier advertised through the NLRI that is used to indicate which VE-ID should use the advertised NLRI at the receiving PE according to the following rule: if the offset <= local VE-ID <= offset+VBS-1 (VBS = virtual block size = 8 in our implementation) then the NLRI is processed. Otherwise it is ignored. The NLRI with this offset is generated as soon as the first VE-ID value between (offset, offset + VBS-1) is advertised in the network.
- site-id
-
Specifies a two byte identifier usually employed for the BGP multi-homing solution. This value identifies the BGP multi-homing site associated with one or a set of objects (SAPs, pseudowires, or a combination). The site-id must be identical between the two PEs carrying the connection to the access device multi-homed to the PEs.
Platforms
All
l2pt
l2pt
Syntax
l2pt disabled
l2pt [detail]
Context
[Tree] (show>service>id l2pt)
Full Context
show service id l2pt
Description
This command displays Layer 2 Protocol Tunnel (L2-PT) route information associated with this service.
Parameters
- disabled
-
Displays only entries with termination disabled. This helps identify configuration errors.
- detail
-
Displays detailed information.
Platforms
All
Output
The following is an example of service L2PT information.
Sample OutputA:ALA-48>show>service>id# l2pt
==============================================================================
L2pt summary, Service id 700
==============================================================================
L2pt-term L2pt-term Bpdu-trans Bpdu-trans Bpdu-trans Bpdu-trans
enabled disabled auto disabled pvst stp
------------------------------------------------------------------------------
SAP's 0 1 0 1 0 0
SDP's 0 1 0 1 0 0
------------------------------------------------------------------------------
Total 0 2 0 2 0 0
==============================================================================
A:ALA-48>show>service>id#
A:ALA-48>show>service>id# l2pt disabled
==============================================================================
L2pt details, Service id 700
==============================================================================
Service Access Points
------------------------------------------------------------------------------
SapId L2pt- Admin Bpdu- Oper Bpdu-
termination translation translation
------------------------------------------------------------------------------
1/1/9:0 disabled disabled disabled
------------------------------------------------------------------------------
Number of SAPs : 1
Service Destination Points
------------------------------------------------------------------------------
SdpId L2pt- Admin Bpdu- Oper Bpdu-
termination translation translation
------------------------------------------------------------------------------
2:222 disabled disabled disabled
------------------------------------------------------------------------------
Number of SDPs : 1
==============================================================================
L2pt summary, Service id 700
==============================================================================
L2pt-term L2pt-term Bpdu-trans Bpdu-trans Bpdu-trans Bpdu-trans
enabled disabled auto disabled pvst stp
------------------------------------------------------------------------------
SAP's 0 1 0 1 0 0
SDP's 0 1 0 1 0 0
------------------------------------------------------------------------------
Total 0 2 0 2 0 0
==============================================================================
A:ALA-48>show>service>id#
A:ALA-48>show>service>id# l2pt detail
==============================================================================
L2pt details, Service id 700
==============================================================================
Service Access Points
------------------------------------------------------------------------------
SapId L2pt- Admin Bpdu- Oper Bpdu-
termination translation translation
------------------------------------------------------------------------------
1/1/9:0 disabled disabled disabled
------------------------------------------------------------------------------
Number of SAPs : 1
Service Destination Points
------------------------------------------------------------------------------
SdpId L2pt- Admin Bpdu- Oper Bpdu-
termination translation translation
------------------------------------------------------------------------------
2:222 disabled disabled disabled
------------------------------------------------------------------------------
Number of SDPs : 1
==============================================================================
L2pt summary, Service id 700
==============================================================================
L2pt-term L2pt-term Bpdu-trans Bpdu-trans Bpdu-trans Bpdu-trans
enabled disabled auto disabled pvst stp
------------------------------------------------------------------------------
SAP's 0 1 0 1 0 0
SDP's 0 1 0 1 0 0
------------------------------------------------------------------------------
Total 0 2 0 2 0 0
==============================================================================
A:ALA-48>show>service>id#
Show L2PT Fields describes show L2PT output fields.
Label |
Description |
---|---|
Service id |
Displays the 24 bit (0 to 16777215) service instance identifier for the service. |
L2pt-term enabled |
Indicates if L2-PT-termination and/or Bpdu-translation is in use in this service by at least one SAP or spoke-SDP binding. If in use, at least one of L2PT-termination or Bpdu-translation is enabled. When enabled it is not possible to enable STP on this service. |
L2pt-term disabled |
Indicates that L2-PT-termination is disabled. |
Bpdu-trans auto |
Specifies the number of L2-PT PDUs are translated before being sent out on a port or sap. |
Bpdu-trans disabled |
Indicates that Bpdu-translation is disabled. |
SAPs |
Displays the number of SAPs with L2PT or BPDU translation enabled or disabled. |
SDPs |
Displays the number of SDPs with L2PT or BPDU translation enabled or disabled. |
Total |
Displays the column totals of L2PT entities. |
SapId |
The ID of the access point where this SAP is defined. |
L2pt-termination |
Indicates whether L2pt termination is enabled or disabled. |
Admin Bpdu-translation |
Specifies whether Bpdu translation is administratively enabled or disabled. |
Oper Bpdu- translation |
Specifies whether Bpdu translation is operationally enabled or disabled. |
SdpId |
Specifies the SAP ID. |
l2pt
Syntax
l2pt
Context
[Tree] (clear>service>statistics>id l2pt)
Full Context
clear service statistics id l2pt
Description
This command clears the l2pt statistics for this service.
Platforms
All
l2tp
l2tp
Syntax
l2tp
Context
[Tree] (show>router l2tp)
Full Context
show router l2tp
Description
Commands in this context display L2TP related information.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
l2tp
Syntax
l2tp
Context
[Tree] (show>system l2tp)
Full Context
show system l2tp
Description
This command displays L2TP system information.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
Output
The following output is an example of L2TP system information.
Sample Output*A:Dut-C# show system l2tp
===============================================================================
L2TP system
===============================================================================
Non MC tunnel ID range : 8193-16383
Max number of tunnels : 16383
Max number of sessions : 131071
Max number of sessions per tunnel : 32767
===============================================================================
l2tp
Syntax
l2tp
Context
[Tree] (clear>router l2tp)
Full Context
clear router l2tp
Description
Commands in this context clear L2TP data.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
l2tp
Syntax
l2tp
Context
[Tree] (tools>perform>router l2tp)
Full Context
tools perform router l2tp
Description
Commands in this context configure performance tools for L2TP.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
l2tp-accounting-policy
l2tp-accounting-policy
Syntax
l2tp-accounting-policy name statistics
Context
[Tree] (clear>aaa l2tp-accounting-policy)
Full Context
clear aaa l2tp-accounting-policy
Description
This command clears L2TP accounting policy data.
Parameters
- name
-
Specifies the L2TP accounting policy name, up to 32 characters.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
l2tp-accounting-policy
Syntax
l2tp-accounting-policy policy-name
l2tp-accounting-policy policy-name associations
l2tp-accounting-policy policy-name statistics
l2tp-accounting-policy
Context
[Tree] (show>aaa l2tp-accounting-policy)
Full Context
show aaa l2tp-accounting-policy
Description
This command displays L2TP accounting policy information.
Parameters
- policy-name
-
Specifies the L2TP accounting policy name, up to 32 characters.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
label
label
Syntax
label start-label [end-label | in-use | owner]
Context
[Tree] (show>router>mpls-labels label)
Full Context
show router mpls-labels label
Description
This command displays MPLS labels exchanged.
Parameters
- start-label
-
Specifies the label value assigned at the ingress router.
- end-label
-
Specifies the label value assigned for the egress router.
- in-use
-
Specifies the number of in-use labels displayed.
Platforms
All
Output
The following output is an example of MPLS label information.
MPLS Label Output Fields describes MPLS label output fields.
Label |
Description |
---|---|
Label |
Displays the value of the label being displayed. |
Label Type |
Specifies whether the label value is statically or dynamically assigned. |
Label Owner |
The label owner. |
In-use labels in entire range |
The total number of labels being used by RSVP. |
*A:Atlanta 224>show>router>mpls-labels># label-range
============================================================================
Label Ranges
============================================================================
Label Type Start Label End Label Aging Available Total
----------------------------------------------------------------------------
Static 32 18431 - 18400 18400
Dynamic 18432 524287 0 505443 505856
Seg-Route 200501 200900 - 0 400
============================================================================
*A:SRU4>config>router>mpls# show router mpls label 202
=================================================================
MPLS Label 202
=================================================================
Label Label Type Label Owner
-----------------------------------------------------------------
202 static-lsp STATIC
-----------------------------------------------------------------
In-use labels in entire range : 5057
=================================================================
*A:SRU4>config>router>mpls#
label
Syntax
label summary
label [start start-label] [end end-label] [in-use] [owner {static | pce | sr-pol}]
Context
[Tree] (show>router>p2mp-sr-tree label)
Full Context
show router p2mp-sr-tree label
Description
This command displays P2MP SR label information.
Parameters
- start-label
-
specifies the starting label value from which to display the P2MP SR label information. If only start-label is specified, only labels using start-label are displayed.
- end-label
-
Specifies the ending label value for which to display P2MP SR label information.
- in-use
-
Displays labels that are in use.
- owner
-
Displays labels owned by the specified owner.
- static
-
Displays labels owned by the static owner.
- pce
-
Displays labels owned by the PCE.
- sr-pol
-
Displays labels owned by the SR policy.
Platforms
All
Output
The following output is an example of P2MP SR label information.
Sample OutputA:swsim103>show>router>p2mp-sr-tree# label
============================================================
P2MP-SR Label Information
============================================================
Label Owner InUse
------------------------------------------------------------
30000 static Yes
30001 static Yes
label
Syntax
label [label] [detail]
label [label] egress-stats
label [label] ingress-stats
Context
[Tree] (show>router>rib-api label)
Full Context
show router rib-api label
Description
This command displays RIB-API label information.
Parameters
- label
-
Specifies the label of a specified RIB-API entry.
- detail
-
Displays detailed RIB-API label information.
- egress-stats
-
Displays egress statistics of all instances for the specified RIB-API label.
- ingress-stats
-
Displays ingress statistics of all instances for the specified RIB-API label.
Platforms
All
Output
The following output is an example of RIB-API label information.
Sample Outputshow router rib-api label 400001 egress-stats
===============================================================================
Label (Detail)
===============================================================================
Label : 400001 Rib-Api Pref : 16
Client Ip : 172.21.38.76 Client Tag : 1
Active : Y EgrStatsState : Up
Next-hop Group : 1
Primary nexthop : 10.10.5.5
StatsOperState : Up
Aggr Pkts: 11000 Aggr Octets: 11550000
Backup nexthop : 10.10.11.4
StatsOperState : Up
Aggr Pkts: 11000 Aggr Octets: 11550000
Next-hop Group : 2
Primary nexthop : 10.10.5.5
StatsOperState : Up
Aggr Pkts: 11000 Aggr Octets: 11550000
Backup nexthop : 10.10.11.4
StatsOperState : Up
Aggr Pkts: 11000 Aggr Octets: 11550000
Total Aggr :
Aggr Pkts: 44000 Aggr Octets: 46200000
-------------------------------------------------------------------------------
===============================================================================
label
Syntax
label label preference preference client-tag client-tag egress-stats
label label ingress-stats
Context
[Tree] (clear>router>rib-api label)
Full Context
clear router rib-api label
Description
Clears the egress or ingress statistics of the specified RIB-API label.
Parameters
- label
-
Specifies the label of the specified RIB-API entry.
- preference
-
Specifies the preference of the specified RIB-API entry.
- client-tag
-
Specifies the client tag of the specified RIB-API entry.
- egress
-
Specifies to only clear the egress statistics.
- ingress
-
Specifies to only clear the ingress statistics.
Platforms
All
label
Syntax
label label
Context
[Tree] (tools>dump>router>rib-api label)
Full Context
tools dump router rib-api label
Description
This command configures the dump tools for RIB-API label.
Parameters
- label
-
Specifies the label of the specified RIB-API entry.
Platforms
All
Output
The following output is an example of RIB-API label route information.
Sample Output*A:Dut-B>config>service# /tools dump router rib-api label 30044
Db Mgr flags 0x80 ilmStatsFailCnt 0
---------------------------------------------------------------------------
dbOwner RIB-API routeOwner 50 rsvdBlkId 3 flags 0x3 numPolicies 1 numInstalled 1
---------------------------------------------------------------------------
Label DB 30044
dbFlags 0xd PathCount 1 srTunnelId 1015811 ilmStatsIdx[MGMT] 0x0 ilmStatsIdx[API] 0x0
LABEL RESERVED: PROGRAMMED
Path bitmap 0
Label Retry time left : 0 retrycount : 0, SR Retry time left : 0 SR retrycount : 0
Best Db Path owner 1 path name vrId:1, dbOwner:1, Client Tag:2 bindingLbl 30044 preference 246 Last Modified 02/07/2020 23:44:51 Up Time 0d 02:15:54
Preference 246 flags 0x245 Status FWDPLCY_ERR_NA SR status SR_ERR_OK
PrimResolved NH's 1 BkupResolved NH's 1
NHGroup 2
flags 0x3bf9 : weight 0 normalized weight 0
Revert timer 65535 Time left 0 NumOfReverts 0
Hold timer 0 Time left 0
DIRECT NH: PRIM PGMED: PRIM RESOLVED: BKUP RESOLVED: BKUP PGMED:
primaryNH 1.2.3.3 egrStatsIdx 0x0 Status FWDPLCY_NHERR_NA
Label Stack:30055 0
Nexthop 1 1.2.3.3 outIf 3 globalIfIndex 32 globaIfInNHgrp 32
PG ID 0
PG ID 5
backupNH 1.2.3.33 egrStatsIdx 0x0 Status FWDPLCY_NHERR_NA
Label stack:30255 0
Nexthop 1 1.2.3.33 outIf 3 globalIfIndex 32 globaIfInNHgrp 32
PG ID 0
PG ID 6
---------------------------------------------------------------------
*A:Dut-B>config>service#
label
Syntax
label label preference preference client-tag client-tag egress-stats [ interval seconds] [repeat repeat] [{absolute | rate}]
Context
[Tree] (monitor>router>rib-api label)
Full Context
monitor router rib-api label
Description
This command monitors the egress statistics of the specified RIB-API label.
Parameters
- label
-
Specifies the label of the specified RIB-API entry.
- preference
-
Specifies the preference of the specified RIB-API entry.
- client-tag
-
Specifies the client tag of the specified RIB-API entry.
- egress-stats
-
Specifies to monitor the egress statistics of the specified RIB-API label.
- seconds
-
Configures the interval for each display in seconds.
- repeat
-
Configures how many times the command is repeated.
- absolute
-
Displays the absolute statistics of the specified RIB-API label.
- rate
-
Displays the rate-per-second statistics of the specified RIB-API label.
Platforms
All
label-ipv4
label-ipv4
Syntax
label-ipv4 [aspath-regex reg-exp] [community comm-id] [origin-val originState] [leaked] [leakable] [brief] [all]
label-ipv4 [aspath-regex reg-exp] hunt [community comm-id] [origin-val originState] [leaked] [leakable] [brief] [all]
label-ipv4 [detail | longer] [aspath-regex reg-exp [community comm-id] [origin-val originState] [leaked] [leakable] [all]
Context
[Tree] (show>router>bgp>routes label-ipv4)
Full Context
show router bgp routes label-ipv4
Description
This command displays BGP IPv4 routes.
Parameters
- reg-exp
-
Displays routes with an AS path matching the specified regular expression reg-exp, up to 80 characters.
- comm-id
-
Specifies community IDs, up to 72 characters.
- originState
-
Filters the BGP routes displayed by the command to those routes with a particular RPKI route origin validation state.
- hunt
-
Displays entries for the specified route.
- leaked
-
Filters the BGP routes displayed by the command to those routes leaked into this router’s BGP instance from another BGP instance.
- leakable
-
Filters the BGP routes displayed by the command to those routes eligible for leaking from this router’s BGP instance to another BGP instance.
- brief
-
Provides a summarized display of the set of peers to which a BGP route is advertised.
- longer
-
Displays the specified route and subsets of the route.
- detail
-
Display the longer, more detailed version of the output.
- all
-
Displays output for all label BGP IPv4 routes.
Platforms
All
label-ipv6
label-ipv6
Syntax
label-ipv6 [aspath-regex reg-exp] [ community comm-id] [origin-val originState] [leaked] [ leakable] [brief] [all]
label-ipv6 [aspath-regex reg-exp] hunt [community comm-id] [origin-val originState] [leaked] [leakable] [ brief] [all]
label-ipv6 [detail | longer] [aspath-regex reg-exp] [community comm-id] [origin-val originState] [leaked] [leakable] [ all]
Context
[Tree] (show>router>bgp>routes label-ipv6)
Full Context
show router bgp routes label-ipv6
Description
This command displays information about BGP IPv6 routes.
Parameters
- reg-exp
-
Displays routes with an AS path matching the specified regular expression reg-exp, up to 80 characters.
- comm-id
-
Specifies community IDs, up to 72 characters.
- originState
-
Filters the BGP routes displayed by the command to those routes with a particular RPKI route origin validation state.
- hunt
-
Displays entries for the specified route.
- leaked
-
Filters the BGP routes displayed by the command to those routes leaked into this router’s BGP instance from another BGP instance.
- leakable
-
Filters the BGP routes displayed by the command to those routes eligible for leaking from this router’s BGP instance to another BGP instance.
- brief
-
Provides a summarized display of the set of peers to which a BGP route is advertised.
- longer
-
Displays the specified route and subsets of the route.
- detail
-
Display the longer, more detailed version of the output.
- all
-
Displays output for all label BGP IPv6 routes.
Platforms
All
Output
The following output an example of BGP routes label IPv6 information.
Sample Outputshow router bgp routes label-ipv6 hunt
-------------------------------------------------------------------------------
RIB Out Entries
-------------------------------------------------------------------------------
Network : 100::1/128
Nexthop : ::ffff:10.20.1.4
Path Id : None
To : 10.20.1.6
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : NotAvailable
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : 1
AIGP Metric : None IGP Cost : n/a
Connector : None
Community : No Community Members
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 10.20.1.6
IPv6 Label : 2 (Ipv6 Explicit-Null) Label Type : POP
Lbl Allocation : EXPLICIT-NULL
Origin : IGP
AS-Path : No As-Path
Route Tag : 0
Neighbor-AS : n/a
Orig Validation: NotFound
Source Class : 0 Dest Class : 0
Prefix SID : index 2, originator-srgb [18450/16551]
-------------------------------------------------------------------------------
Routes : 1
show router bgp routes label-ipv6 detail
BGP Routes
===============================================================================
Original Attributes
Network : 100::1/128
Nexthop : ::ffff:10.10.13.1
Path Id : None
From : 10.10.13.1
Res. Nexthop : 10.10.13.1
Local Pref. : n/a Interface Name : to_A
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None IGP Cost : 0
Connector : None
Community : No Community Members
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 10.20.1.1
Fwd Class : None Priority : None
IPv6 Label : 524287
Flags : Used Valid Best IGP In-TTM In-RTM
Route Source : External
AS-Path : 100
Route Tag : 0
Neighbor-AS : 100
Orig Validation: NotFound
Source Class : 0 Dest Class : 0
Add Paths Send : Default
RIB Priority : Normal
Last Modified : 00h00m29s
label-range
label-range
Syntax
label-range
Context
[Tree] (show>router>mpls-labels label-range)
Full Context
show router mpls-labels label-range
Description
This command displays the MPLS label range.
Platforms
All
Output
The following output is an example of MPLS label range information.
MPLS Label Range Output Fields describes the MPLS label range output fields.
Label |
Description |
---|---|
Label Type |
Displays the information about static-lsp, static-svc, and dynamic label types. |
Start Label |
The label value assigned at the ingress router. |
End Label |
The label value assigned for the egress router. |
Aging |
The number of labels released from a service which are transitioning back to the label pool. Labels are aged 15 s. |
Total Available |
The number of label values available. |
*A:Atlanta 224>show>router>mpls-labels># label-range
============================================================================
Label Ranges
============================================================================
Label Type Start Label End Label Aging Available Total
----------------------------------------------------------------------------
Static 32 18431 - 18400 18400
Dynamic 18432 524287 0 505443 505856
Seg-Route 200501 200900 - 0 400
===========================================================================
label-type
label-type
Syntax
label-type start-label start-label [end-label end-label] label-type [family]
Context
[Tree] (show>router>ldp>bindings label-type)
Full Context
show router ldp bindings label-type
Description
This command displays LDP FEC bindings by matching labels.
Parameters
- start-label
-
Specifies a label value to begin the display.
- end-label
-
Specifies a label value to end the display.
- family
-
Displays either IPv4 or IPv6 LDP information.
Platforms
All
labels
labels
Syntax
labels
Context
[Tree] (show>service>id labels)
Full Context
show service id labels
Description
This command displays the labels being used by the service.
Platforms
All
Output
The following output is an example of service label information.
Sample OutputA:ALA-12# show service id 1 labels
==============================================================================
Martini Service Labels
==============================================================================
Svc Id Sdp Id Type I.Lbl E.Lbl
------------------------------------------------------------------------------
1 10:1 Mesh 0 0
1 20:1 Mesh 0 0
1 30:1 Mesh 0 0
1 40:1 Mesh 130081 131061
1 60:1 Mesh 131019 131016
1 100:1 Mesh 0 0
------------------------------------------------------------------------------
Number of Bound SDPs : 6
------------------------------------------------------------------------------
A:ALA-12#
Service-ID Labels Field Descriptions describes show service-id labels output fields:
Label |
Description |
---|---|
Svc Id |
The service identifier |
Sdp Id |
The SDP identifier |
Type |
The SDP type, spoke or mesh |
I. Lbl |
The VC label used by the far-end device to send packets to this device in this service by the SDP |
E. Lbl |
The VC label used by this device to send packets to the far-end device in this service by the SDP |
lacp-partner
lacp-partner
Syntax
lacp-partner
lacp-partner detail
Context
[Tree] (show>lag lacp-partner)
Full Context
show lag lacp-partner
Description
This command displays LACP partner information.
Parameters
- detail
-
Displays detailed information.
Platforms
All
lag
lag
Syntax
lag [lag-id] [detail] [statistics]
lag [lag-id] [detail] [lacp-statistics]
lag [lag-id] description
lag [lag-id] egress-rate-distribution
lag [lag-id] port
lag lag-id associations per-link-hash interface [class {1 | 2 | 3}]
lag lag-id associations
lag lag-id bfd
lag lag-id [detail] eth-cfm [tunnel tunnel-id]
lag lag-id flow-distribution
lag lag-id associations per-link-hash interface
lag lag-id associations link-map-profile [link-map-profile] interface
lag lag-id lacp-partner
lag lag-id detail lacp-partner
lag lag-id link-map-profile link-map-profile
lag lag-id per-link-hash [class {1 | 2 | 3}]
lag lag-id associations per-link-hash sap [class {1 | 2 | 3}]
lag lag-id associations link-map-profile [link-map-profile] sap
lag lag-id per-link-hash port port-id
Context
[Tree] (show lag)
Full Context
show lag
Description
This command displays Link Aggregation Group (LAG) information.
If no command line options are specified, a summary listing of all LAGs is displayed.
Parameters
- lag-id
-
Displays only information on the specified LAG ID.
- detail
-
Displays detailed LAG information.
- statistics
-
Displays LAG statistics information.
- lacp-statistics
-
Displays the number of LACP PDUs transmitted and received per LAG port.
- description
-
Displays the user-defined description for the LAG.
- egress-rate-distribution
-
Displays the egress traffic rate in kb/s per LAG port.
- port
-
Displays port information.
- associations
-
Displays a list of current router interfaces to which the LAG is assigned.
- interface
-
Displays interface information.
- bfd
-
Displays per-member BFD information.
- eth-cfm
-
Displays a list of Ethernet tunnels to which the LAG is assigned.
- tunnel-id
-
Filters ETH-CFM MEP information to one tunnel.
- flow-distribution
-
Displays the flow distribution per active LAG port in a given LAG. The operator can control the flow distribution per LAG by configuring a hash-weight value on each ports of a LAG.
Inactive LAG ports are not displayed.
- per-link-hash
-
Displays information about a SAP or interface associated with this LAG sends traffic over a single link of a LAG auto-re-balancing as links are added and removed from this LAG.
- lacp-partner
-
Displays LACP partner information.
- link-map-profile
-
Displays information about a specified LAG link map profile.
- sap
-
Displays SAP information.
- port-id
-
Specifies the port ID.
Platforms
All
Output
See the following sections for output samples:
The following outputs are examples of lag information, and the associated tables describe the output fields.
Sample Output: show lagA:7750# show lag
===============================================================================
Lag Data
===============================================================================
Lag-id Adm Opr Weighted Threshold Up-Count MC Act/Stdby
name
-------------------------------------------------------------------------------
1 up down No 0 0 active
lag-1
2 up down No 0 0 N/A
lag-2
-------------------------------------------------------------------------------
Total Lag-ids: 2 Single Chassis: 1 MC Act: 1 MC Stdby: 0
===============================================================================
Output Fields: show lag
Output Fields: show lag describes the output fields for the show lag command.
Label |
Description |
---|---|
Lag-id |
The LAG or multi-link bundle ID that the port is assigned to. |
Lag-name |
The LAG name. |
Adm |
Up — The LAG is administratively up. Down — The LAG is administratively down. |
Opr |
Up — The LAG is operationally up. Down—The LAG is operationally down. |
Threshold |
The number of operational links for the LAG at or below which the configured action is invoked. |
Up-Count |
The number of ports that are physically present and have physical links present. |
MC Act/Stdby |
Member port is selected as active or standby link. |
A:Dut-B# show lag 1 detail
===============================================================================
LAG Details
===============================================================================
Description : N/A
-------------------------------------------------------------------------------
Details
-------------------------------------------------------------------------------
Lag-id : 1 Mode : access
Lag-name : lag-1
Adm : up Opr : down
Thres. Last Cleared : 04/12/2021 12:21:41 Thres. Exceeded Cnt : 0
Dynamic Cost : false Encap Type : null
Configured Address : e2:e5:ff:00:01:41 Lag-IfIndex : 1342177281
Hardware Address : e2:e5:ff:00:01:41 Adapt Qos (access) : distribute
Hold-time Down : 0.0 sec Port Type : standard
Per-Link-Hash : disabled
Include-Egr-Hash-Cfg: disabled Forced : -
Per FP Ing Queuing : disabled Per FP Egr Queuing : disabled
Per FP SAP Instance : disabled
Access Bandwidth : N/A Access Booking Factor: 100
Access Available BW : 0
Access Booked BW : 0
LACP : enabled Mode : passive
LACP Transmit Intvl : fast LACP xmit stdby : enabled
Selection Criteria : highest-count Slave-to-partner : disabled
MUX control : coupled
Subgrp hold time : 0.0 sec Remaining time : 0.0 sec
Subgrp selected : MC peer Subgrp candidate : -
Subgrp count : 1
System Id : e2:e5:ff:00:00:00 System Priority : 32768
Admin Key : 32768 Oper Key : 1
Prtr System Id : e2:f2:ff:00:00:00 Prtr System Priority : 1000
Prtr Oper Key : 32768
Standby Signaling : lacp
Port hashing : port-speed Port weight speed : 0 gbps
Ports Up : 0
Weights Up : 0 Hash-Weights Up : 0
Monitor oper group : N/A
Adaptive loadbal. : disabled Tolerance : N/A
MC Peer Address : 3.3.3.3 MC Peer Lag-id : 1
MC System Id : 00:00:00:00:00:01 MC System Priority : 100
MC Admin Key : 1 MC Active/Standby : standby
MC Lacp ID in use : true MC extended timeout : false
MC Selection Logic : local master decided
MC Config Mismatch : no mismatch
-------------------------------------------------------------------------------
Port-id Adm Act/Stdby Opr Primary Sub-group Forced Prio
-------------------------------------------------------------------------------
1/1/3 up standby down yes 1 - 32768
1/1/4 up standby down 1 - 32768
-------------------------------------------------------------------------------
Port-id Role Exp Def Dist Col Syn Aggr Timeout Activity
-------------------------------------------------------------------------------
1/1/3 actor No No No No No Yes Yes No
1/1/3 partner No No No No Yes Yes Yes Yes
1/1/4 actor No No No No No Yes Yes No
1/1/4 partner No No No No Yes Yes Yes Yes
===============================================================================
Output Fields: show lag <lag-id> detail
Output Fields: show lag <lag-id> detail describes the output fields for the show lag lag-id detail command. The output is dependent on whether or not the LAG was configured as a multi-chassis (MC) LAG.
Label |
Description |
---|---|
Lag-id |
The LAG identification. |
Lag-name |
The LAG name. |
Mode |
The LAG mode:
|
Adm |
Administrative state of the LAG. Up — The LAG is administratively up. Down — The LAG is administratively down. |
Opr |
Operational state of the LAG. Up — The LAG is operationally up. Down — The LAG is operationally down. |
Thres. Last Cleared |
The last time that port or weight thresholds were cleared:
Not cleared by the threshold cfg or deconfig command when the port or weight threshold is removed. The port or weight threshold can then be configured but not immediately reached. |
Thres. Exceeded Cnt |
The number of times that the weight or port threshold rising counter was reached. The Thresh. Exceed counter displays the rising counter, as the falling counter is only available via SNMP. When we configure or deconfigure the port or weight threshold, the Thresh. Exceed counter is set to 0. |
Dynamic Cost |
Enabled — Dynamic cost is enabled. Disabled — Dynamic cost is disabled. |
Encap Type |
The LAG port encapsulation type:
|
Configured Address |
The configured Ethernet MAC address. |
Lag-IfIndex |
A box-wide unique number assigned to this interface. |
Hardware Address |
The Ethernet MAC address. |
Adapt Qos (access) |
Displays the configured QoS mode:
|
Hold-Time Down |
The timer, in tenths of seconds, which controls the delay between detecting that a LAG is down and reporting it to the higher levels. |
Port Type |
The port type:
|
Per-Link-Hash |
Enabled — Per link hash is enabled. Disabled — Per link hash is disabled. |
Include-Egr-Hash-Cfg |
The explicitly configured hashing that is included to the egress buffering and rate distribution. |
Per FP Ing Queuing |
The per FP ingress queuing status. |
Per FP Egr Queuing |
The per FP egress queuing status. |
Per FP SAP Instance |
The per FP SAP instance status. |
Access Bandwidth |
The LAG access bandwidth value. |
Access Booking Factor |
The LAG access booking factor. |
Access Available BW |
The access available bandwidth. |
Access Booked BW |
The access booked bandwidth. |
LACP |
Enabled — LACP is enabled. Down — LACP is disabled. |
LACP Transmit Intvl |
The LACP transmit interval mode. |
LACP xmit stdby |
The LACP transmit standby mode. |
Selection Criteria |
Configured LAG selection criteria. |
Slave-to-partner |
The LACP slave-to-partner enabled or disabled state. |
MUX control |
Configured type of multiplexing machine control used in a LAG with LACP in active/passive modes. coupled — TX and RX activate together. independent — RX activates independent of TX. |
Subgrp hold time |
The sub-group hold time value. |
Remaining time |
The sub-group remaining time value. |
Subgrp selected |
The number of sub-group selected in this LAG. |
Subgrp candidate |
The sub-group candidate. |
Subgrp count |
The number of sub-group configured in this LAG. |
System Id |
System ID used by actor in LACP messages. |
System Priority |
System priority used by actor in LACP messages. |
Admin Key |
Configured LAG key. |
Oper Key |
Key used by actor in LACP messages. |
Prtr System Id |
System ID used by partner in LACP messages. |
Prtr System Priority |
System priority used by partner in LACP messages. |
Prtr Oper Key |
Key used by partner in LACP messages. |
Standby Signaling |
The standby signaling mode used in this LAG. |
Port hashing |
Displays the LAG port hashing mechanism for flow distribution per LAG port.
|
Port weight speed |
The LAG port weight speed value for mixed-speed LAG. |
Ports Up |
The number of ports that are operationally up for this LAG. |
Weights Up |
Sum of weights for ports that are operationally up in this LAG. |
Hash-Weights Up |
Sum of hash weights for ports that are operationally up in this LAG. |
Threshold Type |
The type of threshold used in this LAG:
|
Monitor oper group |
The name of the operational group being monitored for this LAG. |
Adaptive loadbal |
The adaptive load balancing status. Enabled — The adaptive load balancing is enabled. Disabled — The adaptive load balancing is disabled. |
Tolerance |
The adaptive load balancing tolerance value. |
Interval |
The adaptive load balancing statistics pooling interval. |
MC Peer Address |
The multi-chassis peer IP address. |
MC Peer Lag-id |
The LAG ID for the multi-chassis peer. |
MC System Id |
The multi-chassis LAG system identifier MAC address. |
MC System Priority |
The multi-chassis LAG system priority. |
MC Admin Key |
The multi-chassis LAG administrative key. |
MC Active/Standby |
The multi-chassis LAG active or standby state. |
MC Lacp ID in use |
The multi-chassis LAG in use state. |
MC extended timeout |
The multi-chassis LAG extended timeout value. |
MC Selection Logic |
The multi-chassis LAG selection logic state. |
MC Config Mismatch |
The multi-chassis LAG configuration mismatch state. |
===============================================================================
LAG Statistics
===============================================================================
-------------------------------------------------------------------------------
Lag-id : 1 Lag-name : lag-1
-------------------------------------------------------------------------------
Description : N/A
Port-id Input(Packets) Output(Packets)
Input(Bytes) Output(Bytes)
Input Errors Output Errors
-------------------------------------------------------------------------------
1/1/4 0 0
0 0
0 0
-------------------------------------------------------------------------------
Totals 0 0
0 0
0 0
===============================================================================
Output Fields: Show LAG Statistics
Output Fields: Show LAG Statistics describes the output fields for the show lag statistics command.
Label |
Description |
---|---|
Lag-id |
The LAG or multi-link trunk (MLT) that the port is assigned to. |
Lag-name |
The LAG name. |
Port-id |
The port ID. |
Input Bytes |
The number of incoming bytes for the LAG on a per-port basis. |
Input Packets |
The number of incoming packets for the LAG on a per-port basis. |
Output Bytes |
The number of outbound bytes for the LAG on a per-port basis. |
Output Packets |
The number of outbound packets for the LAG on a per-port basis. |
Input/Output Errors |
For packet-oriented interfaces, the number of inbound packets that contained errors preventing them from being deliverable to a higher-layer protocol. For character- oriented or fixed-length interfaces, the number of inbound transmission units that contained errors preventing them from being deliverable to a higher-layer protocol. For packet-oriented interfaces, the number of outbound packets that could not be transmitted because of errors. For character-oriented or fixed-length interfaces, the number of outbound transmission units that could not be transmitted because of errors. |
Totals |
Displays the column totals for bytes, packets, and errors. |
A:7750# show lag 1 egress-rate-distribution
===============================================================================
Distribution of egress rate by adaptive load balancing
===============================================================================
Port Egress-rate (kbps)
-------------------------------------------------------------------------------
8/1/71 43186
8/1/72 43186
8/1/73 38387
===============================================================================
Output Fields: show lag <lag-id>
egress-rate-distribution
Output Fields: show lag <lag-id> egress-rate-distribution describes the output fields for the show lag <lag-id> egress-rate-distribution command.
Label |
Description |
---|---|
Port |
The LAG member port. |
Egress-rate |
Total egress traffic rate of the LAG port from the last scan interval. |
A:7750>config>lag# show lag 1 lacp-statistics
==============================================================================
LAG LACP Statistics
===============================================================================
LAG-id Port-id Tx Rx Rx Error Rx Illegal
(Pdus) (Pdus) (Pdus) (Pdus)
-------------------------------------------------------------------------------
1 1/1/3 20305 20291 0 0
1 1/1/4 20304 20292 0 0
1 1/1/13 20303 20284 0 0
1 1/1/14 20303 20284 0 0
-------------------------------------------------------------------------------
Totals 81215 81151 0 0
===============================================================================
Output Fields: show lag <lag-id>
lacp-statistics
Output Fields: show lag <lag-id> lacp-statistics describes the output fields for the show lag <lag-id> lacp-statistics command.
Label |
Description |
---|---|
LAG-id |
The LAG ID that the port is assigned to. |
Port-id |
The port ID. |
Tx (Pdus) |
The number of LACP PDUs transmitted. |
Rx (Pdus) |
The number of LACP PDUs received. |
Rx Error (Pdus) |
The number of LACP PDUs received when admin-down or when LACP is not enabled. |
Rx Illegal (Pdus) |
The number of illegal packets received. |
A:Dut-A# show lag 3 flow-distribution
===============================================================================
Distribution of allocated flows
===============================================================================
Port Bandwidth (Gbps) Hash-weight Flow-share (%)
-------------------------------------------------------------------------------
1/1/1 10.000 300 37.50
1/1/2 10.000 500 62.50
-------------------------------------------------------------------------------
Total operational bandwidth: 20.000
===============================================================================
Output Fields: show lag <lag-id>
flow-distribution
Output Fields: show lag <lag-id> flow-distribution describes the output fields for the show lag flow-distribution command.
Label |
Description |
---|---|
Bandwidth |
The physical bandwidth speed per active LAG port. |
Hash-Weight |
The hash-weight value configured or inherited from port-speed on this LAG port. |
Flow-Share |
The traffic flow distribution per active LAG port. |
A:ALA-1# show lag 5 associations
==============================================================================
Interface Table
==============================================================================
Router/ServiceId Name Encap Val
------------------------------------------------------------------------------
Router: Base LAG2West 0
------------------------------------------------------------------------------
Interfaces
==============================================================================
A:ALA-1#
Output Fields: Show lag <lag-id> associations
Output Fields: Show lag <lag-id> associations describes the output fields for the show lag <lag-id> associations command.
Label |
Description |
---|---|
Service ID |
The service associated with the LAG. |
Name |
The name of the IP interface. |
Encap Val |
The Dot1q or QinQ values of the port for the IP interface. |
A:Dut-C# show lag 1 detail
===============================================================================
LAG Details
===============================================================================
Description : N/A
-------------------------------------------------------------------------------
Details
-------------------------------------------------------------------------------
Lag-id : 1 Mode : access
Adm : up Opr : up
Thres. Last Cleared : 09/16/2019 23:27:40 Thres. Exceeded Cnt : 2
Dynamic Cost : false Encap Type : null
Configured Address : 10:0e:ff:00:01:41 Lag-IfIndex : 1342177281
Hardware Address : 10:0e:ff:00:01:41 Adapt Qos (access) : distribute
Hold-time Down : 0.0 sec Port Type : standard
Per-Link-Hash : disabled
Include-Egr-Hash-Cfg: disabled Forced : -
Per FP Ing Queuing : disabled Per FP Egr Queuing : disabled
Per FP SAP Instance : disabled
Access Bandwidth : N/A Access Booking Factor: 100
Access Available BW : 0
Access Booked BW : 0
LACP : enabled Mode : passive
LACP Transmit Intvl : fast LACP xmit stdby : enabled
Selection Criteria : highest-count Slave-to-partner : disabled
MUX control : coupled
Subgrp hold time : 1.0 sec Remaining time : 0.0 sec
Subgrp selected : 2 Subgrp candidate : -
Subgrp count : 1
System Id : 10:0e:ff:00:00:00 System Priority : 32768
Admin Key : 32768 Oper Key : 1
Prtr System Id : 1e:0e:ff:00:00:00 Prtr System Priority : 32768
Prtr Oper Key : 32768
Standby Signaling : lacp
Port hashing : port-speed Port weight speed : 0 gbps
Ports Up : 2
Weights Up : 2 Hash-Weights Up : 2
Threshold Type : hash-weight-threshold
Value : 1
Action : down
Cost : N/A
Monitor oper group : N/A
MC Peer Address : 2.2.2.2 MC Peer Lag-id : 1
MC System Id : 00:00:00:00:00:01 MC System Priority : 100
MC Admin Key : 1 MC Active/Standby : active
MC Lacp ID in use : true MC extended timeout : false
MC Selection Logic : local master decided
MC Config Mismatch : no mismatch
-------------------------------------------------------------------------------
Port-id Adm Act/Stdby Opr Primary Sub-group Forced Prio
-------------------------------------------------------------------------------
1/1/13 up active up yes 2 - 32768
1/1/14 up active up 2 - 32768
-------------------------------------------------------------------------------
Port-id Role Exp Def Dist Col Syn Aggr Timeout Activity
-------------------------------------------------------------------------------
1/1/13 actor No No Yes Yes Yes Yes Yes No
1/1/13 partner No No Yes Yes Yes Yes Yes Yes
1/1/14 actor No No Yes Yes Yes Yes Yes No
1/1/14 partner No No Yes Yes Yes Yes Yes Yes
===============================================================================
Sample Output: show lag <lag-id>
lcap-partner
A:ALU-Dut1# show lag 3 lacp-partner
===============================================================================
LAG Partner information
===============================================================================
Partner system ID : ea:3e:ff:00:00:00
Partner system priority : 32768
Partner operational key : 2
===============================================================================
===============================================================================
LAG 3 Ports Partner operational information
===============================================================================
Port Actor Port Prio Key
port
-------------------------------------------------------------------------------
1/1/52 33908 33909 5 2
1/1/54 33910 33911 5 2
1/1/56 33912 33913 7 2
===============================================================================
===============================================================================
LAG 3 Ports Partner operational state information
===============================================================================
Port Exp Def Dist Col Syn Aggr Time Act
out
-------------------------------------------------------------------------------
1/1/52 No No Yes Yes Yes Yes Yes Yes
1/1/54 No No Yes Yes Yes Yes Yes Yes
1/1/56 No No No No No Yes Yes Yes
===============================================================================
A:ALU-Dut1#
A:Dut-A# show lag 10 lacp-neighbors
===============================================================================
LAG Neighbor information
===============================================================================
Partner system ID : de:41:ff:00:00:00
Partner system priority : 32768
Partner operational key : 32768
===============================================================================
-------------------------------------------------------------------------------
LAG port 1/1/6 partner information
-------------------------------------------------------------------------------
Actor port : 33862
Partner admin system prio : 32768
Partner oper system prio : 32768
Partner admin system ID : 00:00:00:00:00:00
Partner oper system ID : de:41:ff:00:00:00
Partner admin key : 0
Partner oper key : 32768
Partner admin port : (Not Specified)
Partner oper port : 33863
Partner admin port prio : 32768
Partner oper port prio : 32768
Partner admin state : (Not Specified)
Partner oper state : lacp-timeout aggregation synchronization
collecting distributing
===============================================================================
A:Dut-A#
*A:bksim4001>config>lag# selection-criteria highest-weight subgroup-hold-
time 1show lag 1 detail
ght subgroup-hold-time 10
===============================================================
LAG Details
===============================================================
Description : To Sim4002
-------------------------------------------------------------------------------
Details
-------------------------------------------------------------------------------
Lag-id : 1 Mode : access
Adm : down Opr : down
Thres. Exceeded Cnt : 0 Port Threshold : 0
Thres. Last Cleared : 01/21/2014 09:00:48 Threshold Action : down
Dynamic Cost : false Encap Type : null
Configured Address : 36:95:ff:00:01:41 Lag-IfIndex : 1342177281
Hardware Address : 36:95:ff:00:01:41 Adapt Qos (access) : distribute
Hold-time Down : 0.0 sec Port Type : standard
Per-Link-Hash : disabled
Include-Egr-Hash-Cfg: enabled
Per FP Ing Queuing : disabled Per FP Egr Queuing : disabled
Per FP SAP Instance : disabled
LACP : enabled Mode : passive
LACP Transmit Intvl : fast LACP xmit stdby : enabled
Selection Criteria : highest-weight Slave-to-partner : disabled
Subgrp hold time : 20.0 sec Remaining time : 2.6 sec
Subgrp selected : 1 Subgrp candidate : 2
Subgrp count : 2 Forced : -
System Id : 36:95:ff:00:00:00 System Priority : 32768
Admin Key : 32768 Oper Key : 32768
Prtr System Id : Prtr System Priority : 0
Prtr Oper Key : 0
Standby Signaling : lacp
Port weight (gbps) : (Not Specified)
Weight Threshold : 0 Threshold Action : down
...
===============================================================================
*A:Dut-A# show lag 2 associations per-link-hash sap
===============================================================================
SAP Associations
===============================================================================
SvcId SAP Active Link Oper Oper
Class Weight
-------------------------------------------------------------------------------
2 lag-2:4 1/1/1 1 500
2 lag-2:5 1/1/1 1 100
2 lag-2:6 1/1/26 1 1000
2 lag-2:7 1/1/25 1 1000
===============================================================================
Number of SAP associations: 4
A:bksim4001# show lag 1 per-link-hash
===============================================================================
Per-link-hash Weight
===============================================================================
Port Class Num Users Agg Weight
-------------------------------------------------------------------------------
1/1/1 1 10 10
1/1/1 2 0 0
1/1/1 3 2 500
===============================================================================
Number of entries: 3
===============================================================================
lag
Syntax
lag lag-id network-aggregate-qos-stats
Context
[Tree] (show>qos lag)
Full Context
show qos lag
Description
This command displays the aggregate QoS statistics for the default ingress and egress queues configured on a network interface LAG.
Parameters
- lag-id
-
Displays only information about the specified LAG ID.
- network-aggregate-qos-stats
-
Displays the aggregate QoS statistics about network interface LAG queues.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
Output
The following is an example of network aggregate QoS statistics information.
QoS Lag Field Descriptions describes the output fields.
Sample Output*A:PE# show qos lag 1 network-aggregate-qos-stats
===============================================================================
Network Aggregate QoS Statistics for LAG ID 1
===============================================================================
-------------------------------------------------------------------------------
Ingress Queue 1 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 320 160000
Out Profile dropped : 0 0
Ingress Queue 2 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Ingress Queue 11 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Egress Queue 1 Packets Octets
In/Inplus Prof fwded : 0 0
In/Inplus Prof dropped: 0 0
Out/Exc Prof fwded : 997022 127618816
Out/Exc Prof dropped : 0 0
Egress Queue 2 Packets Octets
In/Inplus Prof fwded : 0 0
In/Inplus Prof dropped: 0 0
Out/Exc Prof fwded : 0 0
Out/Exc Prof dropped : 0 0
-------------------------------------------------------------------------------
Label |
Description |
---|---|
In Profile forwarded |
Displays the number of in-profile packets or octets forwarded for ingress or egress queue |
In Profile dropped |
Displays the number of in-profile packets or octets dropped for ingress or egress queue |
Out Profile forwarded |
Displays the number of out-profile packets or octets forwarded for ingress or egress queue |
Out Profile dropped |
Displays the number of out-profile packets or octets dropped for ingress or egress queue |
lag
Syntax
lag lag-id bfd-session family {ipv4 | ipv6} lag-port port-id
lag lag-id lacp-statistics
lag lag-id statistics
Context
[Tree] (clear lag)
Full Context
clear lag
Description
This command clears statistics for the specified LAG ID.
Parameters
- lag-id
-
Clears the LAG ID.
- bfd-session
-
Clears the specified BFD session.
- family
-
Clears the IP address family.
- ipv4
-
Clears IPv4.
- ipv6
-
Clears IPv6.
- port-id
-
Clears the port ID.
- lacp-statistics
-
Clears the LACP PDUs statistics.
- statistics
-
Clears the statistics or the BFD session for the specified LAG ID.
Platforms
All
lag
Syntax
lag lag-id lag-id
Context
[Tree] (tools>dump lag)
Full Context
tools dump lag
Description
This command dumps LAG information.
Parameters
- lag-id
-
Specifies the LAG ID.
Platforms
All
lag
Syntax
lag
Context
[Tree] (tools>perform lag)
Full Context
tools perform lag
Description
This command provides tools for controlling LAG.
Platforms
All
lag
Syntax
lag lag-id [lag-id] [bytes | packets | errors | utilization] [interval seconds] [repeat repeat] [absolute | rate]
lag lag-id network-aggregate-qos-stats [interval seconds] [ repeat repeat] [absolute | rate]
Context
[Tree] (monitor lag)
Full Context
monitor lag
Description
This command monitors traffic statistics for Link Aggregation Group (LAG) ports. Statistical information for the specified LAG ID(s) displays at the configured interval until the configured count is reached.
The first screen displays the current statistics related to the specified LAG ID. The subsequent statistical information listed for each interval is displayed as a delta to the previous display. When the keyword rate is specified, the rate-per-second for each statistic is displayed instead of the delta.
Monitor commands are similar to show commands but only statistical information displays. Monitor commands display the selected statistics according to the configured number of times at the interval specified.
Parameters
- lag-id
-
Specifies the number of the LAG, with a maximum of five LAG numbers specified in a single statement.
- bytes
-
Displays the statistics in bytes only.
- packets
-
Displays the statistics in packets only.
- errors
-
Displays the statistics for errors only.
- utilization
-
Displays the statistics in percentage utilization only.
- network-aggregate-qos-stats
-
Monitors the aggregate QoS statistics on network interface LAG default ingress and egress queues.
- seconds
-
Configures the interval for each display in seconds.
- repeat
-
Configures how many times the command is repeated.
- absolute
-
Specifies raw statistics, without processing. No calculations are performed on the delta or rate statistics.
- rate
-
Displays rate-per-second for each statistic instead of the delta.
Platforms
All
Output
The following output is an example of monitor lag command information.
Sample OutputA:Dut-B# monitor lag 1 interval 3 repeat 1
===============================================================================
Monitor statistics for LAG ID 1
===============================================================================
Port-id Input packets Output packets
Input bytes Output bytes
Input errors [Input util %] Output errors [Output util %]
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
1/2/1 24 25
2224 2294
0 0
1/2/2 25 8
2170 776
0 0
-------------------------------------------------------------------------------
Totals 49 33
4394 3070
0 0
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Delta)
-------------------------------------------------------------------------------
1/2/1 3 3
306 306
0 0
1/2/2 0 0
0 0
0 0
-------------------------------------------------------------------------------
Totals 3 3
306 306
0 0
===============================================================================
A:Dut-B# monitor lag 1 interval 3 repeat 1 bytes
===============================================================================
Monitor statistics for LAG ID 1
===============================================================================
Port-id Input bytes Output bytes
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
1/2/1 6100 6170
1/2/2 2514 1120
-------------------------------------------------------------------------------
Totals 8614 7290
-------------------------------------------------------------------------------
At time t = 3 sec (Mode: Delta)
-------------------------------------------------------------------------------
1/2/1 306 306
1/2/2 0 0
-------------------------------------------------------------------------------
Totals 306 306
===============================================================================
The following is an example of network aggregate QoS statistics information.
Sample Output*A:PE# monitor lag 1 network-aggregate-qos-stats repeat 1
===============================================================================
Monitor Network Aggregate QoS Statistics for LAG ID 1
===============================================================================
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Ingress Queue 1 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Ingress Queue 2 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Ingress Queue 11 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Egress Queue 1 Packets Octets
In/Inplus Prof fwded : 0 0
In/Inplus Prof dropped: 0 0
Out/Exc Prof fwded : 0 0
Out/Exc Prof dropped : 0 0
Egress Queue 2 Packets Octets
In/Inplus Prof fwded : 0 0
In/Inplus Prof dropped: 0 0
Out/Exc Prof fwded : 0 0
Out/Exc Prof dropped : 0 0
-------------------------------------------------------------------------------
At time t = 11 sec (Mode: Delta)
-------------------------------------------------------------------------------
Ingress Queue 1 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 2124815 271976320
Out Profile dropped : 0 0
Ingress Queue 2 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Ingress Queue 11 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Egress Queue 1 Packets Octets
In/Inplus Prof fwded : 0 0
In/Inplus Prof dropped: 0 0
Out/Exc Prof fwded : 1109568 1420247040
Out/Exc Prof dropped : 0 0
Egress Queue 2 Packets Octets
In/Inplus Prof fwded : 0 0
In/Inplus Prof dropped: 0 0
Out/Exc Prof fwded : 0 0
Out/Exc Prof dropped : 0 0
===============================================================================
*A:PE# monitor lag 1 network-aggregate-qos-stats rate repeat 1
===============================================================================
Monitor Network Aggregate QoS Statistics for LAG ID 1
===============================================================================
-------------------------------------------------------------------------------
At time t = 0 sec (Base Statistics)
-------------------------------------------------------------------------------
Ingress Queue 1 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Ingress Queue 2 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Ingress Queue 11 Packets Octets
In Profile forwarded : 0 0
In Profile dropped : 0 0
Out Profile forwarded : 0 0
Out Profile dropped : 0 0
Egress Queue 1 Packets Octets
In/Inplus Prof fwded : 0 0
In/Inplus Prof dropped: 0 0
Out/Exc Prof fwded : 0 0
Out/Exc Prof dropped : 0 0
Egress Queue 2 Packets Octets
In/Inplus Prof fwded : 0 0
In/Inplus Prof dropped: 0 0
Out/Exc Prof fwded : 0 0
Out/Exc Prof dropped : 0 0
-------------------------------------------------------------------------------
At time t = 11 sec (Mode: Rate)
-------------------------------------------------------------------------------
Packets/sec Octets/sec % Port
Util.
Ingress Queue 1 Packets Octets
In Profile forwarded : 0 0 0.00
In Profile dropped : 0 0 0.00
Out Profile forwarded : 97675 12502383 1.00
Out Profile dropped : 0 0 0.00
Ingress Queue 2 Packets Octets
In Profile forwarded : 0 0 0.00
In Profile dropped : 0 0 0.00
Out Profile forwarded : 0 0 0.00
Out Profile dropped : 0 0 0.00
Ingress Queue 11 Packets Octets
In Profile forwarded : 0 0 0.00
In Profile dropped : 0 0 0.00
Out Profile forwarded : 0 0 0.00
Out Profile dropped : 0 0 0.00
Egress Queue 1 Packets Octets
In/Inplus Prof fwded : 0 0 0.00
In/Inplus Prof dropped: 0 0 0.00
Out/Exc Prof fwded : 0 0 0.00
Out/Exc Prof dropped : 0 0 0.00
Egress Queue 2 Packets Octets
In/Inplus Prof fwded : 0 0 0.00
In/Inplus Prof dropped: 0 0 0.00
Out/Exc Prof fwded : 97661 12500639 1.00
Out/Exc Prof dropped : 0 0 0.00
===============================================================================
lanext
lanext
Syntax
lanext
Context
[Tree] (show>subscr-mgmt>vrgw lanext)
Full Context
show subscriber-mgmt vrgw lanext
Description
This command displays Wireless LAN Gateway Home LAN Extension information.
Platforms
7750 SR, 7750 SR-e, 7750 SR-s, VSR
lanext
Syntax
lanext
Context
[Tree] (tools>dump>wlan-gw lanext)
Full Context
tools dump wlan-gw lanext
Description
Commands in this context dump tools information for WGLAN HLE parameter.
Platforms
7750 SR, 7750 SR-e, 7750 SR-s, VSR
lanext
Syntax
lanext
Context
[Tree] (tools>perform>wlan-gw lanext)
Full Context
tools perform wlan-gw lanext
Description
Commands in this context clear tools information for WGLAN HLE parameter.
Platforms
7750 SR, 7750 SR-e, 7750 SR-s, VSR
lbm-svc-act-responder
lbm-svc-act-responder
Syntax
lbm-svc-act-responder [domain md-index] [association ma-index] [mep mep-id]
Context
[Tree] (show>eth-cfm lbm-svc-act-responder)
Full Context
show eth-cfm lbm-svc-act-responder
Description
This command displays all the MEPs that have been created with this optional parameter, which allocates additional resources to facilitate high-speed LBM-to-LBR processing typically used during service activation testing. The optional filters are cumulative. These filters can be used to narrow the focus of the display to a specific area.
Parameters
- md-index
-
Displays the MD index.
- ma-index
-
Displays the MA index.
- mep-id
-
Displays the local MEP ID.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
Output
The following is an example of ETH CFM lbm-svc-act-responder information.
ETH-CFM lbm-service-act-responder Field Descriptions describes the output fields:
Sample Outputshow eth-cfm lbm-svc-act-responder
==============================================================================
Eth-CFM Local MEP LBM Service Activation Responder Enabled
==============================================================================
MdIndex MaIndex MepId SrcMacAddress
------------------------------------------------------------------------------
14 1000 28 d8:1c:ff:00:00:00
------------------------------------------------------------------------------
No. of MEPs: 1
==============================================================================
Label |
Description |
---|---|
MdIndex |
Displays the Maintenance Domain (MD) index value |
MaIndex |
Displays the MA index value |
MepId |
Displays the maintenance association endpoint identifier |
SrcMacAddress |
Displays the source MAC address |
ldp
ldp
Syntax
ldp
Context
[Tree] (clear>router ldp)
Full Context
clear router ldp
Description
Commands in this context set the hold-time during which new auto-rx targeted peers are not generated.
Platforms
All
ldp
Syntax
ldp
Context
[Tree] (show>router ldp)
Full Context
show router ldp
Description
This command displays LDP information.
Platforms
All
ldp
Syntax
ldp
Context
[Tree] (tools>dump>router ldp)
Full Context
tools dump router ldp
Description
Commands in this context dump tools for LDP protocol instance.
Platforms
All
ldp
Syntax
ldp
Context
[Tree] (monitor>router ldp)
Full Context
monitor router ldp
Description
This command monitors commands for the LDP instance.
Platforms
All
ldp fec-egress-statistics
ldp fec-egress-statistics
Syntax
ldp fec-egress-statistics [ip-prefix/mask]
Context
[Tree] (clear>router ldp fec-egress-statistics)
Full Context
clear router ldp fec-egress-statistics
Description
This command clears LDP FEC egress statistics.
Parameters
- ip-prefix
-
Specify information for the specified IP prefix. Host bits must be 0.
- mask
-
Specifies the address mask used to indicate the bits of an IP address that are being used for the subnet address.
Platforms
All
ldp-sync-exit
ldp-sync-exit
Syntax
ldp-sync-exit
Context
[Tree] (tools>perform>router>isis ldp-sync-exit)
Full Context
tools perform router isis ldp-sync-exit
Description
This command terminates LDP synchronization and restores actual cost of an ISIS interface.
Platforms
All
ldp-sync-exit
Syntax
ldp-sync-exit
Context
[Tree] (tools>perform>router>ospf ldp-sync-exit)
[Tree] (tools>perform>router>ospf3 ldp-sync-exit)
Full Context
tools perform router ospf ldp-sync-exit
tools perform router ospf3 ldp-sync-exit
Description
This command terminates LDP synchronization and restore actual cost of an OSPF interface.
Platforms
All
ldp-treetrace
ldp-treetrace
Syntax
ldp-treetrace [prefix ip-prefix/mask] [detail]
Context
[Tree] (show>test-oam ldp-treetrace)
Full Context
show test-oam ldp-treetrace
Description
This command displays OAM LDP treetrace information.
Parameters
- ip-prefix/mask
-
Specifies the address prefix and subnet mask of the destination node.
- detail
-
Displays detailed information.
Platforms
All
Output
The following sample output shows OAM LDP treetrace information.
Sample Output*A:ALA-48# show test-oam ldp-treetrace
Admin State : Up Discovery State : Done
Discovery-intvl (min) : 60 Probe-intvl (min) : 2
Probe-timeout (min) : 1 Probe-retry : 3
Trace-timeout (sec) : 60 Trace-retry : 3
Max-TTL : 30 Max-path : 128
Forwarding-class (fc) : be Profile : Out
Total Fecs : 400 Discovered Fecs : 400
Last Discovery Start : 12/19/2006 05:10:14
Last Discovery End : 12/19/2006 05:12:02
Last Discovery Duration : 00h01m48s
Policy1 : policy-1
Policy2 : policy-2
*A:ALA-48# show test-oam ldp-treetrace detail
Admin State : Up Discovery State : Done
Discovery-intvl (min) : 60 Probe-intvl (min) : 2
Probe-timeout (min) : 1 Probe-retry : 3
Trace-timeout (sec) : 60 Trace-retry : 3
Max-TTL : 30 Max-path : 128
Forwarding-class (fc) : be Profile : Out
Total Fecs : 400 Discovered Fecs : 400
Last Discovery Start : 12/19/2006 05:10:14
Last Discovery End : 12/19/2006 05:12:02
Last Discovery Duration : 00h01m48s
Policy1 : policy-1
Policy2 : policy-2
===============================================================================
Prefix (FEC) Info
===============================================================================
Prefix Path Last Probe Discov Discov
Num Discovered State State Status
-------------------------------------------------------------------------------
11.11.11.1/32 54 12/19/2006 05:10:15 OK Done OK
11.11.11.2/32 54 12/19/2006 05:10:15 OK Done OK
11.11.11.3/32 54 12/19/2006 05:10:15 OK Done OK
…………
14.14.14.95/32 72 12/19/2006 05:11:13 OK Done OK
14.14.14.96/32 72 12/19/2006 05:11:13 OK Done OK
14.14.14.97/32 72 12/19/2006 05:11:15 OK Done OK
14.14.14.98/32 72 12/19/2006 05:11:15 OK Done OK
14.14.14.99/32 72 12/19/2006 05:11:18 OK Done OK
14.14.14.100/32 72 12/19/2006 05:11:20 OK Done OK
===============================================================================
Legend: uP - unexplored paths, tO - trace request timed out
mH - max hop exceeded, mP - max path exceeded
nR - no internal resource
*A:ALA-48# show test-oam ldp-treetrace prefix 12.12.12.10/32
Discovery State : Done Last Discovered : 12/19/2006 05:11:02
Discovery Status : ' OK '
Discovered Paths : 54 Failed Hops : 0
Probe State : OK Failed Probes : 0
*A:ALA-48# show test-oam ldp-treetrace prefix 12.12.12.10/32 detail
Discovery State : Done Last Discovered : 12/19/2006 05:11:02
Discovery Status : ' OK '
Discovered Paths : 54 Failed Hops : 0
Probe State : OK Failed Probes : 0
===============================================================================
Discovered Paths
===============================================================================
PathDest Egr-NextHop Remote-RtrAddr Discovery-time
DiscoveryTtl ProbeState ProbeTmOutCnt RtnCode
-------------------------------------------------------------------------------
127.1.0.5 10.10.1.2 12.12.12.10 12/19/2006 05:11:01
7 OK 0 EgressRtr
127.1.0.9 10.10.1.2 12.12.12.10 12/19/2006 05:11:01
7 OK 0 EgressRtr
127.1.0.15 10.10.1.2 12.12.12.10 12/19/2006 05:11:01
7 OK 0 EgressRtr
127.1.0.19 10.10.1.2 12.12.12.10 12/19/2006 05:11:01
7 OK 0 EgressRtr
127.1.0.24 10.10.1.2 12.12.12.10 12/19/2006 05:11:01
7 OK 0 EgressRtr
127.1.0.28 10.10.1.2 12.12.12.10 12/19/2006 05:11:01
……………..
127.1.0.252 10.10.1.2 12.12.12.10 12/19/2006 05:11:01
7 OK 0 EgressRtr
127.1.0.255 10.10.1.2 12.12.12.10 12/19/2006 05:11:01
7 OK 0 EgressRtr
===============================================================================
*A:ALA-48#
*A:ALA-48# show test-oam twamp server
==============================================================================
TWAMP Server (port 862)
==============================================================================
Admin State : Up Oper State : Up
Up Time : 0d 00:00:05
Curr Conn : 1 Max Conn : 32
ConnTimeout : 1800 Conn Reject : 2
Curr Sess : 2 Max Sess : 32
Tests Done : 5 Tests Rej : 0
Tests Abort : 0
TstPktsRx : 999 TstPktsTx : 999
==============================================================================
Prefix : 10.0.0.0/8
Description : NMS-West
==============================================================================
Admin State : Up Oper State : Up
Curr Conn : 1 Max Conn : 32
Conn Reject : 0
Curr Sess : 2 Max Sess : 32
Tests Done : 5 Tests Rej : 0
Tests Abort : 0
TstPktsRx : 999 TstPktsTx : 999
------------------------------------------------------------------------------
Client Sessions Idle TstPktsRx TstPktsTx
Curr/Done/Rej/Abort
------------------------------------------------------------------------------
10.1.1.1 2/5/0/0 920 999 999
==============================================================================
==============================================================================
Prefix : 10.0.0.0/16
Description : NMS-West-Special
==============================================================================
Admin State : Up Oper State : Up
Curr Conn : 0 Max Conn : 32
Conn Reject : 0
Curr Sess : 0 Max Sess : 32
Tests Done : 0 Tests Rej : 0
Tests Abort : 0
TstPktsRx : 0 TstPktsTx : 0
------------------------------------------------------------------------------
Client Sessions Idle TstPktsRx TstPktsTx
Curr/Done/Rej/Abort
------------------------------------------------------------------------------
==============================================================================
learned-remote-mac
learned-remote-mac
Syntax
learned-remote-mac [domain md-index] [association ma-index] [mep mep-id] [remote-mepid mep-id]
Context
[Tree] (show>eth-cfm learned-remote-mac)
Full Context
show eth-cfm learned-remote-mac
Description
This command displays the local MEP and remote MEP MAC address information relationship. The MAC address information in this table is populated and used in place of the remote mep-id in various ETH-CFM tests that opt to use the remote-mepid mep-id configuration instead of specifying the remote peer MAC address. This table is maintained by the ETH-CC process. If a CCM has not been received for a remote peer, there is no entry in the learned-remote-mac table. However, once a CCM is received for an expected peer, an entry in the learned-remote-mac table is populated and maintained. This entry remains until the remote peer statement is deleted from the association, the local MEP is deleted, or if a manual clear>eth-cfm>learned-remote-mac command has been executed for the specified local MEP.
The optional parameters are treated as independent filters that are combined to refine the output. Omitting all optional parameters produces output that includes the entire table.
Parameters
- md-index
-
Specifies the MD index.
- ma-index
-
Specifies the MA index.
- mep mep-id
-
Specifies the local mep-id.
- remote-mepid mep-id
-
Specifies the remote mep-id.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
Output
The following is an example of learned remote MAC information. Learned Remote MAC Field Descriptions describes the learned remote MAC fields.
Sample Outputshow eth-cfm learned-remote-mac
=======================================================================
Eth-CFM Learned Remote MEPID MAC Address
=======================================================================
MdIndex MaIndex L-MepId R-MepId Learned Remote MAC Stale Updated
-----------------------------------------------------------------------
12 1 28 29 00:00:00:00:00:29 False False
13 1000 28 29 00:00:00:00:00:29 False False
13 1000 28 31 00:00:00:00:00:31 False False
13 1500 28 29 00:00:00:00:00:29 False False
13 2000 28 29 00:00:00:00:00:29 False False
13 2000 28 31 00:00:00:00:00:31 False False
13 2000 28 32 00:00:00:00:00:32 False False
13 2002 28 29 00:00:00:00:00:29 False False
13 3000 28 29 00:00:00:00:00:29 False False
13 3000 28 31 00:00:00:00:00:31 False False
14 100 28 29 00:00:00:00:00:29 False False
14 100 28 31 00:00:00:00:00:31 False False
14 100 28 32 00:00:00:00:00:32 False False
=======================================================================
Label |
Description |
---|---|
MdIndex |
The local MEP domain index |
MaIndex |
The local MEP association index |
L-MepId |
The local MEP identifier |
R-MepId |
The remote MEP identifier |
Learned Remote MAC |
The learned MAC address of the remote peer |
Stale |
Results of the comparison between the CCM database and the learned-remote-mac table False — match True — mismatch |
Updated |
Whether the learned MAC in this table has been updated in the last CCM interval |
learned-remote-mac
Syntax
learned-remote-mac [mep mep-id [remote-mepid mep-id]] domain md-index association ma-index
Context
[Tree] (clear>eth-cfm learned-remote-mac)
Full Context
clear eth-cfm learned-remote-mac
Description
This command clears the stored MAC addresses in the CFM learned-remote-mac address table. A valid MAC address must exist in the learned-remote-mac table for a successful PDU generation when that test uses the remote-mepid mep-id option in place of a mac-address.
The local domain and association parameters must be included as part of the clear command. The mep and remote-mepid parameters are optional. The clear command clears all matching entries based on the configured parameters. The table is populated based on the reception and processing of ETH-CC PDUs.
Parameters
- mep mep-id
-
Specifies the local MEP ID.
- remote-mepid mep-id
-
Specifies the remote MEP ID.
- md-index
-
Specifies the MD index.
- ma-index
-
Specifies the MA index.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
lease-state
lease-state
Syntax
lease-state [wholesaler service-id] [sap sap-id | sdp sdp-id:vc-id | interface interface-name | ip-address ip-address [/mask] | chaddr ieee-address | mac ieee-address | {[port port-id] [no-inter-dest-id | inter-dest-id inter-dest-id]}] [session { none | ipoe}] [detail]
Context
[Tree] (show>service>id>dhcp lease-state)
Full Context
show service id dhcp lease-state
Description
This command displays DHCP lease state related information.
Parameters
- service-id
-
Specifies the service ID of the wholesaler.
- sap-id
-
Specifies the physical port identifier portion of the SAP definition.
- sdp-id
-
The SDP identifier.
- vc-id
-
The virtual circuit ID on the SDP ID for which to display information.
- interface-name
-
Displays information for the specified IP interface.
- ip-address[/mask]
-
Displays information associated with the specified IP address.
- ieee-address
-
Specifies the source MAC address.
- port-id
-
Specifies the port ID.
- no-inter-dest-id
-
Displays the information about no intermediate destination ID.
- inter-dest-id
-
Displays information about the specified intermediate destination ID, up to 64 characters.
- session
-
Shows DHCPv4 lease states for hosts that are associated with an IPoEsession or for hosts that are not associated with an IPoE session.
- detail
-
Displays detailed information.
Platforms
All
Output
The following is a sample output of the DHCP lease-state command.
Sample OutputA:ALA-_Dut-A# show service id 13 dhcp lease-state
===============================================================================
DHCP lease state table, service 13
===============================================================================
IP Address Mac Address Sap/Sdp Id Remaining Lease MC
LifeTime Origin Stdby
-------------------------------------------------------------------------------
10.13.40.1 00:00:00:00:00:13 1/1/1:13 00h00m58s Radius
-------------------------------------------------------------------------------
Number of lease states : 1
===============================================================================
A:ALA-_Dut-A#
# show service id 1000 dhcp lease-state detail
===============================================================================
DHCP lease states for service 1000
===============================================================================
Service ID : 1000
IP Address : 10.250.21.2
Client HW Address : 00:02:01:00:00:01
Subscriber-interface : sub-int-2
Group-interface : group-int-2-3
SAP : [1/1/2:2513.20]
Termination Type : local
Up Time : 0d 00:04:51
Remaining Lease Time : 0d 00:05:09
Remaining SessionTime: N/A
Persistence Key : 0x00000000
Sub-Ident : "sub-02-01"
Sub-Profile-String : "sub-profile-1"
SLA-Profile-String : "sla-profile-1"
App-Profile-String : ""
Lease ANCP-String : ""
Lease Int Dest Id : ""
Category-Map-Name : ""
Lease Info origin : DHCP
Ip-Netmask : 255.255.255.0
Broadcast-Ip-Addr : N/A
Default-Router : 10.250.21.254
Primary-Dns : N/A
Secondary-Dns : N/A
Primary-Nbns : N/A
Secondary-Nbns : N/A
ServerLeaseStart : 10/07/2020 15:00:19
ServerLastRenew : 10/07/2020 15:00:19
ServerLeaseEnd : 10/07/2020 15:10:19
Session-Timeout : N/A
IPoE|PPP session : IPoE
Lease-Time : 0d 00:10:00
DHCP Server Addr : 192.0.2.2
Relay Agent Information
Circuit Id : pe2|1000|group-int-2-3|1/1/2:2513.20
Radius Class 1 : This is a Class attribute
Radius User-Name : "00:02:01:00:00:01"
-------------------------------------------------------------------------------
Overrides
-------------------------------------------------------------------------------
Dir Type Id PIR CIR CBS MBS WRR
Class-Weight
-------------------------------------------------------------------------------
Egr Queue 1 1234 N/A 350000 350000 N/A
N/A
-------------------------------------------------------------------------------
No. of Overrides: 1
-------------------------------------------------------------------------------
SLA Profile Instance Session Limit Overrides
ipoe : 2
-------------------------------------------------------------------------------
Number of lease states : 1
===============================================================================
Service DHCP Lease-state Field Descriptions describes service DHCP lease-state information.
Field |
Description |
---|---|
Service ID |
The service ID |
IP Address |
The IP address |
Client HW Address |
The client hardware address |
Subscriber-interface |
The subscriber interface name |
Group-interface |
The group interface name |
SAP |
The SAP |
Termination Type |
The termination type |
Up Time |
The up time |
Remaining Lease Time |
The remaining lease time |
Remaining SessionTime |
The remaining session time |
Persistence Key |
The persistence key |
Sub-Ident |
The name of the subscriber identification policy |
Sub-Profile-String |
The subscriber profile string |
SLA-Profile-String |
The name of the SLA profile |
App-Profile-String |
The application profile string |
Lease ANCP-String |
The lease ANCP string |
Lease Int Dest Id |
The lease internal destination ID |
Category-Map-Name |
The category map name |
Lease Info origin |
The origin of the lease |
Ip-Netmask |
The IP netmask address |
Broadcast-Ip-Addr |
The broadcast IP address |
Default-Router |
The default router |
Primary-Dns |
The primary DNS address |
Secondary-Dns |
The secondary DNS address |
Primary-Nbns |
The primary NBNS |
Secondary-Nbns |
The secondary NBNS |
ServerLeaseStart |
The date and time of the start of the server lease |
ServerLastRenew |
The date and time of the renewal of the server lease |
ServerLeaseEnd |
The date and time of the end of the server lease |
Session-Timeout |
The session timeout value |
IPoE|PPP session |
The type of session |
Lease-Time |
The lease time |
DHCP Server Addr |
The DHCP server IP address |
Relay Agent Information |
|
Circuit Id |
The circuit ID |
Radius Class 1 |
The RADIUS Class 1 value |
Radius User-Name |
The RADIUS user name |
Overrides: (only shown when overrides are active) |
|
Dir Type |
The direction type |
Id |
The ID |
PIR |
The PIR value |
CIR |
The CIR value |
CBS |
The CBS value |
MBS |
The MBS value |
WRR |
The WRR value |
Class-Weight |
The class weight |
No. of Overrides |
The total number of overrides |
Subscriber Host Limit Overrides and SLA Profile Instance Host Limit Overrides: (only shown when overrides are active) |
|
ipv4-arp |
The total number of IPv4 ARP hosts limit |
ipv4-dhcp |
The total number of IPv4 DHCP hosts limit |
ipv4-ppp |
The total number of IPv4 PPP hosts limit |
ipv4-overall |
The total number of IPv4 hosts limit |
ipv6-pd-ipoe-dhcp |
The total number of IPv6 IPoE DHCP Prefix Delegation hosts (IA-PD) limit |
ipv6-pd-ppp-dhcp |
The total number of IPv6 PPPoE DHCP Prefix Delegation hosts (IA-PD) limit |
ipv6-pd-overall |
The total number of IPv6 DHCP Prefix Delegation hosts (IA-PD) limit |
ipv6-wan-ipoe-dhcp |
The total number of IPv6 IPoE DHCP WAN hosts (IA-NA) limit |
ipv6-wan-ipoe-slaac |
The total number of IPv6 IPoE SLAAC WAN hosts limit |
ipv6-wan-ppp-dhcp |
The total number of IPv6 PPPoE DHCP WAN hosts (IA-NA) limit |
ipv6-wan-ppp-slaac |
The total number of IPv6 IPoE SLAAC WAN hosts limit |
ipv6-wan-overall |
The total number of IPv6 WAN hosts limit |
ipv6-overall |
The total number of IPv6 hosts limit |
lac-overall |
The total number of L2TP LAC hosts limit |
overall |
The total number of subscriber hosts limit |
Subscriber Session Limit Overrides and SLA Profile Instance Session Limit Overrides: (only shown when overrides are active) |
|
ipoe |
The total number of IPoE sessions limit |
ppoe-local |
The total number of PPPoE local terminated sessions (PTA) limit |
ppoe-lac |
The total number of PPPoE L2TP LAC sessions limit |
ppoe-overall |
The total number of PPPoE sessions limit |
l2tp-lns |
The total number of L2TP LNS sessions limit |
l2tp-lts |
The total number of L2TP LTS sessions limit |
l2tp-overall |
The total number of L2TP sessions limit |
overall |
The total number of subscriber sessions limit |
Number of lease states |
The total number of lease states |
A:ALA-_Dut-A# show service id 13 dhcp lease-state
===============================================================================
DHCP lease state table, service 13
===============================================================================
IP Address Mac Address Sap/Sdp Id Remaining Lease MC
LifeTime Origin Stdby
-------------------------------------------------------------------------------
10.13.40.1 00:00:00:00:00:13 1/1/1:13 00h00m58s Radius
-------------------------------------------------------------------------------
Number of lease states : 1
===============================================================================
A:ALA-_Dut-A#
A:ALA-_Dut-A# show service id 13 dhcp lease-state detail
===============================================================================
DHCP lease states for service 13
===============================================================================
Service ID : 13
IP Address : 10.13.40.1
Mac Address : 00:00:00:00:00:13
Subscriber-interface : ies-13-10.13.1.1
Group-interface : intf-13
SAP : 1/1/1:13
Remaining Lifetime : 00h00m58s
Persistence Key : N/A
Sub-Ident : "TEST"
Sub-Profile-String : "ADSL GO"
SLA-Profile-String : "BE-Video"
Lease ANCP-String : ""
Sub-Ident origin : Radius
Strings origin : Radius
Lease Info origin : Radius
Ip-Netmask : 255.255.0.0
Broadcast-Ip-Addr : 10.13.255.255
Default-Router : N/A
Primary-Dns : 10.13.254.254
Secondary-Dns : 10.13.254.253
ServerLeaseStart : 12/24/2006 23:48:23
ServerLastRenew : 12/24/2006 23:48:23
ServerLeaseEnd : 12/24/2006 23:49:23
Session-Timeout : 0d 00:01:00
DHCP Server Addr : N/A
Persistent Relay Agent Information
Circuit Id : ancstb6_Dut-A|13|intf-13|0|13
Remote Id : stringtest
-------------------------------------------------------------------------------
Number of lease states : 1
===============================================================================
A:ALA-_Dut-A#
Wholesaler/Retailer Output Example
A:ALA-_Dut-A# show service id 2000 dhcp lease-state detail
===============================================================================
DHCP lease states for service 2000
-------------------------------------------------------------------------------
Wholesaler 1000 Leases
-------------------------------------------------------------------------------
Service ID : 1000
IP Address : 10.13.1.254
Mac Address : 00:00:00:00:00:13
Subscriber-interface : whole-sub
Group-interface : intf-13
Retailer : 2000
Retailer If : retail-sub
SAP : 1/1/1:13
Remaining Lifetime : 00h09m59s
Persistence Key : N/A
Sub-Ident : "TEST"
Sub-Profile-String : "ADSL GO"
SLA-Profile-String : "BE-Video"
Lease ANCP-String : ""
Sub-Ident origin : Retail DHCP
Strings origin : Retail DHCP
Lease Info origin : Retail DHCP
Ip-Netmask : 255.255.0.0
Broadcast-Ip-Addr : 10.13.255.255
Default-Router : N/A
Primary-Dns : N/A
Secondary-Dns : N/A
ServerLeaseStart : 12/25/2006 00:29:41
ServerLastRenew : 12/25/2006 00:29:41
ServerLeaseEnd : 12/25/2006 00:39:41
Session-Timeout : 0d 00:10:00
DHCP Server Addr : 10.232.237.2
Persistent Relay Agent Information
Circuit Id : 1/1/1:13
Remote Id : stringtest
Subscriber Host Limit Overrides
ipv4-arp : 1
ipv4-dhcp : 1
ipv4-ppp : 1
ipv4-overall : 1
ipv6-pd-ipoe-dhcp : 1
ipv6-pd-ppp-dhcp : 1
ipv6-pd-overall : 1
ipv6-wan-ipoe-dhcp : 1
ipv6-wan-ipoe-slaac : 1
ipv6-wan-ppp-dhcp : 1
ipv6-wan-ppp-slaac : 1
ipv6-wan-overall : 1
ipv6-overall : 1
lac-overall : 1
overall : 1
SLA Profile Instance Host Limit Overrides
ipv4-arp : 1
ipv4-dhcp : 1
ipv4-ppp : 1
ipv4-overall : 1
ipv6-pd-ipoe-dhcp : 1
ipv6-pd-ppp-dhcp : 1
ipv6-pd-overall : 1
ipv6-wan-ipoe-dhcp : 1
ipv6-wan-ipoe-slaac : 1
ipv6-wan-ppp-dhcp : 1
ipv6-wan-ppp-slaac : 1
ipv6-wan-overall : 1
ipv6-overall : 1
lac-overall : 1
overall : 1
Subscriber Session Limit Overrides
ipoe : 1
pppoe-local : 1
pppoe-lac : 1
pppoe-overall : 1
l2tp-lns : 1
l2tp-lts : 1
l2tp-overall : 1
overall : 1
SLA Profile Instance Session Limit Overrides
ipoe : 1
pppoe-local : 1
pppoe-lac : 1
pppoe-overall : 1
l2tp-lns : 1
l2tp-lts : 1
l2tp-overall : 1
overall : 1
-------------------------------------------------------------------------------
Number of lease states : 1
===============================================================================
A:ALA-_Dut-A#
lease-state
Syntax
lease-state [detail] [wholesaler service-id] [session {none | ipoe | ppp}] [router-advertisement-policy policy-name]
lease-state [detail] interface interface-name [wholesaler service-id] [session {none | ipoe | ppp}] [router-advertisement-policy policy-name]
lease-state [detail] ipv6-address ipv6-prefix[/prefix-length] [wholesaler service-id] [session {none | ipoe | ppp}] [router-advertisement-policy policy-name]
lease-state [detail] mac ieee-address [wholesaler service-id] [session {none | ipoe | ppp}] [router-advertisement-policy policy-name]
Context
[Tree] (show>service>id>dhcp6 lease-state)
Full Context
show service id dhcp6 lease-state
Description
This command displays DHCPv6 lease state information.
The wholesaler service-id parameter is applicable only in the VPRN context.
Parameters
- detail
-
Displays detailed lease state information.
- service-id
-
The service ID of the wholesaler. When specified in this context, SAP, SDP, interface, IP address and MAC parameters are ignored. This parameter only applies to the 7750 SR.
- session
-
Shows DHCPv6 lease states for clients that are associated with an IPoE session or for clients that are associated with a PPP session or for clients that are not associated with an IPoE session.
- policy-name
-
Specifies the name of the router advertisement policy.
- interface-name
-
Specifies the interface name, up to 32 characters.
- ipv6-address[/mask]
-
Shows information for the specified IPv6 address and mask.
- ieee-address
-
Shows information for the specified 48-bit MAC address, expressed in the form aa:bb:cc:dd:ee:ff or aa-bb-cc-dd-ee-ff, where aa, bb, cc, dd, ee and ff are hexadecimal numbers.
Platforms
All
Output
The following output is an example of DHCP6 lease state information.
Sample Output*A:eng-BNG-2# show service id 1000 dhcp6 lease-state detail
===============================================================================
DHCP lease states for service 1000
===============================================================================
Service ID : 1000
IP Address : 2001:1000:0:4::1/128
Client HW Address : 00:00:10:10:12:12
Subscriber-interface : sub-int-01
Group-interface : grp-int-01
SAP : 1/1/20:841
Termination Type : local
Up Time : 0d 00:00:13
Remaining Lease Time : 0d 23:59:47 (Lease Split)
Remaining SessionTime: N/A
Persistence Key : N/A
Sub-Ident : "host-1"
Sub-Profile-String : "no-prof"
SLA-Profile-String : "no-prof"
App-Profile-String : ""
Lease ANCP-String : ""
Lease Int Dest Id : ""
Category-Map-Name : ""
Dhcp6 ClientId (DUID): 00030001000010101212
Dhcp6 IAID : 0
Dhcp6 IAID Type : non-temporary
Dhcp6 Client Ip : fe80:db8:200:10ff:fe10:1212
Primary-Dns : N/A
Secondary-Dns : N/A
Pool Name : ""
Dhcp6 Server Addr : ::10
Dhcp6 ServerId (DUID): 00030001d854ff000000
Dhcp6 InterfaceId : test
Dhcp6 RemoteId : N/A
Radius sub-if prefix : N/A
Router adv. policy : ra-policy-01
Lease Info origin : DHCP
ServerLeaseStart : 02/13/2017 22:04:24
ServerLastRenew : 02/13/2017 22:04:24
ServerLeaseEnd : 02/14/2017 22:04:24
Session-Timeout : N/A
IPoE|PPP session : No
Radius User-Name : "00:00:10:10:12:12"
-------------------------------------------------------------------------------
Overrides
-------------------------------------------------------------------------------
Dir Type Id PIR CIR CBS MBS WRR
Class-Weight
-------------------------------------------------------------------------------
Egr Queue 1 1234 N/A 350000 350000 N/A
N/A
-------------------------------------------------------------------------------
No. of Overrides: 1
-------------------------------------------------------------------------------
SLA Profile Instance Session Limit Overrides
ipoe : 2
-------------------------------------------------------------------------------
Number of lease states : 1
===============================================================================
*A:Dut-A#show service id 13 dhcp6 lease-state router-advertisement-policy ra-policy-01
===============================================================================
DHCP lease state table, service 13
===============================================================================
IP Address Mac Address Sap/Sdp Id Remaining Lease MC
LeaseTime Origin Stdby
-------------------------------------------------------------------------------
2013:bad:beaf::1/128
00:00:00:00:00:13 1/1/1:13 23h47m34s DHCP
2013:bad:beaf::2/128
00:00:00:00:00:14 1/1/1:13 23h52m36s DHCP
2013:bad:beaf::3/128
00:00:00:00:00:15 1/1/1:13 23h54m17s DHCP
-------------------------------------------------------------------------------
Number of lease states : 3
===============================================================================
*A:Dut-A#
DHCPv6 Lease State Router Advertisement Field Descriptions describes DHCPv6 lease state router advertisement policy output fields.
Field |
Description |
---|---|
Service ID |
The service ID provided by the access node to which this subnet is bound |
IP Address |
The IP address of the service |
Client HW Address |
The MAC address of the client |
Subscriber-Interface |
The subscriber interface for the service |
Group-interface |
The group interface for the service |
Sap/Sdp ID |
The service SAP and SDP IDs |
Termination Type |
The PPP session type |
Up Time |
The value of the up time at the time of the last modification of an entry |
Remaining Lease Time |
The time left before the DHCPv6 lease expires. The client should renew its lease before this timer expires. (Lease Split) indicates that DHCPv6 lease split is active. |
Remaining SessionTime |
The time left for this session |
Persistence Key |
The persistence key |
Sub-Ident |
The subscriber identification policy name |
Sub-Profile-String |
The subscriber profile policy name |
App-Profile-String |
The application profile policy name |
Lease ANCP-String |
The ANCP string |
Category-Map-Name |
The category map name |
Dhcp6 ClientID (DUID) |
The DHCP client ID |
Dhcp6 IAID |
The DHCPv6 Identity Association Identifier (IAID) assigned by the client |
Dhcp6 IAID Type |
The DHCPv6 Identity Association type of this lease (non-temporary or prefix) |
Dhcp6 Client Ip |
The DHCPv6 IP address of the client |
Primary-Dns |
The primary DNS, if configured |
Secondary-Dns |
The secondary DNS, if configured |
Pool Name |
The pool name |
Dhcp6 Server Addr |
The DHCPv6 server address |
Dhcp6 ServerID (DUID) |
The DHCPv6 server ID |
Dhcp6 InterfaceId |
The DHCPv6 interface ID |
Dhcp6 RemoteId |
The DHCPv6 remote ID |
Radius sub-if prefix |
The RADIUS subscriber interface prefix |
Router adv. policy |
The router advertisement policy |
Lease Info origin |
The lease info origin |
ServerLeaseStart |
The date and time the lease was created |
ServerLastRenew |
The last renew was done for this lease |
ServerLeaseEnd |
The time left for this lease |
Session-Timeout |
The session timeout interval |
IPoE|PPP |
IPoE or PPP |
Radius User-Name |
The RADIUS user name |
Overrides: (only shown when overrides are active) |
|
Dir Type |
The direction type |
Id |
The ID |
PIR |
The PIR value |
CIR |
The CIR value |
CBS |
The CBS value |
MBS |
The MBS value |
WRR |
The WRR value |
Class-Weight |
The class weight |
No. of Overrides |
The total number of overrides |
Subscriber Host Limit Overrides and SLA Profile Instance Host Limit Overrides: (only shown when overrides are active) |
|
ipv4-arp |
The total number of IPv4 ARP hosts limit |
ipv4-dhcp |
The total number of IPv4 DHCP hosts limit |
ipv4-ppp |
The total number of IPv4 PPP hosts limit |
ipv4-overall |
The total number of IPv4 hosts limit |
ipv6-pd-ipoe-dhcp |
The total number of IPv6 IPoE DHCP Prefix Delegation hosts (IA-PD) limit |
ipv6-pd-ppp-dhcp |
The total number of IPv6 PPPoE DHCP Prefix Delegation hosts (IA-PD) limit |
ipv6-pd-overall |
The total number of IPv6 DHCP Prefix Delegation hosts (IA-PD) limit |
ipv6-wan-ipoe-dhcp |
The total number of IPv6 IPoE DHCP WAN hosts (IA-NA) limit |
ipv6-wan-ipoe-slaac |
The total number of IPv6 IPoE SLAAC WAN hosts limit |
ipv6-wan-ppp-dhcp |
The total number of IPv6 PPPoE DHCP WAN hosts (IA-NA) limit |
ipv6-wan-ppp-slaac |
The total number of IPv6 PPPoE SLAAC WAN hosts limit |
ipv6-wan-overall |
The total number of IPv6 WAN hosts limit |
ipv6-overall |
The total number of IPv6 hosts limit |
lac-overall |
The total number of L2TP LAC hosts limit |
overall |
The total number of subscriber hosts limit |
Subscriber Session Limit Overrides and SLA Profile Instance Session Limit Overrides: (only shown when overrides are active) |
|
ipoe |
The total number of IPoE sessions limit |
ppoe-local |
The total number of PPPoE local terminated sessions (PTA) limit |
ppoe-lac |
The total number of PPPoE L2TP LAC sessions limit |
ppoe-overall |
The total number of PPPoE sessions limit |
l2tp-lns |
The total number of L2TP LNS sessions limit |
l2tp-lts |
The total number of L2TP LTS sessions limit |
l2tp-overall |
The total number of L2TP sessions limit |
overall |
The total number of subscriber sessions limit |
Number of lease states |
The total number of lease states |
lease-state
Syntax
lease-state all [no-dhcp-release]
lease-state [port port-id] inter-dest-id intermediate-destination-id [no-dhcp-release]
lease-state [port port-id] no-inter-dest-id [no-dhcp-release]
lease-state ip-address ip-address [/mask] [no-dhcp-release]
lease-state mac ieee-address [no-dhcp-release]
lease-state port port-id [no-dhcp-release]
lease-state sap sap-id [no-dhcp-release]
lease-state sdp sdp-id:vc-id [no-dhcp-release]
Context
[Tree] (clear>service>id>dhcp lease-state)
Full Context
clear service id dhcp lease-state
Description
This command removes the DHCPv4 lease state information from the system and sends a DHCP release message on behalf of the client to the DHCP server. A DHCP release is not sent when the remaining lease-time is less than 5 minutes or when the no-dhcp-release parameter is specified.
Parameters
- all
-
Clears all lease state statistics.
- port-id
-
Displays information about the specified port ID.
- intermediate-destination-id
-
Displays information about the specified intermediate destination ID, up to 32 characters.
- no-inter-dest-id
-
Displays the information about no intermediate destination ID.
- ip-address[/mask]
-
The IP address of the IP interface. The ip-address portion of the address command specifies the IP host address that is used by the IP interface within the subnet. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).
- ieee-address
-
Specifies the 48-bit MAC address for the static ARP in the form aa:bb:cc:dd:ee:ff or aa-bb-cc-dd-ee-ff where aa, bb, cc, dd, ee, and ff are hexadecimal numbers. Allowed values are any non-broadcast, non-multicast MAC and non-IEEE reserved MAC addresses.
- sap-id
-
Specifies the physical port identifier portion of the SAP definition.
- sdp-id
-
The SDP ID to be cleared.
- vc-id
-
The virtual circuit ID on the SDP ID to be cleared.
- no-dhcp-release
-
Specifies that the node clears the state without sending the DHCP release message.
Platforms
All
lease-state
Syntax
lease-state all [no-dhcp-release]
lease-state ipv6-address ipv6-prefix[/prefix-length] [ no-dhcp-release]
lease-state mac ieee-address [no-dhcp-release]
lease-state sap sap-id [no-dhcp-release]
Context
[Tree] (clear>service>id>dhcp6 lease-state)
Full Context
clear service id dhcp6 lease-state
Description
This command removes the DHCPv6 lease state information from the system and sends a DHCP release message on behalf of the client to the DHCP server. A DHCP release is not sent when the remaining lease-time is less than 5 minutes or when the no-dhcp-release parameter is specified.
Parameters
- all
-
Clears all lease-states.
- no-dhcp-release
-
Specifies that the node clears the state without sending the DHCP release message.
- ipv6-prefix[/prefix-length]
-
Clears routes only matching the specified IP address and length and only applies to the 7750 SR.
- ieee-address
-
Clears DHCP6 MAC address lease state information. The 48-bit MAC address for the static ARP in the form aa:bb:cc:dd:ee:ff or aa-bb-cc-dd-ee-ff where aa, bb, cc, dd, ee, and ff are hexadecimal numbers. Allowed values are any non-broadcast, non-multicast MAC and non-IEEE reserved MAC addresses.
- sap-id
-
Clears the specified lease state SAP information.
Platforms
All
leases
leases
Syntax
leases [detail]
leases ip-address[/mask] address-from-user-db [detail]
leases ip-address[/mask] dhcp-host dhcp-host-name [detail]
leases ip-address[/mask] ppp-host ppp-host-name [detail]
leases ip-address[/mask] [detail]
Context
[Tree] (show>router>dhcp>local-dhcp-server leases)
Full Context
show router dhcp local-dhcp-server leases
Description
This command displays the DHCP leases.
Parameters
- ip-address
-
Specifies the base IP address of the subnet. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).
- mask
-
The subnet mask in dotted decimal notation.
- address-from-user-db
-
Displays only leases that have IP addresses from the local-user-db.
- dhcp-host-name
-
Shows the leases that match a certain DHCP host from the local-user-db.
- ppp-host-name
-
Displays the leases that match a certain PPPoE host from the local-user-db.
- detail
-
Displays detailed information of all leases that fall into the indicated subnet.
The command with no parameters shows all leases from the local-user-db.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
Output
The following output is an example of lease information
Sample Output*A:ALA-48>show>router>dhcp>local-dhcp-server# leases ip-address 10.0.0.4
===============================================================================
Leases for DHCP server test router Base
===============================================================================
IP Address Lease State Mac Address Remaining Clnt
PPPoE user name/Opt82 Circuit Id LifeTime Type
-------------------------------------------------------------------------------
No leases found
*A:ALA-48>show>router>dhcp>local-dhcp-server#
Leases Field Descriptions describes leases output fields.
Field |
Description |
---|---|
IP Address |
The IP address for the specified lease |
Lease State |
The lease state of the IP address |
Mac Address |
The MAC address of the lease |
Remaining Lifetime |
The remaining lifetime of the lease |
Clnt Type |
The address type |
PPPoE user name |
The PPPoE user name |
Opt82 |
The option number that the DHCP server uses to send the identification strings to the PPPoE client |
Circuit ID |
The circuit ID from Option 82 |
leases
Syntax
leases [ipv6-address/prefix-length] [type] [state] [detail]
Context
[Tree] (show>router>dhcp6>local-dhcp-server leases)
Full Context
show router dhcp6 local-dhcp-server leases
Description
This command displays the DHCP6 leases.
Parameters
- ipv6-address
-
Specifies the base IP address of the subnet. This address must be unique within the subnet and specified in dotted decimal notation. Allowed values are IP addresses in the range 1.0.0.0 – 223.255.255.255 (with support of /31 subnets).
- mask
-
The subnet mask in dotted decimal notation.
- type
-
Displays the lease type.
- state
-
Displays the state of the lease.
- detail
-
Displays detailed information of all leases that fall into the indicated subnet.
The command with no parameters shows all leases from the local user database.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
Output
The following output is an example of lease information.
Sample Outputshow router 600 dhcp6 local-dhcp-server "d6" leases
===============================================================================
Leases for DHCPv6 server d6
===============================================================================
IP Address/Prefix Lease State Remaining Fail
Link-local Address LifeTime Ctrl
-------------------------------------------------------------------------------
2001:AAAA::1/128
FE80::220:FCFF:FE1E:CD52 stable 23h58m52s local
-------------------------------------------------------------------------------
1 leases found
===============================================================================
DHCP6 Lease Field Descriptions describes DHCP6 lease fields.
Field |
Description |
---|---|
IP Address/Prefix |
The IP address and prefix of the lease |
Link-local Address |
The link local address of the lease |
Lease State |
The lease state of the lease |
Remaining Lifetime |
The remaining lifetime of the lease |
Fail Ctrl |
The type of failover control |
No. leases found |
The total number of leases |
leases
Syntax
leases ip-address[/mask] [state]
leases all [state]
Context
[Tree] (clear>router>dhcp>server leases)
Full Context
clear router dhcp local-dhcp-server leases
Description
This command clears DHCP leases.
Parameters
- ip-address[/mask]
-
Clears the specified IP address and mask.
- state
-
Clears the state of the lease to be removed.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
leases
Syntax
leases [ipv6-address/prefix-length] [type] [state]
leases all [type] [state]
Context
[Tree] (clear>router>dhcp6>server leases)
Full Context
clear router dhcp6 local-dhcp-server leases
Description
This command removes the specified leases in the specified local DHCPv6 server.
Parameters
- ipv6-address/prefix-length
-
Specifies the prefix of the leases to be removed.
- type
-
Specifies the type of the lease to be removed.
- state
-
Specifies the state of the lease to be removed.
- all
-
Removes all leases of specified type or state.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
lfa-coverage
lfa-coverage
Syntax
lfa-coverage
Context
[Tree] (show>router>isis lfa-coverage)
Full Context
show router isis lfa-coverage
Description
This command displays IS-IS LFA coverage information. This information corresponds to the backup next hops for prefixes and nodes written in RTM by the base LFA feature.
Platforms
All
Output
The following output is an example of LFA coverage information.
Sample Output*A:SR# show router isis lfa-coverage
============================================================================
Rtr Base ISIS Instance 0 LFA Coverage
============================================================================
Topology Level Node IPv4
----------------------------------------------------------------------------
IPV4 Unicast L1 4/4(100%) 826/826(100%)
IPV4 Unicast L2 2/2(100%) 826/826(100%)
IPV6 Unicast L1 3/3(100%) 0/0(0%)
IPV6 Unicast L2 0/0(0%) 0/0(0%)
============================================================================
*A:SR#
*A:SRR>config>router>isis# show router isis lfa-coverage
===============================================================================
LFA Coverage
===============================================================================
Topology Level Node IPv4 IPv6
-------------------------------------------------------------------------------
IPV4 Unicast L1 3/4(75%) 1484/1975(75%) 0/0(0%)
IPV4 Unicast L2 3/3(100%) 1484/1975(75%) 0/0(0%)
===============================================================================
*A:SRR>config>router>isis#
lfa-coverage
Syntax
lfa-coverage
Context
[Tree] (show>router>ospf3 lfa-coverage)
[Tree] (show>router>ospf lfa-coverage)
Full Context
show router ospf3 lfa-coverage
show router ospf lfa-coverage
Description
This command displays OSPFv2 or OSPFv3 Loop-Free Alternate (LFA) next-hop information. This information corresponds to the backup next hops for prefixes and nodes written in RTM by the base LFA feature.
Platforms
All
Output
Sample Output*A:Dut-A# show router ospf 1 lfa-coverage
=======================================================================
Rtr Base OSPFv2 Instance 1 LFA Coverage
=======================================================================
Area Node Prefix
---------------------------------------------------------------------------
0.0.0.0 4/4(100%) 8/8(100%)
=======================================================================
*A:Dut-A#
*A:Dut-C>config>router>ospf3# show router ospf3 0 lfa-coverage
===========================================================================
Rtr Base OSPFv3 Instance 0 LFA Coverage
===========================================================================
Area Node Prefix
---------------------------------------------------------------------------
0.0.0.1 1/3(33%) 9/27(33%)
===========================================================================
li
li
Syntax
li
Context
[Tree] (show li)
Full Context
show li
Description
This command displays Lawful Intercept (LI) information.
Platforms
All
li
Syntax
li
Context
[Tree] (clear li)
Full Context
clear li
Description
This command clears Lawful Intercept (LI) information.
Platforms
All
li-ip
li-ip
Syntax
li-ip [li-filter-name]
li-ip li-filter-name {counters | associations}
li-ip li-filter-name entry entry-id [counters]
Context
[Tree] (show>li>filter li-ip)
Full Context
show li filter li-ip
Description
This command displays LI mirror IPv4 address filter configuration and operation information.
Parameters
- li-filter-name
-
Specifies the LI filter name, up to 32 characters.
- entry-id
-
Specifies the LI filter entry.
- counters
-
Specifies LI filter counter information.
- associations
-
Specifies LI filter association information.
Platforms
All
li-ip
Syntax
li-ip li-filter-name [entry entry-id] [{ ingress | egress}]
Context
[Tree] (clear>li>filter li-ip)
Full Context
clear li filter li-ip
Description
This command clears LI mirror IPv4 address filter configuration and operation information.
Parameters
- li-filter-name
-
Clears the LI filter name, up to 32 characters.
- entry-id
-
Clears the LI filter entry.
Platforms
All
li-ipv6
li-ipv6
Syntax
li-ipv6 [li-filter-name]
li-ipv6 li-filter-name {counters | associations}
li-ipv6 li-filter-name entry entry-id [counters]
Context
[Tree] (show>li>filter li-ipv6)
Full Context
show li filter li-ipv6
Description
This command displays LI mirror IPv6 address filter configuration and operation information.
Parameters
- li-filter-name
-
Specifies the LI filter name, up to 32 characters.
- entry-id
-
Specifies the LI filter entry.
- counters
-
Specifies LI filter counter information.
- associations
-
Specifies LI filter association information.
Platforms
All
li-ipv6
Syntax
li-ipv6 li-filter-name [entry entry-id] [{ ingress | egress}]
Context
[Tree] (clear>li>filter li-ipv6)
Full Context
clear li filter li-ipv6
Description
This command clears LI mirror IPv6 address filter configuration and operation information.
Parameters
- li-filter-name
-
Clears the LI filter name, up to 32 characters.
- entry-id
-
Clears the LI filter entry.
Platforms
All
li-mac
li-mac
Syntax
li-mac [li-filter-name]
li-mac li-filter-name {counters | associations}
li-mac li-filter-name entry entry-id [counters]
Context
[Tree] (show>li>filter li-mac)
Full Context
show li filter li-mac
Description
This command displays LI mirror MAC address filter configuration and operation information.
Parameters
- li-filter-name
-
Specifies the LI filter name, up to 32 characters.
- entry-id
-
Specifies the LI filter entry.
- counters
-
Specifies LI filter counter information.
- associations
-
Specifies LI filter association information.
Platforms
All
li-mac
Syntax
li-mac li-filter-name [entry entry-id] [{ ingress | egress}]
Context
[Tree] (clear>li>filter li-mac)
Full Context
clear li filter li-mac
Description
This command clears LI mirror MAC address filter configuration and operation information.
Parameters
- li-filter-name
-
Clears the LI filter name, up to 32 characters.
- entry-id
-
Clears the LI filter entry.
Platforms
All
li-source
li-source
Syntax
li-source service-id [acct-session-id session-id]
Context
[Tree] (show>li li-source)
Full Context
show li li-source
Description
This command displays LI mirror configuration and operation information.
Parameters
- service-id
-
Specifies the service ID.
- session-id
-
Specifies the session ID, up to 22 characters.
Platforms
All
Output
The following output is an example of LI source information.
Sample Output*A:sim138# show li li-source 2
===============================================================================
Mirror Service
===============================================================================
Service Id : 2 Type : Ether
Admin State : Up Oper State : Up
Forwarding Class : be Remote Sources: No
Slice : 0
Destination SDP : 1000 (100.1.1.2) Egress Label : 4000
Signaling: : None
-------------------------------------------------------------------------------
Local Sources
-------------------------------------------------------------------------------
Admin State : Up
- IP Filter 1 Entry 1
===============================================================================
*A:sim138#
license
license
Syntax
license available-licenses
Context
[Tree] (show>system license)
Full Context
show system license
Description
Displays information related to the active license(s) within the system. This includes the license name, target UUID, target product, target SR OS release, and the start, end, and issue date of the license.
If the available-licenses attribute is included, then the information for each active license shall be displayed. The usual case for more than one license in a system is during an upgrade procedures when there needs to be both the originating and destination release licenses available in the system.
Parameters
- available-licenses
-
Includes information for all licenses active in the system.
Platforms
All
Output
The following output is an example of license information.
Sample Output*A:ExitLeaf-35# show system license
===============================================================================
Current License
===============================================================================
License status : monitoring, valid license record
Time remaining : 131 days 9 hours
-------------------------------------------------------------------------------
License name : sr-regress@list.nokia.com
License uuid : ab516e50-2413-44aa-9f7c-34b4e5b64d19
Machine uuid : ab516e50-2413-44aa-9f7c-34b4e5b64d19
License desc : 7xxx Platform
License prod : 7xxx Platform
License sros : TiMOS-[BC]-16.0.*
Current date : FRI NOV 03 15:53:54 UTC 2017
Issue date : FRI SEP 22 20:55:14 UTC 2017
Start date : FRI SEP 15 00:00:00 UTC 2017
End date : THU MAR 15 00:00:00 UTC 2018
-------------------------------------------------------------------------------
Entitlement
IOM Upgrades : !cr-er 1
: !er-he 1
: !cr400g-cr1200g+ 1
: !er400g-er1200g+ 1
: !he400g-he1200g+ 1
: !cr-er1200g+ 1
: !er-he1200g+ 1
MDA Upgrades : cr1200g-cr1600g 1
: cr1600g-cr2400g 1
: er1200g-er1600g 1
: er1600g-er2400g 1
: he1200g-he1600g 1
: he1600g-he2400g 1
: cr1200g-er1200g 1
: er1200g-he1200g 1
: cr1600g-er1600g 1
: er1600g-he1600g 1
: cr2400g-er2400g 1
: er2400g-he2400g 1
: !any2400g-2400g+ 1
: !cr3600g-cr4800g 1
: !er3600g-er4800g 1
: !he3600g-he4800g 1
: !cr3600g-er3600g 1
: !er3600g-he3600g 1
: !cr4800g-er4800g 1
: !er4800g-he4800g 1
: !any3600g-3600gdd 1
: !any4800g-4800g+ 1
-------------------------------------------------------------------------------
! - indicates license not applicable to system
license-statistics
license-statistics
Syntax
license-statistics
Context
[Tree] (show>system license-statistics)
Full Context
show system license-statistics
Description
Commands in this context display application license statistics.
Platforms
VSR
licensing
licensing
Syntax
licensing port-id
licensing audit [monitored]
licensing entitlements
Context
[Tree] (show licensing)
Full Context
show licensing
Description
This command displays information related to the active application licenses on the system. The licenses are either monitored RTUs or entitlement ASLs, both of which cover features and scale in use in the SR OS system.
For monitored RTUs, there is a legal requirement to purchase the RTU parts to cover the administrative enabling of the related features and scale; however, the SR OS does not block the activation or scale of the feature.
For entitlement ASLs, feature activation on the SR OS system requires the installation of the ASL via the license-file mechanism before the related feature can be enabled. See the 7750 SR and 7950 XRS Pay-as-You-Grow Licensing Reference Guide for more information.
When the audit keyword is used, the display shows all the monitored RTUs and entitlement ASLs of the node. Using the optional monitored keyword together with audit restricts the display to only the monitored RTUs.
When the entitlements keyword is used, the display shows all the entitlements in the active licenses in the system, the type of license, the quantity of POOL licenses, and the number of each that is in use or available for use.
Parameters
- audit
-
Specifies that the state of all features covered by licenses is displayed.
- monitored
-
Specifies that only the monitored RTUs are included in the audit display.
- entitlements
-
Specifies that the number of instances allowed by the active license is displayed.
- port-id
-
Specifies the port identifier in the format slot[/mda[/connector[/port]]].
slot
1 to 10
mda
1 to 2
connector
c1 to c36
port
1 to 10
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
Output
The following are examples of the show licensing command output and the corresponding tables describe the output fields:
-
Sample Output: show licensing; Output Fields Output Fields: Show Licensing
-
Sample Output: show licensing audit; Output Fields Output Fields: Show Licensing Audit
-
Sample Output: show licensing entitlements; Output Fields Output Fields: Show Licensing entitlement
# show licensing 2/1
===============================================================================
Connector MAC Licensed Restrictions
-------------------------------------------------------------------------------
2/1/c1 1 Yes 400 Gbps per MAC Chip
2/1/c2 1 Yes 400 Gbps per MAC Chip
2/1/c3 1 Yes 400 Gbps per MAC Chip
2/1/c4 2 Yes 400 Gbps per MAC Chip
2/1/c5 2 Yes 400 Gbps per MAC Chip
2/1/c6 2 Yes 400 Gbps per MAC Chip
2/1/c7 3 Yes 400 Gbps per MAC Chip
2/1/c8 3 Yes 400 Gbps per MAC Chip
2/1/c9 3 Yes 400 Gbps per MAC Chip
2/1/c10 4 Yes 400 Gbps per MAC Chip
2/1/c11 4 Yes 400 Gbps per MAC Chip
2/1/c12 4 Yes 400 Gbps per MAC Chip
2/1/c13 5 Yes 400 Gbps per MAC Chip
2/1/c14 5 Yes 400 Gbps per MAC Chip
2/1/c15 5 Yes 400 Gbps per MAC Chip
2/1/c16 6 Yes 400 Gbps per MAC Chip
2/1/c17 6 Yes 400 Gbps per MAC Chip
2/1/c18 6 Yes 400 Gbps per MAC Chip
2/1/c19 7 Yes 400 Gbps per MAC Chip
2/1/c20 7 Yes 400 Gbps per MAC Chip
2/1/c21 7 Yes 400 Gbps per MAC Chip
2/1/c22 8 Yes 400 Gbps per MAC Chip
2/1/c23 8 Yes 400 Gbps per MAC Chip
2/1/c24 8 Yes 400 Gbps per MAC Chip
2/1/c25 9 Yes 400 Gbps per MAC Chip
2/1/c26 9 Yes 400 Gbps per MAC Chip
2/1/c27 9 Yes 400 Gbps per MAC Chip
2/1/c28 10 Yes 400 Gbps per MAC Chip
2/1/c29 10 Yes 400 Gbps per MAC Chip
2/1/c30 10 Yes 400 Gbps per MAC Chip
2/1/c31 11 Yes 400 Gbps per MAC Chip
2/1/c32 11 Yes 400 Gbps per MAC Chip
2/1/c33 11 Yes 400 Gbps per MAC Chip
Output Fields
Output Fields: Show Licensing describes the output fields for the show licensing command.
Label |
Description |
---|---|
Connector |
The identity of connector for the license limits. |
MAC |
The index of the MAC on the card or MDA to which the connector is attached. |
Licensed |
Whether or not the connector is licensed. Yes — the connector is included in the licensed level of the card or MDA and may be configured for a breakout. Other rules may apply as described in the restrictions field. No — this connector is not included in the licensed level of the card or MDA and it cannot be configured for breakout. |
Restrictions |
Additional license rules that may apply to the use of the connector, for example, bandwidth limits to the set of connectors on the same MAC. |
# show licensing audit
=======================================================================
Current Current Previous
License Allocated Max 24 Hr Max
-----------------------------------------------------------------------
IOM Upgrades
cr-er400g+ 0 0 0
cr-er800g+ 0 0 0
er-he400g+ 0 0 0
er-he800g+ 0 0 0
cr-er1200g+ 0 0 0
er-he1200g+ 0 0 0
cr400g-cr800g+ 0 0 0
er400g-er800g+ 0 0 0
he400g-he800g+ 0 0 0
cr400g-cr1200g+ 0 0 0
cr800g-cr1200g+ 0 0 0
er400g-er1200g+ 0 0 0
er800g-er1200g+ 0 0 0
he400g-he1200g+ 0 0 0
he800g-he1200g+ 0 0 0
Port Licenses
7x50 SR/XRS Port 1GE 6 6 6
7x50 SR/XRS Port 10GE 12 12 12
7x50 SR/XRS Port 25GE 0 0 0
7x50 SR/XRS Port 40GE 0 0 0
7x50 SR/XRS Port 50GE 0 0 0
7x50 SR/XRS Port 100GE 4 4 4
7x50 SR/XRS Port 400GE 0 0 0
=======================================================================
Last 24 Hr Interval Ended: 09/24/2020 18:14:03
Output Fields
Output Fields: Show Licensing Audit describes the output fields for the show licensing audit command.
Label |
Description |
---|---|
License |
The name of the entitlement ASL or the monitored RTU, grouped by category |
Current Allocated |
The number of instances of the license that are currently in use |
Current Max |
The maximum number of instances of the license that were recorded as in use within the current 24-hour monitoring period |
Previous 24 Hr Max |
The maximum number of instances of the license that were recorded in the previous full 24-hour monitoring period; shows as "n/a" if it has been less than 24 hours since startup |
Last 24 Hr Interval Ended |
Indicates the end time of the last 24-hour monitoring period; not displayed if it is less than 24 hours since startup |
# show licensing entitlements
========================================================================
License Available In-Use State
------------------------------------------------------------------------
MDA Upgrades
cr1200g-cr1600g 1 0 VALID
cr1200g-er1200g 2 0 VALID
cr1600g-cr2400g 1 0 VALID
cr1600g-er1600g 0 2 VALID
cr2400g-er2400g 1 0 VALID
er1200g-er1600g 1 0 VALID
er1200g-he1200g 1 0 VALID
er1600g-er2400g 4 0 VALID
er1600g-he1600g 1 0 VALID
er2400g-he2400g 1 0 VALID
he1200g-he1600g 1 0 VALID
he1600g-he2400g 1 0 VALID
========================================================================
*
Output Fields
Output Fields: Show Licensing entitlement describes the output fields for the show licensing entitlement command.
Label |
Description |
---|---|
License |
The description of the license |
Available |
The number of instances that are not currently being used. "License err" if in use is greater than the number of the allowed entitlements. |
In-Use |
The number of instances that are currently being used. |
State |
Indicates the state of the license as:
|
link
link
Syntax
link
Context
[Tree] (show>router>bgp>routes>bgp-ls link)
Full Context
show router bgp routes bgp-ls link
Description
This command displays BGP-LS NLRIs for link types.
Platforms
All
link-check
link-check
Syntax
link-check
Context
[Tree] (tools>perform>chassis link-check)
Full Context
tools perform chassis link-check
Description
This command checks the connection between an XCM and XMA cards on a SR-2/7/14s chassis. The function checks the connection between all XCM and XMA cards present in the system and outputs one of the following for each XMA:
-
OK — the connection is good and no action is required
-
NOK — the connection is suspect, re-seat the XMA to determine if this corrects the issue. If this issue persists, contact Nokia support.
Platforms
7750 SR-1s, 7750 SR-2s, 7750 SR-2se, 7750 SR-7s, 7750 SR-14s
link-group-member-status
link-group-member-status
Syntax
link-group-member-status name [level level]
Context
[Tree] (show>router>isis link-group-member-status)
Full Context
show router isis link-group-member-status
Description
This command displays IS-IS link-group-member status.
Parameters
- name
-
Up to 32 characters.
- level
-
Specifies the interface level (1, 2, or 1 and 2).
Platforms
All
Output
The following output is an example of link group member status information.
Sample OutputA:cses-V94# show router isis link-group-member-status
- link-group-member-status <name> [level <level>]
<name> : [32 chars max]
<level> : 1|2
A:cses-V94# show router isis link-group-member-status "toDutB"
===============================================================================
Rtr Base ISIS Instance 0 Link-Group Member
===============================================================================
Link-group I/F name Level State
-------------------------------------------------------------------------------
toDutB ip-10.10.12.3 L1 Up
toDutB ip-10.10.3.3 L1 Up
toDutB ip-10.10.12.3 L2 Up
toDutB ip-10.10.3.3 L2 Up
-------------------------------------------------------------------------------
Legend: BER = bitErrorRate
===============================================================================
A:cses-V94#
link-group-status
link-group-status
Syntax
link-group-status name [level level]
Context
[Tree] (show>router>isis link-group-status)
Full Context
show router isis link-group-status
Description
This command displays IS-IS link-group status.
Parameters
- name
-
Specifies the link-group name.
- level
-
Specifies the interface level (1, 2, or 1 and 2).
Platforms
All
Output
The following output is an example of link group status.
Sample OutputA:cses-V94# show router isis link-group-status
===============================================================================
Rtr Base ISIS Instance 0 Link-Group Status
===============================================================================
Link-group Mbrs Oper Revert Active Level State
Mbr Mbr Mbr
-------------------------------------------------------------------------------
toDutB 2 2 2 2 L1 normal
toDutB 2 2 2 2 L2 normal
toDutE 2 2 2 2 L1 normal
toDutE 2 2 2 2 L2 normal
===============================================================================
A:cses-V94#
link-map-profile
link-map-profile
Syntax
link-map-profile link-map-profile
Context
[Tree] (show>lag link-map-profile)
Full Context
show lag link-map-profile
Description
This command displays LAG link map profile information.
Parameters
- link-map-profile
-
Displays information about a specified LAG link map profile.
Platforms
All
link-measurement
link-measurement
Syntax
link-measurement
Context
[Tree] (show>test-oam link-measurement)
Full Context
show test-oam link-measurement
Description
Commands in this context display link measurement template information.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
lldp
lldp
Syntax
lldp
lldp neighbor
Context
[Tree] (show>system lldp)
Full Context
show system lldp
Description
This command displays local Link Layer Discovery Protocol (LLDP) information at the system level. This includes an option to display summary information for all known peers.
Parameters
- neighbor
-
Displays all LLDP neighbor information.
Platforms
All
Output
The following output is an example of local LLDP information.
Sample Output: show system lldpshow system lldp
===============================================================================
LLDP Configuration
===============================================================================
Transmit Interval : 30
Hold Multiplier : 4
Reinit Delay : 2
Notification Interval : 5
Tx Credit Max : 5
Message Fast Tx : 1
Message Fast Tx Init : 4
Admin Enabled : True
-------------------------------------------------------------------------------
LLDP System Information
-------------------------------------------------------------------------------
Chassis Id Subtype : 4
Chassis Id : d8:1f:ff:00:00:00
System Name : cses-V31
System Description : TiMOS-B-0.0.I4269 both/i386 Nokia 7750 SR Copyright
(c) 2000-2016 Nokia.
All rights reserved. All use subject to applicable
license agreements.
Built on Wed Dec 3 19:14:27 PST 2014 by builder in /
rel0.0/I4269/panos/main
Capabilities Supported : bridge router
Capabilities Enabled : bridge router
-------------------------------------------------------------------------------
LLDP Destination Addresses
-------------------------------------------------------------------------------
Index 1 : 01:80:c2:00:00:0e
Index 2 : 01:80:c2:00:00:03
Index 3 : 01:80:c2:00:00:00
-------------------------------------------------------------------------------
LLDP Remote Statistics
-------------------------------------------------------------------------------
Last Change Time : 12/08/2014 21:34:48
Rem Table Inserts : 10
Rem Table Deletes : 1
Rem Table Drops : 0
Rem Table Ageouts : 3
-------------------------------------------------------------------------------
LLDP System Management Addresses
-------------------------------------------------------------------------------
Address SubType : 1 (IPv4)
Address : 10.1.1.31
Address If SubType : 2
Address If Id : 1
Address OID : .1.3.6.1.4.1.6527.1.3.3
Address SubType : 2 (IPv6)
Address : 2001:db8:dead:beef::31
Address If SubType : 2
Address If Id : 1
Address OID : .1.3.6.1.4.1.6527.1.3.3
===============================================================================
show system lldp neighbor
Link Layer Discovery Protocol (LLDP) System Information
===============================================================================
NB = nearest-bridge NTPMR = nearest-non-tpmr NC = nearest-customer
===============================================================================
Lcl Port Scope Remote Chassis ID Index Remote Port Remote System Name
-------------------------------------------------------------------------------
1/1/4 NB D8:1D:FF:00:00:00 1 1/1/5 cses-v29
1/1/6 NB D8:1D:FF:00:00:00 2 1/1/7 cses-v29
1/2/2 NB D8:1F:FF:00:00:00 3 1/1/1 cses-v31
1/2/1 NB D8:1E:FF:00:00:00 4 1/1/1 cses-v30
1/2/3 NB D8:20:FF:00:00:00 5 1/1/1 cses-v32
1/2/4 NB D8:21:FF:00:00:00 6 1/1/1 cses-V33
===============================================================================
Number of neighbors : 6
lldp
Syntax
lldp [neighbor]
Context
[Tree] (show>system lldp)
Full Context
show system lldp
Description
This command displays neighbor information for all configured ports without having to specify each individual port ID.
Parameters
- neighbor
-
Displays LLDP neighbor information.
Platforms
All
Output
The following is an example of LLDP neighbor information.
Sample Output*A:Dut-C# show system lldp neighbor
Link Layer Discovery Protocol (LLDP) System Information
==============================================================================
NB = nearest-bridge NTMPR = nearest-non-tpmr NC = nearest-customer
==============================================================================
Port Scope Chassis ID Index Port ID System Name
------------------------------------------------------------------------------
1/1/1 NB 16:2f:ff:00:00:00 1 35717120 Dut-A
2/1/2 NB 16:34:ff:00:00:00 1 35782656 Dut-D
2/1/1 NB 16:36:ff:00:00:00 2 35684352 Dut-E
1/1/2 NB 16:30:ff:00:00:00 2 35749888 Dut-B
1/1/3 NB 16:30:ff:00:00:00 3 35782656 Dut-B
2/1/3 NB 16:30:ff:00:00:00 3 35815424 Dut-B
==============================================================================
Number of neighbors : 6
*A:Dut-C#
A:GHR-API# show system lldp neighbor
Link Layer Discovery Protocol (LLDP) System Information
==============================================================================
NB = nearest-bridge NTMPR = nearest-non-tpmr NC = nearest-customer
==============================================================================
Port Scope Chassis ID Index Port ID System Name
------------------------------------------------------------------------------
1/1/6 NTPMR 00:21:05:1b:bc:17 1 36044800 RXI-AMI
1/1/8 NTPMR 00:21:06:6d:bd:53 2 36110336 YOY-WOW
1/1/9 NTPMR 00:21:08:2b:ab:81 3 36143104 FRI-MON
==============================================================================
Number of neighbors : 3
lldp
Syntax
lldp [bridge-mac] [remote-info] [detail]
Context
[Tree] (show>port>ethernet lldp)
Full Context
show port ethernet lldp
Description
This command displays LLDP information.
Parameters
- bridge-mac
-
Specifies a keyword to filter the output.
- remote-info
-
Displays remote information on the bridge MAC.
- detail
-
Displays detailed information.
Platforms
All
lmm
lmm
Syntax
lmm [interval seconds] [repeat repeat] [absolute | rate]
Context
[Tree] (monitor>oam-pm>session lmm)
Full Context
monitor oam-pm session lmm
Description
This command monitors the Ethernet Loss Measurement Message (LMM) statistics for the specified test's raw measurement interval.
Parameters
- seconds
-
Specifies the time interval, in seconds.
- repeat
-
Specifies the number of times the command is repeated.
- absolute
-
Specifies that the raw statistics are displayed, without processing. No calculations are performed on the delta or rate statistics.
- rate
-
Specifies that the rate-per-second is displayed.
Platforms
All
lmm
Syntax
lmm
Context
[Tree] (show>oam-pm>stats>session lmm)
Full Context
show oam-pm statistics session lmm
Description
This command selects the session's Ethernet LMM test for the statistical display.
Platforms
All
lmp
lmp
Syntax
lmp
Context
[Tree] (clear>router lmp)
Full Context
clear router lmp
Description
Commands in this context clear Link Management Protocol (LMP) statistics.
Platforms
7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
lmp
Syntax
lmp
Context
[Tree] (show>router lmp)
Full Context
show router lmp
Description
This command displays LMP information.
Platforms
7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
lmp
Syntax
lmp
Context
[Tree] (tools>dump>router lmp)
Full Context
tools dump router lmp
Description
This command dumps LMP information.
Platforms
7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
lns-group
lns-group
Syntax
lns-group lns-group-id [associations]
lns-group lns-group-id statistics esa-vm vapp-id
lns-group [lns-group-id] esa-vm
lns-group lns-group-id mda mda-id statistics
lns-group [lns-group-id] mda
lns-group
Context
[Tree] (show>isa lns-group)
Full Context
show isa lns-group
Description
This command shows information such as the number of ESAs provisioned and in service, the LNS group operational status, and the number of L2TP sessions and ESA VM associated to the LNS group, as well as the detailed statistics of the ESA VM in relation to the LNS group.
Parameters
- lns-group-id
-
Specifies the LNS group identifier.
- associations
-
Displays information associated with the LNS group in the ISA context.
- statistics
-
Displays statistics information.
- mda-id
-
Specifies the ESA and VM identifying an LNS group.
- vapp-id
-
Specifies the ESA and VM identifying an LNS group.
Platforms
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
Output
The following outputs are examples of the number of ESAs provisioned, the LNS group information status, and the statistics of the ESA VM in relation to the LNS group.
Sample Output*A:LNS# show isa lns-group esa-vm
===============================================================================
ISA LNS group ESA-VM's
===============================================================================
Group ESA-VM State Sessions
-------------------------------------------------------------------------------
1 1/1 inService 15290
2 2/1 inService 15761
3 1/2 inService 14413
4 2/2 inService 14533
-------------------------------------------------------------------------------
No. of ESA-VM's: 4
===============================================================================
Sample Output
*A:Dut-C# show isa lns-group 1 esa-vm
===============================================================================
ISA LNS Group 1 ESA-VM's
===============================================================================
Group ESA-VM State Sessions
-------------------------------------------------------------------------------
1 1/1 inService 15290
-------------------------------------------------------------------------------
No. of ESA-VM's: 1
===============================================================================
Sample Output
*A:Dut-C# show isa lns-group 1 esa-vm 1/1 statistics
===============================================================================
ISA LNS Group 1 ESA-VM 1/1 statistics
===============================================================================
upstream PPP control forwarded to CPM : 49147
upstream PPP forwarded to PPPoX : 2176118
upstream LCP Echo Rep : 2176113
downstream forwarded to L2TP : 62444564
downstream LCP Echo Req : 2210467
===============================================================================
lns-group
Syntax
lns-group lns-group-id statistics esa-vm vapp-id
lns-group lns-group-id mda mda-id statistics
Context
[Tree] (clear>isa lns-group)
Full Context
clear isa lns-group
Description
This command clears the statistics for the identified VM within the specified LNS group.
Parameters
- lns-group-id
-
Specifies the LNS group identifier.
- statistics
-
Displays statistics information.
- mda-id
-
Specifies the ESA and VM identifying an LNS group.
- vapp-id
-
Specifies the ESA and VM identifying an LNS group.
Platforms
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
load-balance
load-balance
Syntax
load-balance lag-id lag-id [class {1 | 2 | 3}]
Context
[Tree] (tools>perform>lag load-balance)
Full Context
tools perform lag load-balance
Description
Load balance specified LAG's links when per-link-hash weighted is deployed. Load balancing can be per specified class or on all classes if no class is specified.
Parameters
- lag-id
-
Specifies the LAG ID.
- class
-
Specifies the class.
Platforms
All
load-balance
Syntax
load-balance [service service-id]
Context
[Tree] (tools>perform>app-assure>group load-balance)
Full Context
tools perform application-assurance group load-balance
Description
This command rebalances AA subscribers between ISAs within a group, in case imbalance occurs such as with the addition of new cards.
Parameters
- service service-id
-
Specifies the service
Platforms
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
load-balancing-alg
load-balancing-alg
Syntax
load-balancing-alg [detail]
Context
[Tree] (show>system load-balancing-alg)
Full Context
show system load-balancing-alg
Description
This command displays system load balancing settings.
Parameters
- detail
-
Displays port settings.
Platforms
All
Output
The following output is an example of load balancing information.
Sample Output*A:bkvm15# show system load-balancing-alg
===============================================================================
System-wide Load Balancing Algorithms
===============================================================================
L4 Load Balancing : exclude-L4
LSR Load Balancing : lbl-ip-l4-teid
System IP Load Balancing : disabled
Multicast Enhanced Load Balancing : disabled
Service ID LAG Hashing : disabled
===============================================================================
*A:bkvm15#
local-bfd-discrim
local-bfd-discrim
Syntax
local-bfd-discrim bfd-discriminator
Context
[Tree] (tools>dump>router>lsp-bfd local-bfd-discrim)
Full Context
tools dump router lsp-bfd local-bfd-discrim
Description
This command displays information for the BFD-on-LSP session with a specified local discriminator.
Parameters
- bfd-discriminator
-
Specifies the BFD discriminator.
Platforms
All
local-dhcp-db
local-dhcp-db
Syntax
local-user-db local-user-db-name
Context
[Tree] (tools>perform>subscr-mgmt>local-user-db local-dhcp-db)
Full Context
tools perform subscriber-mgmt local-user-db local-dhcp-db
Description
This command enables tools to control the local user database.
Parameters
- local-user-db-name
-
Specifies the name of a local user database.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
local-dhcp-server
local-dhcp-server
Syntax
local-dhcp-server server-name
Context
[Tree] (show>router>dhcp local-dhcp-server)
[Tree] (show>router>dhcp6 local-dhcp-server)
Full Context
show router dhcp local-dhcp-server
show router dhcp6 local-dhcp-server
Description
This command displays local DHCP or DHCP6 server information.
Parameters
- server-name
-
Specifies information about the local DHCP server.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
local-dhcp-server
Syntax
local-dhcp-server server-name
Context
[Tree] (clear>router>dhcp6 local-dhcp-server)
[Tree] (clear>router>dhcp local-dhcp-server)
Full Context
clear router dhcp6 local-dhcp-server
clear router dhcp local-dhcp-server
Description
This command clears DHCP server data.
Parameters
- server-name
-
Clears data for the specified local DHCP server.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
local-dhcp-server
Syntax
local-dhcp-server server-name
Context
[Tree] (tools>perform>router>dhcp6 local-dhcp-server)
[Tree] (tools>perform>router>dhcp local-dhcp-server)
Full Context
tools perform router dhcp6 local-dhcp-server
tools perform router dhcp local-dhcp-server
Description
This command enables tools to control the local DHCP server.
Parameters
- server-name
-
Specifies the name of the local DHCP server.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
local-forward
local-forward
Syntax
local-forward [local-forward-id]
Context
[Tree] (show>system>satellite local-forward)
Full Context
show system satellite local-forward
Description
This command displays satellite local forward services information.
Parameters
- local-forward-id
-
Specifies the local forward ID.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
local-forward
Syntax
local-forward
Context
[Tree] (show>system>satellite>eth-sat local-forward)
Full Context
show system satellite eth-sat local-forward
Description
This command displays information for Ethernet satellite local forward services.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
local-sid
local-sid
Syntax
local-sid [ipv6-address] [/prefix-length]] [locator locator-name] [longer] [end] [end-x] [end-dt4] [end-dt6] [end-dt46] [end-dx2] [context context] [end-dt2u] [ end-dt2m]
Context
[Tree] (show>router>srv6 local-sid)
Full Context
show router segment-routing-v6 local-sid
Description
This command displays SRv6 local-SID information.
Parameters
- ipv6-address
-
Specifies the IPv6 address.
- locator-name
-
Specifies the locator name, up to 64 characters.
- longer
-
Displays the specified route and subsets of the route.
- end
-
Displays the End SID function of a locator.
- end-x
-
Displays the End.X SID function associated with a P2P interface.
- end-dt4
-
Displays the End.DT4 function associated with the Base routing instance.
- end-dt6
-
Displays the End.DT6 function associated with the Base routing instance.
- end-dt46
-
Displays the End.DT46 function associated with the Base routing instance.
- end-dx2
-
Displays the End.DX2 function associated with the SRv6 instance in the service.
- context
-
Specifies the router context.
- end-dt2u
-
Displays the End.DT2U function associated with the SRv6 instance in the service.
- end-dt2m
-
Displays the End.DT2M function associated with the SRv6 instance in the service.
Platforms
7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR
Output
The following output is an example of local SID information
Sample Output*A:Dut-B# show router segment-routing-v6 local-sid
===============================================================================
Segment Routing v6 Local SIDs
===============================================================================
SID Type Function
Locator
Context
-------------------------------------------------------------------------------
2222:2:2:2:0:1:: End.DT2M 1
dutB_L1
SvcId: 1 Name: VPLS1
2222:2:2:2:0:2:: End.DT2M 2
dutB_L1
SvcId: 2 Name: VPLS2
2222:2:2:2:0:3:: End.DX2 3
dutB_L1
SvcId: 3 Name: EPIPE3
2222:2:2:2:0:4:: End.DX2 4
dutB_L1
SvcId: 4 Name: EPIPE4
2222:2:2:2:0:c351:: End.DT2U 50001
dutB_L1
SvcId: 1 Name: VPLS1
2222:2:2:2:0:c352:: End.DT2U 50002
dutB_L1
SvcId: 2 Name: VPLS2
2222:2:2:2:1:86a0:: End 100000
dutB_L1
Base
-------------------------------------------------------------------------------
SIDs : 7
-------------------------------------------------------------------------------
===============================================================================
Local SID Field Descriptions describes local SID output fields.
Field |
Description |
---|---|
SID |
The segment ID |
Locator |
The locator name |
Context |
The context of the SID |
Type |
The type of SRv6 behavior |
Function |
The function value |
SIDs |
The total number of SIDs |
local-tx-pdu
local-tx-pdu
Syntax
local-tx-pdu [domain md-index] [association ma-index] [mep mep-id]
Context
[Tree] (show>eth-cfm local-tx-pdu)
Full Context
show eth-cfm local-tx-pdu
Description
This command displays the transmission for ETH-CC, ETH-AIS, and ETH-CFM Grace (ETH-VSM or ETH-ED) using a character representation for each protocol per MEP. ETH-CC is expanded to include columns for RDI, Port Status TLV, and Interface Status TLV. The additional ETH-CC columns represent the actual transmitting value of the TLV, or "Absent” if not present in the ETH-CC PDU. These additional ETH-CC columns are represented with a series of dashes if the ETH-CC column under the TxPDU is a dash ("-”) or "c”.
The optional parameters are treated as independent and cumulative filters that are combined to refine the output. Rows in the output are populated for matches against all specified filters. Omitting all optional parameters produces output that includes all MEPs.
Parameters
- md-index
-
Specifies the MD index.
- ma-index
-
Specifies the MA index.
- mep-id
-
Specifies the local MEP ID.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
Output
The following is an example of local PDU transmission information. Local PDU Transmission Field Descriptions describes the local PDU transmission fields.
Sample Outputshow eth-cfm local-tx-pdu
===============================================================================
Transmission PDU Type Legend:
C = CCM, c = CCM tx suppressed, A = AIS, a = AIS pending,
G = ETH-VSM Grace, E = ETH-ED
===============================================================================
Eth-CFM Local Transmit PDU Information
===============================================================================
MdIndex MaIndex MepId SrcMacAddress TxRdi PortTLV IfTLV TxPdu
-------------------------------------------------------------------------------
10 1 28 d8:1c:01:01:00:01 ----- ------ ------ ---
12 1 28 00:00:00:00:00:28 False Absent Absent C--
12 4000 28 00:00:00:00:00:28 False Absent Absent C--
12 4001 28 00:00:00:00:00:28 False Absent Absent C--
12 5001 28 d8:1c:01:02:00:01 ----- ------ ------ ---
13 1000 28 00:00:00:00:00:28 True Up Up C--
13 1500 28 00:00:00:00:00:28 False Up Up C--
13 2000 28 00:00:00:00:00:28 False Absent Absent C--
13 2000 128 d8:1c:01:02:00:01 ----- ------ ------ ---
13 2002 28 00:00:00:00:00:28 False Up Up C--
13 3000 28 00:00:00:00:00:28 True Absent Absent C--
13 4000 28 00:00:00:00:00:28 False Up Up C--
13 4001 28 00:00:00:00:00:28 False Up Up C--
14 100 28 00:00:00:00:00:28 False Absent Absent C--
14 1000 28 d8:1c:ff:00:00:00 ----- ------ ------ ---
14 4001 28 00:00:00:00:00:28 False Absent Absent C--
===============================================================================
Label |
Description |
---|---|
MdIndex |
The local MEP domain index |
MaIndex |
The local MEP association index |
MepId |
The local MEP identifier |
SrcMacAddress |
The local MEP source MAC address |
TxRdi |
The RDI value |
PortTLV |
The Port Status TLV value |
IfTLV |
The Interface Status TLV value |
TxPDU |
The transmission, summarized in three single-character columns. The left column displays ETH-CC, the middle column displays ETH-AIS, and the right column displays ETH-CFM Grace (ETH-VSM or ETH-ED). For ETH-AIS, "A” is displayed when a facility MEP has determined that the AIS state is active, regardless of interaction, linkages, or active transmission of associated MEPs. |
local-user-db
local-user-db
Syntax
local-user-db local-user-db-name association [dhcp] [ppp] [l2tp] [ipoe-session-policy] [radius] [pppoe] [dhcp6] [capture-sap] [rtr-solicit] [wpp] [ipoe]
local-user-db local-user-db-name ipoe-all-hosts
local-user-db local-user-db-name ipoe-host ipoe-host-name
local-user-db local-user-db-name ipoe-unmatched-hosts
local-user-db [local-user-db-name]
local-user-db local-user-db-name pppoe-all-hosts
local-user-db local-user-db-name pppoe-host pppoe-host-name
local-user-db local-user-db-name pppoe-unmatched-hosts
Context
[Tree] (show>subscr-mgmt local-user-db)
Full Context
show subscriber-mgmt local-user-db
Description
This command displays local user database information.
Parameters
- local-user-db-name
-
Specifies the name of a local user database up, to 32 characters.
- association
-
Displays entities associated with the specified local user database.
- dhcp
-
Displays DHCP information.
- ppp
-
Displays PPP information.
- l2tp
-
Displays L2TP information.
- radius
-
Displays RADIUS information.
- pppoe
-
Displays PPPoE information.
- dhcp6
-
Displays DHCP6 information.
- capture-sap
-
Displays capture SAP information.
- rt-solicit
-
Displays RT solicit information.
- wpp
-
Displays WPP information.
- ipoe
-
Displays IPoE information.
- ipoe-all-hosts
-
Displays IPoE all hosts information.
- ipoe-host-name
-
Displays IPoE host name information.
- ipoe-unmatched-hosts
-
Displays IPoE unmatched hosts information.
- ppp-all-hosts
-
Displays information about PPP all hosts.
- pppoe-hosts
-
Displays information about PPPoE hosts.
- pppoe-unmatched-hosts
-
Displays information about PPPoE unmatched hosts.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
Output
The following is an example of local user database information.
Sample Output*A:ALA-48>show>subscr-mgmt# local-user-db
===============================================================================
Local User Databases
===============================================================================
Name Admin Host Description
State Count
-------------------------------------------------------------------------------
database01 Down 1
database02 Provider001/Class0002 Down 0 This is a long testdescription wi*
test Down 2
-------------------------------------------------------------------------------
Number of Local User Databases : 3 Number of Hosts : 3
===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:ALA-48>show>subscr-mgmt# local-user-db database01
===============================================================================
Local User Database "database01"
===============================================================================
Admin State : Down
Last Mgmt Change : 11/08/2007 12:27:36
Host Count : 1
DHCP Match Types : circ-id
DHCP CircId Mask Pfx : test
DHCP CircId Mask Sfx : N/A
PPPoE Match Types : N/A
PPPoE CircId Mask Pfx: N/A
PPPoE CircId Mask Sfx: N/A
===============================================================================
*A:ALA-48>show>subscr-mgmt#
*A:ALA-48>show>subscr-mgmt# local-user-db database01 dhcp-all-hosts
===============================================================================
Local User Database "database01" DHCP hosts
===============================================================================
Name Admin Matched objects
State
-------------------------------------------------------------------------------
host001 Down -
-------------------------------------------------------------------------------
Number of DHCP Hosts : 1
===============================================================================
*A:ALA-48>show>subscr-mgmt# local-user-db "database01" dhcp-host host001
===============================================================================
DHCP Host "host001"
===============================================================================
Admin State : Down
Last Mgmt Change : 11/08/2007 12:13:42
Host Identification
Circuit Id : N/A
Mac Address : N/A
Remote Id : N/A
Sap Id : N/A
Service Id : N/A
String : N/A
Option 60 : N/A
System Id : N/A
Matched Objects : N/A
Address : N/A
Identification Strings
Subscriber Id : N/A
SLA Profile String : N/A
Sub Profile String : N/A
App Profile String : N/A
ANCP String : N/A
Inter Destination Id: N/A
===============================================================================
*A:ALA-48>show>subscr-mgmt# local-user-db "database01" dhcp-unmatched-hosts
==============================================================================
Local User Database "database01" DHCP unmatched hosts
==============================================================================
Name Reason Duplicate Host
------------------------------------------------------------------------------
host002 No match N/A
host003 Duplicate host001
host004 No match N/A
host005 Duplicate host001
------------------------------------------------------------------------------
Number of DHCP Unmatched Hosts : 4
==============================================================================
*A:ALA-48>show>subscr-mgmt#
*A:ALA-48>show>subscr-mgmt# local-user-db "database01" association
===============================================================================
DHCP Servers where database01 is used
===============================================================================
Server-Name Router-Name
-------------------------------------------------------------------------------
dhcpS1 vprn1000
-------------------------------------------------------------------------------
No. of Server(s): 1
===============================================================================
Interfaces where database01 is used for authentication
===============================================================================
Interface-Name Service-Id Type
-------------------------------------------------------------------------------
No. of Interface(s): 0
===============================================================================
*A:ALA-48>show>subscr-mgmt#
*A:ALA-48>show>subscr-mgmt# local-user-db "database01" association dhcp
===============================================================================
DHCP Servers where database01 is used
===============================================================================
Server-Name Router-Name
-------------------------------------------------------------------------------
dhcpS1 vprn1000
-------------------------------------------------------------------------------
No. of Server(s): 1
===============================================================================
*A:ALA-48>show>subscr-mgmt#
===============================================================================
# show subscriber-mgmt local-user-db "ludb-1" association ipoe
===============================================================================
IPoE client interface associations for ludb-1
===============================================================================
Interface-Name Svc-Id Type
-------------------------------------------------------------------------------
group-int-1-1 1000 IES
group-int-1-1 2000 VPRN
-------------------------------------------------------------------------------
No. of Interface(s): 2
===============================================================================
===============================================================================
Capture SAP associations for ludb-1
===============================================================================
SAP Svc-Id Type PPPoE PPP IPoE DHCP DHCP6 RS
-------------------------------------------------------------------------------
1/1/4:1202.* 10 VPLS y y y y y
1/1/4:*.* 10 VPLS y y y y y
-------------------------------------------------------------------------------
No. of SAP(s): 2
===============================================================================
Local User Database Field Descriptions describer subscriber management local user database output fields.
Field |
Description |
---|---|
Name |
The local user database name |
Admin State |
The administrative state of the local user database |
Host Count |
The number of hosts associated with the local user database |
Description |
The user-provided description of the local user database |
Number of Local User Databases |
The number of local user databases configured on the node |
Number of Hosts |
The number of hosts configured on the node |
Last Mgmt Change |
The sysUpTime at the time of the last modification |
DHCP Match Types |
The DHCP match type |
DHCP CircId Mask Pfx |
The DHCP circuit ID mask prefix |
DHCP CircId Mask Sfx |
The DHCP circuit ID mask suffix |
PPPoE Match Types |
The PPPoE match types; circuit-id, derived-id, dual-stack-remote-id, encap-tag-range, ip, mac, option60, remote-id, sap-id, service-id, string, system-id |
PPPoE CircId Mask Pfx |
The PPPoE circuit ID mask prefix |
PPPoE CircId Mask Sfx |
The PPPoE circuit ID mask suffix |
Circuit Id |
The circuit ID to match during host identification |
Mac Address |
The MAC address to matching during host identification |
Remote Id |
The remote ID from option 82 to match against |
Sap Id |
The SAP ID from the Nokia vendor specific sub-option in option 82 to match against |
Service Id |
The service ID to match during host identification |
String |
The string from the Nokia vendor specific sub-option in option 82 to match against |
Option 60 |
The Vendor-Identifying Vendor Option to match against |
System Id |
The system ID from the Nokia vendor specific sub-option in option 82 to match against |
Subscriber Id |
The subscriber ID which is encoded in the identification strings |
SLA Profile String |
The SLA profile string which is encoded in the identification strings |
Sub Profile String |
The subscriber profile string which is encoded in the identification strings |
App Profile String |
The application profile string which is encoded in the identification strings |
ANCP String |
The ANCP string which is encoded in the identification strings |
Inter Destination Id |
The intermediate destination identifier which is encoded in the identification strings |
Name |
The unmatched host name |
Reason |
Indicates why this host is not matched |
Duplicate Host |
The name of the host that is already matched and that has the same values, configured for the objects that correspond with the match types, as this unmatched host |
Server-Name |
The service name of the unmatched host |
Router-Name |
The router name of the unmatched host |
Interface-Name |
The interface name of the unmatched host |
Service-Id |
The service ID that matches the host identification the Nokia vendor specific sub-option in option 82, or the service where the IPoE session is established |
Interface-Name |
The interface name associated with the local user database |
Svc-Id Svc-Id |
The service ID associated with the local user database |
Type |
The service type |
SAP |
The capture SAP associated with the local user database |
PPPoE |
PPPoE associated with the capture SAP; Y or N |
PPP |
PPPoE associated with the capture SAP; Y or N |
IpoE |
IPoE associated with the capture SAP; Y or N |
DHCP |
DHCP associated with the capture SAP; Y or N |
DHCP6 |
DHCP6 associated with the capture SAP; Y or N |
RS |
RS associated with the capture SAP; Y or N |
No. of SAP(s) |
The total number of SAPs |
local-user-db
Syntax
local-user-db local-user-db-name
Context
[Tree] (tools>perform>subscr-mgmt local-user-db)
Full Context
tools perform subscriber-mgmt local-user-db
Description
This command provides tools to control the local user database.
Parameters
- local-user-db-name
-
Specifies the name of a local user database up to 32 characters.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, VSR
locator
locator
Syntax
locator [mt {0 | 2}] [prefix ipv6-prefix[/prefix-length]] [adv-router system-id | hostname] [algo algo-id]
Context
[Tree] (show>router>isis>srv6 locator)
Full Context
show router isis segment-routing-v6 locator
Description
This command displays IS-IS SRv6 locators.
Parameters
- ipv6-prefix[/prefix-length]
-
Displays routes only matching the specified ip-address and length.
- system-id | hostname
-
Displays information for the specific IS-IS advertising router. The host name can be up to 38 characters.
- algo-id
-
Displays information for the specified algorithm.
Platforms
7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR
locator
Syntax
locator [locator-name]
Context
[Tree] (show>router>srv6 locator)
Full Context
show router segment-routing-v6 locator
Description
This command displays the SRv6 locator status.
Parameters
- locator-name
-
Specifies the locator name, up to 64 characters.
Platforms
7450 ESS, 7750 SR, 7750 SR-s, 7950 XRS, VSR
lockout
lockout
Syntax
lockout aps-id
Context
[Tree] (tools>perform>aps lockout)
Full Context
tools perform aps lockout
Description
This command locks out the protection circuit.
Parameters
- aps-id
-
Specifies the APS ID.
Platforms
7450 ESS, 7750 SR-7/12/12e, 7750 SR-a, 7750 SR-e
lockout
Syntax
lockout id tunnel-id
lockout lsp-name
Context
[Tree] (tools>perform>router>mpls>tp-tunnel lockout)
Full Context
tools perform router mpls tp-tunnel lockout
Description
This command performs a lockout of protection for an MPLS-TP LSP. This prevents a switchover to the protect path.
Parameters
- tunnel-id
-
Specifies the tunnel number of the MPLS-TP LSP.
- lsp-name
-
Specifies the name of the MPLS-TP LSP, up to 32 characters.
Platforms
7450 ESS, 7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
lockout
Syntax
lockout router router-id local-gateway-address local-gateway-address mda mda
lockout router router-id local-gateway-address local-gateway-address esa-vm esa-id/vm-id
lockout router router-id local-gateway-address local-gateway-address remote ip-address[:port]
lockout router router-id mda mda
Context
[Tree] (show>ipsec lockout)
Full Context
show ipsec lockout
Description
This command displays the lockout status for the specified IPsec clients. If remote address information is not specified, the system displays a list of clients that have been locked out on the specified ISA, along with the IPsec gateway if local-gateway-address is specified.
Parameters
- router-id
-
Specifies the ID of the router where the IPsec gateway is configured.
- local-gateway-address
-
Specifies the IP address of the local IPsec gateway.
- mda
-
Specifies the MDA ID of the ISA.
- ip-address
-
Specifies the IP address of the remote client.
- port
-
Specifies the port of the remote client.
- esa-vm
-
Displays the ID of the configured ESA and ESA VM.
Platforms
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
Output
The following output is an example of lockout information.
Sample Outputshow ipsec lockout router 300 local-gateway-address 172.16.100.1 remote
192.168.61.100:500
===============================================================================
IPsec Lockout Client
===============================================================================
Lockout : True
Router ID : 300
Local Gateway Address : 172.16.100.1
Lockout Client Address: 192.168.61.100
Lockout Client Port : 500
No. of Failed Attempts: 2
No. of Dropped Packets: 2
Remaining Block Time : 289 seconds
===============================================================================
lockout
Syntax
lockout router router-id
lockout router router-id local-gateway-address local-gateway-address
lockout router router-id local-gateway-address local-gateway-address remote ip-address[:port]
Context
[Tree] (clear>ipsec lockout)
Full Context
clear ipsec lockout
Description
This command clears the lockout state for the specified clients. If remote address information is not specified, the system clears the lockout state for all clients within the specified routing instance, along with all clients within the specified IPsec gateway if local-gateway-address is specified.
Parameters
- router-id
-
Specifies the ID of the router where the IPsec gateway is configured.
- local-gateway-address
-
Specifies the IP address of the local IPsec gateway.
- ip-address
-
Specifies the IP address of the remote client.
- port
-
Specifies the port of the remote client.
Platforms
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
lockout-annexb
lockout-annexb
Syntax
lockout-annexb aps-id
Context
[Tree] (tools>perform>aps lockout-annexb)
Full Context
tools perform aps lockout-annexb
Description
This command locks out the Annex B APS group.
Parameters
- aps-id
-
Specifies the APS ID.
Platforms
7450 ESS, 7750 SR-7/12/12e, 7750 SR-a, 7750 SR-e
log
log
Syntax
log
Context
[Tree] (show log)
Full Context
show log
Description
Commands in this context display event and accounting policy log information.
Platforms
All
log
Syntax
log
Context
[Tree] (show>service>id log)
Full Context
show service id log
Description
This command displays event and accounting policy log information.
Platforms
All
log
Syntax
log
Context
[Tree] (show>li log)
Full Context
show li log
Description
This command displays LI event log information.
Platforms
All
log
Syntax
log log-id
Context
[Tree] (clear>li log)
Full Context
clear li log
Description
This command clears LI event log information.
Parameters
- log-id
-
Specifies the log ID.
Platforms
All
log
Syntax
log [bindings]
log log-id [match string]
Context
[Tree] (show>filter log)
Full Context
show filter log
Description
This command shows the contents of a memory-based or a file-based filter log.
If the optional keyword match and string parameter are given, the command displays the given filter log from the first occurrence of the given string.
Parameters
- bindings
-
Displays the number of filter logs currently instantiated.
- log-id
-
Specifies the filter log ID destination expressed as a decimal integer.
- string
-
Specifies to start displaying the filter log entries from the first occurrence of string.
Platforms
All
Output
The following output is an example of filter log entry information, and Filter Log Output Fields describes the fields. If log summary is active, the filter log mini-tables contain the information described in Filter Log Summary Mini-Table Fields.
Sample Output2007/04/13 16:23:09 Filter: 100:100 Desc: Entry-100
Interface: to-ser1 Action: Forward
Src MAC: 04-5b-01-01-00-02 Dst MAC: 04-5d-01-01-00-02 EtherType: 0800
Src IP: 10.10.0.1:646 Dst IP: 10.10.0.4:49509 Flags: TOS: c0
Protocol: TCP Flags: ACK
2007/04/13 16:23:10 Filter: 100:100 Desc: Entry-100
Interface: to-ser1 Action: Forward
Src MAC: 04-5b-01-01-00-02 Dst MAC: 04-5d-01-01-00-02 EtherType: 0800
Src IP: 10.10.0.1:646 Dst IP: 10.10.0.3:646 Flags: TOS: c0
Protocol: UDP
2007/04/13 16:23:12 Filter: 100:100 Desc: Entry-100
Interface: to-ser1 Action: Forward
Src MAC: 04-5b-01-01-00-02 Dst MAC: 01-00-5e-00-00-05 EtherType: 0800
Src IP: 10.10.13.1 Dst IP: 224.0.0.5 Flags: TOS: c0
Protocol: 89
Hex: 02 01 00 30 0a 0a 00 01 00 00 00 00 ba 90 00 00
00 00 00 00 00 00 00 00 ff ff ff 00 00 03 02 01
A:ALA-A>config# show filter log bindings
===============================================================================
Filter Log Bindings
===============================================================================
Total Log Instances (Allowed) : 2046
Total Log Instances (In Use) : 0
Total Log Bindings : 0
-------------------------------------------------------------------------------
Type FilterId EntryId Log Instantiated
-------------------------------------------------------------------------------
No Instances found
===============================================================================
A:ALA-A>config#
A summary log is printed only in case TotCnt is different from 0. Only the address types with at least 1 entry in the mini-table are printed.
A:ALA-A>config# show filter log 190
===============================================================================
Summary Log[190] Crit1: SrcAddr TotCnt: 723 ArpCnt: 83
Mac 8 06-06-06-06-06-06
Mac 8 06-06-06-06-06-05
Mac 8 06-06-06-06-06-04
Mac 8 06-06-06-06-06-03
Mac 8 06-06-06-06-06-02
Ip 16 10.6.6.1
Ip 16 10.6.6.2
Ip 16 10.6.6.3
Ip 16 10.6.6.4
Ip 8 10.6.6.5
Ipv6 8 3ffe:1616:1616:1616:1616:1616::
Ipv6 8 3ffe:1616:1616:1616:1616:1616:ffff:ffff
Ipv6 8 3ffe:1616:1616:1616:1616:1616:ffff:fffe
Ipv6 8 3ffe:1616:1616:1616:1616:1616:ffff:fffd
Ipv6 8 3ffe:1616:1616:1616:1616:1616:ffff:fffc
===============================================================================
A:ALA-A
Log Message Formatting — Each filter log entry contains the following information in case summary log feature is not active (as appropriate).
Label |
Description |
---|---|
yyyy/mm/dd hh:mm:ss |
The date and timestamp for the log filter entry where yyyy is the year, mm is the month, dd is the day, hh is the hour, mm is the minute and ss is the second |
Filter |
The filter ID and the entry ID which generated the filter log entry in the form Filter_ID:Entry_ID |
Desc |
The description of the filter entry ID which generated the filter log entry |
Interface |
The IP interface on which the filter ID and entry ID was associated which generated the filter log entry |
Action |
The action of the filter entry on the logged packet |
Src MAC |
The source MAC address of the logged packet |
Dst MAC |
The destination MAC of the logged packet |
EtherType |
The Ethernet type of the logged Ethernet type II packet |
Src IP |
The source IP address of the logged packet; the source port is displayed after the IP address as appropriate separated with a colon |
Dst IP |
The destination IP address of the logged packet; the source port is displayed after the IP address as appropriate separated with a colon |
Flags (IP flags) |
M — the more fragments IP flag is set in the logged packet DF — the do not fragment IP flag is set in the logged packet |
TOS |
The ToS byte value in the logged packet |
Protocol |
The IP protocol of the logged packet (TCP, UDP, ICMP or a protocol number in hex) |
Flags (TCP flags) |
URG — Urgent bit set ACK — Acknowledgment bit set RST — Reset bit set SYN — Synchronize bit set FIN — Finish bit set |
HEX |
If an IP protocol does not have a supported decode, the first 32 bytes following the IP header are printed in a hex dump Log entries for non-IP packets include the Ethernet frame information and a hex dump of the first 40 bytes of the frame after the Ethernet header |
Total Log Instances (Allowed) |
Specifies the maximum allowed instances of filter logs allowed on the system |
Total Log Instances (In Use) |
Specifies the instances of filter logs presently existing on the system |
Total Log Bindings |
Specifies the count of the filter log bindings presently existing on the system |
Type |
The type of service of the service ID |
Filter ID |
Uniquely identifies an IP filter as configured on the system |
Entry ID |
The identifier which uniquely identifies an entry in a filter table |
Log |
Specifies an entry in the filter log table |
Instantiated |
Specifies if the filter log for this filter entry has or has not been instantiated |
If the packet being logged does not have a source or destination MAC address (that is, POS) then the MAC information output line is omitted from the log entry.
If log summary is active, the filter log mini-tables contain the information described in Filter Log Summary Mini-Table Fields.
Label |
Description |
---|---|
Summary Log LogID |
Displays the log ID |
Crit1 |
Summary criterion that is used as index into the mini-tables of the log |
TotCnt |
The total count of logs |
ArpCnt |
Displays the total number of ARP messages logged for this log ID |
Src... Dst... |
The address type indication of the key in the mini-table |
count |
The number of messages logged with the specified source/destination address |
address |
The address for which count messages where received |
log
Syntax
log log-id
Context
[Tree] (clear>filter log)
Full Context
clear filter log
Description
Clears the contents of a memory or file based filter log.
This command has no effect on a syslog based filter log.
Parameters
- log-id
-
Specifies the filter log ID as a decimal integer.
Platforms
All
log
Syntax
log log-id
Context
[Tree] (clear log)
Full Context
clear log
Description
The clear log log-id command has been deprecated and replaced by the clear log log-id log-id command. The clear log log-id command continues to be supported, but it is recommended to use the clear log log-id log-id command instead.
Parameters
- log-id
-
Specifies the event log ID to be initialized or rolled over.
Platforms
All
log
Syntax
log
Context
[Tree] (tools>dump log)
Full Context
tools dump log
Description
Commands in this context dump log information.
Platforms
All
log
Syntax
log
Context
[Tree] (tools>perform log)
Full Context
tools perform log
Description
This command enables tools for event logging.
Platforms
All
log-collector
log-collector
Syntax
log-collector
Context
[Tree] (show>log log-collector)
Full Context
show log log-collector
Description
This command shows log collector statistics for the main, security, change and debug log collectors.
Platforms
All
Output
The following is an example of log collector information.
Show Log-Collector Output Fields describes log-collector output fields.
Sample OutputA:ALA-1# show log log-collector
===============================================================================
Log Collectors
===============================================================================
Main Logged : 1224 Dropped : 0
Dest Log Id: 99 Filter Id: 0 Status: enabled Dest Type: memory
Dest Log Id: 100 Filter Id: 1001 Status: enabled Dest Type: memory
Security Logged : 3 Dropped : 0
Change Logged : 3896 Dropped : 0
Debug Logged : 0 Dropped : 0
===============================================================================
A:ALA-1#
Label |
Description |
---|---|
<Collector Name> |
Main — The main event stream contains the events that are not explicitly directed to any other event stream. Security — The security stream contains all events that affect attempts to breach system security such as failed login attempts, attempts to access MIB tables to which the user is not granted access or attempts to enter a branch of the CLI to which access has not been granted. Change — The change event stream contains all events that directly affect the configuration or operation of this node. Debug — The debug-trace stream contains all messages in the debug stream. |
Dest. Log ID |
Specifies the event log stream destination. |
Filter ID |
The value is the index to the entry which defines the filter to be applied to this log's source event stream to limit the events output to this log's destination. If the value is 0, then all events in the source log are forwarded to the destination. |
Status |
Enabled — Logging is enabled. Disabled — Logging is disabled. |
Dest. Type |
Console — A log created with the console type destination displays events to the physical console device. Events are displayed to the console screen whether a user is logged in to the console or not. Session — A user logged in to the console device or connected to the CLI via a remote telnet or SSH session can also create a log with a destination type of 'session'. Events are displayed to the session device until the user logs off. Syslog — Log events are sent to a syslog receiver. SNMP traps — Events defined as SNMP traps are sent to the configured SNMP trap destinations and are logged in NOTIFICATION-LOG-MIB tables. File — All selected log events are directed to a file on one of the compact flash disks. Memory — All selected log events are directed to an in-memory storage area. |
log-events
log-events
Syntax
log-events repeating-events
Context
[Tree] (clear>log log-events)
Full Context
clear log log-events
Description
This command cancels all log events that are currently repeating. All repeating log events will stop repeating. See the repeat parameter of the configure log event-control.
Platforms
All
log-id
log-id
Syntax
log-id [log-id] [severity severity-level] [application application] [sequence from-seq [to-seq]] [ count count] [subject subject [regexp]] [ ascending | descending] [message format [msg-regexp]]
Context
[Tree] (show>service>id>log log-id)
Full Context
show service id log log-id
Description
This command displays an event log summary with settings and statistics or the contents of a specific log file, SNMP log, or memory log.
If the command is specified with no command line options, a summary of the defined system logs is displayed. The summary includes log settings and statistics.
If the log ID of a memory, SNMP, or file event log is specified, the command displays the contents of the log. Additional command line options control what and how the contents are displayed.
Contents of logs with console, session or syslog destinations cannot be displayed. The actual events can only be viewed on the receiving syslog or console device.
Parameters
- log-id
-
Displays the contents of the specified file log or memory log ID. The log ID must have a destination of an SNMP or file log or a memory log for this parameter to be used.
- severity-level
-
Displays only events with the specified and higher severity.
- application
-
Displays only events generated by the specified application.
- from-seq [to-seq]
-
Displays the log entry numbers from a particular entry sequence number (from-seq) to another sequence number (to-seq). The to-seq value must be larger than the from-seq value.
If the to-seq number is not provided, the log contents to the end of the log is displayed unless the count parameter is present in which case the number of entries displayed is limited by the count.
- count
-
Limits the number of log entries displayed to the number specified.
- subject
-
Displays only log entries matching the specified text subject string, up to 32 characters. The subject is the object affected by the event, for example the port-id would be the subject for a link-up or link-down event.
- regexp
-
Specifies to use a regular expression as parameters with the specified subject string.
- ascending | descending
-
Specifies sort direction. Logs are normally shown from the newest entry to the oldest in descending sequence number order on the screen. When using the ascending parameter, the log is shown from the oldest to the newest entry.
- format
-
Specifies a message string, up to 400 characters, to be used in the display criteria.
- msg-regexp
-
Specifies to use a regular expression as parameters with the specified message string.
Platforms
All
Output
Show Log-ID Field Descriptions describes the log ID field output.
Label |
Description |
---|---|
Log Id |
An event log destination. |
Source |
no — The event log filter is not currently in use by a log ID. yes — The event log filter is currently in use by a log ID. |
Filter ID |
The value is the index to the entry which defines the filter to be applied to this log's source event stream to limit the events output to this log's destination. If the value is 0, then all events in the source log are forwarded to the destination. |
Admin State |
Up — Indicates that the administrative state is up. Down — Indicates that the administrative state is down. |
Oper State |
Up — Indicates that the operational state is up. Down — Indicates that the operational state is down. |
Logged |
The number of events that have been sent to the log source(s) that were forwarded to the log destination. |
Dropped |
The number of events that have been sent to the log source(s) that were not forwarded to the log destination because they were filtered out by the log filter. |
Dest. Type |
Console — All selected log events are directed to the system console. If the console is not connected, then all entries are dropped. Syslog — All selected log events are sent to the syslog address. SNMP traps — Events defined as SNMP traps are sent to the configured SNMP trap destinations and are logged in NOTIFICATION-LOG-MIB tables. File — All selected log events are directed to a file on one of the CPM's compact flash disks. (7750 SR and 7450 ESS only). Memory — All selected log events are directed to an in-memory storage area. |
Dest ID |
The event log stream destination. |
Size |
The allocated memory size for the log. |
Time format |
The time format specifies the type of timestamp format for events sent to logs where log ID destination is either syslog or file. When the time format is UTC, timestamps are written using the Coordinated Universal Time value. When the time format is local, timestamps are written in the system's local time. |
log-id
Syntax
log-id [log-id | log-name] [severity severity-level] [application application] [sequence from-seq [to-seq]] [ count count] [router router-instance [expression]] [subject subject [regexp]] [{ ascending | descending}] [message message [msg-regexp]]
Context
[Tree] (show>li>log log-id)
Full Context
show li log log-id
Description
This command displays information for specified log.
Parameters
- log-id | log-name
-
Specifies the log ID or name.
- severity-level
-
Specifies the severity level.
- application
-
Specifies the application name.
- from-seq [to-seq]
-
Specifies the sequence value.
- count
-
Specifies the count.
- router-instance
-
Specifies the router instance.
- subject
-
Specifies a subject string to match.
- regexp
-
Specifies to use a regular expression match.
- ascending | descending
-
Specifies the sort direction.
- message
-
Specifies the message, up to 400 characters.
- msg-regexp
-
Specifies to use a message regular expression match.
Platforms
All
log-id
Syntax
log-id [log-id | log-name] [severity severity-level] [application application] [sequence from-seq [to-seq]] [ count count] [router router-instance [expression]] [subject subject [regexp]] [ascending | descending] [message message [msg-regexp]]
Context
[Tree] (show>log log-id)
Full Context
show log log-id
Description
This command displays an event log summary with settings and statistics or the contents of a specific log file, SNMP log, or memory log.
If the command is specified with no command line options, a summary of the defined system logs is displayed. The summary includes log settings and statistics.
If the log ID of a memory, SNMP, or file event log is specified, the command displays the contents of the log. Additional command line options control what and how the contents are displayed.
Contents of logs with console, session or syslog destinations cannot be displayed. The actual events can only be viewed on the receiving syslog or console device.
Parameters
- log-id | log-name
-
Displays the contents of the specified file log or memory log ID. The log ID, or optional log name (up to 64 characters), must have a destination of an SNMP or file log or a memory log for this parameter to be used.
- severity-level
-
Displays only events with the specified and higher severity.
- application
-
Displays only events generated by the specified application.
- expression
-
Specifies to use a regular expression as match criteria for the router instance string.
- from-seq [to-seq]
-
Displays the log entry numbers from a particular entry sequence number (from-seq) to another sequence number (to-seq). The to-seq value must be larger than the from-seq value.
If the to-seq number is not provided, the log contents to the end of the log is displayed unless the count parameter is present in which case the number of entries displayed is limited by the count.
- count
-
Limits the number of log entries displayed to the number specified.
- router-instance
-
Specifies a router name up to 32 characters in length to be used in the display criteria.
- message
-
Specifies a message string up to 400 characters in length to be used in the display criteria.
- msg-regexp
-
Specifies to use a regular expression as parameters with the specified message string.
- subject
-
Displays only log entries matching the specified text subject string. The subject is the object affected by the event, for example the port-id would be the subject for a link-up or link-down event.
- regexp
-
Specifies to use a regular expression as parameters with the specified subject string.
- ascending | descending
-
Specifies sort direction. Logs are normally shown from the newest entry to the oldest in descending sequence number order on the screen. When using the ascending parameter, the log is shown from the oldest to the newest entry.
Platforms
All
Output
The following is an example of log ID information.
Log-Id Output Field Descriptions describes the log ID field output.
Sample OutputA:bkvm30# show log log-id
==============================================================================
Event Logs
==============================================================================
Log Source Filter Admin Oper Logged Dropped Dest Dest Size
Name/ Id State State Type Id
Id
------------------------------------------------------------------------------
1
1 none none up down 0 0 none N/A
5
5 D none up up 0 0 cli 1024
15
15 M none up up 24 0 cli 512
20
20 S none up up 12 0 memory 256
21
21 C none up up 258 0 memory 256
22
22 M S C none up up 288 0 file 15 N/A
33
33 M S C none up down 0 0 none N/A
34
34 none none up down 0 0 file 33 N/A
35
35 M S none up up 36 0 memory 100
55
55 C none up down 0 0 cli 500
77
77 S none up up 0 0 cli 100
82
82 none none up down 0 0 none N/A
99
99 M none up up 122 0 memory 500
100
100 M 1001 up up 10 112 memory 500
==============================================================================
Sample Memory or File Event Log Contents Output
A:admin@Dut-A# show log log-id log-id 10
===============================================================================
Event Log 10
===============================================================================
Description : (Not Specified)
Memory Log contents [size=100 next event=13 (not wrapped)]
12 2018/02/20 10:12:00.429 UTC MINOR: DEBUG #2001 Base GRPC
"GRPC: RPC-2: gNMI.Subscribe
Client URI: ipv4:192.99.5.0:49648
Username: admin
Received message of type gnmi.SubscribeRequest:
.request = subscribe:
.encoding: 0 = JSON
.mode: 0 = STREAM
.prefix: /
.subscription (1):
.path: /state/router[router-instance=*]/interface[interface-name=*]/ipv4/oper-state
.mode: 1 = ON_CHANGE
.sample_interval: 10000000000
"
11 2018/02/20 10:12:00.422 UTC MINOR: DEBUG #2001 Base GRPC
"GRPC: RPC-2: gNMI.Subscribe
Client URI: ipv4:192.99.5.0:49648
Username: admin
Client called RPC.
Now waiting till first message arrive.
"
A:gal171# show log log-id 99
===============================================================================
Event Log 99
===============================================================================
Description : Default System Log
Memory Log contents [size=500 next event=70 (not wrapped)]
69 2007/01/25 18:20:40.00 UTC CRITICAL: SYSTEM #2029 Base Redundancy
"The active CPM card A is operating in singleton mode. There is no standby CPM card."
68 2007/01/25 17:48:38.16 UTC WARNING: SYSTEM #2006 Base LOGGER
"New event throttle interval 10, configuration modified"
67 2007/01/25 00:34:53.97 UTC CRITICAL: SYSTEM #2029 Base Redundancy
"The active CPM card A is operating in singleton mode. There is no standby CPM card."
66 2007/01/24 22:59:22.00 UTC CRITICAL: SYSTEM #2029 Base Redundancy
"The active CPM card A is operating in singleton mode. There is no standby CPM card."
65 2007/01/24 02:08:47.92 UTC CRITICAL: SYSTEM #2029 Base Redundancy
"The active CPM card A is operating in singleton mode. There is no standby CPM card."
...
===============================================================================
A:gal171
A:NS061550532>config>log>snmp-trap-group# show log log-id 1
===============================================================================
Event Log 1
===============================================================================
SNMP Log contents [size=100 next event=3 (not wrapped)]
Cannot send to SNMP target address 10.1.1.1.
Waiting to replay starting from event #2
14 2000/01/05 00:54:09.11 UTC WARNING: MPLS #2007 Base VR 1:
"Instance is in administrative state: inService, operational state: inService"
13 2000/01/05 00:54:09.11 UTC WARNING: MPLS #2008 Base VR 1:
"Interface linkToIxia is in administrative state: inService, operational state:
inService"
....
===============================================================================
A:NS061550532>config>log>snmp-trap-group#
Label |
Description |
---|---|
Log Name/Id |
An event log destination. |
Source |
no — The event log filter is not currently in use by a log ID. yes — The event log filter is currently in use by a log ID. |
Filter ID |
The value is the index to the entry which defines the filter to be applied to this log's source event stream to limit the events output to this log's destination. If the value is 0, then all events in the source log are forwarded to the destination. |
Admin State |
Up — Indicates that the administrative state is up. Down — Indicates that the administrative state is down. |
Oper State |
Up — Indicates that the operational state is up. Down — Indicates that the operational state is down. |
Logged |
The number of events that have been sent to the log source(s) that were forwarded to the log destination. |
Dropped |
The number of events that have been sent to the log source(s) that were not forwarded to the log destination because they were filtered out by the log filter. |
Dest. Type |
Console — All selected log events are directed to the system console. If the console is not connected, then all entries are dropped. Syslog — All selected log events are sent to the syslog address. SNMP traps — Events defined as SNMP traps are sent to the configured SNMP trap destinations and are logged in NOTIFICATION-LOG-MIB tables. File — All selected log events are directed to a file on one of the CPM's compact flash disks. Memory — All selected log events are directed to an in-memory storage area. |
Dest ID |
The event log stream destination. |
Size |
The allocated memory size for the log. |
Time format |
The time format specifies the type of timestamp format for events sent to logs where log ID destination is either syslog or file. When the time format is UTC, timestamps are written using the Coordinated Universal Time value. When the time format is local, timestamps are written in the system's local time. |
log-id
Syntax
log-id log-id
Context
[Tree] (clear>log log-id)
Full Context
clear log log-id
Description
Reinitializes or rolls over the specified memory/file event log ID. Memory logs are reinitialized and cleared of contents. File logs are manually rolled over by this command.
This command is only applicable to event logs that are directed to file destinations and memory destinations.
SNMP, syslog, console, or session logs are not affected by this command.
Parameters
- log-id
-
Specifies the event log ID to be initialized or rolled over.
Platforms
All
logger-event-bundling
logger-event-bundling
Syntax
logger-event-bundling
Context
[Tree] (tools>dump>router>mpls logger-event-bundling)
Full Context
tools dump router mpls logger-event-bundling
Description
This command dumps logger event bundling information for MPLS.
Platforms
All
longer
longer
Syntax
longer
Context
[Tree] (show>router>bgp>routes longer)
Full Context
show router bgp routes longer
Description
This command displays the specified BGP route and subsets of the route.
Platforms
All
loopback
loopback
Syntax
loopback
Context
[Tree] (tools>perform>service>id loopback)
Full Context
tools perform service id loopback
Description
Tools for placing and removing SAPs and SDP bindings in data loopback. Overwrite occurs for any SAP or SDP binding when issuing a subsequent loopback command on the same SAP or SDP binding.
Interactions: Loopback functions are only applicable to Epipe, PBB Epipe, VPLS, I-VPLS and PBB core service contexts.
Platforms
All
loopback
Syntax
loopback
Context
[Tree] (tools>dump>service loopback)
Full Context
tools dump service loopback
Description
This command displays all configured Ethernet loopbacks.
Platforms
All
loopback
Syntax
loopback sap sap-id
loopback sdp sdp-id:vc-id
Context
[Tree] (tools>dump>service>id loopback)
Full Context
tools dump service id loopback
Description
This command displays configured service-specific Ethernet loopbacks.
Parameters
- sap-id
-
Specifies the SAP ID.
- sdp-id:vc-id
-
Specifies the SDP ID and VC-ID.
Platforms
All
lsn
lsn
Syntax
lsn create router router-instance [b4 ipv6-address] [aftr ipv6-address] ip ip-address protocol {tcp | udp} [port port] lifetime lifetime [outside-ip ipv4-address] [outside-port port] [nat-policy nat-policy-name]
lsn delete router router-instance [b4 ipv6-address] ip ip-address protocol {tcp | udp} port port [nat-policy nat-policy-name]
lsn modify router router-instance [b4 ipv6-address] ip ip-address protocol {tcp | udp} port port lifetime lifetime [nat-policy nat-policy-name]
Context
[Tree] (tools>perform>nat>port-forwarding-action lsn)
Full Context
tools perform nat port-forwarding-action lsn
Description
This command enables large-scale NAT port forwarding actions.
Platforms
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
Output
The following is sample output for this command.
Sample Output*A:SR12_PPPOE# tools perform nat port-forwarding-action lsn create router 100
ip 10.2.3.4 protocol tcp lifetime infinite outside-port 666
*A:SR12_PPPOE# tools perform nat port-forwarding-action lsn create router 100
ip 10.2.3.4 protocol udp lifetime infinite outside-port 666
*A:SR12_PPPOE# configure system persistence nat-port-forwarding location cf3:
*A:SR12_PPPOE# tools dump persistence nat-port-forwarding
----------------------------------------
Persistence Info
----------------------------------------
Client : nat-fwds
File Info :
Filename : cf3:\nat_fwds.002
File State : CLOSED (Not enough space on disk)
Subsystem Info :
Nbr Of Registrations : 524288
Registrations In Use : 2
Subsystem State : NOK
*A:SR12_PPPOE#
show+service+nat
| | | +---port-forwarding-entries
| | | | +---classic-lsn-sub
| | | | +---dslite-lsn-sub
| | | | +---l2-aware-sub
| | | | +---nat64-lsn-sub
lsn-blocks
lsn-blocks
Syntax
lsn-blocks [inside-router router-instance] [inside-ip ip-address] [outside-ip-prefix ip-prefix/length] [outside-port [0..65535]] [pool pool-name]
Context
[Tree] (show>router>nat lsn-blocks)
Full Context
show router nat lsn-blocks
Description
This command displays large scale NAT blocks.
Parameters
- router-instance
-
Specifies the router instance name and service ID.
- ip-address
-
Specifies the IP address in a.b.c.d format.
- ip-prefix
-
Specifies the IP prefix.
- length
-
Specifies the IP prefix length.
- pool-name
-
Specifies the pool name, up to 32 characters.
Platforms
7450 ESS, 7750 SR, 7750 SR-e, 7750 SR-s, VSR
Output
The following is sample output for this command.
Sample Output*A:SR12_PPPOE>show>router>nat# show router Base nat lsn-blocks
===============================================================================
Large-Scale NAT blocks for Base
===============================================================================
10.0.0.5 [1024..1527]
Pool : privpool
Policy : priv-nat-policy
Started : 2012/01/28 19:10:17
Inside router : vprn100
Inside IP address : 2001:db8:470:1F00:FFFF:189
-------------------------------------------------------------------------------
Number of blocks: 1
===============================================================================
A:SR12_PPPOE#
lsp
lsp
Syntax
lsp [lsp-name] [status {up | down}] [detail]
lsp [lsp-name] path [path-name] [type {working | protect}] [detail]
lsp [lsp-name] [status {up | down}] to ip-address [detail]
Context
[Tree] (show>router>gmpls lsp)
Full Context
show router gmpls lsp
Description
This command displays gLSP information.
Parameters
- lsp-name
-
Specifies the identifier for the GMPLS LSP, up to 32 characters.
- status
-
Specifies that the command displays only LSPs that are either operationally up or down.
- path-name
-
Specifies a unique case-sensitive name label for the LSP path. The path name can be an alphanumeric string, up to 32 characters.
- type
-
Specifies that the command displays only paths that are either working or protect.
- ip-address
-
Specifies the system IP address of the far-end UNI-C router for the GMPLS LSP.
- detail
-
Keyword to request more detailed output.
Platforms
7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
lsp
Syntax
lsp [lsp-name] [detail]
Context
[Tree] (tools>dump>router>gmpls lsp)
Full Context
tools dump router gmpls lsp
Description
This command dumps information about LSPs. Configuring the lsp-name parameter only dumps information about the specified LSP.
Parameters
- lsp-name
-
Specifies the LSP name, up to 32 characters.
- detail
-
Keyword to output information in greater detail.
Platforms
7750 SR, 7750 SR-a, 7750 SR-e, 7750 SR-s, 7950 XRS
Output
The following output is an example of LSP information.
Sample Output*A:Dut-B-UNI-C>tools>dump>router>gmpls# lsp "D1"
LSP "D1", LspIndex: 1, Type: GMPLS-UNI, AdminState: UP, OperState: UP, Flags: 0x0
Total LSP Count: 1
*A:Dut-B-UNI-C>tools>dump>router>gmpls# lsp "D1" detail
=================================================================================
LSP "D1", LspIndex: 1
Type: GMPLS-UNI, AdminState: UP, OperState: UP, Flags: 0x0
LastChange: 02/04/2015 23:30:34
TimeSinceLastOperChange: 0d 15:07:19
NumWorkingPaths: 1, NumProtectPaths: 0
NumWorkingPathsUp: 1, NumProtectPathsUp: 0
----------------------------------------------------------------------------------
LspPath PathIndex: 2, Type: Working
AdminState: UP, OperState:Up, Flags: 0x0
LastChange: 02/04/2015 23:30:34
TimeSinceLastOperChange: 0d 15:07:19
LspId: 296, SessionName: D1::2
CurrState: LSP_PATH_UP, PrevState: LSP_PATH_INIT
RetryCount: 107, FailNode: 0.0.0.0, FailCode: none
Peer: 0.0.0.0
PSB: vrId: 1 Session (To: 192.0.2.02 - 1 - 192.0.2.01), Sender (192.0.2.01 - 296)
Actual Hops:
Hop 1 : Unnumbered RouterId 192.0.2.01, InterfaceId 1010702
UpStreamLabel 0, DnStreamLabel 101070217, Flags 0x0
Hop 2 : Unnumbered RouterId 10.27.255.213, InterfaceId 1010702
UpStreamLabel 101070217, DnStreamLabel 0, Flags 0x0
SRLG List 27
Hop 3 : Unnumbered RouterId 10.27.255.213, InterfaceId 13000
UpStreamLabel 0, DnStreamLabel 101070230, Flags 0x0
SRLG List 4
Hop 4 : Unnumbered RouterId 10.27.255.219, InterfaceId 13001
UpStreamLabel 101070230, DnStreamLabel 0, Flags 0x0
Hop 5 : Unnumbered RouterId 10.27.255.219, InterfaceId 1010702
UpStreamLabel 0, DnStreamLabel 101070217, Flags 0x0
SRLG List 27
Hop 6 : Unnumbered RouterId 192.0.2.02, InterfaceId 1010702
UpStreamLabel 101070217, DnStreamLabel 0, Flags 0x0
=================================================================================
Total LSP Count: 1
lsp
Syntax
lsp [lsp-name] [status {up | down}] [from ip-address | to ip-address] [detail] [auto-lsp {all | mesh-p2p | one-hop-p2p}]
lsp {transit | terminate} [status {up | down}] [from ip-address | to ip-address | lsp-name name] [detail]
lsp count
lsp [lsp-name] activepath [auto-lsp {all | mesh-p2p | one-hop-p2p}]
lsp [lsp-name] path [path-name] [status {up | down}] [detail] [auto-lsp {all | mesh-p2p | one-hop-p2p}]
lsp [lsp-name] path [path-name] mbb [auto-lsp {all | mesh-p2p |