Defining Vpns - Cisco Catalyst 3750 Software Configuration Manual

Metro switch
Hide thumbs Also See for Catalyst 3750:
Table of Contents

Advertisement

Configuring MPLS VPNs

Defining VPNs

Beginning in privileged EXEC mode, follow these steps to define VPN routing instances on the PE
router:
Command
Step 1
configure terminal
Step 2
ip routing
Step 3
ip vrf vrf-name
Step 4
rd route-distinguisher
Step 5
route-target {export | import | both}
route-target-ext-community
Step 6
import map route-map
Step 7
export map route-map
Step 8
exit
Step 9
interface interface-id
Step 10
ip vrf forwarding vrf-name
Step 11
end
Step 12
show ip vrf
Step 13
show ip route vrf
show ip cef vrf vrf-name
Step 14
copy running-config startup-config
Use the no ip vrf vrf-name global configuration command to delete a VRF and remove all interfaces
from it. Use the no ip vrf forwarding interface configuration command to remove an interface from a
VRF.
Catalyst 3750 Metro Switch Software Configuration Guide
30-8
Purpose
Enter global configuration mode.
Enable IP routing (required only if routing is disabled).
Enter VRF configuration mode, and define the VPN routing instance by
assigning a VRF name.
Create a VRF table by specifying a route distinguisher. Enter either an AS
number and an arbitrary number (xxx:y) or an IP address and arbitrary
number (A.B.C.D:y).
Create a list of import, export, or import and export route target
communities for the specified VRF. Enter either an AS system number
and an arbitrary number (xxx:y) or an IP address and an arbitrary number
(A.B.C.D:y). The route-target-ext-community should be the same as the
route-distinguisher entered in Step 4.
(Optional) Associate the specified import route map with the VRF.
(Optional) Associate the specified export route map with the VRF.
Return to global configuration mode.
Enter interface configuration mode, and specify the Layer 3 ES or VLAN
interface to be associated with the VRF.
Associate the Layer 3 interface with the VRF.
Return to privileged EXEC mode.
Display the defined VRFs and interfaces.
Display the IP routing table for a VRF.
Display the CEF forwarding table associated with a VRF.
(Optional) Save your entries in the configuration file.
Chapter 30
Configuring MPLS and EoMPLS
78-15870-01

Advertisement

Table of Contents
loading

Table of Contents