display bgp routing-table ipv4 unicast advertise-info

Use display bgp routing-table ipv4 unicast advertise-info to display advertisement information for BGP IPv4 unicast routes.

Syntax

display bgp routing-table ipv4 [ unicast ] [ vpn-instance vpn-instance-name ] network-address [ mask | mask-length ] advertise-info

Views

Any view

Predefined user roles

network-admin

network-operator

mdc-admin

mdc-operator

Parameters

vpn-instance vpn-instance-name: Specifies an MPLS L3VPN instance by its name, a case-sensitive string of 1 to 31 characters. If no VPN instance is specified, the command displays advertisement information of BGP IPv4 unicast routes for the public network.

network-address: Specifies a destination network address.

mask: Specifies a network mask, in dotted decimal notation.

mask-length: Specifies a mask length in the range of 0 to 32.

Usage guidelines

The command with the unicast keyword has the same effect as that without the unicast keyword.

Examples

# Display advertisement information of BGP IPv4 unicast routes destined to network 10.2.1.0/24 for the public network.

<Sysname> display bgp routing-table ipv4 10.2.1.0 24 advertise-info

 BGP local router ID: 192.168.100.1
 Local AS number: 100

 Paths:   1 best

 BGP routing table information of 10.2.1.0/24:
 Advertised to peers (1 in total):
    10.2.1.2

Table 85: Command output

Field

Description

Paths

Number of optimal routes destined to the specified network.

BGP routing table information of 10.2.1.0/24

Advertisement information of BGP routes destined to network 10.2.1.0/24.

Advertised to peers (1 in total)

Peers to which the route has been advertised and the number of peers.