Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 244

Advertising
background image

230

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Configuring BGP4 neighbors

8

NOTE

By default, if a route does not match any of the filters, the device denies the route. To change the
default behavior, configure the last filter as permit any.

NOTE

The address filter must already be configured. Refer to

“Defining and applying IP prefix lists”

on

page 250.

ebgp-multihop [num] specifies that the neighbor is more than one hop away and that the session
type with the neighbor is EBGP-multihop. This option is disabled by default. The num parameter
specifies the TTL you are adding for the neighbor. You can specify a number from 0 – 255. The
default is 0. If you leave the EBGP TTL value set to 0, the software uses the IP TTL value.

enforce-first-as ensures, for this neighbor, that the first AS listed in the AS_SEQUENCE field of an
AS path update message from EBGP neighbors is the AS of the neighbor that sent the update. For
details, refer to

“Requiring the first AS to be the neighbor AS”

on page 223.

filter-list in | out num,num,... specifies an AS-path filter list or a list of AS-path ACLs. The in | out
keywords specify whether the list is applied on updates received from the neighbor or sent to the
neighbor. If you specify in or out, The num,num,... parameter specifies the list of AS-path filters. The
device applies the filters in the order in which you list them and stops applying the filters in the
AS-path filter list when a match is found. The weight num parameter specifies a weight that the
device applies to routes received from the neighbor that match the AS-path filter or ACL. You can
specify a number from 0 – 65535.

Alternatively, you can specify filter-list acl-num in | out | weight to use an AS-path ACL instead of an
AS-path filter list. In this case, acl-num is an AS-path ACL.

NOTE

By default, if an AS-path does not match any of the filters or ACLs, the device denies the route. To
change the default behavior, configure the last filter or ACL as permit any.

NOTE

The AS-path filter or ACL must already be configured. Refer to

“Filtering AS-paths”

on page 246.

local-as as-num assigns a local AS number with the value specified by the as-num variable to the
neighbor being configured. The as-number has no default value. Its range is 1 – 4294967295.

NOTE

When the local-as option is used, the device automatically prepends the local AS number to the
routes that are received from the EBGP peer; to disable this behavior, include the no-prepend
keyword.

maxas-limit in num |disable specifies that the router discard routes that exceed a maximum AS
path length received in UPDATE messages. You can specify a value from 0 – 300. The default value
is 300. The disable keyword is used to stop a neighbor from inheriting the configuration from the
global and to the use system default value.

maximum-prefix num specifies the maximum number of IP network prefixes (routes) that can be
learned from the specified neighbor. You can specify a value from 0 – 4294967295. The default is
0 (unlimited).

The num value is the maximum number. The range is 0 – 4294967295. The default is 0
(unlimited).

Advertising