
Route-map set commands and AS4s
You can prepend an AS4 number to an autonomous system path or make the autonomous system number a tag attribute for a route
map as shown here.
device(config-routemap test)# set as-path prepend 7701000
Syntax:
[no] set as-path prepend
num,num
,
...
|
tag
Use the
no
form of this command to remove the configuration.
NOTE
If the autononous system path for a route map has prepended ASNs and you want to use the
no
form of the command to
delete the configuration, you must include the prepended ASNs in the
no set as-path
entry. For example, if 70000 and 70001
have been prepended to a route map, enter
no set as-path prepend 70000 70001
. As a shortcut, in the configuration context
of a particular route map, you can also copy and paste ASNs from the output of
show
commands, such as
show route-map
or
show ip bgp route
.
Use the
prepend
keyword to prepend one or more ASNs. The maximum number of ASNs that you can prepend is 16. The range for
each ASN is 1 - 4294967295.
Entering the
tag
keyword sets the tag as an AS-path attribute.
Clearing BGP4 routes to neighbors
You can clear BGP4 connections using the AS4 as an argument with the
clear ip bgp neighbor
command in the configuration context
level of the CLI. as shown.
device(config)# clear ip bgp neighbor 80000
Syntax:
clear ip bgp neighbor
all
|
ip-addr
|
peer-group-name
|
as-num
[
last-packet-with-error
|
notification-errors
| [
soft
[
in
|
out
] |
soft-outbound
]
The neighbor specification is either all,
ip-addr
,
peer-group-name
, or
as-num
. The
all
parameter specifies all neighbors. The
ip-addr
parameter specifies a neighbor by its IP interface with the device. The
peer-group-name
specifies all neighbors in a specific peer group.
The
as-num
parameter specifies all neighbors within the specified AS. After choosing one mandatory parameter, you can choose an
optional parameter.
The
soft in
and
soft out
parameters determine whether to refresh the routes received from the neighbor or the routes sent to the
neighbor. If you do not specify
in
or
out
, the device performs a soft refresh in both options:
•
soft in
performs one of the following actions on inbound routes, according to other configuration settings:
–
If you enabled soft reconfiguration for the neighbor or peer group,
soft in
updates the routes by comparing the route
policies against the route updates that the device has stored. Soft reconfiguration does not request additional updates from
the neighbor or otherwise affect the session with the neighbor.
–
If you did not enable soft reconfiguration,
soft in
requests the entire BGP4 route table on the neighbor (Adj-RIB-Out), then
applies the filters to add, change, or exclude routes.
–
If a neighbor does not support dynamic refresh,
soft in
resets the neighbor session.
•
soft out
updates all outbound routes and then sends the entire BGP4 route table for the device (Adj-RIB-Out) to the neighbor
after the device changes or excludes the routes affected by the filters.
•
The
soft-outbound
parameter updates all outbound routes by applying the new or changed filters, but sends only the existing
routes affected by the new or changed filters to the neighbor.
Four-byte Autonomous System Numbers (AS4)
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
421
Содержание FastIron SX 1600
Страница 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Страница 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Страница 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Страница 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Страница 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Страница 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Страница 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Страница 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Страница 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Страница 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...