286
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
ipv4: Displays IPv4 address family information.
ipv6: Displays IPv6 address family information.
unicast: Displays IPv4 or IPv6 unicast address family information regardless of whether this keyword is
specified or not.
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 routing information for the
public network.
Examples
# Display information about routes advertised by the network command and shortcut routes configured
by the network short-cut command in the IPv4 unicast address family for the public network.
<Sysname> display bgp network ipv4
BGP local router ID: 192.168.1.135
Local AS number: 100
Network Mask Route-policy Short-cut
20.1.1.0 255.255.255.0 No
40.1.1.0 255.255.255.0 abc No
30.1.1.0 255.255.255.0 Yes
# Display information about routes advertised by the network command and shortcut routes configured
by the network short-cut command in the IPv6 unicast address family for the public network.
<Sysname> display bgp network ipv6
BGP local router ID: 192.168.1.135
Local AS number: 100
Network PrefixLen Route-policy Short-cut
1:: 24 No
2:: 24 No
3:: 64 policy1 No
2:: 24 Yes
# Display information about routes advertised by the network command and shortcut routes configured
by the network short-cut command in the IPv4 unicast address family in VPN instance vpn1.
<Sysname> display bgp network ipv4 vpn-instance vpn1
BGP local router ID: 192.168.1.135
Local AS number: 100