BGP P 1: Attribute Types About BGP
BGP P 1: Attribute Types About BGP
packetlife.net
Attribute Types
About BGP
Type Path Vector
Attributes
Name
Type Description
Protocols IP
Aggregator
OT
AS Path
WM
Atomic Aggregate
WD
Cluster ID
ON
Originating cluster
Community
OT
Route tag
Local Preference
WD
Terminology
Autonomous System (AS) A logical
domain under the control of a single entity
External BGP (eBGP) BGP neighborships
formed between autonomous systems
Multiple Exit
Discriminator (MED)
ON
Next Hop
WM
Origin
WM
Originator ID
ON
Weight
Packet Types
Open
Update
Keepalive
Notification
Neighbor States
Idle Neighbor is not responding
Path Selection
Order
Authentication MD5
Description
Preference
1 Weight
Administrative preference
Highest
2 Local
Preference
Highest
3 Self-Originated
True
4 AS Path
Minimize AS hops
Shortest
show ip bgp
5 Origin
IGP
6 MED
Lowest
7 External
eBGP
8 IGP Cost
Lowest
9 eBGP Peering
Oldest
Tie breaker
Lowest
10 Router ID
Troubleshooting
BGP PART 2
packetlife.net
Configuration Example
Router A
interface Serial1/0
description Backbone to B
ip address 172.16.0.1 255.255.255.252
!
interface Serial1/1
description Backbone to C
ip address 172.16.0.5 255.255.255.252
!
interface FastEthernet2/0
description LAN
ip address 192.168.1.1 255.255.255.0
!
router bgp 65100
no synchronization
network 172.16.0.0 mask 255.255.255.252
network 172.16.0.4 mask 255.255.255.252
network 192.168.1.0
neighbor South peer-group
neighbor South remote-as 65200
neighbor 172.16.0.2 peer-group South
neighbor 172.16.0.6 peer-group South
no auto-summary
Router B
Router C
interface FastEthernet0/0
description Local to C
ip address 10.0.0.1 255.255.255.252
!
interface Serial1/0
description Backbone to A
ip address 172.16.0.2 255.255.255.252
!
interface FastEthernet2/0
description LAN
ip address 192.168.2.1 255.255.255.0
!
router ospf 100
network 10.0.0.1 0.0.0.0 area 0
network 192.168.2.0 0.0.0.255 area 1
!
router bgp 65200
no synchronization
redistribute ospf 100 route-map LAN_Subnets
neighbor 10.0.0.2 remote-as 65200
neighbor 172.16.0.1 remote-as 65100
no auto-summary
!
access-list 10 permit 192.168.0.0 0.0.255.255
!
route-map LAN_Subnets permit 10
match ip address 10
set metric 100
interface FastEthernet0/0
description Local to B
ip address 10.0.0.2 255.255.255.252
!
interface Serial1/0
description Backbone to A
ip address 172.16.0.6 255.255.255.252
!
interface FastEthernet2/0
description LAN
ip address 192.168.3.1 255.255.255.0
!
router ospf 100
network 10.0.0.2 0.0.0.0 area 0
network 192.168.3.0 0.0.0.255 area 2
!
router bgp 65200
no synchronization
redistribute ospf 100 route-map LAN_Subnets
neighbor 10.0.0.1 remote-as 65200
neighbor 172.16.0.5 remote-as 65100
no auto-summary
!
access-list 10 permit 192.168.0.0 0.0.255.255
!
route-map LAN_Subnets permit 10
match ip address 10
set metric 100
C
C
C
B
B
by Jeremy Stretch
B
C
C
B
C
O
v1.1