â– For BGP, you can specify the following:
■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.
80 â– Configuring BGP Routing Policy
JUNOSe 11.1.x BGP and MPLS Configuration Guide