BGP Configuration Commands 511
display bgp 
routing-table as-path-acl
Syntax
display bgp routing-table as-path-acl acl-number
View
Any view
Parameter
acl-number: Specifies matched AS path list number ranging from 1 to 199.
Description
Use the display bgp routing-table as-path-acl command to view routes that 
match an as-path acl.
Example
# Display routes that match the as-path-acl 1.
<SW8800> display bgp routing-table as-path-acl 1 
Flags:     # - valid,        ^ - best, 
          D - damped,   H - history, 
          I - internal,     S - aggregate suppressed 
        B - balance 
 
 Dest/Mask Pref Next-Hop Med Local-pref Origin As-path 
-------------------------------------------------------------------- 
#^ 1.1.1.0/24 256 10.10.10.1    0                 IGP 200 
#^ 1.1.2.0/24 256 10.10.10.1    0                 IGP 200 
#^ 1.1.3.0/24 256 10.10.10.1    0                 IGP 200 
#^ 2.2.3.0/24 256 10.10.10.1    0                 INC 200 
#^ 4.4.4.0/24 256 10.10.10.1    0                 INC 200 
#^ 9.9.9.0/24 256 10.10.10.1    0                 INC 200 
#^ 10.10.10.0/24 256 10.10.10.1    0                   IGP 200 
#^ 22.1.0.0/16 256 200.1.7.2 100 INC 200 
#   88.1.0.0/16 60 0.0.0.0  IGP 
As-path 
AS-path attribute of route, which records all AS areas that the route passes. With 
it, route loop can be avoided
Table 74   Description of the fields of the display bgp routing-table command
Field Description 
Tab le  75   Description of the fields of the display bgp routing-table as-path-acl command
Field  Description 
Dest/Mask  Destination address/Mask 
Pref  Preference 
Nexthop  IP address of next hop 
Med  MULTI_EXIT_DISC attribute value 
Local-pref  Local preference