beautypg.com

Configuring bgp, Device id, Local as number – Brocade Network OS Administrator’s Guide v4.1.1 User Manual

Page 625: Ipv4 unicast address family

background image

Configuring BGP

To enable BGP on an RBridge, enter Bridge ID configuration mode and issue the router bgp
command:

switch(config-rbridge-id-12)# router bgp

There are two CLI modes for BGP:

• Global BGP
• BGP Address-Family IPv4 Unicast

After issuing the router bgp command, you first enter into BGP configuration mode, where an address-
family-specific configuration can be applied. In order to apply an IPv4 address-family-specific
configuration, issue the address-family ipv4 unicast command.

To create a route map, enter the route-map command while in RBridge ID configuration mode. Then
declare a route-map name by using a permit or deny statement and an instance number.

To remove the entire BGP configuration, issue the no router bgp command.

Device ID

BGP automatically calculates the device identifier it uses to specify the origin in routes it advertises. If a
router-id configuration is already present in the system, then device-id is used as the router-id.
Otherwise, BGP first checks for a loopback interface, and the IP address configured on that interface is
chosen as the device-id. However, if a loopback interface is not configured, the device-id is chosen from
lowest-numbered IP interface address configured on the device. Once device-id is chosen, the device
identifier is not calculated unless the IP address configured above is deleted.

Local AS number

The local AS number (ASN) identifies the AS in which the BGP device resides. It can be configured
from BGP global mode:

switch(config-bgp-router)# local-as 6500

Use well-known private ASNs in the range from 64512 through 65535 if the AS number of the
organization is not known.

IPv4 unicast address family

Currently only the IPv4 unicast address family is supported. This configuration is applied in the IPv4
address-family unicast submode of BGP:

switch(config-bgp-router)# address-family ipv4 unicast

switch(config-bgp-ipv4u)#

The following configurations are allowed under BGP IPv4 address-family unicast mode:

• Network (including static networks)
• Route aggregation
• Route redistribution
• Route reflection
• Dampening
• Default route origination
• Multipathing (including maximum paths)

Configuring BGP

Network OS Administrator’s Guide

625

53-1003225-04