• external—Reverts to the normal BGP rules for propagating the MED; this is the BGP
default
• internal—Sets the MED of a received route that is being propagated to an external
peer equal to the IGP cost of the indirect next hop
• Example
host1(config)#route-map nyc1 permit 10
host1(config-route-map)#set metric-type internal
• Use the no version to delete the set clause from a route map.
• See set metric-type.
set origin
• Use to set the BGP origin of the advertised route.
• Example
host1(config)#route-map nyc1 permit 10
host1(config-route-map)#set origin egp
• Use the no version to delete the set clause from a route map.
• See set origin.
set tag
• Use to set the tag value of the destination routing protocol.
• Example
host1(config)#route-map nyc1 permit 10
host1(config-route-map)#set tag 23
• Use the no version to delete the set clause from a route map.
• See set tag.
set weight
• Use to specify the BGP weight for the routing table.
• The weights assigned with the set weight command in a route map override the weights
assigned using the neighbor weight and neighbor filter-list weight commands.
• Example
host1(config)#route-map nyc1 permit 10
host1(config-route-map)#set weight 200
• Use the no version to delete the set clause from a route map.
• See set weight.
79Copyright © 2010, Juniper Networks, Inc.
Chapter 1: Configuring BGP Routing