Configuring The Med Attribute - HP 6125XLG Layer 3 - Ip Routing Configuration Manual

Blade switch
Hide thumbs Also See for 6125XLG:
Table of Contents

Advertisement

To specify the default local preference (IPv4):
Step
1.
Enter system view.
2.
Enter BGP view or BGP-VPN
instance view.
3.
Enter BGP IPv4 unicast
address family view or
BGP-VPN IPv4 unicast
address family view.
4.
Configure the default local
preference.
To specify the default local preference (IPv6):
Step
1.
Enter system view.
2.
Enter BGP view or BGP-VPN
instance view.
3.
Enter BGP IPv6 unicast
address family view or
BGP-VPN IPv6 unicast
address family view.
4.
Configure the default local
preference.

Configuring the MED attribute

BGP uses MED to determine the best route for traffic going into an AS. When a BGP router obtains from
EBGP peers multiple routes to the same destination but with different next hops, it considers the route with
the smallest MED value as the best route if other conditions are the same.
Configuring the default MED value
To configure the default MED value (IPv4):
Step
1.
Enter system view.
Command
system-view
Enter BGP view:
bgp as-number
Enter BGP-VPN instance view:
a.
bgp as-number
b.
ip vpn-instance
vpn-instance-name
address-family ipv4 [ unicast ]
default local-preference value
Command
system-view
Enter BGP view:
bgp as-number
Enter BGP-VPN instance view:
a.
bgp as-number
b.
ip vpn-instance
vpn-instance-name
address-family ipv6 [ unicast ]
default local-preference value
Command
system-view
219
Remarks
N/A
N/A
N/A
The default local preference is
100.
Remarks
N/A
N/A
N/A
The default local preference is
100.
Remarks
N/A

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series5900 series

Table of Contents