peer 192.168.23.2 advertise-community //配置将团体属性发布给对等体 # 值得注意的是,默认情况下,Community属性是不会随路由前缀更新给BGP peer的,因此在LSW1和LSW2上都需要通过peer advertise-community配置将团体属性发布给对等体功能。 结果验证 完成上述配置之后,在LSW3上查看一下BGP路由,结果如下: <LSW3>disp...
[SW_1-bgp-default-ipv4] peer 10.10.14.2 advertise-community [SW_1-bgp-default-ipv4]quit [SW_1-bgp-default]quit [SW_1] SW_2设备-配置团体属性 目的:SW_2设备向SW_3和SW_4发送BGP路由,对192.168.20.1\32的路由标识团体属性号192:192, 对172.16.20.1\32的路由标识团体属性号172:172。 #定义地址...
peer xxxx advertise-community (携带定义过的Community给邻居发送) 在R3上可以看出loopback1的community属性值不变还是2个(100:10)(100:100) loopback2的community属性值变为1个(100:10)
实验原理:路由器接收到一条携带No_Advertise团体属性的路由后,不会将它发布给任何BGP对等体; 实验目的:将10.0.100.4/32(R1/loop4)的路由信息发布给路由器R2,AS 2001、AS 2002以及AS 300的路由器(R3、R4、R5)不会收到; --- R1: #@ 在R1上使用前缀列表方法来匹配路由10.0.100.3/32,创建并调用route-policy;...
1.在路由策略中,设置路由的Community属性值 [Huawei-route-policy]apply community{community-number|aa:nn|internet|no-advertise|no-export|no-export-subconfed} [additive] 2.将团体属性发布给对等体(组) [Huawei-bgp-af-ipv4]peer{group-name|ipv4-address|ipv6-address}advertise-community ...
peer 10.0.11.2 advertise-community //开启传递团队属性功能 peer ibgp enable peer ibgp next-hop-local peer ibgp advertise-community //开启传递团队属性功能 peer 2.2.2.2 enable peer 2.2.2.2 group ibgp peer 4.4.4.4 enable peer 4.4.4.4 group ibgp ...
[R1-route-policy] apply community no-advertise//配置团体属性不发布给BGP邻居 [R1-bgp]peer 10.1.12.2 advertise-community//配置该属性发布给对等体R2 5、此时R2和R4再次查看路由 此时我们查看R2路由团体属性 no-advertise :不会发布路由给BGP邻居
[RouterA-bgp-af-ipv4]peer 10.1.2.2 advertise-community #在RouterB上查看路由9.1.1.0/24的详细信息。 [RouterB]display bgp routing-table 192.168.1.0 BGP local router ID : 2.2.2.2 Local AS number : 20 Paths: 1 available, 1 best, 1 select BGP routing table entry information of 192.168.1.0/...
peer<neighbor-ip>advertise-community 该命令将允许将Community属性发送给邻居。 配置路由策略和Community设置: 代码语言:javascript 复制 ip community-list number permit/deny community-number route-policy<policy-name>permit/deny node<sequence-number>apply community community-number ...
34.3 enable peer 10.0.34.3 route-policy med20 export peer 10.0.34.3 advertise-community peer 10.0.45.5 enable peer 10.0.45.5 route-policy 10 import peer 10.0.46.6 enable peer 10.0.46.6 route-policy 10 import#route-policy 10 permit node 10 if-...