Training Targets: Huawei
Training Targets: Huawei
HUAWEI
datacomm.huawei.com
Autonomous System
HUAWEI
datacomm.huawei.com
datacomm.huawei.com
Attributes of BGP
HUAWEI
datacomm.huawei.com
BGP Packets
HUAWEI
datacomm.huawei.com
HUAWEI
AS200
RTB
E B G P IBGP RTC
E B G P
AS300
RTD
IGP
IGP RTE
datacomm.huawei.com
HUAWEI
AS200
RTB
E B G P IBGP RTC
E B G P
AS300
RTD
IGP
IGP RTE
datacomm.huawei.com
utes from rs
Combine concrete
Install route
Input strategy
Route aggregation
Strategy process
BGP route
IGP route
Route table
datacomm.huawei.com
Express route attributes Transitive and non-transitive Well-known and optional Easy to expand AS-path, next-hop, origin, local preference, MED, atomic-aggregation, aggregator, community
datacomm.huawei.com
Start and stop BGP Set BGP partners Reset BGP connection Configure BGP local peers Define access list, AS path and route map BGP interacts with IGP
datacomm.huawei.com
datacomm.huawei.com
HUAWEI
datacomm.huawei.com
HUAWEI
datacomm.huawei.com
HUAWEI
datacomm.huawei.com
HUAWEI
Define access list, AS (autonomous system) path list and route map
Operation De accesslist Cancel access list Define AS route list Cancel AS access list definition Define route map Cancel route map definition Command access-list list-num {permit | deny} ip-address mask no access-list list-num ip as-path access-list list-num {permit | deny} as-regular-expression no ip as-path access-list list-num route-map map-name {permit | deny} seq-num no route-map map-name
datacomm.huawei.com
HUAWEI
redistribute ospf routes redistribute routes that are redistributed by ospf redistribute rip routes redistribute static routes
datacomm.huawei.com
HUAWEI
RTA
10.0.0.1
EBGP
RTC
IGP
20.0.0.1
AS200
AS100 IGP
RTB
IBGP
30.0.0.1
10.0.0.2
datacomm.huawei.com
Dynamic route
192.213.5.0
RTA
AS200 RTC
RTB AS100
IGP
Static route
172.16.1.0
Direct route
202.38.10.0
BGP
datacomm.huawei.com
RTA
30.0.0.1
30.0.0.2
RTB
AS300
10.0.0.2
20.0.0.2
10.0.0.1
RTD
AS200
20.0.0.1
AS100
RTC
datacomm.huawei.com
RTA
30.0.0.1
30.0.0.2
RTB
AS300
10.0.0.2
19.0.0.0/8
18.0.0.0/8
20.0.0.2
18.0.0.0/8
10.0.0.1
RTD
AS200
20.0.0.1
AS100
RTC
18.0.0.0/8 datacomm.huawei.com
AS1
IGP BGP
19.0.0.0/8
RTB
EBGP
RTA
OSPF
18.0.0.0/8
IGP
a route is imported into the BGP route tab with a "network" command, then the origin attribute is IGP. a route is redistributed into the BGP route tab with a "redistribute" command, then the origin attribute imcomplete. If a route obtained through EGP datacomm.huawei.com
D(18.0.0.0/8) AS 200
RTA
30.0.0.1
30.0.0.2
RTB
AS 500
BGP
D d2
500 200
AS 100
BGP
BGP
D d1 >D d2
datacomm.huawei.com
I can reach 18.0.0.0/8 via the next hop I can reach 20.0.0.0/8 via the next hop I can reach19.0.0.0/8 via the next hop
RTC
I can reach 19.0.0.0/8 via the next h I can reach 20.0.0.0/8 via the next h
10.0.0.1
EBGP
RTC
RTA
AS100
19.0.0.0/8
20.0.0.1
Ethernet
18.0.0.0/8
10.0.0.2
IBGP
20.0.0.2
IBGP AS200
10.0.0.3
RTB
RTB
20.0.0.0/8
RTD
can reach 10.0.0.2 I 18.0.0.0/8 via 18.0.0.0/8 the next hop. 20.0.0.0/8 Ican reach 10.0.0.3 via 20.0.0.0/8 the next hop.
datacomm.huawei.com
HUAWEI
RTA
20.0.0.1
D metric1
20.0.0.1
10
D metric2
20
30.0.0.2
20.0.0.2
RTB
IBGP AS200
RTC
D(18.0.0.0/8)
datacomm.huawei.com
HUAWEI
D(18.0.0.0/8)
A S 2 0 0
RTD
30.0.0.1
20.0.0.1 20.0.0.2
RTE
A S 3 0 0
30.0.0.2
RTB
RTC
D local-pref2 200
D local-pref1 100
A S 1 0 0
100 200
RTA
datacomm.huawei.com
Huge route list BGP aggregation There are too many IBGP neighbors, so full-mesh is not practical.
BGP confideration BGP reflection
HUAWEI
RTA
EBGP
172.16.0.0/20
datacomm.huawei.com
HUAWEI
AS200
172.16.0.0/24 172.16.1.0/24 172.16.2.0/24 ...... 172.16.15.0/24 172.16.0.0/20
172.16.0.0/20
......
RTB 172.16.0.0/20
datacomm.huawei.com
BGP Community
HUAWEI
RTA
30.0.0.1
AS100
30.0.0.2
AS300
RTC
AS200
RTB
D2(19.0.0.0/8)
datacomm.huawei.com
BGP Reflection
HUAWEI
AS100
BGP
RTA
Client
30.0.0.2 IBGP
Route reflector
IBGP
Non-clien
BGP
BGP
BGP
BGP
IBGP
RTB
Client
20.0.0.2
BGP
IBGP
RTE
RTC
BGP
Non-client
BGP
BGP
GP
GP
EBGP
BGP
RTD
datacomm.huawei.com
AS100
BGP Confederation
HUAWEI
RTA
AS200
RTG
30.0.0.2
30.0.0.1
20.0.0.2
RTD RTF
RTB
AS65050
RTC
AS65060
RTE
AS100
datacomm.huawei.com
BGP Dampening
HUAWEI
enalty alue
Restrain threshold
AS200
RTB
D(18.0.0.0/8)
Tim e R e u s e threshold
AS100
RTA
datacomm.huawei.com
AS500
RIP
AS400
OSPF
RTG
AS100
RTC RTD
AS200
OSPF
RTF
IB G PF u ll-m e s h L o g ically
RTH
AS300
RIP
datacomm.huawei.com
Show BGP Route Information Quidway#show ip bgp BGP local router ID is 10.110.160.1 Status codes: s suppressed, d damped, h history, * valid, > best, i internal Origin codes: i - IGP, e - EGP, ? - incomplete Network Next Hop Metric LocPrf Path *> 88.8.3.0/24 10.110.250.2 700 i *>i 200.201.0.0/16 160.1.8.1 100 ?
datacomm.huawei.com
datacomm.huawei.com
RTA#[ no ] debug ip bgp ...... All means all BGP debugging switch Events means debugging switch of BGP instance information Keepalive means debugging switch of Keepalive information: Opens means debugging switch of Open information Packets means debugging switch of all BGP information Updates means debugging switch of Update information datacomm.huawei.com