PurposeCommand or Action
Adds an entry to the BGP neighbor table specifying
that the neighbor identified by the IP address belongs
to the specified AS.
neighbor {ip-address | peer-group-name}
remote-as number
Example:
Device(config)# neighbor 10.108.1.2
remote-as 65200
Step 5
For EBGP, neighbors are usually directly connected,
and the IP address is the address of the interface at
the other end of the connection.
For IBGP, the IP address can be the address of any of
the router interfaces.
(Optional) Removes private AS numbers from the
AS-path in outbound routing updates.
neighbor {ip-address | peer-group-name}
remove-private-as
Example:
Device(config)# neighbor
172.16.2.33 remove-private-as
Step 6
(Optional) Enables synchronization between BGP and
an IGP.
synchronization
Example:
Device(config)# synchronization
Step 7
(Optional) Enables automatic network summarization.
When a subnet is redistributed from an IGP into BGP,
only the network route is inserted into the BGP table.
auto-summary
Example:
Device(config)# auto-summary
Step 8
(Optional) Enables NSF awareness on switch. By
default, NSF awareness is disabled.
bgp graceful-restart
Example:
Device(config)# bgp graceful-start
Step 9
Returns to privileged EXEC mode.end
Example:
Device(config)# end
Step 10
Verifies the configuration.
show ip bgp network network-number
Example:
Device# show ip bgp network
10.108.0.0
Step 11
Verifies that NSF awareness (Graceful Restart) is
enabled on the neighbor.
show ip bgp neighbor
Example:
Device# show ip bgp neighbor
Step 12
If NSF awareness is enabled on the switch and the
neighbor, this message appears:
Routing Configuration Guide, Cisco IOS XE Everest 16.6.x (Catalyst 9500 Switches)
127
Configuring IP Unicast Routing
Enabling BGP Routing