
Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-30
Example
# Allow the internal BGP session to use any operable interface for a TCP connection.
[Quidway-bgp] ipv4-family vpn-instance test
[Quidway-bgp-af-vpn-instance] peer 1.1.1.1 connect-interface loopback 0
2.1.33 peer default-route-advertise
Syntax
peer
group-name
default-route-advertise
undo
peer
group-name
default-route-advertise
View
VPN-instance subaddress family view
Parameter
group-name
: Name of a neighbor peer group, consisting of 1 to 47 alphanumeric
characters.
Description
Use the
peer
default-route-advertise
command to enable a peer (group) to transmit a
default route.
Use the
undo peer
default-route-advertise
command to remove the existing
configuration.
By default, a peer (group) does not transmit a default route.
This command does not require any default route in the routing table but transmits a
default route whose next hop address is itself to the peer unconditionally.
Example
# Enable the peer group test to transmit a default route.
[Quidway-bgp] ipv4-family vpn-instance a
[Quidway-bgp-af-vpn-instance] peer test default-route-advertise
2.1.34 peer default-route-advertise vpn-instance
Syntax
peer
ip-address
default-route-advertise vpn-instance vpn-instance name
undo
peer
ip-address
default-route-advertise vpn-instance vpn-instance name
View
VPNv4 subaddress family view