10
received-routes: Displays routing information received from the specified peer.
regular-expression as-regular-expression: Displays routing information matching the specified AS regular
expression.
statistic: Displays BGP VPNv4 route statistics.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the 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, which is a case-sensitive string of 1 to 256 characters.
Examples
# Display the BGP VPNv4 routing information of VPN instance vpn1.
<Sysname> display bgp vpnv4 vpn-instance vpn1 routing-table
Total Number of Routes: 5
BGP Local router ID is 2.2.2.2
Status codes: * - valid, > - best, d - damped,
h - history, i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
Network NextHop MED LocPrf PrefVal Path/Ogn
*>i 10.0.0.0 1.1.1.1 0 100 0 i
*> 10.1.1.0/24 0.0.0.0 0 0 ?
*> 20.0.0.0 10.1.1.1 0 99 200?
*>i 123.1.1.1/32 1.1.1.1 0 100 0 ?
*> 124.1.1.1/32 0.0.0.0 0 0 ?
Table 6 Command output
Field Description
Total Number of Routes Total number of routes.
BGP Local router ID Router ID of the local BGP router.
Status codes Route status code. For valid values.
Origin Route origin code. For valid values.
Network Network address in the BGP routing table.
NextHop Address of the next hop.
MED Metric associated with the destination network.
LocPrf Local preference.
PrefVal Preferred value of the protocol.
Path/Ogn AS_PATH attribute/Route origin code.