display ip as-path
Use display ip as-path to display BGP AS path list information.
Syntax
display ip as-path [ as-path-number ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
as-path-number: Specifies an AS path list by its number in the range of 1 to 256. If you do not specify this argument, the command displays information about all BGP AS path lists.
Examples
# Display information about BGP AS path list 1.
<Sysname> display ip as-path 1 ListID Mode Expression 1 Permit 2
Table 177: Command output
Field | Description |
---|---|
ListID | AS path list ID. |
Mode | Match mode:
|
Expression | Regular expression used to match routes. |