Figure 1: Applying Route Maps to Routes
You can use a route map to filter routes based on the autonomous system (AS) path
to accomplish this goal. Use the following commands to configure router NY:
host1(config)#
router bgp 293
host1(config-router)#
network 192.168.5.0 mask 255.255.255.0
host1(config-router)#
neighbor 10.5.5.2 remote-as 32
host1(config-router)#
neighbor 10.2.2.2 remote-as 873
host1(config-router)#
neighbor 10.2.2.4 remote-as 17
host1(config-router)#
neighbor 10.2.2.4 route-map block1 out
host1(config-router)#
exit
host1(config)#
ip as-path access-list boston deny _32_
host1(config)#
route-map block1 deny 1
host1(config-route-map)#
match as-path boston
Multiple Values in a Match Entry
You can specify more than one value in each match entry of a route map by using
any of the following
match
commands:
match ipv6 next-hop
match as-path
match ipv6 route-source
match community
match level
match distance
match metric
match extcommunity-list
match policy-list
match ip address
match route-type
match ip next-hop
match tag
match ipv6 address
6
■
Route Maps
JUNOSe 11.0.x IP Services Configuration Guide
Содержание JUNOSE 11.0.X IP SERVICES
Страница 6: ...vi...
Страница 8: ...viii JUNOSe 11 0 x IP Services Configuration Guide...
Страница 18: ...xviii Table of Contents JUNOSe 11 0 x IP Services Configuration Guide...
Страница 20: ...xx List of Figures JUNOSe 11 0 x IP Services Configuration Guide...
Страница 22: ...xxii List of Tables JUNOSe 11 0 x IP Services Configuration Guide...
Страница 28: ...2 Chapters JUNOSe 11 0 x IP Services Configuration Guide...
Страница 138: ...112 Monitoring J Flow Statistics JUNOSe 11 0 x IP Services Configuration Guide...
Страница 286: ...260 Monitoring IP Tunnels JUNOSe 11 0 x IP Services Configuration Guide...
Страница 312: ...286 Monitoring IP Reassembly JUNOSe 11 0 x IP Services Configuration Guide...
Страница 357: ...Part 2 Index Index on page 333 Index 331...
Страница 358: ...332 Index JUNOSe 11 0 x IP Services Configuration Guide...