标签:路由 一个 内存 route config interface show 子网掩码 alt
BGP动态路由协议:BGP主要属性内容:
As-path (as路径
Next-hop (下一跳
Local preference (本地优先级默认值100、越大越优先
Med (多出口鉴别属性
Weight (权重属性
BGP简单配置:
R1: as 65001 (12.1.1.1 1.1.1.1
R2: as 65002 (12.1.1.2 23.1.1.2 2.2.2.2
R3: as 65003 (23.1.1.3 3.3.3.3
R1(config)#
interface e0/1
ip address 12.1.1.1 255.255.255.0
no shutdown
interface lo0
ip address 1.1.1.1 255.255.255.0
no shutdown
router bgp 65001
neighbor 12.1.1.2 remote 65002
network 12.1.1.0 mask 255.255.255.0
network 1.1.1.1 mask 255.255.255.0
R2(config)#
rotuer bgp 65002
neighbor 12.1.1.1 remote 65001
neighbor 23.1.1.3 remote 65003
network 12.1.1.0 mask 255.255.255.0
network 23.1.1.0 mask 255.255.255.0
network 2.2.2.2 mask 255.255.255.0
R3(config)#
router bgp 65003
neighbor 23.1.1.2 remote 65002
network 23.1.1.0 mask 255.255.255.0
network 3.3.3.0 mask 255.255.255.0
查看路由show ip route
查看BGP show ip bgp
标签:路由 一个 内存 route config interface show 子网掩码 alt
原文地址:https://blog.51cto.com/14148388/2430347