filmov
tv
How to Configure BGP Metric (MED) Attribute: Short & Easy Tutorial

Показать описание
Learn how to configure the BGP BGP Metric (MED) Attribute in this short and easy tutorial
⌚ TIMESTAMPS
0:00 Introduction
6:05 Configuration
6:19 Verification
13:38 Conclusion
The metric attribute also has the name MULTI_EXIT_DISCRIMINATOR, MED (BGP4), or INTER_AS (BGP3).
The attribute is a hint to external neighbors about the path preference into an AS.
The attribute provides a dynamic way to influence another AS in the way to reach a certain route when there are multiple entry points into that AS.
A lower metric value is preferred more.
CONFIGURE:
R1:
conf t
route-map SET-MED-1000 permit 10
set metric 1000
!
router bgp 1
neighbor 10.10.13.3 route-map SET-MED-1000 out
end
wr
R2:
conf t
route-map SET-MED-500 permit 10
set metric 500
!
router bgp 1
neighbor 10.10.23.3 route-map SET-MED-500 out
end
wr
VERIFY:
show ip bgp sum
show ip bgp 1.1.1.0/24
show ip bgp
show ip route
clear ip bgp * soft out
BGP Configuration:
R1:
conf t
router bgp 1
bgp log-neighbor-changes
network 1.1.1.0 mask 255.255.255.0
neighbor 10.10.13.3 remote-as 2
end
wr
R2:
conf t
router bgp 1
bgp log-neighbor-changes
network 1.1.1.0 mask 255.255.255.0
neighbor 10.10.23.3 remote-as 2
end
wr
R3:
conf t
router bgp 2
bgp log-neighbor-changes
neighbor 10.10.13.1 remote-as 1
neighbor 10.10.23.2 remote-as 1
end
wr
🔔 Stay Updated! Consider Subscribing to My YouTube Channel:
📺 Explore My Complete BGP Video Playlist: Watch and Learn:
References:
Metric Attribute:
How BGP Routers Use the Multi-Exit Discriminator for Best Path Selection:
Understanding BGP MED Attribute:
#BGPConfigMadeEasy #BGPConfigGuide #BGPShortGuide #BGPHowTo #BGPConfig101 #BGPConfigTutorial #BGPAttributeMED #BGPConfiguration #BGPBeginnersGuide #EasyBGPConfig #BGPConfigExplained
⌚ TIMESTAMPS
0:00 Introduction
6:05 Configuration
6:19 Verification
13:38 Conclusion
The metric attribute also has the name MULTI_EXIT_DISCRIMINATOR, MED (BGP4), or INTER_AS (BGP3).
The attribute is a hint to external neighbors about the path preference into an AS.
The attribute provides a dynamic way to influence another AS in the way to reach a certain route when there are multiple entry points into that AS.
A lower metric value is preferred more.
CONFIGURE:
R1:
conf t
route-map SET-MED-1000 permit 10
set metric 1000
!
router bgp 1
neighbor 10.10.13.3 route-map SET-MED-1000 out
end
wr
R2:
conf t
route-map SET-MED-500 permit 10
set metric 500
!
router bgp 1
neighbor 10.10.23.3 route-map SET-MED-500 out
end
wr
VERIFY:
show ip bgp sum
show ip bgp 1.1.1.0/24
show ip bgp
show ip route
clear ip bgp * soft out
BGP Configuration:
R1:
conf t
router bgp 1
bgp log-neighbor-changes
network 1.1.1.0 mask 255.255.255.0
neighbor 10.10.13.3 remote-as 2
end
wr
R2:
conf t
router bgp 1
bgp log-neighbor-changes
network 1.1.1.0 mask 255.255.255.0
neighbor 10.10.23.3 remote-as 2
end
wr
R3:
conf t
router bgp 2
bgp log-neighbor-changes
neighbor 10.10.13.1 remote-as 1
neighbor 10.10.23.2 remote-as 1
end
wr
🔔 Stay Updated! Consider Subscribing to My YouTube Channel:
📺 Explore My Complete BGP Video Playlist: Watch and Learn:
References:
Metric Attribute:
How BGP Routers Use the Multi-Exit Discriminator for Best Path Selection:
Understanding BGP MED Attribute:
#BGPConfigMadeEasy #BGPConfigGuide #BGPShortGuide #BGPHowTo #BGPConfig101 #BGPConfigTutorial #BGPAttributeMED #BGPConfiguration #BGPBeginnersGuide #EasyBGPConfig #BGPConfigExplained
Комментарии