JunosE 11.3.x IP Services Configuration Guide
Figure 1: Applying Route Maps to Routes
Multiple Values in a Match Entry
6
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
You can specify more than one value in each match entry of a route map by using any of
the following match commands:
match as-path
match community
match distance
match extcommunity-list
match ip address
match ip next-hop
match ipv6 address
match ipv6 next-hop
match ipv6 route-source
match level
match metric
match policy-list
match route-type
match tag
Copyright © 2010, Juniper Networks, Inc.
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - IP SERVICES CONFIGURATION GUIDE 2010-10-01 and is the answer not in the manual?