Configuring A Vpn Routing Session - Cisco Catalyst 3550 series Software Configuration Manual

Multilayer switch
Hide thumbs Also See for Catalyst 3550 series:
Table of Contents

Advertisement

Configuring Multi-VRF CE

Configuring a VPN Routing Session

Routing within the VPN can be configured with any supported routing protocol (RIP, OSPF, IGRP,
EIGRP, or BGP) or with static routing. The configuration shown here is for OSPF, but the process is the
same for other protocols.
Beginning in privileged EXEC mode, follow these steps to configure OSPF in the VPN:
Command
Step 1
configure terminal
Step 2
router ospf process-id vrf vrf-name
Step 3
log-adjacency-changes
Step 4
redistribute bgp
autonomous-system-number subnets
Step 5
network network-number area area-id
Step 6
end
Step 7
show ip ospf process-id
Step 8
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
Beginning in privileged EXEC mode, follow these steps to configure a BGP PE to CE routing session:
Command
Step 1
configure terminal
Step 2
router bgp autonomous-system-number
Step 3
network network-number mask
network-mask
Step 4
redistribute ospf process-id match
internal
Step 5
network network-number area area-id
Step 6
address-family ipv4 vrf vrf-name
Step 7
neighbor address remote-as as-number
Step 8
neighbor address activate
Catalyst 3550 Multilayer Switch Software Configuration Guide
31-70
Chapter 31
Purpose
Enter global configuration mode.
Enable OSPF routing, specify a VPN forwarding table,
and enter router configuration mode.
(Optional) Log changes in the adjacency state. This is the
default state.
Set the switch to redistribute information from the BGP
network to the OSPF network.
Define a network address and mask on which OSPF runs
and the area ID for that network address.
Return to privileged EXEC mode.
Verify the configuration of the OSPF network.
(Optional) Save your entries in the configuration file.
Purpose
Enter global configuration mode.
Configure the BGP routing process with the AS number
passed to other BGP routers, and enter router
configuration mode.
Specify a network and mask to announce using BGP.
Set the switch to redistribute OSPF internal routes.
Define a network address and mask on which OSPF runs
and the area ID for that network address.
Define BGP parameters for PE to CE routing sessions, and
enter VRF address-family mode.
Define a BGP session between PE and CE routers.
Activate the advertisement of the IPv4 address family.
Configuring IP Unicast Routing
78-11194-09

Advertisement

Table of Contents
loading

Table of Contents