236
4. Enter BGP IPv4 unicast
address family view or
BGP-VPN IPv4 unicast
address family view.
• Enter BGP IPv4 unicast
address family view:
address-family ipv4
[ unicast ]
• Enter BGP-VPN IPv4 unicast
address family view:
a. ip vpn-instance
vpn-instance-name
b. address-family ipv4
N/A
5. Enable BGP to advertise
optimal routes in the IP
routing table of the address
family in the VPN instance.
advertise-rib-active
By default, the setting is the same
as that in BGP instance view.
To enable BGP to advertise optimal routes in the IPv6 routing table (IPv6 unicast):
1. Enter system view.
N/A
2. Enter BGP instance view.
bgp
as-number [
instance
instance-name ]
N/A
3. Enable BGP to advertise
optimal routes in the IPv6
routing table.
advertise-rib-active
By default, BGP advertises
optimal routes in the BGP routing
table.
4. Enter BGP IPv6 unicast
address family view or
BGP-VPN IPv6 unicast
address family view.
• Enter BGP IPv6 unicast
address family view:
address-family ipv6
[ unicast ]
• Enter BGP-VPN IPv6 unicast
address family view:
a. ip vpn-instance
vpn-instance-name
b. address-family ipv6
N/A
5. Enable BGP to advertise
optimal routes in the IPv6
routing table of the address
family in the VPN instance.
advertise-rib-active
By default, the setting is the same
as that in BGP instance view.
Advertising a default route to a peer or peer group
Perform this task to advertise a default BGP route with the next hop being the advertising router to a
peer or peer group.
To advertise a default route to a peer or peer group (IPv4 unicast/multicast address family):
1. Enter system view.
system-view
N/A