30-9
Catalyst 3750 MetroSwitch Software Configuration Guide
78-15870-01
Chapter 30 Configuring MPLS and EoMPLS
Configuring MPLS VPNs
Configuring BGP Routing Sessions
Beginning in privileged EXEC mode, follow these steps on the PE 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 PE-to-PE Routing Sessions
Beginning in privileged EXEC mode, follow these steps on the PE router to configure a PE-to-PE routing
session in a provider network that uses IBGP:
Use the no router bgp autonomous-system global configuration command to delete the BGP routing
session.
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
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 5
neighbor ip-address activate Activate the advertisement of the IPv4 address family.
Step 6
end Return to privileged EXEC mode.
Step 7
show ip bgp neighbor Verify the configuration.
Step 8
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 remote-as as-number Define an IBGP session between the PE routers.
Step 5
neighbor ip-address activate Activate the advertisement of the IPv4 address family.
Step 6
end Return to privileged EXEC mode.
Step 7
show ip bgp [ipv4] [neighbors] [vpnv4] Verify BGP configuration. Display information about all BGP
IPv4 prefixes.
Step 8
copy running-config startup-config (Optional) Save your entries in the configuration file.