Vrf-Lite Configuration Example - Cisco Catalyst 4500 Series Configuration Manual

Release ios xe 3.3.0sg and ios 15.1(1)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 39
Configuring VRF-lite
Command
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
Use the no router bgp autonomous-system-number global configuration command to delete the BGP
routing process. Use the command with keywords to delete routing characteristics.

VRF-lite Configuration Example

Figure 39-2
Figure
to PE connections. The example commands show how to configure the CE switch S8 and include the
VRF configuration for switches S20 and S11 and the PE router commands related to traffic with switch
S8. Commands for configuring the other switches are not included but would be similar.
OL-25340-01
[
] [
ipv4
neighbors
is a simplified example of the physical connections in a network similar to that in
39-1. OSPF is the protocol used in VPN1, VPN2, and the global network. BGP is used in the CE
Software Configuration Guide—Release IOS XE 3.3.0SG and IOS 15.1(1)SG
Purpose
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.
VRF-lite Configuration Example
39-13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents