how high a route penalty can become before the device suppresses the route. The max-suppress-time parameter species the
maximum number of minutes that a route can be suppressed regardless of how unstable it is.
The ip next hop ip-addr parameter sets the next-hop IP address for route that matches a match statement in the route map.
The ip next-hop peer-address parameter sets the BGP4 next hop for a route to the neighbor address.
The local-preference num parameter sets the local preference for the route. You can set the preference to a value from 0 through
4294967295.
The metric [ + | - ] num | none parameter sets the MED (metric) value for the route. The default MED value is 0. You can set the
preference to a value from 0 through 4294967295.
• set metric num - Sets the metric for the route to the number you specify.
• set metric + num - Increases route metric by the number you specify.
• set metric - num - Decreases route metric by the number you specify.
• set metric none - Removes the metric from the route (removes the MED attribute from the BGP4 route).
The metric-type type-1 and type-2 parameters change the metric type of a route redistributed into OSPF.
The metric-type internal parameter sets the route MED to the same value as the IGP metric of the BGP4 next-hop route. The parameter
does this when advertising a BGP4 route to an EBGP neighbor.
The next-hop ip-addr parameter sets the IP address of the route next-hop device.
The origin igp incomplete parameter sets the route origin to IGP or INCOMPLETE.
The tagtag-value parameter sets the route tag. You can specify a tag value from 0 through 4294967295.
NOTE
This parameter applies only to routes redistributed into OSPF.
NOTE
You also can set the tag value using a table map. The table map changes the value only when the device places the route in the
IP route table instead of changing the value in the BGP4 route table.
The weight num parameter sets the weight for the route. The range for the weight value is 0 through 4294967295.
Setting a BGP4 route MED to equal the next-hop route IGP metric
To set a route's MED to the same value as the IGP metric of the BGP4 next-hop route, when advertising the route to a neighbor, enter
commands such as the following.
device(config)# access-list 1 permit 192.168.9.0 0.0.0.255
device(config)# route-map bgp4 permit 1
device(config-routemap bgp4)# match ip address 1
device(config-routemap bgp4)# set metric-type internal
The
rst command congures an ACL that matches on routes with destination network 192.168.9.0. The remaining commands
congure a route map that matches on the destination network in ACL 1, then sets the metric type for those routes to the same value as
the IGP metric of the BGP4 next-hop route.
Syntax: no set metric-type internal
Filtering
FastIron Ethernet Switch Layer 3 Routing
414 53-1003627-04