display bgp paths
Use display bgp paths to display BGP path attribute information.
Syntax
display bgp [ instance instance-name ] paths [ as-regular-expression ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
instance instance-name: Specifies a BGP instance by its name, a case-sensitive string of 1 to 31 characters. If you do not specify this option, the command displays BGP path attribute information for the default BGP instance.
as-regular-expression: Displays information about BGP path attributes whose AS_PATH attribute matches the specified regular expression. The as-regular-expression argument is a string of 1 to 256 characters. If you do not specify this argument, the command displays information about all BGP path attributes.
Examples
# Display information about all BGP path attributes.
<Sysname> display bgp paths RefCount MED Path/Origin 3 0 ? 2 0 100i 3 0 100i 1 0 ? 1 0 ? 1 0 ?
Table 91: Command output
Field | Description |
---|---|
RefCount | Number of BGP routes with these path attributes. |
MED | MULTI_EXIT_DISC attribute. |
Path/Origin | AS_PATH and ORIGIN attributes of the route:
|