3Com 3031 Command Reference Manual page 633

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

default local-preference
default med
Example
Enable the information debugging of BGP packets.
<3Com> debugging bgp packet
Syntax
default local-preference value
undo default local-preference
View
BGP unicast view, BGP multicast view, VPNv4 view
Parameter
value: Default local preference 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
Using the default local-preference command, you can configure the default local
preference. Using the undo default local-preference command, you can restore
the default value.
Configuring different local preferences will affect BGP routing selection.
Example
The two routers RTA and RTB in the same autonomous area use X.25 and Frame
Relay protocols separately to connect with external autonomous areas. The
command can be used to configure the default local preference of RTB as 180 so
that the route via RTB is selected first when the same route goes through RTA and
RTB at the same time.
[3Com-bgp] default local-preference 180
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
Using the default med command, you can configure the system MED value. Using
the undo default med command, you can restore the default value of metric.
Multi-Exit Distinguish (MED) is the external metric of a route. Different from local
preference, MED is exchanged between ASs and will stay in the AS. MED indicates
the attribute of a route. The smaller an MED is, the better a route is. So the route
with a low MED is preferred.When a router running BGP obtains several routes
BGP Configuration Commands
633

Advertisement

Table of Contents
loading

Table of Contents