316
Cisco Nexus 3548 Switch NX-OS Unicast Routing Command Reference
OL-27852-01
Chapter Unicast Routing Commands
router bgp
router bgp
To assign an autonomous system (AS) number to a router and enter the router BGP configuration mode,
use the router bgp command. To remove an AS number assignment, use the no form of this command.
router bgp as-num[.as-num]
no router bgp as-num[.as-num]
Syntax Description
Command Default No BGP routing process is enabled by default.
Command Modes Address-family configuration mode
Neighbor address-family configuration mode
Router BGP configuration mode
Command History
Usage Guidelines The as-num is the number for the local BGP speaker and allows you to create a unique identifier for the
BGP process on the router.
This command requires the LAN Enterprise Services license.
Examples This example shows how to configure a BGP process for autonomous system 120:
switch# configure terminal
switch(config)# router bgp 120
switch(config-router)#
This example shows how to log neighbor changes for BGP in router configuration mode:
switch# configure terminal
switch(config# bgp router 40000
switch(config-router)# log-neighbor-changes
switch(config-router)#
This example shows how to disable the BGP fast external fallover feature. If the link through which this
session is carried flaps, the connection is not reset.
switch# configure terminal
as-num Number of an autonomous system that identifies the router to other
BGP routers and tags the routing information passed along; valid
values are from 1 to 65535.
.as-num (Optional) Number of an autonomous system that identifies the router
to other BGP routers and tags the routing information passed along;
valid values are from 0 to 65535.
Release Modification
5.0(3)A1(1) This command was introduced.