Step 1 |
enable
Example:
|
Enables privileged EXEC mode.
- Enter your password if prompted.
|
Step 2 |
configure
terminal
Example:
Device# configure terminal
|
Enters global configuration mode.
|
Step 3 |
router
bgp
autonomous-system-number
Example:
Device(config)# router bgp 4000
|
Enters router configuration mode for the specified routing process.
|
Step 4 |
address-family
ipv4
[unicast |
vrf
vrf-name]
Example:
Device(config-router)# address-family ipv4 unicast
|
Specifies the IPv4 address family and enters address family configuration mode.
- The
unicast keyword specifies the IPv4 unicast address family.
- The
vrf keyword and
vrf-name argument specify the name of the virtual routing and forwarding (VRF) instance to associate with subsequent IPv4 address family configuration mode commands.
|
Step 5 |
neighbor
ip-address
remote-as
as-number
Example:
Device(config-router-af)# neighbor 192.168.1.1 remote-as 4000
|
Specifies the autonomous system of the neighbor.
|
Step 6 |
neighbor
ip-address
activate
Example:
Device(config-router-af)# neighbor 192.168.1.1 activate
|
Activates the specified peer.
|
Step 7 |
neighbor
ip-address
ha-mode sso
Example:
Device(config-router-af)# neighbor 192.168.1.1 ha-mode sso
|
Configures a BGP neighbor to support BGP NSR with stateful switchover (SSO).
|
Step 8 |
end
Example:
Device(config-router-af)# end
|
Exits address family configuration mode and returns to privileged EXEC mode.
|