OcNOS-RON : Layer 3 Guide : Fundamental Layer 3 Command Reference : Route-Map Commands : route-map
route-map
Use this command to enter route-map mode and to permit or deny match/set operations.
This command controls and modifies routing information to allow redistribution of routes. It has a list of match and set commands associated with it. The match commands specify the conditions under which redistribution is allowed, and the set commands specify the particular redistribution actions to be performed if the criteria enforced by match commands are met. Route maps are used for detailed control over route distribution between routing processes.
Route maps also allow policy routing, and might route packets to a different route than the obvious shortest path.
Use the no parameter with this command to turn off the declaration.
Command Syntax
route-map WORD (deny|permit) <1-65535>
no route-map WORD ((deny|permit) <1-65535>|)
Parameters
WORD
Route-map name (maximum size 63 characters).
deny
Route map deny set operations. If this parameter is specified, and the match criteria are met, the route is not redistributed, and any other route maps with the same map tag are not examined.
permit
Route map permit set operations. If this parameter is specified, and the match criteria are met, the route is redistributed as specified by the set actions. If the match criteria are not met, the next route map with the same tag is tested.
<1-65535>
Sequence to insert into or delete from an existing route-map.
Default
No default value is specified
Command Mode
Configure mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#route-map route1 permit 1
(config-route-map)#
Last modified date: 08/28/2023