Professional Documents
Culture Documents
(TLCN) BGP
(TLCN) BGP
(TLCN) BGP
GVHD:
Th.S Hunh Nguyn Chnh SVTH: Dng Cao i Ngha Hong nh ng 08110197 08110221
NI DUNG
I. KHI NIM II. HOT NG CA BGP
III. CU HNH BGP
NI DUNG
I. KHI NIM
II. HOT NG CA BGP
III. CU HNH BGP
NI DUNG
I. KHI NIM II. HOT NG CA BGP
III. CU HNH BGP
Marker
Length
Type
Version
AS
Hold Time
BGP ID
Optional Length
Optional
Update Message
Octets
16 2 1 2 Variable 2 Variable Variable
Marker
Length
Type
Withdrawn Routes
Attribute Length
Attributes
NLRI
Notification Message
Octets 16 2 1 1 1 Variable
Marker
Length
Type
Error Code
Error Sub-code
Diagnostic Data
Keepalive Message
Octets 16 2 1
Marker
Length
Type
II.1. HEADER
Open Message
Octets 16 2 1 1 2 2 4 1 Variable
Marker
Length
Type
Version
AS
Hold Time
BGP ID
Optional Length
Optional
Update Message
Octets
16 2 1 2 Variable 2 Variable Variable
Marker
Length
Type
Withdrawn Routes
Attribute Length
Attributes
NLRI
Notification Message
Octets 16 2 1 1 1 Variable
Marker
Length
Type
Error Code
Error Sub-code
Diagnostic Data
Keepalive Message
Octets 16 2 1
Marker
Length
Type
Marker
Length
Type
Version
AS
Hold Time
BGP ID
Optional Length
Optional
Type
Length
Value
10
11
NLRI (Length,prefix)
24, 10.1.1.0 19, 192.24.160.0
13
14
Marker
Length
Type
Error Code
Error Sub-code
Diagnostic Data
15
18
19
II.7 ROUTE SELECTION Loi b tuyn ng nu next-hop khng ng. Weight cao hn. Local-preference cao hn. u tin cc route to bi router ang xt. AS-path ngn hn ( so snh chiu di). Origin nh hn ( IGP<EGP<unknown).
20
II.7 ROUTE SELECTION MED nh hn. u tin route hc t eBGP hn iBGP. u tin route i n BGP next-hop c IGP nh nht.
21
22
V d:
R2(config)#route-map FILTER1 deny 10 R2(config-route-map)#match ip address 1 R2(config-router)#neighbor 3.3.3.3 route-map FILTER1 out
23
V d:
R2(config)#access-list 1 deny 192.168.24.0 0.0.0.255 R2(config)#access-list 1 permit any R2(config)#router bgp 200 R2(config-router)#neighbor 3.3.3.3 distribute-list 1 out
24
V d:
ip prefix-list name deny 0.0.0.0/0 le 32
25
NI DUNG
I. KHI NIM II. HOT NG CA BGP
III. CU HNH BGP
26
27
Injecting Route
Router(config)#network <address> mask <SubnetMask>
28
NI DUNG
I. KHI NIM II. HOT NG CA BGP
III. CU HNH BGP
29
30
31
32
33
Cu hnh:
R2(config)#route-map COMMUNITY1 permit 10 R2(config-route-map)#match ip address 1 R2(config-route-map)#set community 200
34
35
36
37
LOGO
LOGO
39