Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide
Chapter 5 BGP Configuration Commands
3Com Corporation
5-10
5.1.11 default local-preference
Syntax
default local-preference value
undo default local-preference
View
BGP unicast view, BGP multicast view, VPNv4 view
Parameter
value: Local preference value to be configured. The range is 0 to 4294967295, the
larger the value is, the higher the preference is. By default, its value is 100.
Description
Use the default local-preference command to configure the local preference.
Use the undo default local-preference command to restore the default value.
Configuring different local preferences will affect BGP routing selection.
Example
# Two routers RTA and RTB reside in the same autonomous area and use the X.25 and
Frame Relay protocols separately to connect with external autonomous areas. The
command can be used to configure the local preference of RTB as 180 so that the route
via RTB is preferred to forward packets.
[3Com -bgp] default local-preference 180
5.1.12 default med
Syntax
default med med-value
undo default med
View
BGP unicast view, BGP multicast view, VPNv4 view, VPN instance view
Parameter
med-value: MED value to be specified. The range is 0 to 4294967295. By default, the
med-value is 0.
Description
Use the default med command to configure the system MED value.