标签:proc cto acl -o 验证 config perm ext 调用
一、实验拓扑:三、命令部署:
R4(config)#route-map as permit 10
R4(config-route-map)#match ip address 10
R4(config-route-map)#set community local-as
R4(config-route-map)##route-map as permit 1000
R4(config)#router bgp 4
R4(config-router)#neighbor 14.1.1.1 route-map as out
四、验证:
R1#show ip bgp 4.4.4.4
BGP routing table entry for 4.4.4.0/24, version 4
Paths: (1 available, best #1, table Default-IP-Routing-Table, not advertised outside local AS)
Flag: 0x8A0
Advertised to update-groups:
2
4
14.1.1.4 from 14.1.1.4 (4.4.4.4)
Origin IGP, metric 0, localpref 100, valid, external, best
Community: local-AS
R3#show ip bgp 4.4.4.4
BGP routing table entry for 4.4.4.0/24, version 4
Paths: (1 available, best #1, table Default-IP-Routing-Table, not advertised outside local AS)
Flag: 0x8A0
Not advertised to any peer
4
1.1.1.1 (metric 156160) from 1.1.1.1 (1.1.1.1)
Origin IGP, metric 0, localpref 100, valid, confed-internal, best
Community: local-AS
R2#show ip bgp 4.4.4.4
% Network not in table
51-高级路由:BGP community属性:local-as
标签:proc cto acl -o 验证 config perm ext 调用
原文地址:http://blog.51cto.com/13856092/2138194