Configuring Bgp Pe To Ce Routing Sessions - Cisco Catalyst 4500 Series Software Configuration Manual

Cisco ios xe release 3.9.xe and cisco ios release 15.2(5)ex
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 43
Configuring VRF-lite
Command
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.
The following example shows how to configure a single VRF named VRF-RED:
Switch(config)# ip vrf VRF-RED
Switch(config-vrf)# rd 1:1
Switch(config-vrf)# exit
Switch(config)# router eigrp virtual-name
Switch(config-router)# address-family ipv4 vrf VRF-RED autonomous-system 1
Switch(config-router-af)# network 10.0.0.0 0.0.0.255
Switch(config-router-af)# topology base
Switch(config-router-topology)# default-metric 10000 100 255 1 1500
Switch(config-router-topology)# exit-af-topology
Switch(config-router-af)# exit-address-family

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
Step 10
Switch# show ip bgp
Step 11
Switch# copy running-config
startup-config
[
] [
ipv4
neighbors
Catalyst 4500 Series Switch, Cisco IOS Software Configuration Guide - Cisco IOS XE 3.9.xE and IOS 15.2(5)Ex
Purpose
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.
] Verifies BGP configuration.
(Optional) Saves your entries in the configuration file.
Configuring VRF-lite for IPv4
43-9

Advertisement

Table of Contents
loading

Table of Contents