Show, Clear, and Debug Command Reference

Command Hierarchies

Show Commands

show
— router router-name
policy [name | damping | prefix-list name | as-path name | community name | admin]
policy [name | sub-policy entry entry-id name subpol_name
policy [name | sub-policy entry entry-id name subpol_name entry-2 entry-id name-2 subpol_name
policy [name | sub-policy entry entry-id name subpol_name entry-2 entry-id name-2 subpol_name entry-3 entry-id name-3 subpol_name
show
— router router-name
— bgp
— route
policy-test policy-name family family prefix prefix/pfxlen [longer] neighbor neighbor [display-rejects] [detail]

Command Descriptions

Show Commands

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

policy

Syntax 
policy [name | prefix-list name | admin]
policy [name | damping name| prefix-list name | as-path name | as-path-group name | community name | admin] | exclusive-access
policy [name | sub-policy entry entry-id name subpol_name
policy [name | sub-policy entry entry-id name subpol_name entry-2 entry-id name-2 subpol_name
policy [name | sub-policy entry entry-id name subpol_name entry-2 entry-id name-2 subpol_name entry-3 entry-id name-3 subpol_name
Context 
show>router
Description 

This command displays configured policy statement information.

Parameters 
admin —
If the keyword admin is included, the entire policy option configuration is displayed, including any uncommitted configuration changes. This command is similar to the info command.
as-path —
If this keyword is included, the command displays configured as-path regular expressions (optionally filtered by name).
as-path-group —
If this keyword is included, the command displays configured as-path-groups, optionally filtered by name.
community —
If this keyword is included, the command displays configured community lists, optionally filtered by name.
damping —
If this keyword is included, the information about the route policy damping configurations is displayed.
entry entry-id
Displays the configuration (with parameter value substitution) of the subroutine policy called by the entry with entry-id.
exclusive-access —
Keyword.
prefix-list name
Displays the prefix lists configured in the route policy.
policy name
Displays information similar to the info command for a specific policy-statement. If a name is provided, the matching policy-statement displays. If no statement name is specified, a list of all policies statements and descriptions display.
sub-policy —
If this keyword is included, the configuration of a subroutine policy is displayed.
subpol_name
specifies the policy name (up to 64 characters long).
entry-id
Specifies the entry identifier (numeric) of the policy.
Values—
1 to 4294967295
Output 

Route Policy Output

The following table describes route policy output fields.

Table 64:  Route Policy Output Fields   

Label

Description

Policy

Displays a list of route policy names.

Description

Displays the description of each route policy.

Policies

The total number of policies configured.

The following route policy commands are displayed with different command parameter options:

  1. show router policy
  2. show router policy admin
  3. show router policy “BGP to RIP”
  4. show router policy damping
  5. show router policy “pol1” sub-pol entry 10 name “pol2”
Sample Output

The show router policy command displays all configured route policies.

A:ALA-1# show router policy
===============================================================================
Route Policies
===============================================================================
Policy Description
-------------------------------------------------------------------------------
Direct And Aggregate Policy Statement ABC
-------------------------------------------------------------------------------
Policies :
===============================================================================
A:ALA-1#

The show router policy admin command is similar to the info command which displays information about the route policies and parameters.

A:ALA-1# show router policy admin
prefix-list "All-Routes"
prefix 0.0.0.0/0 longer
prefix 2.0.0.0/8 longer
prefix 3.0.0.0/8 longer
prefix 4.0.0.0/8 longer
prefix 5.0.0.0/8 longer
prefix 6.0.0.0/8 exact
prefix 224.0.0.0/24 longer
exit
...
A:ALA-1#

The show router policy name command displays information about a specific route policy.

show router policy “BGP To RIP”

description "Policy Statement For 'BGP To RIP'"
entry 10
description "Entry For Policy 'BGP To RIP"
from
protocol bgp
exit
to
protocol rip
exit
action accept
metric set 1
next-hop 10.0.18.200
tag 805
exit
exit
default-action reject
A:ALA-1#

The show router policy damping command displays information about the route policy damping configurations.

A:ALA-1# show router policy damping

=============================================
Route Damping Profiles
=============================================
damping "TEST-LOW"
half-life 22
max-suppress 720
reuse 10000
suppress 15000
exit
damping "TEST-HIGH"
half-life 22
max-suppress 720
reuse 1000
suppress 5000
exit
damping "TEST-MEDIUM"
half-life 22
max-suppress 720
reuse 5000
suppress 11000
exit
=============================================
A:ALA-1#

The show router policy name sub-policy entry entry-id name subpol_name command displays information about the subroutine called by an entry of the route policy. In the following sample output, the term “telenet” is the value of a variable.

show router policy “BGP To RIP”

*A:Dut-B# show router policy "pol1" sub-policy entry 10 name "pol2"
===============================================================================
pol1 entry 10 sub-policies
===============================================================================
-------------------------------------------------------------------------------
Level1 Sub-policy : pol2 Parent-policy : pol1, Parent-entry 10
-------------------------------------------------------------------------------
entry 20
from
community "telenet"
exit
exit
===============================================================================

policy-test

Syntax 
policy policy-name family family prefix prefix/pfxlen [longer] neighbor neighbor [display-rejects] [detail]
Context 
show>router>bpg>routes
Description 

This command allows an operator to evaluate an existing policy against the RIB to identify what prefixes are matched/not matched by the policy prior to attaching it to a routing neighbor or instance. When a prefix is rejected, the entry ID that rejected it is displayed.

When the policy evaluation tool is applied to vpn-ipv4 or vpn-ipv6 family types, a warning will be displayed to the operator about the possibility of hidden routes. If the vrf-import policy that is being evaluated is attempting to import RTs that were never before imported on the node, the routes will not be displayed (accepted or rejected) because they are not available in the RTM until the vrf-import policy is activated. This is due to the architecture of SR-OS storing MP-BGP routes in the RTM.

Configuration of ‘mp-bgp-keep’ under the BGP hierarchy will no longer suppress these routes by default, at the cost of higher memory requirements to store all MP-BGP routes received from MP-BGP neighbors.

Parameters 
policy name—
Specifies information of an existing configured and committed policy.
family—
Specifies ipv4 or ipv6 information. Default is ipv4.
prefix—
Specifies IPv4 or IPv6 prefix/mask to be evaluated. The longer keyword may be specified to evaluate longer prefix matches. (Optional)
neighbor—
Specifies BGP neighbor (optional).
display-rejects—
Displays routes that were rejected by the policy. If this is not specified, only a count of rejected routes is shown.
detail —
Displays changes in the policy attributes. When the policy modifies route attributes, display the modifications made to the routes. This command requires an exact prefix to be specified. (Optional)
Output 

Sample Output
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 0.0.0.0/0
longer neighbor 220.0.0.2
===============================================================================
BGP Router ID:11.11.11.10 AS:11 Local AS:11
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop Path-Id VPNLabel
As-Path
-------------------------------------------------------------------------------
Accepted by Policy
4.0.0.6/32 None None
220.0.0.2 None -
14
-------------------------------------------------------------------------------
Total Routes : 17 Routes rejected : 16
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 prefix 0.0.0.0/0 longer neighbor
220.0.0.2
===============================================================================
BGP Router ID:11.11.11.10 AS:11 Local AS:11
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network
-------------------------------------------------------------------------------
Accepted by Policy
4.0.0.6/32
-------------------------------------------------------------------------------
Total Routes : 17 Routes rejected : 16
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 0.0.0.0/0
longer neighbor 220.0.0.2 display-rejects brief
===============================================================================
BGP Router ID:11.11.11.10 AS:11 Local AS:11
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network
-------------------------------------------------------------------------------
Rejected by Default action
2.2.2.2/32
Rejected by Default action
4.0.0.1/32
Rejected by Default action
4.0.0.2/32
Rejected by Default action
4.0.0.3/32
Rejected by Default action
4.0.0.4/32
Rejected by Default action
4.0.0.5/32
Accepted by Policy
4.0.0.6/32
Rejected by Default action
6.0.0.1/32
Rejected by Default action
7.0.0.1/32
Rejected by Default action
10.0.4.0/24
Rejected by Default action
10.12.0.0/24
Rejected by Default action
10.14.0.0/24
Rejected by Default action
10.24.0.0/24
Rejected by Default action
12.12.12.12/32
Rejected by Default action
220.0.0.2/32
Rejected by Default action
220.0.0.3/32
Rejected by Default action
221.0.0.2/32
-------------------------------------------------------------------------------
Total Routes : 17 Routes rejected : 16
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 prefix 0.0.0.0/0 longer neighbor
220.0.0.2 display-rejects
===============================================================================
BGP Router ID:11.11.11.10 AS:11 Local AS:11
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop Path-Id VPNLabel
As-Path
-------------------------------------------------------------------------------
Rejected by Default action
2.2.2.2/32 None None
220.0.0.2 None -
14
Rejected by Default action
4.0.0.1/32 None None
220.0.0.2 None -
14
Rejected by Default action
4.0.0.2/32 None None
220.0.0.2 None -
14
Rejected by Default action
4.0.0.3/32 None None
220.0.0.2 None -
14
Rejected by Default action
4.0.0.4/32 None None
220.0.0.2 None -
14
Rejected by Default action
4.0.0.5/32 None None
220.0.0.2 None -
14
Accepted by Policy
4.0.0.6/32 None None
220.0.0.2 None -
14
Rejected by Default action
6.0.0.1/32 None None
220.0.0.2 None -
14
Rejected by Default action
7.0.0.1/32 None None
220.0.0.2 None -
14
Rejected by Default action
10.0.4.0/24 None None
220.0.0.2 None -
14
Rejected by Default action
10.12.0.0/24 None 20
220.0.0.2 None -
14
Rejected by Default action
10.14.0.0/24 None None
220.0.0.2 None -
14
Rejected by Default action
10.24.0.0/24 None None
220.0.0.2 None -
14
Rejected by Default action
12.12.12.12/32 None 20
220.0.0.2 None -
14
Rejected by Default action
220.0.0.2/32 None None
220.0.0.2 None -
14
Rejected by Default action
220.0.0.3/32 None 10
220.0.0.2 None -
14
Rejected by Default action
221.0.0.2/32 None None
220.0.0.2 None -
14
-------------------------------------------------------------------------------
Total Routes : 17 Routes rejected : 16
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 prefix 4.0.0.1/32 detail neighbor
220.0.0.2 display-rejects
===============================================================================
BGP Router ID:11.11.11.10 AS:11 Local AS:11
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Rejected by Default action
Network : 4.0.0.1/32
Nexthop : 220.0.0.2
Path Id : None
From : 220.0.0.2
Res. Nexthop : 10.14.0.4
Local Pref. : None Interface Name : to-sim-6
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : target:65530:20
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 14.14.14.10
Fwd Class : None Priority : None
Flags :
Route Source : External
AS-Path : 14
-------------------------------------------------------------------------------
Total Routes : 1 Routes rejected : 1
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.6/32
neighbor 220.0.0.2
===============================================================================
BGP Router ID:11.11.11.10 AS:11 Local AS:11
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Accepted by Policy
-------------------------------------------------------------------------------
Original Attributes
Network : 4.0.0.6/32
Nexthop : 220.0.0.2
Path Id : None
From : 220.0.0.2
Res. Nexthop : 10.14.0.4
Local Pref. : n/a Interface Name : to-sim-6
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : target:65530:20
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 14.14.14.10
Fwd Class : None Priority : None
Flags :
Route Source : External
AS-Path : 14
Modified Attributes
Network : 4.0.0.6/32
Nexthop : 220.0.0.2
Path Id : None
From : 220.0.0.2
Res. Nexthop : 10.14.0.4
Local Pref. : None Interface Name : to-sim-6
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : 2:11 2:12 2:13 target:65530:20
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 14.14.14.10
Fwd Class : None Priority : None
Flags :
Route Source : External
AS-Path : 14
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.6/32
longer neighbor 220.0.0.2
===============================================================================
BGP Router ID:11.11.11.10 AS:11 Local AS:11
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop Path-Id VPNLabel
As-Path
-------------------------------------------------------------------------------
Accepted by Policy
4.0.0.6/32 None None
220.0.0.2 None -
14
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.6/32
longer neighbor 220.0.0.2 detail
===============================================================================
BGP Router ID:11.11.11.10 AS:11 Local AS:11
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network
-------------------------------------------------------------------------------
Accepted by Policy
4.0.0.6/32
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.0/24
longer neighbor 220.0.0.2 brief
===============================================================================
BGP Router ID:11.11.11.10 AS:11 Local AS:11
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network
-------------------------------------------------------------------------------
Accepted by Policy
4.0.0.6/32
-------------------------------------------------------------------------------
Total Routes : 6 Routes rejected : 5
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.0/24
longer neighbor 220.0.0.2 display-rejects detail
===============================================================================
BGP Router ID:11.11.11.10 AS:11 Local AS:11
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network
-------------------------------------------------------------------------------
Rejected by Default action
4.0.0.1/32
Rejected by Default action
4.0.0.2/32
Rejected by Default action
4.0.0.3/32
Rejected by Default action
4.0.0.4/32
Rejected by Default action
4.0.0.5/32
Accepted by Policy
4.0.0.6/32
-------------------------------------------------------------------------------
Total Routes : 6 Routes rejected : 5
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.0/24
longer neighbor 220.0.0.2 display-rejects
===============================================================================
BGP Router ID:11.11.11.10 AS:11 Local AS:11
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop Path-Id VPNLabel
As-Path
-------------------------------------------------------------------------------
Rejected by Default action
4.0.0.1/32 None None
220.0.0.2 None -
14
Rejected by Default action
4.0.0.2/32 None None
220.0.0.2 None -
14
Rejected by Default action
4.0.0.3/32 None None
220.0.0.2 None -
14
Rejected by Default action
4.0.0.4/32 None None
220.0.0.2 None -
14
Rejected by Default action
4.0.0.5/32 None None
220.0.0.2 None -
14
Accepted by Policy
4.0.0.6/32 None None
220.0.0.2 None -
14
-------------------------------------------------------------------------------
Total Routes : 6 Routes rejected : 5
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.0/24
longer neighbor 220.0.0.2 display-rejects brief
===============================================================================
BGP Router ID:11.11.11.10 AS:11 Local AS:11
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network
-------------------------------------------------------------------------------
Rejected by Default action
4.0.0.1/32
Rejected by Default action
4.0.0.2/32
Rejected by Default action
4.0.0.3/32
Rejected by Default action
4.0.0.4/32
Rejected by Default action
4.0.0.5/32
Accepted by Policy
4.0.0.6/32
-------------------------------------------------------------------------------
Total Routes : 6 Routes rejected : 5
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.0/24
longer neighbor 220.0.0.2
===============================================================================
BGP Router ID:11.11.11.10 AS:11 Local AS:11
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop Path-Id VPNLabel
As-Path
-------------------------------------------------------------------------------
Accepted by Policy
4.0.0.6/32 None None
220.0.0.2 None -
14
-------------------------------------------------------------------------------
Total Routes : 6 Routes rejected : 5
A:sim-1# show router bgp policy-test bgpprefix44rej family vpn-ipv4 prefix 0.0.0.0/0
longer neighbor display-rejects
===============================================================================
BGP Router ID:11.11.11.10 AS:11 Local AS:11
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP VPN-IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop Path-Id VPNLabel
As-Path
-------------------------------------------------------------------------------
Accepted by Policy
1:30:192.14.15.0/24 None None
220.0.0.2 None 131069
14
Accepted by Policy
65530:20:8.0.0.1/32 None None
220.0.0.2 None 131070
14
Accepted by Policy
65530:20:10.0.3.0/24 None None
220.0.0.2 None 131070
14 101
Accepted by Policy
65530:20:10.13.0.0/24 None None
220.0.0.2 None 131070
14 101
Accepted by Policy
65530:20:10.23.0.0/24 None None
220.0.0.2 None 131070
14 101
Accepted by Policy
65530:20:13.13.13.13/32 None None
220.0.0.2 None 131070
14 101
Accepted by Policy
65530:20:20.20.20.5/32 None None
220.0.0.2 None 131070
14
Accepted by Policy
65530:20:20.20.20.6/32 None None
220.0.0.2 None 131070
14
Rejected by Policy Entry = 10
65530:20:44.44.44.0/24 None None
220.0.0.2 None 131070
14 101
Accepted by Policy
65530:20:192.14.15.0/24 None None
220.0.0.2 None 131070
14
Accepted by Policy
65530:20:192.14.16.0/24 None None
220.0.0.2 None 131070
14
Accepted by Policy
65530:20:192.14.17.0/24 None None
220.0.0.2 None 131070
14
Accepted by Policy
65530:20:192.14.18.0/24 None None
220.0.0.2 None 131070
14
Accepted by Policy
65530:20:192.14.19.0/24 None None
220.0.0.2 None 131070
14
Accepted by Policy
65530:20:192.14.20.0/24 None None
220.0.0.2 None 131070
14
Accepted by Policy
65530:20:192.14.21.0/24 None None
220.0.0.2 None 131070
14
Accepted by Policy
65530:20:192.14.22.0/24 None None
220.0.0.2 None 131070
14
Accepted by Policy
65530:20:192.14.23.0/24 None None
220.0.0.2 None 131070
14
Accepted by Policy
65530:20:192.14.25.0/24 None None
220.0.0.2 None 131070
14
Accepted by Policy
65530:20:196.34.0.0/24 None None
220.0.0.2 None 131070
14
Accepted by Policy
220.0.0.2:50:192.50.50.0/24 None None
220.0.0.2 None 131067
14
Accepted by Policy
220.0.0.2:50:220.0.0.2/32 None None
220.0.0.2 None 131067
14
-------------------------------------------------------------------------------
Total Routes : 22 Routes rejected : 1
===============================================================================
*A:Dut-C>config>router# show router bgp routes leakable
===============================================================================
BGP Router ID:10.20.1.3 AS:1 Local AS:1
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
l - leaked
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
-------------------------------------------------------------------------------
u*>i 9.9.9.9/32 None None
1.3.5.5 None -
3 6500
u*>i 10.10.10.10/32 None None
1.3.5.5 None -
3 6500
u*>i 10.20.1.5/32 None None
1.3.5.5 None -
3 6500
u*>i 11.11.11.11/32 None None
1.3.5.5 None -
3 6500
u*>i 12.12.12.12/32 None None
1.3.5.5 None -
3 6500
u*>i 13.13.13.13/32 100 None
10.20.1.4 17 -
10 6011
u*>i 14.14.14.14/32 100 None
10.20.1.4 14 -
10 6012
u*>i 15.15.15.15/32 100 None
10.20.1.4 15 -
10 6021
u*>i 16.16.16.16/32 100 None
10.20.1.4 16 -
10 6022
-------------------------------------------------------------------------------
Routes : 9
===============================================================================
*A:Dut-C>config>router# show router bgp routes leaked
===============================================================================
BGP Router ID:10.20.1.3 AS:1 Local AS:1
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
l - leaked
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
-------------------------------------------------------------------------------
u*>li 1.1.1.1/32 100 None
39.1.1.2 (VPRN 1) None -
3011
u*>li 2.2.2.2/32 100 None
39.1.2.2 (VPRN 1) None -
3012
u*>li 3.3.3.3/32 100 None
39.2.1.2 (VPRN 1) None -
3021
u*>li 4.4.4.4/32 100 None
39.2.2.2 (VPRN 1) None -
3022
-------------------------------------------------------------------------------
Routes : 4
===============================================================================
A:pe1# show router bgp routes vpn-ipv4 2.0.0.0/8 detail
===============================================================================
BGP Router ID:192.0.2.1 AS:65001 Local AS:65001
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP VPN-IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
Original Attributes
Network : 2.0.0.0/8
Nexthop : 192.0.2.2
Route Dist. : 65001:2 VPN Label : 262142
Path Id : None
From : 192.0.2.2
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : to_4008
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : target:65001:1
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 192.0.2.2
Fwd Class : None Priority : None
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : No As-Path
Route Tag : 0
Neighbor-AS : N/A
Orig Validation: N/A
Source Class : 0 Dest Class : 0
Add Paths Send : Default
Last Modified : 01h48m27s
VPRN Imported : 1
Modified Attributes
Network : 2.0.0.0/8
Nexthop : 192.0.2.2
Route Dist. : 65001:2 VPN Label : 262142
Path Id : None
From : 192.0.2.2
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : to_4008
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : target:65001:1
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 192.0.2.2
Fwd Class : None Priority : None
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : No As-Path
Route Tag : 0
Neighbor-AS : N/A
Orig Validation: N/A
Source Class : 0 Dest Class : 0
Add Paths Send : 3
Last Modified : 01h49m47s
VPRN Imported : 1