Setting the local as number, Setting the local as number for vrf instances – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual
Page 399
Setting the local AS number
The local autonomous system number (ASN) identifies the AS in which the Brocade BGP4 device
resides.
To set the local AS number, enter commands such as the following.
device(config)# router bgp
BGP4: Please configure 'local-as' parameter in order to enable BGP4.
device(config-bgp)# local-as 10
device(config-bgp)# write memory
Syntax: [no] local-as num
The num parameter specifies a local AS number in the range 1 through 4294967295. It has no default.
AS numbers 64512 - 65535 are the well-known private BGP4 AS numbers and are not advertised to the
Internet community.
Setting the local AS number for VRF instances
The local autonomous system (AS) number identifies the AS in which the BGP4 device resides.
You can assign different BGP AS numbers for each VRF instance. If you do not assign an AS number,
the BGP VRF instances use the default BGP AS number, as in previous releases.
The local-as command is available under the "global BGP" CLI level and "address- family ipv4 unicast
vrf" CLI level.
To set the local as number for a VRF, enter commands such as the following.
Brocade(config-bgp)#address-family ipv4 unicast vrf vrf-name
Brocade(config-bgp)#local-as num
Syntax: [no] local-as num
The num parameter specifies a local AS number in the range 1 - 4294967295. It has no default. AS
numbers 64512 - 65535 are the well-known private BGP4 AS numbers and are not advertised to the
Internet community.
The configuration takes effect immediately and the BGP VRF instance is reset. All BGP peering within
the VRF is reset, and take the new AS number.
The local AS number for the VRF instance, if configured, is displayed in the show running-config and
show ip bgp config command output.
Enter the show ip bgp config command:
Brocade#show ip bgp config
Current BGP configuration:
router bgp
local-as 100
neighbor 10.10.10.10 remote-as 200
address-family ipv4 unicast
exit-address-family
address-family ipv6 unicast
exit-address-family
address-family ipv4 unicast vrf vrf_a
local-as 300
neighbor 10.111.111.111 remote-as 400
exit-address-family
end of BGP configuration
Setting the local AS number
FastIron Ethernet Switch Layer 3 Routing Configuration Guide
399
53-1003087-04