HCIP2------BGP

26 篇文章 0 订阅
4 篇文章 0 订阅

在这里插入图片描述

反射器(RR)–打破水平分割,进而转发路由。既可以转发客户端路由,也可以转发非客户端路由。但反射器不能转发非客户端之间的路由

反射器的防环属性:
环路1 多个反射器一起使用会把一个路由传递回路由的起源路由器
使用orgingor-id属性,这个属性会把路由来源路由器的router id添加该属性中,当路由传递给起源路由器时,这时起源路由器会看到自己的router id,拒绝接收路由从此防环
环路2 多个反射器一起会把一个路由在反射器之间相互传递从而形成该路由在反射器之间的环路
使用cluster-list的属性,该属性会把传递路由的反射器添加进cluster-list中,当反射器在列表中看见自己的router id,就知道该路由被自己反射过,拒绝接受此路由从而防环

反射器的缺点:反射客户端将会丧失选路机会,反射器只会给客户端最优的路由
怎么解决反射器的缺点:设置两个反射器;全互联(不推荐使用)
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

聚合的属性:atomic_aggregate 表示该路由为聚合路由
aggregator标识该聚合路由在哪个路由器上做的聚合用该路由的router id表示
BGP默认自动聚合主类路由
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述

[r1]int loo0
[r1-LoopBack0]ip add 1.1.1.1 32
[r1-LoopBack0]int g0/0/0
[r1-GigabitEthernet0/0/0]ip add 10.1.12.1 24
[r1-GigabitEthernet0/0/0]int g0/0/1
[r1-GigabitEthernet0/0/1]ip add 10.1.13.1 24
[r1]ping 10.1.12.2
PING 10.1.12.2: 56 data bytes, press CTRL_C to break
Reply from 10.1.12.2: bytes=56 Sequence=1 ttl=255 time=140 ms
Reply from 10.1.12.2: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 10.1.12.2: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 10.1.12.2: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 10.1.12.2: bytes=56 Sequence=5 ttl=255 time=30 ms

— 10.1.12.2 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/46/140 ms

[r1]ping 10.1.13.3
PING 10.1.13.3: 56 data bytes, press CTRL_C to break
Reply from 10.1.13.3: bytes=56 Sequence=1 ttl=255 time=80 ms
Reply from 10.1.13.3: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 10.1.13.3: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 10.1.13.3: bytes=56 Sequence=4 ttl=255 time=30 ms
Reply from 10.1.13.3: bytes=56 Sequence=5 ttl=255 time=20 ms

— 10.1.13.3 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/36/80 ms

[r1]ospf 1 rou
[r1]ospf 1 router-id 1.1.1.1
[r1-ospf-1]ar 0
[r1-ospf-1-area-0.0.0.0]net
[r1-ospf-1-area-0.0.0.0]network 10.1.12.0 0.0.0.255
[r1-ospf-1-area-0.0.0.0]network 10.1.13.0 0.0.0.255
[r1-ospf-1-area-0.0.0.0]network 1.1.1.1 0.0.0.0
[r1]display ospf peer brief

 OSPF Process 1 with Router ID 1.1.1.1
	  Peer Statistic Information

Area Id Interface Neighbor id State
0.0.0.0 GigabitEthernet0/0/0 2.2.2.2 Full
0.0.0.0 GigabitEthernet0/0/1 3.3.3.3 Full

[r1]bgp 100
[r1-bgp]rou
[r1-bgp]route-select
[r1-bgp]router-id 1.1.1.1
[r1-bgp]peer 2.2.2.2 as
[r1-bgp]peer 2.2.2.2 as-number 100
[r1-bgp]peer 2.2.2.2 con
[r1-bgp]peer 2.2.2.2 connect-interface loo0
[r1-bgp]peer 3.3.3.3 as
[r1-bgp]peer 3.3.3.3 as-number 100
[r1-bgp]peer 3.3.3.3 con
[r1-bgp]peer 3.3.3.3 connect-interface loo0
display bgp peer

BGP local router ID : 1.1.1.1
Local AS number : 100
Total number of peers : 2 Peers in established state : 2

Peer V AS MsgRcvd MsgSent OutQ Up/Down State Pre
fRcv

2.2.2.2 4 100 25 26 0 00:23:37 Established
0
3.3.3.3 4 100 24 25 0 00:22:11 Established
0
[r2]int loo0
[r2-LoopBack0]ip add 2.2.2.2 32
[r2-LoopBack0]int g0/0/0
[r2-GigabitEthernet0/0/0]ip add 10.1.12.2 24
[r2-GigabitEthernet0/0/0]int g0/0/1
[r2-GigabitEthernet0/0/1]ip add 10.1.24.2 24
ping 10.1.24.4
PING 10.1.24.4: 56 data bytes, press CTRL_C to break
Reply from 10.1.24.4: bytes=56 Sequence=1 ttl=255 time=100 ms
Reply from 10.1.24.4: bytes=56 Sequence=2 ttl=255 time=10 ms
Reply from 10.1.24.4: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 10.1.24.4: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 10.1.24.4: bytes=56 Sequence=5 ttl=255 time=40 ms

— 10.1.24.4 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/38/100 ms

sy
Enter system view, return user view with Ctrl+Z.
[r2]ospf 1 rou
[r2]ospf 1 router-id 2.2.2.2
[r2-ospf-1]ar 0
[r2-ospf-1-area-0.0.0.0]net
[r2-ospf-1-area-0.0.0.0]network 10.1.12.0 0.0.0.255
[r2-ospf-1-area-0.0.0.0]network 2.2.2.2 0.0.0.0
display ospf peer brief

 OSPF Process 1 with Router ID 2.2.2.2
	  Peer Statistic Information

Area Id Interface Neighbor id State
0.0.0.0 GigabitEthernet0/0/0 1.1.1.1 Full

[r2]bgp 100
[r2-bgp]rou
[r2-bgp]route-select
[r2-bgp]router-id 2.2.2.2
[r2-bgp]peer 1.1.1.1 as
[r2-bgp]peer 1.1.1.1 as-number 100
[r2-bgp]peer 1.1.1.1 con
[r2-bgp]peer 1.1.1.1 connect-interface loo0
[r2-bgp]peer 3.3.3.3 as
[r2-bgp]peer 3.3.3.3 as-number 100
[r2-bgp]peer 3.3.3.3 con
[r2-bgp]peer 3.3.3.3 connect-interface loo0
[r2-bgp]peer 10.1.24.4 as
[r2-bgp]peer 10.1.24.4 as-number2
[r2]display bgp peer

BGP local router ID : 2.2.2.2
Local AS number : 100
Total number of peers : 3 Peers in established state : 3

Peer V AS MsgRcvd MsgSent OutQ Up/Down State Pre
fRcv

1.1.1.1 4 100 26 26 0 00:24:12 Established
0
3.3.3.3 4 100 24 26 0 00:22:30 Established
0
10.1.24.4 4 200 12 13 0 00:10:04 Established
0
[r3]int loo0
[r3-LoopBack0]ip add 3.3.3.3 32
[r3-LoopBack0]int g0/0/1
[r3-GigabitEthernet0/0/1]ip add 10.1.13.3 24
[r3-GigabitEthernet0/0/1]int g0/0/0
[r3-GigabitEthernet0/0/0]ip add 10.1.34.3 24
ping 10.1.34.4
PING 10.1.34.4: 56 data bytes, press CTRL_C to break
Reply from 10.1.34.4: bytes=56 Sequence=1 ttl=255 time=50 ms
Reply from 10.1.34.4: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 10.1.34.4: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 10.1.34.4: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 10.1.34.4: bytes=56 Sequence=5 ttl=255 time=20 ms

— 10.1.34.4 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/28/50 ms
[r3]ospf 1 rou
[r3]ospf 1 router-id 3.3.3.3
[r3-ospf-1]ar 0
[r3-ospf-1-area-0.0.0.0]net
[r3-ospf-1-area-0.0.0.0]network 3.3.3.3 0.0.0.0
[r3-ospf-1-area-0.0.0.0]net 10.1.13.0 0.0.0.255
display ospf peer brief

 OSPF Process 1 with Router ID 3.3.3.3
	  Peer Statistic Information

Area Id Interface Neighbor id State
0.0.0.0 GigabitEthernet0/0/1 1.1.1.1 Full

[r3]bgp 100
[r3-bgp]rou
[r3-bgp]route-select
[r3-bgp]router-id 3.3.3.3
[r3-bgp]peer 1.1.1.1 as
[r3-bgp]peer 1.1.1.1 as-number 100
[r3-bgp]peer 1.1.1.1 con
[r3-bgp]peer 1.1.1.1 connect-interface loo0
[r3-bgp]peer 2.2.2.2 as 100
[r3-bgp]peer 2.2.2.2 con
[r3-bgp]peer 2.2.2.2 connect-interface loo0
[r3-bgp]peer 10.1.34.4 as
[r3-bgp]peer 10.1.34.4 as-number 200
display bgp peer

BGP local router ID : 3.3.3.3
Local AS number : 100
Total number of peers : 3 Peers in established state : 3

Peer V AS MsgRcvd MsgSent OutQ Up/Down State Pre
fRcv

1.1.1.1 4 100 25 24 0 00:23:00 Established
0
2.2.2.2 4 100 24 24 0 00:22:44 Established
0
10.1.34.4 4 200 11 12 0 00:09:53 Established
0
[r4]int loo0
[r4-LoopBack0]ip add 4.4.4.4 32
[r4-LoopBack0]int g0/0/0
[r4-GigabitEthernet0/0/0]ip add 10.1.24.4 24
[r4-GigabitEthernet0/0/0]int g4/0/0
[r4-GigabitEthernet4/0/0]ip add 10.1.34.4 24
[r4-GigabitEthernet4/0/0]int g0/0/1
[r4-GigabitEthernet0/0/1]ip add 10.1.45.4 24
[r4-GigabitEthernet0/0/1]int g0/0/2
[r4-GigabitEthernet0/0/2]ip add 10.1.46.4 24
[r4-GigabitEthernet0/0/2]ping 10.1.45.5
PING 10.1.45.5: 56 data bytes, press CTRL_C to break
Reply from 10.1.45.5: bytes=56 Sequence=1 ttl=255 time=80 ms
Reply from 10.1.45.5: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 10.1.45.5: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 10.1.45.5: bytes=56 Sequence=4 ttl=255 time=10 ms
Reply from 10.1.45.5: bytes=56 Sequence=5 ttl=255 time=30 ms

— 10.1.45.5 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/32/80 ms

[r4-GigabitEthernet0/0/2]ping 10.1.46.6
PING 10.1.46.6: 56 data bytes, press CTRL_C to break
Reply from 10.1.46.6: bytes=56 Sequence=1 ttl=255 time=60 ms
Reply from 10.1.46.6: bytes=56 Sequence=2 ttl=255 time=20 ms
Reply from 10.1.46.6: bytes=56 Sequence=3 ttl=255 time=70 ms
Reply from 10.1.46.6: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 10.1.46.6: bytes=56 Sequence=5 ttl=255 time=10 ms

— 10.1.46.6 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/36/70 ms

[r4]bgp 200
[r4-bgp]rou
[r4-bgp]route-select
[r4-bgp]router-id 4.4.4.4
[r4-bgp]peer 10.1.24.2 as
[r4-bgp]peer 10.1.24.2 as-number 100
[r4-bgp]peer 10.1.34.3 as-number 100
[r4-bgp]peer 10.1.45.5 as-number 300
[r4-bgp]peer 10.1.46.6 as-number 300
display bgp peer

BGP local router ID : 4.4.4.4
Local AS number : 200
Total number of peers : 4 Peers in established state : 4

Peer V AS MsgRcvd MsgSent OutQ Up/Down State Pre
fRcv

10.1.24.2 4 100 12 12 0 00:10:25 Established
0
10.1.34.3 4 100 12 12 0 00:10:01 Established
0
10.1.45.5 4 300 9 10 0 00:07:14 Established
0
10.1.46.6 4 300 5 6 0 00:03:49 Established
0
[r4]bgp 200
[r4-bgp]peer 10.1.24.2 en
[r4-bgp]peer 10.1.24.2 enable
[r4-bgp]peer 10.1.24.2 rou
[r4-bgp]peer 10.1.24.2 route-limit
[r4-bgp]peer 10.1.24.2 route-policy med-20 ex
[r4-bgp]peer 10.1.24.2 route-policy med-20 export
[r4-bgp]peer 10.1.24.2 ad
[r4-bgp]peer 10.1.24.2 advertise-community
[r4-bgp]peer 10.1.34.3 en
[r4-bgp]peer 10.1.34.3 enable
[r4-bgp]peer 10.1.34.3 rou
[r4-bgp]peer 10.1.34.3 route-limit
[r4-bgp]peer 10.1.34.3 route-policy med-10 ex
[r4-bgp]peer 10.1.34.3 route-policy med-10 export
[r4-bgp]peer 10.1.34.3 ad
[r4-bgp]peer 10.1.34.3 advertise-community
[r4-bgp]peer 10.1.45.5 en
[r4-bgp]peer 10.1.45.5 enable
[r4-bgp]peer 10.1.45.5 rou
[r4-bgp]peer 10.1.45.5 route-limit
[r4-bgp]peer 10.1.45.5 route-policy 10 im
[r4-bgp]peer 10.1.45.5 route-policy 10 import
[r4-bgp]peer 10.1.46.6 en
[r4-bgp]peer 10.1.46.6 enable
[r4-bgp]peer 10.1.46.6 rpu
[r4-bgp]peer 10.1.46.6 rou
[r4-bgp]peer 10.1.46.6 route-limit
[r4-bgp]peer 10.1.46.6 route-policy 10 im
[r4-bgp]peer 10.1.46.6 route-policy 10 import
[r4-bgp]rou
[r4-bgp]route-select
[r4-bgp]router-id
[r4-bgp]route-select
[r4-bgp]q
[r4]rou
[r4]route
[r4]route-policy 10 per
[r4]route-policy 10 permit node 10
Info: New Sequence of this List.
[r4-route-policy]if
[r4-route-policy]if-match com
[r4-route-policy]if-match community-filter 10
[r4-route-policy]app
[r4-route-policy]apply ip
[r4-route-policy]apply ip-addressne
[r4-route-policy]apply ip-addres
[r4-route-policy]apply ip-address ne
[r4-route-policy]apply ip-address next-hop 10.1.45.5
[r4-route-policy]rou
[r4-route-policy]rou
[r4-route-policy]rou
[r4-route-policy]q
[r4]rou
[r4]route
[r4]route-policy 10 per
[r4]route-policy 10 permit node 20
Info: New Sequence of this List.
[r4-route-policy]if
[r4-route-policy]if-match com
[r4-route-policy]if-match community-filter 20
[r4-route-policy]ap
[r4-route-policy]apply ip
[r4-route-policy]apply ip-address ne
[r4-route-policy]apply ip-address next-hop 10.1.46.6
[r4-route-policy]q
[r4]rou
[r4]route
[r4]route-policy med-10 per
[r4]route-policy med-10 permit node 10
Info: New Sequence of this List.
[r4-route-policy]if
[r4-route-policy]if-match com
[r4-route-policy]if-match community-filter 300:100
[r4-route-policy]app
[r4-route-policy]apply co
[r4-route-policy]apply comm-filter
[r4-route-policy]apply community
[r4-route-policy]apply cost 100
[r4-route-policy]q
[r4]rou
[r4]router
[r4]route
[r4]route-policy med-20 per
[r4]route-policy med-20 permit node 10
Info: New Sequence of this List.
[r4-route-policy]if
[r4-route-policy]if-match com
[r4-route-policy]if-match community-filter 20
[r4-route-policy]app
[r4-route-policy]apply co
[r4-route-policy]apply comm-filter
[r4-route-policy]apply community
[r4-route-policy]apply cost 100
[r4-route-policy]q
[r4]ip
[r4]ip com
[r4]ip community-filter 10 per
[r4]ip community-filter 10 permit 300:100
[r4]ip community-filter 20 permit 300:200
[r4]
The device is running!

[r5]int loo0
[r5-LoopBack0]ip add 5.5.5.5 32
[r5-LoopBack0]int g0/0/0
[r5-GigabitEthernet0/0/0]ip add 10.1.45.5 24
[r5-GigabitEthernet0/0/0]int g0/0/1
[r5-GigabitEthernet0/0/1]ip add 10.1.57.5 24
[r5-GigabitEthernet0/0/1]ping 10.1.57.7
PING 10.1.57.7: 56 data bytes, press CTRL_C to break
Reply from 10.1.57.7: bytes=56 Sequence=1 ttl=255 time=70 ms
Reply from 10.1.57.7: bytes=56 Sequence=2 ttl=255 time=30 ms
Reply from 10.1.57.7: bytes=56 Sequence=3 ttl=255 time=30 ms
Reply from 10.1.57.7: bytes=56 Sequence=4 ttl=255 time=20 ms
Reply from 10.1.57.7: bytes=56 Sequence=5 ttl=255 time=30 ms

— 10.1.57.7 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 20/36/70 ms

[r5]ospf 1 router-id 5.5.5.5
[r5-ospf-1]ar 1
[r5-ospf-1-area-0.0.0.1]net
[r5-ospf-1-area-0.0.0.1]network 6.6.6.6 0.0.0.0
[r5-ospf-1-area-0.0.0.1]net
[r5-ospf-1-area-0.0.0.1]net 10.1.57.0 0.0.0.255
[r5-ospf-1-area-0.0.0.1]display ospf peer brief

 OSPF Process 1 with Router ID 5.5.5.5
	  Peer Statistic Information

Area Id Interface Neighbor id State
0.0.0.1 GigabitEthernet0/0/1 7.7.7.7 Full

[r5]bgp 300
[r5-bgp]rou
[r5-bgp]route-select
[r5-bgp]router-id 5.5.5.5
[r5-bgp]peer 10.1.45.4 as
[r5-bgp]peer 10.1.45.4 as-number
[r5-bgp]peer 10.1.45.4 as-path-filter
[r5-bgp]peer 10.1.45.4 as-number 200
[r5-bgp]peer 6.6.6.6 as
[r5-bgp]peer 6.6.6.6 as-path-filter
[r5-bgp]peer 6.6.6.6 as-number 300
[r5-bgp]peer 6.6.6.6 con
[r5-bgp]peer 6.6.6.6 connect-interface loo0
[r5-bgp]peer 7.7.7.7 as
[r5-bgp]peer 7.7.7.7 as-number 300
[r5-bgp]peer 7.7.7.7 con
[r5-bgp]peer 7.7.7.7 connect-interface loo0
display bgp peer

BGP local router ID : 5.5.5.5
Local AS number : 300
Total number of peers : 3 Peers in established state : 1

Peer V AS MsgRcvd MsgSent OutQ Up/Down State Pre
fRcv

6.6.6.6 4 300 0 0 0 00:06:24 Idle
0
7.7.7.7 4 300 0 0 0 00:06:06 Connect
0
10.1.45.4 4 200 9 9 0 00:07:33 Established
0
[r6]int loo0
[r6-LoopBack0]ip add 5.5.5.5 32
[r6-LoopBack0]int g0/0/1
[r6-GigabitEthernet0/0/1]ip add 10.1.46.6 24
[r6]int g0/0/0
[r6-GigabitEthernet0/0/0]ip add 10.1.67.6 24
[r6-GigabitEthernet0/0/0]ping 10.1.67.7
PING 10.1.67.7: 56 data bytes, press CTRL_C to break
Reply from 10.1.67.7: bytes=56 Sequence=1 ttl=255 time=50 ms
Reply from 10.1.67.7: bytes=56 Sequence=2 ttl=255 time=10 ms
Reply from 10.1.67.7: bytes=56 Sequence=3 ttl=255 time=20 ms
Reply from 10.1.67.7: bytes=56 Sequence=4 ttl=255 time=30 ms
Reply from 10.1.67.7: bytes=56 Sequence=5 ttl=255 time=20 ms

— 10.1.67.7 ping statistics —
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 10/26/50 ms
[r6]ospf 1 router-id 6.6.6.6
[r6-ospf-1]ar 1
[r6-ospf-1-area-0.0.0.1]net 6.6.6.6 0.0.0.0
[r6-ospf-1-area-0.0.0.1]net 10.1.67.0 0.0.0.255
[r6-ospf-1-area-0.0.0.1]display ospf peer brief

 OSPF Process 1 with Router ID 6.6.6.6
	  Peer Statistic Information

Area Id Interface Neighbor id State
0.0.0.1 GigabitEthernet0/0/0 7.7.7.7 Full

[r6]bgp 300
[r6-bgp]rou
[r6-bgp]route-select
[r6-bgp]router-id 6.6.6.6
[r6-bgp]peer 10.1.46.4 as
[r6-bgp]peer 10.1.46.4 as-number 200
[r6-bgp]peer 5.5.5.5 as
[r6-bgp]peer 5.5.5.5 as-path-filter
[r6-bgp]peer 5.5.5.5 as-number 300
[r6-bgp]peer 5.5.5.5 connect-interface loo0
[r6-bgp]peer 7.7.7.7 as
[r6-bgp]peer 7.7.7.7 as-number 300
[r6-bgp]peer 7.7.7.7 con
[r6-bgp]peer 7.7.7.7 connect-interface loo0
[r6-bgp]display bgp peer

BGP local router ID : 6.6.6.6
Local AS number : 300
Total number of peers : 3 Peers in established state : 1

Peer V AS MsgRcvd MsgSent OutQ Up/Down State Pre
fRcv

5.5.5.5 4 300 0 0 0 00:03:52 Idle
0
7.7.7.7 4 300 0 0 0 00:03:12 Connect
0
10.1.46.4 4 200 6 6 0 00:04:17 Established
0
[r7]int loo0
[r7-LoopBack0]ip add 7.7.7.7 32
[r7-LoopBack0]int g0/0/0
[r7-GigabitEthernet0/0/0]ip add 10.1.57.7 23
[r7-GigabitEthernet0/0/0]ip add 10.1.57.7 24
[r7-GigabitEthernet0/0/0]int g0/0/1
[r7-GigabitEthernet0/0/1]ip add 10.1.67.7 24
[r7]ospf 1 router-id 7.7.7.7
[r7-ospf-1]ar 1
[r7-ospf-1-area-0.0.0.1]net 7.7.7.7 0.0.0.0
[r7-ospf-1-area-0.0.0.1]net 10.1.57.0 0.0.0.255
[r7-ospf-1-area-0.0.0.1]net 10.1.67.0 0.0.0.255
[r7-ospf-1-area-0.0.0.1]display ospf peer brief

 OSPF Process 1 with Router ID 7.7.7.7
	  Peer Statistic Information

Area Id Interface Neighbor id State
0.0.0.1 GigabitEthernet0/0/0 5.5.5.5 Full
0.0.0.1 GigabitEthernet0/0/1 6.6.6.6 Full

[r7]bgp 300
[r7-bgp]rou
[r7-bgp]route-select
[r7-bgp]router-id 7.7.7.7
[r7-bgp]peer 5.5.5.5 as
[r7-bgp]peer 5.5.5.5 as-number 300
[r7-bgp]peer 5.5.5.5 con
[r7-bgp]peer 5.5.5.5 connect-interface loo0
[r7-bgp]peer 6.6.6.6 as
[r7-bgp]peer 6.6.6.6 as-number 300
[r7-bgp]peer 6.6.6.6 con
[r7-bgp]peer 6.6.6.6 connect-interface loo0
[r7-bgp]display bgp peer

BGP local router ID : 7.7.7.7
Local AS number : 300
Total number of peers : 2 Peers in established state : 0

Peer V AS MsgRcvd MsgSent OutQ Up/Down State Pre
fRcv

5.5.5.5 4 300 0 0 0 00:02:24 Idle
0
6.6.6.6 4 300 0 0 0 00:01:55 Idle
0

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值