Switch 7700 Command reference Guide, v2.0

Table Of Contents
200 CHAPTER 5: USING ROUTING PROTOCOL COMMANDS
display bgp
routing-table as-path-acl
Syntax
display bgp routing-table as-path-acl acl_number
View
All views
Parameter
acl_number: Specify 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.
<SW7700>display bgp routing-table as-path-acl 1
Flags: # - valid, ^ - best,
D - damped, H - history,
I - internal, S Ð aggregate suppressed
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
Next Hop IP address of next hop
Med MULTI_EXIT_DISC attribute value, which ranges from 0 to 4294967295
Local-Pref Local preference, which ranges from 0 to 4294967295
Origin Origin attribute of route, which indicates that the route updates its origin
relative to the route originating it from AS. It has three optional values:
IGP The route belongs to inside of AS. BGP treats aggregate route and
the route defined by the command network as inside of AS, and
origin type as IGP.
EGP The route is learned from exterior gateway protocol (EGP).
INC Short for INCOMPLETE: indicates that the original source of the
route information is unknown (learned by other methods). BGP
sets the origin of the route imported through other IGP protocols
as INCOMPLETE
As-path AS-path attribute of route, which records all AS areas that the route passes.
With it, route loop can be avoided
Table 13 Description of information generated by the command display bgp
routing-table