PurposeCommand or Action
stored). The always keyword forces the software to store
a copy even when route refresh is supported by the peer.
commit
Step 6
Configuring Keychains for BGP
Keychains provide secure authentication by supporting different MAC authentication algorithms and provide
graceful key rollover. Perform this task to configure keychains for BGP. This task is optional.
If a keychain is configured for a neighbor group or a session group, a neighbor using the group inherits the
keychain. Values of commands configured specifically for a neighbor override inherited values.
Note
SUMMARY STEPS
1. configure
2. router bgp as-number
3. neighbor ip-address
4. remote-as as-number
5. keychain name
6. commit
DETAILED STEPS
PurposeCommand or Action
configure
Step 1
Specifies the autonomous system number and enters the
BGP configuration mode, allowing you to configure the
BGP routing process.
router bgp as-number
Example:
RP/0/RP0/CPU0:router(config)# router bgp 120
Step 2
Places the router in neighbor configuration mode for BGP
routing and configures the neighbor IP address as a BGP
peer.
neighbor ip-address
Example:
RP/0/RP0/CPU0:router(config-bgp)# neighbor
172.168.40.24
Step 3
Creates a neighbor and assigns a remote autonomous system
number to it.
remote-as as-number
Example:
Step 4
RP/0/RP0/CPU0:router(config-bgp-nbr)# remote-as
2002
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
76
Implementing BGP
Configuring Keychains for BGP