beautypg.com

Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 627

background image

an AS number of the neighbor. For each neighbor, you can specify a set of attributes. However, in case
a set of neighbors share same set of attributes, then it is advisable to use a peer-group. The peer-group
configuration is described in the next subsection.

The following illustrates the configuration of a neighbor’s IP address and AS number:

switch(config-bgp-router)# neighbor 10.231.64.10 remote-as 6500

switch(config-bgp-router)#

Notice that the neighbor configuration appears in both the global and address-family modes of BGP.
The neighbor parameters/attributes that are common to all of the address families appear in the BGP
global mode; the parameters/attributes that are specific to an address family appear within the BGP
address-family submode. Even though only the IPv4 unicast address family is supported currently, the
options of the neighbor command are divided, to support future address families such as IPv6.

The following running-config excerpt illustrates the neighbor configurations that are allowed in BGP
global mode and IPv4 address-family submode:

router bgp

local-as 6500

neighbor 10.231.64.10 advertisement-interval 60

neighbor as-override

neighbor 10.231.64.10 capability as4-enable

neighbor 10.231.64.10 description "Example Neighbor Configuration"

neighbor 10.231.64.10 ebgp-multihop 2

neighbor 10.231.64.10 enforce-first-as

neighbor 10.231.64.10 local-as 64900

neighbor 10.231.64.10 maxas-limit in disable

neighbor 10.231.64.10 next-hop-self always

neighbor 10.231.64.10 password default

neighbor 10.231.64.10 remote-as 1200

neighbor 10.231.64.10 remove-private-as

neighbor 10.231.64.10 shutdown generate-rib-out

neighbor 10.231.64.10 soft-reconfiguration inbound

neighbor 10.231.64.10 timers keep-alive 120 hold-time 240

neighbor 10.231.64.10 update-source loopback lo0

address-family ipv4 unicast

neighbor 10.231.64.10 default-originate route-map test-map

neighbor 10.231.64.10 filter-list [ 1 ] in

neighbor 10.231.64.10 maximum-prefix 15000 teardown

neighbor 10.231.64.10 prefix-list test-prefix in

neighbor 10.231.64.10 route-map in test-map

neighbor 10.231.64.10 send-community both

neighbor 10.231.64.10 unsuppress-map test-map-2

neighbor 10.231.64.10 weight 10

As mentioned above, a set of configurations can be specified for each neighbor, with support for the
following:

• Advertisement interval
• Default route origination
• Enforcing of first AS in AS-path list as AS of originator
• AS path filter list
• Enforcing of local ASN of neighbor
• Enabling/disabling of 4-byte ASN capability at the BGP global level
• Maximum AS path length
• Ignoring of AS path lengths of otherwise equal paths
• Maximum routes learned from neighbor
• Enforcing of nexthop as self in routes advertised
• MD5 password authentication
• Prefix list for route filtering
• Remote AS
• Removing of private ASN while advertising routes
• Route map filtering
• Sending community attributes
• Shutting down of neighbor without removing the configuration

Configuring BGP

Network OS Administrator’s Guide

627

53-1003225-04