R3102-R3103-HP 6600/HSR6600 Routers Layer 3 - IP Routing Command Reference

233
Field Description
MED Multi-Exit Discriminator attribute.
LocPrf Local preference value.
PrefVal Preferred value of the route.
Path AS_PATH attribute, recording the ASs the packet has passed to avoid routing loops.
PrefVal Preferred value.
Ogn
Origin attribute of the route:
i—The route is interior to the AS. Summary routes and the routes injected with the
network command are considered IGP routes.
e—The route is learned from the Exterior Gateway Protocol (EGP).
?—Short for INCOMPLETE. It indicates that the origin of the route is unknown and the
route is learned by other means.
display bgp routing-table as-path-acl
Use display bgp routing-table as-path-acl to display BGP routes permitted by an as-path ACL.
Syntax
display bgp routing-table as-path-acl as-path-acl-number [ | { begin | exclude | include }
regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
as-path-acl-number: Displays routing information permitted by the AS path ACL, which is specifies with a
number from 1 to 256.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.
Examples
# Display BGP routes permitted by AS path ACL 1.
<Sysname> display bgp routing-table as-path-acl 1
BGP Local router ID is 20.20.20.1
Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale