Configuring Bgp Pe To Ce Routing Sessions - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Configuring BGP PE to CE Routing Sessions

To configure OSPF in the VPN, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# router ospf
process-id vrf vrf-name
Step 3
Switch(config-router)#
log-adjacency-changes
Step 4
Switch(config-router)# redistribute
bgp autonomous-system-number subnets
Step 5
Switch(config-router)# network
network-number area area-id
Step 6
Switch(config-router)# end
Step 7
Switch# show ip ospf process-id
Step 8
Switch# copy running-config
startup-config
Use the no router ospf process-id vrf vrf-name global configuration command to disassociate the VPN
forwarding table from the OSPF routing process.
Configuring BGP PE to CE Routing Sessions
To configure a BGP PE to CE routing session, perform this task:
Command
Step 1
Switch# configure terminal
Step 2
Switch(config)# router bgp
autonomous-system-number
Step 3
Switch(config-router)# network
network-number mask network-mask
Step 4
Switch(config-router)# redistribute
ospf process-id match internal
Step 5
Switch(config-router)# network
network-number area area-id
Step 6
Switch(config-router-af)#
address-family ipv4 vrf vrf-name
Step 7
Switch(config-router-af)# neighbor
address remote-as as-number
Step 8
Switch(config-router-af)# neighbor
address activate
Step 9
Switch(config-router-af)# end
Software Configuration Guide—Release 12.2(25)EW
28-6
Purpose
Enters global configuration mode.
Enables OSPF routing, specifies a VPN forwarding table,
and enters router configuration mode.
(Optional) Logs changes in the adjacency state. This is the
default state.
Sets the switch to redistribute information from the BGP
network to the OSPF network.
Defines a network address and mask on which OSPF runs
and the area ID for that network address.
Returns to privileged EXEC mode.
Verifies the configuration of the OSPF network.
(Optional) Saves your entries in the configuration file.
Purpose
Enters global configuration mode.
Configures the BGP routing process with the AS number
passed to other BGP routers and enters router
configuration mode.
Specifies a network and mask to announce using BGP.
Sets the switch to redistribute OSPF internal routes.
Defines a network address and mask on which OSPF runs
and the area ID for that network address.
Defines BGP parameters for PE to CE routing sessions and
enters VRF address-family mode.
Defines a BGP session between PE and CE routers.
Activates the advertisement of the IPv4 address family.
Returns to privileged EXEC mode.
Chapter 28
Configuring VRF-lite
OL-6696-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents