EasyManua.ls Logo

HP 6125XLG - Configuring the MED Attribute

HP 6125XLG
414 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
195
Step Command Remarks
2. Enter BGP view or BGP-VPN
instance view.
• Enter BGP view:
bgp as-number
• Enter BGP-VPN instance view:
a. bgp as-number
b. ip vpn-instance
vpn-instance-name
N/A
3. Enter BGP IPv4 unicast
instance view or BGP-VPN
IPv4 unicast instance view.
ipv4-family [ unicast ] N/A
4. Configure the default local
preference.
default local-preference value
The default local preference is
100.
To specify the default local preference (IPv6):
Step Command Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view or BGP-VPN
instance view.
• Enter BGP view:
bgp as-number
• Enter BGP-VPN instance view:
a. bgp as-number
b. ip vpn-instance
vpn-instance-name
N/A
3. Enter BGP IPv6 unicast
instance view or BGP-VPN
IPv6 unicast instance view.
ipv6-family [ unicast ] N/A
4. Configure the default local
preference.
default local-preference value
The default local preference is
100.
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 Command Remarks
1. Enter system view.
system-view N/A
2. Enter BGP view or BGP-VPN
instance view.
• Enter BGP view:
bgp as-number
• Enter BGP-VPN instance view:
a. bgp as-number
b. ip vpn-instance
vpn-instance-name
N/A

Table of Contents

Other manuals for HP 6125XLG

Related product manuals