© Copyright Lenovo 2017
Table 260.
Routing Map Configuration Options (continued)
Command Syntax and Usage
no metric
Removes the configured metric of the current route map.
Command mode: Route map
metrictype {1|2}
Assigns the type of OSPF metric.
Type 1—External routes are calculated using both internal and external
metrics.
Type 2—External routes are calculated using only the external metrics.
Type 1 routes are preffered over Type 2.
The default is Type 1.
Command mode: Route map
no metrictype
Removes the OSPF metric of the current route map.
Command mode: Route map
precedence <1‐255>
Sets the precedence of the route map. The smaller the value, the higher the
precedence.
The default value is 10.
Command mode: Route map
set community [<community string>|none]
Sets the BGP community attribute. Enter up to 32 communities strings using
the format, aa:nn. For example, 12:34. Valid strings are from 0:0 to
65535:65535. The none option removes the community attribute from
prefix that passed the route‐map.
Command mode: Route map
no set community
Removes the BGP community attribute from the route map configuration.
Command mode: Route map
weight <0‐65534>
Sets the weight of the route map.
Command mode: Route map
no weight
Deletes the weight of the current route map.
Command mode: Route map
Chapter 4: Configuration Commands
477