190
BGP configuration views
BGP uses different views to manage routing information for different address families and different VPN
instances. Most BGP commands are available in all BGP views. BGP supports multiple VPN instances by
establishing a separate routing table for each VPN instance.
Table 11
describes different BGP configuration views.
Table 11
BGP configuration views
View names
Ways to enter the views
Remarks
BGP view
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp]
Configurations in this view apply to
all address families of the public
network and all VPN instances (such
as confederation, GR, and logging
configurations), or apply to all
address families of the public
network.
BGP IPv4 unicast address
family view
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family
ipv4 unicast
[Sysname-bgp-ipv4]
Configurations in this view apply to
IPv4 unicast routes and peers on the
public network.
BGP IPv6 unicast address
family view
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family
ipv6 unicast
[Sysname-bgp-ipv6]
Configurations in this view apply to
IPv6 unicast routes and peers on the
public network.
BGP IPv4 multicast address
family view
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family
ipv4 multicast
[Sysname-bgp-mul-ipv4]
Configurations in this view apply to
IPv4 multicast routes and peers.
BGP IPv6 multicast address
family view
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family
ipv6 multicast
[Sysname-bgp-mul-ipv6]
Configurations in this view apply to
IPv6 multicast routes and peers.
BGP VPNv4 address family
view
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family
vpnv4
[Sysname-bgp-vpnv4]
Configurations in this view apply to
VPNv4 routes and peers.
For more information about BGP
VPNv4 address family view, see
MPLS Configuration Guide
.
BGP VPNv6 address family
view
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] address-family
vpnv6
[Sysname-bgp-vpnv6]
Configurations in this view apply to
VPNv6 routes and peers.
For more information about BGP
VPNv6 address family view, see
MPLS Configuration Guide
.