34-10
Cisco ME 3800X and 3600X Switch Software Configuration Guide
OL-23400-01
Chapter 34 Configuring MPLS, MPLS VPN, MPLS OAM, and EoMPLS
Configuring MPLS VPNs
Configuring BGP Routing Sessions
Beginning in privileged EXEC mode, follow these steps on the provider-edge router to configure BGP
routing sessions in a provider network:
Use the no router bgp autonomous-system global configuration command to delete the BGP routing
session.
Configuring Provider-Edge-to-Provider-Edge Routing Sessions
You can configure provider-edge-to-provider-edge (PE-PE) routing sessions using IBGP or BGP.
IBGP Provider-Edge-to-Provider-Edge Configuration
Beginning in privileged EXEC mode, follow these steps on the provider-edge router to configure a
PE-to-PE routing session in a provider network that uses IBGP:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
ip routing
Enable IP routing (required only if routing is disabled).
Step 3
router bgp autonomous-system-number
Enable a BGP routing process, assign it the AS number passed
to the other BGP routers, and enter router configuration mode.
The AS number can be from 1 to 65535, with 64512 to 65535
designated as private autonomous numbers.
Step 4
no bgp default ipv4-unicast
Step 5
neighbor {ip-address | peer-group-name}
remote-as as-number
Specify a neighbor IP address or BGP peer group that
identifies it to the local autonomous system. The AS number
can be from 1 to 65535.
Step 6
neighbor {ip-address | peer-group-name}
update-source interface-id
Specify the source for BGP updates.
Step 7
end
Return to privileged EXEC mode.
Step 8
show ip bgp neighbor
Verify the configuration.
Step 9
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
router bgp autonomous-system-number
Enter router configuration mode.
Step 3
address-family vpnv4 [unicast]
Enter address family configuration mode to configure routing
sessions that use standard VPNv4 address prefixes.
(Optional) unicast—Specify VPNv4 unicast address prefixes.
Step 4
neighbor ip-address activate
Activate the advertisement of the IPv4 address family.
Step 5
neighbor ip address send-community extended
Step 6
end
Return to privileged EXEC mode.