3com 8807 Reference Guide

Page of 1099
710
C
HAPTER
 40: BGP/MPLS VPN C
ONFIGURATION
 C
OMMANDS
View
VPNv4 sub-address family view
Parameter
value: Value of the local precedence, ranging from 0 to 4294967295. A greater 
value enjoys higher precedence. The default local precedence is 100.
Description
Use the default local-preference command to configure the local precedence 
for BGP routing in VPN.
Use the undo default local-preference command to restore the default 
configuration.
The value of the local precedence is advertised between IBGP peers and you can 
affect the BGP routing in VPN by changing the precedence.
Example
# Set the local precedence to be 180, so that the system-advertised routing 
information will be preferred.
[3Com-bgp-af-vpn] default local-preference 180 
default med
Syntax
default med med-value
undo default med
View
VPNv4 sub-address family view, VPN-instance sub-address family view
Parameter
med-value: MED value, ranging from 0 to 4294967295. The default value is 0.
Description
Use the default med command to configure the MED value of the system.
Use the undo default med command to restore the default value.
MED attributes, switched between autonomous system (AS), is an external 
measurement for routes and does not leave AS once entering it. The route with 
smaller MED value will be selected as the external one for AS when other 
conditions hold.
Example
# The routers RTA and RTB belong to AS100 and the router RTC belongs to 
AS200. RTC associates with RTA and RTB. Set the MED value of RTA 25. This 
makes the RTC prefer the route sent by RTB.
[3Com-bgp-af-vpn-instance] default med 25