Creating Route Maps
Use the following configuration example to create a Route Map:
config
context context_name
route-map map_name { deny | permit } seq_number
Notes:
•
Use the
match
and
set
commands in Route Map Configuration mode to configure the route map. Refer
to the
Command Line Interface Reference
for more information on these commands.
•
Save your configuration as described in the
Verifying and Saving Your Configuration
chapter.
Sample Configuration
The example below shows a configuration that creates two route access lists, applies them to a route map,
and uses that route map for a BGP router neighbor.
The example below shows a configuration that creates two route access lists, applies them to a route map,
and uses that route map for a BGP router neighbor.
config
context isp1
route-access-list named RACLin1a permit 88.151.1.0/30
route-access-list named RACLin1a permit 88.151.1.4/30
route-access-list named RACLany permit any
route-map RMnet1 deny 100
match ip address route-access-list RACLin 1 a
#exit
route-map RMnet1 deny 200
match ip address route-access-list RACLin 1 b
#exit
route-map RMnet1 permit 1000
match ip address route-access-list RACLany
#exit
router bgp 1
neighbor 152.20.1.99 as-path 101
neighbor 152.20.1.99 route-map RMnet1
Static Routing
The system supports static network route configuration on a per context basis. Define network routes by
specifying the:
•
IP address and mask for the route
•
Name of the interface in the current context that the route must use
•
Next hop IP address
On the ASR 5500, static routes with IPv6 prefix lengths less than /12 and between the range of /64 and
/128 are not supported.
Important
ASR 5500 System Administration Guide, StarOS Release 21.5
209
Routing
Creating Route Maps
Содержание ASR 5500
Страница 100: ...ASR 5500 System Administration Guide StarOS Release 21 5 74 System Interfaces and Ports VLANs and Management Ports ...
Страница 136: ...ASR 5500 System Administration Guide StarOS Release 21 5 110 Smart Licensing Smart Licensing Bulk Statistics ...
Страница 140: ...ASR 5500 System Administration Guide StarOS Release 21 5 114 Monitoring the System Clearing Statistics and Counters ...
Страница 260: ...ASR 5500 System Administration Guide StarOS Release 21 5 234 Routing Viewing Routing Information ...
Страница 278: ...ASR 5500 System Administration Guide StarOS Release 21 5 252 BGP MPLS VPNs VPN Related CLI Commands ...
Страница 292: ...ASR 5500 System Administration Guide StarOS Release 21 5 266 Session Recovery Sample Output for show rct stats verbose ...
Страница 324: ...ASR 5500 System Administration Guide StarOS Release 21 5 298 Interchassis Session Recovery Fallback Procedure ...
Страница 338: ...ASR 5500 System Administration Guide StarOS Release 21 5 312 Engineering Rules ECMP Groups ...
Страница 362: ...ASR 5500 System Administration Guide StarOS Release 21 5 336 StarOS Tasks Management Processes ...