Cisco Cisco IOS Software Release 12.0(13)S7
BGP Route-Map Continue
How to Configure BGP Route-map Continue Clauses
5
Cisco IOS Release 12.0(24)S, 12.3(2)T, 12.2(18)S, and 12.0(31)S
Step 5
neighbor ip-address | peer-group-name route-map
route-map-name in | out
Router(config-router)# neighbor 10.0.0.1
route-map BLUE in
Applies the inbound route map to routes received from the
specified neighbor, or applies an outbound route map to
routes advertised to the specified neighbor.
specified neighbor, or applies an outbound route map to
routes advertised to the specified neighbor.
Note
Outbound route maps are supported in Cisco IOS
Release 12.0(31)S and subsequent release.
Release 12.0(31)S and subsequent release.
Step 6
exit
Example:
Router(config-router)# exit
Exits router configuration mode and enters global
configuration mode.
configuration mode.
Step 7
route-map [permit | deny] [sequence-number]
Example:
Router(config)# route-map ROUTE-MAP-NAME permit
10
Enters route-map configuration mode to create or configure
a route map.
a route map.
Step 8
match
Example:
Router(config-route-map)# match ip address
Configures a match command that specifies the conditions
under which policy routing and route filtering occur.
under which policy routing and route filtering occur.
•
Multiple match commands can be configured. If a
match command is configured, a match must occur in
order for the continue statement to be executed. If a
match command is not configured, set and continue
clauses will be executed.
match command is configured, a match must occur in
order for the continue statement to be executed. If a
match command is not configured, set and continue
clauses will be executed.
Note
The match and set commands in step 8 and 9 are
examples that are used to help describe the
operation of the continue command. For a list of
specific match and set commands, see the “Related
Commands” table at the end of the
examples that are used to help describe the
operation of the continue command. For a list of
specific match and set commands, see the “Related
Commands” table at the end of the
command reference page.
Step 9
set
Example:
Router(config-route-map)# set
Configures a set command that specifies the routing action
to perform if the criteria enforced by the match commands
are met. Multiple set commands can be configured.
to perform if the criteria enforced by the match commands
are met. Multiple set commands can be configured.
Step 10
continue
[sequence-number]
Example:
Router(config-route-map)# continue
Configures a route map to continue to evaluate and execute
match statements after a successful match occurs.
match statements after a successful match occurs.
•
If a sequence number is configured, the continue clause
will go to the route map with the specified sequence
number.
will go to the route map with the specified sequence
number.
•
If no sequence number is specified, the continue clause
will go to the route map with the next sequence number.
This behavior is called an “implied continue.”
will go to the route map with the next sequence number.
This behavior is called an “implied continue.”
Step 11
end
Example:
Router(config-route-map)# end
Exits route-map configuration mode and enters privileged
EXEC mode.
EXEC mode.
Command or Action
Purpose