The display bgp network command displays the routes imported into the BGP routing table using the network command.
| Parameter | Description | Value |
|---|---|---|
| vpnv4 |
Displays the VPNv4 routes that are advertised using the network command. |
- |
| all |
Displays all the VPNv4 routes that are advertised using the network command. |
- |
| vpn-instance vpn-instance-name |
Displays the routes of a specified VPN instance that are advertised using the network command. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string. |
| instance instance-name |
Specifies a BGP multi-instance. |
The value is a string of 1 to 31 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string. |
| labeled |
Specifies a labeled address family. |
- |
The actual command output varies according to the device. The command output here is only an example.
<HUAWEI> display bgp network
BGP Local Router ID is 1.1.1.9
Local AS Number is 10(Public)
Network Mask Non-Relay-Tunnel Route-policy
1.2.0.0 255.255.0.0 false
3.0.0.0 255.0.0.0 false Policy1
4.4.4.0 255.255.255.0 true
<HUAWEI> display bgp vpnv4 all network
BGP Local Router ID is 2.2.2.9
Local AS Number is 100
VPN-Instance vpn1, Router ID 2.2.2.9:
Network Mask Route-policy
4.4.4.4 255.255.255.255
VPN-Instance vpn2, Router ID 2.2.2.9:
Network Mask Route-policy
5.5.5.5 255.255.255.255
| Item | Description |
|---|---|
| BGP Local Router ID is | ID of the local BGP device. The ID is in the same format as an IPv4 address. |
| Local AS Number is | Local AS number. |
| Router ID | Router ID of the device. |
| Network | Locally-imported network address. |
| Mask | Mask of the network address. |
| Non-Relay-Tunnel | Whether the routes imported by BGP do not recurse to tunnels:
|
| Route-policy | Used routing policy. |
| VPN-Instance | VPN-Instance. |