This command enables BGP on a router and specifies the router‘s Autonomous System (AS) number.
as-number | Specifies the AS number for this router. Valid values are 1 - 4294967295. |
None.
Global Configuration.
The router bgp command enables BGP on a router. Because there is no default AS number, an autonomous system number must also be specified.
The no router bgp command disables BGP on a router.
The following example configures the router to be a BGP speaker in AS number 65151.
System(su)->configure System(su-config)->router bgp 65151 System(su-config-bgp)->