Step 1
|
enable
|
Enables privileged EXEC mode.
|
Step 2
|
configure
terminal
Device# configure terminal
|
Enters global configuration mode.
|
Step 3
|
router
bgp
autonomous-system-number
Device(config)# router bgp 100
|
Configures the BGP routing process.
|
Step 4
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
remote-as
as-number
Device(config-router)# neighbor 192.168.2.101 remote-as 100
|
Adds an entry to the multiprotocol BGP neighbor table, and provides peering with the Internet gateway in order to provide
Internet access.
|
Step 5
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
update-source
interface-type
interface-number
Device(config-router)# neighbor 192.168.2.101 update-source Loopback 0
|
Enables the BGP session to use a source address on the specified interface.
|
Step 6
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
remote-as
as-number
Device(config-router)# neighbor 192.168.2.121 remote-as 100
|
Adds an entry to the multiprotocol BGP neighbor table, and provides peering with the other POP’s RR.
|
Step 7
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
update-source
interface-type
interface-number
Device(config-router)# neighbor 192.168.2.121 update-source Loopback 0
|
Enables the BGP session to use a source address on the specified interface.
|
Step 8
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
remote-as
as-number
Device(config-router)# neighbor 192.168.2.127 remote-as 100
|
Adds an entry to the multiprotocol BGP neighbor table.
|
Step 9
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
update-source
interface-type
interface-number
Device(config-router)# neighbor 192.168.2.127 update-source Loopback 0
|
Enables the BGP session to use a source address on the specified interface.
|
Step 10
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
remote-as
as-number
Device(config-router)# neighbor 192.168.2.1 remote-as 200
|
(Optional) Adds an entry to the multiprotocol BGP neighbor table, and provides peering with the RR of the peer ISP in order
to provide inter-VPN service.
|
Step 11
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
update-source
interface-type
interface-number
Device(config-router)# neighbor 192.168.2.1 update-source Loopback 0
|
(Optional) Enables the BGP session to use a source address on the specified interface.
|
Step 12
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
ebgp-multihop [ttl ]
Device(config-router)# neighbor 192.168.2.1 ebgp-multihop
|
(Optional) Accepts and attempts BGP connections to external peers residing on networks that are not directly connected.
|
Step 13
|
address-family
ipv6
Device(config-router)# address-family ipv6
|
(Optional) Enters address family configuration mode in order to provide Internet access service.
|
Step 14
|
neighbor
{ip-address |
peer-group-name |
ipv6-address }
activate
Device(config-router-af)# neighbor 192.168.2.101 activate
|
(Optional) Enables the exchange of information for this address family with the specified neighbor.
|
Step 15
|
neighbor
{
ip-address
|
ipv6-address |
peer-group-name }
send-label
Device(config-router-af)# neighbor 192.168.2.101 send-label
|
(Optional) Enables a BGP device to send MPLS labels with BGP routes to a neighboring BGP device.
|
Step 16
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
route-reflector-client
Device(config-router-af)# neighbor 192.168.2.101 route-reflector-client
|
(Optional) Configures the device as a BGP route reflector and configures the specified neighbor as its client.
|
Step 17
|
neighbor
{ip-address |
peer-group-name |
ipv6-address }
activate
Device(config-router-af)# neighbor 192.168.2.121 activate
|
(Optional) Enables the exchange of information for this address family with the specified BGP neighbor.
|
Step 18
|
neighbor
{
ip-address
|
ipv6-address |
peer-group-name }
send-label
Device(config-router-af)# neighbor 192.168.2.121 send-label
|
(Optional) Enables a BGP device to send MPLS labels with BGP routes to a neighboring BGP device.
|
Step 19
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
route-reflector-client
Device(config-router-af)# neighbor 192.168.2.121 route-reflector-client
|
(Optional) Configures the specified neighbor as a route reflector client.
|
Step 20
|
neighbor
{ip-address |
peer-group-name |
ipv6-address }
activate
Device(config-router-af)# neighbor 192.168.2.127 activate
|
(Optional) Enables the exchange of information for this address family with the specified BGP neighbor.
|
Step 21
|
neighbor
{
ip-address
|
ipv6-address |
peer-group-name }
send-label
Device(config-router-af)# neighbor 192.168.2.127 send-label
|
(Optional) Enables a BGP device to send MPLS labels with BGP routes to a neighboring BGP device.
|
Step 22
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
route-reflector-client
Device(config-router-af)# neighbor 192.168.2.127 route-reflector-client
|
(Optional) Configures the specified neighbor as a route reflector client.
|
Step 23
|
exit
Device(config-router-af)# exit
|
(Optional) Exits address family configuration mode.
|
Step 24
|
address-family
vpnv6
[unicast
Device(config-router)# address-family vpnv6
|
Places the device in address family configuration mode for configuring routing sessions.
|
Step 25
|
neighbor
{ip-address |
peer-group-name |
ipv6-address }
activate
Device(config-router-af)# neighbor 192.168.2.121 activate
|
Enables the exchange of information for this address family with the specified BGP neighbor.
|
Step 26
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
send-community [both |
standard |
extended ]
Device(config-router-af)# neighbor 192.168.2.21 send-community extended
|
Specifies that a communities attribute should be sent to the BGP neighbor.
|
Step 27
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
route-reflector-client
Device(config-router-af)# neighbor 192.168.2.121 route-reflector-client
|
Configures the specified neighbor as a route reflector client.
|
Step 28
|
neighbor
{ip-address |
peer-group-name |
ipv6-address }
activate
Device(config-router-af)# neighbor 192.168.2.127 activate
|
Enables the exchange of information for this address family with the specified BGP neighbor.
|
Step 29
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
send-community [both |
standard |
extended ]
Device(config-router-af)# neighbor 192.168.2.127 send-community extended
|
Specifies that a communities attribute should be sent to the BGP neighbor.
|
Step 30
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
route-reflector-client
Device(config-router-af)# neighbor 192.168.2.127 route-reflector-client
|
Configures the specified neighbor as a route reflector client.
|
Step 31
|
neighbor
{ip-address |
peer-group-name |
ipv6-address }
activate
Device(config-router-af)# neighbor 192.168.2.1 activate
|
Enables the exchange of information for this address family with the specified BGP neighbor.
|
Step 32
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
send-community [both |
standard |
extended ]
Device(config-router-af)# neighbor 192.168.2.1 send-community extended
|
Specifies that a communities attribute should be sent to the BGP neighbor.
|
Step 33
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
route-reflector-client
Device(config-router-af)# neighbor 192.168.2.1 route-reflector-client
|
Configures the specified neighbor as a route reflector client.
|
Step 34
|
neighbor
{ip-address |
ipv6-address |
peer-group-name }
next-hop-unchanged [allpaths
Device(config-router-af)# neighbor 192.168.2.1 next-hop-unchanged allpaths
|
Enables an EBGP multihop peer to propagate to the next hop unchanged for paths.
|