Configuring The Med Attribute - HP FlexFabric 12900E Series Configuration Manual

Hide thumbs Also See for FlexFabric 12900E Series:
Table of Contents

Advertisement

Configuring the MED attribute

BGP uses MED to determine the optimal route for traffic going into an AS. When a BGP router
obtains multiple routes with the same destination but with different next hops, it considers the route
with the smallest MED value as the optimal route if other conditions are the same.
Configuring the default MED value
To configure the default MED value (IPv4 unicast/multicast address family):
Step
1.
Enter system view.
2.
Enter BGP IPv4 unicast
address
BGP-VPN
address family view, or BGP
IPv4 multicast address family
view.
3.
Configure the default MED
value.
To configure the default MED value (IPv6 unicast address family):
Step
1.
Enter system view.
Command
system-view
Enter
address family view:
a. bgp
b. address-family
Enter BGP-VPN IPv4 unicast
address family view:
c. bgp
family
view,
IPv4
unicast
d. ip
e. address-family
Enter BGP IPv4 multicast
address family view:
f. bgp
g. address-family
default med med-value
Command
system-view
BGP IPv4
unicast
as-number
[
instance
instance-name
[ multi-session-thread ]
ipv4
[ unicast ]
as-number
[
instance
instance-name
[ multi-session-thread ]
vpn-instance
vpn-instance-name
ipv4
[ unicast ]
as-number
[
instance
instance-name
[ multi-session-thread ]
ipv4
multicast
244
Remarks
N/A
]
]
N/A
]
The default MED value is 0.
Remarks
N/A

Advertisement

Table of Contents
loading

Table of Contents