Brocade Network OS Command Reference v4.1.0 User Manual
Page 694
656
Network OS Command Reference
53-1003115-01
set as-path prepend
2
ip next-hop peer-address
Sets the BGP4 next hop for a route to the neighbor address.
local-preference
Sets the local preference for the route.
num
Range is from 0 through 4294967295.
metric
Sets the MED (metric) value for the route. Range is from 0 through
4294967295. The default MED value is 0.
add
Adds to the current metric value.
assign
Replaces the current metric value with a new value.
none
Removes the MED attribute (metric) from the BGP4 route.
sub
Subtracts from the current metric value.
metric-type
Changes the metric type of the route redistributed into OSPF.
type-1
Type 1 route.
type-2
Type 2 route.
external
External Type 1 or Type 2 route.
metric-type internal
Sets route MED attribute to same value as the IGP metric of the BGP4
next-hop route, for advertising a BGP4 route to an EBGP neighbor.
next-hop
Sets IPv4 address of the next hop.
ip-addr
IPv4 address in dotted-decimal notation.
origin
Sets the route’s origin.
igp
Sets origin to IGP.
incomplete
Sets origin to INCOMPLETE.
tag
Keyword that makes the ASN an AS-path tag attribute. (Applies only to
routes redistributed into OSPF.)
weight
Sets the weight for the route.
num
Range is from 0 through 4294967295.
Defaults
None
Command Modes
Route-map configuration mode
Description
Use this command to prepend an AS4 number to an AS path, make the AS number a tag attribute
for a route map, and set a variety of other route-management options.
Usage Guidelines
Use the no form of this command to remove the configuration.
Examples
To prepend an AS4 number:
switch(config)# rbridge-id 10
switch(config-rbridge-id-10)# route-map myroutes
switch(config-route-map myroutes)# set as-path prepend 7701000
See Also
route-map