Specifications

Implementing BGP on Cisco IOS XR Software
How to Implement BGP on Cisco IOS XR Software
RC-103
Cisco IOS XR Routing Configuration Guide
Configuring BGP as a PE-CE Protocol
Perform this task to configure BGP on the PE and establish PE-CE communication using BGP.
SUMMARY STEPS
1. configure
2. router bgp as-number
3. vrf vrf-name
4. bgp router-id ip-address
5. label-allocation-mode per-ce
6. address-family {ipv4 | ipv6} unicast
7. network {ip-address/prefix-length | ip-address mask}
8. aggregate-address address/mask-length
9. exit
10. neighbor ip-address
11. remote-as as-number
12. password {clear | encrypted} password
13. ebgp-multihop [ttl-value]
14. address-family {ipv4 {unicast | labeled-unicast} | ipv6 unicast}
15. site-of-origin [as-number:nn | ip-address:nn]
16. as-override
17. allowas-in [as-occurrence-number]
Step 5
end
or
commit
Example:
RP/0/RP0/CPU0:router(config-bgp-nbr-af)# end
or
RP/0/RP0/CPU0:router(config-bgp-nbr-af)# commit
Saves configuration changes.
When you issue the end command, the system prompts
you to commit changes:
Uncommitted changes found, commit them before
exiting(yes/no/cancel)?
[cancel]:
Entering yes saves configuration changes to the
running configuration file, exits the configuration
session, and returns the router to EXEC mode.
Entering no exits the configuration session and
returns the router to EXEC mode without
committing the configuration changes.
Entering cancel leaves the router in the current
configuration session without exiting or
committing the configuration changes.
Use the commit command to save the configuration
changes to the running configuration file and remain
within the configuration session.
Command or Action Purpose