Command Manual – MPLS L3VPN
H3C S9500 Series Routing Switches
Chapter 1 MPLS L3VPN Configuration Commands
1-40
Use the
undo peer default-route-advertise vpn-instance
command to remove the
configuration.
By default, no default route is advertised to a peer or peer group.
Related commands:
peer upe
.
Examples
# In BGP-VPNv4 subaddress family view, specify to advertise default routes of VPN
instance vpn1 to peer 1.1.1.1.
<Sysname> system-view
[Sysname] bgp 100
[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
1.1.31 peer enable
Syntax
peer
{
ip-address
|
group-name
}
enable
undo peer
{
ip-address
|
group-name
}
enable
View
BGP-VPNv4 subaddress family view/BGP-L2VPN address family view/VPLS address
family view
Default Level
2: System level
Parameters
ip-address
: IP address of the peer.
group-name
: Name of the peer group.
Description
Use the
peer enable
command to enable a peer or peer group for an address family
and enable the exchange of BGP routing information of the address family.
Use the
undo peer enable
command to disable the capability.
By default, only IPv4 routing information is exchanged between BGP peers/peer
groups.