R3303-HP HSR6800 Routers MPLS Command Reference
321
Use undo peer default-route-advertise vpn-instance to remove the configuration.
Syntax
peer { group-name | ip-address } default-route-advertise vpn-instance vpn-instance-name
undo peer { group-name | ip-address } default-route-advertise vpn-instance vpn-instance-name
Default
No default route is advertised to a peer or peer group.
Views
BGP-VPNv4 subaddress family view
Default command level
2: System level
Parameters
group-name: Specifies the name of the peer group, a case-sensitive string of 1 to 47 characters.
ip-address: Specifies the IP address of the peer.
vpn-instance-name: Specifies the name of the VPN instance, a case-sensitive string of 1 to 31 characters.
Usage guidelines
After you execute this command, the device always advertises a default route with the local address as
the next hop for the specified VPN instance to the specified peer or peer group, regardless of whether the
default route is present in the local routing table for the VPN.
Examples
# In BGP-VPNv4 subaddress family view, advertise a default route for VPN instance vpn1 t o p e e r 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpnv4
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 enable
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 upe
[Sysname-bgp-af-vpnv4] peer 1.1.1.1 default-route-advertise vpn-instance vpn1
peer enable (BGP-VPNv4 subaddress family view/BGP-L2VPN
address family view/VPLS address family view)
Use peer enable to enable a peer or peer group for an address family and enable the exchange of BGP
routing information for the address family.
Use undo peer enable to disable the capability.
Syntax
peer { group-name | ip-address } enable
undo peer { group-name | ip-address } enable
Default
Only IPv4 routing information is exchanged between BGP peers/peer groups.










