router bgp

This command enables BGP on a router and specifies the router‘s Autonomous System (AS) number.

Syntax

router bgp as-number
no router bgp as-number

Parameters

as-number Specifies the AS number for this router. Valid values are 1 - 4294967295.

Defaults

None.

Mode

Global Configuration.

Usage

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.

Example

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)->