For feedback and comments:
documentation.feedback@alcatel-lucent.com

Table of Contents Previous Next PDF


Show Commands
policy
Syntax
policy [name | prefix-list name | admin]
Context
show>router
Description
This command displays configured policy statement information.
Parameters
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.
prefix-list name
Displays the prefix lists configured in the route policy.
admin
If the keyword admin is included, the entire policy option configuration displays, including any un-committed configuration changes. This command is similar to the info command.
Output
Route Policy Output
The following table describes route policy output fields.
The following route policy commands are displayed with different command parameter options:
Sample Output
The show router policy command displays all configured route policies.
show router policy
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.
show router policy admin
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'"
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#
show router policy “BGP To RIP”
 
The show router policy damping command displays information about the route policy damping configurations.
show router policy damping
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#
 
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
Spedivies 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)
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