3com 8807 Reference Guide

Page of 1099
732
C
HAPTER
 40: BGP/MPLS VPN C
ONFIGURATION
 C
OMMANDS
Example
# Allow the internal BGP session to use any operable interface for a TCP 
connection.
[3Com-bgp] ipv4-family vpn-instance test
 
[3Com-bgp-af-vpn-instance] peer 1.1.1.1 connect-interface loopback 0 
peer 
default-route-advertise
Syntax
peer group-name default-route-advertise
undo peer group-name default-route-advertise
View
VPN-instance sub-address 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.
[3Com-bgp] ipv4-family vpn-instance a
 
[3Com-bgp-af-vpn-instance] peer test default-route-advertise 
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 sub-address family view
Parameter
ip-address: Peer IP address.
vpn-instance name: Name of the created VPN instance.