beautypg.com

Set as-path prepend – Brocade Network OS Command Reference v4.1.0 User Manual

Page 693

background image

Network OS Command Reference

655

53-1003115-01

set as-path prepend

2

set as-path prepend

Prepends an AS4 number to an AS path, makes the AS number a tag attribute for a route map, and
provides a variety of route-management options.

Synopsis

set as-path prepend as-num, as-num, . . . as-num
[automatic-tag] | [comm-list acl delete] | [community num:num | num | additive | internet |
local-as | no-advertise | no-export] | [dampening [half-life | reuse | suppress |
max-suppress-time]] [ip next hop ip-addr] [ip next-hop peer-address] | [local-preference num] |
[metric [add | assign | none |sub]] | [metric-type [type-1 | type-2]] | external [metric-type
internal] |
[origin igp | incomplete] | [tag] | [weight num]

no set as-path prepend as-num, as-num, . . . as-num

Operands

automatic-tag

Calculates and sets an automatic tag for the route.

comm-list acl delete

Deletes a community from the community attributes field for a BGP4 route.

community

Sets the community attribute for the route to the number or well-known
type specified. Possible values are num:num, Internet, no-export, local-as,
no-advertise.

num:num

Specific community member.

additive

Adds a community to the already existing communities.

internet

The Internet community.

local-as

Local sub-AS within the confederation. Routes with this community can be
advertised only within the local sub-AS.

no-advertise

Routes with this community cannot be advertised to any other BGP4
devices at all.

no-export

Community of sub-ASs within a confederation. Routes with this community
can be exported to other sub-ASs in the same confederation but not
outside the confederation to other ASs or otherwise sent to EBGP
neighbors.

dampening

Sets dampening parameters for the route.

half-life

Number of minutes after which the route penalty becomes half its value.

reuse

Specifies how low a route penalty must become before the route becomes
eligible for use again after being suppressed.

suppress

Specifies how high a route penalty can become before the device
suppresses the route.

max-suppress-time

Specifies the maximum number of minutes that a route can be suppressed
regardless of how unstable it is.

ip next hop

Sets the next-hop IP address for a route that matches the match statement
in the route map.

ip-addr

IPv4 address in dotted-decimal notation.