cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
539
Views
7
Helpful
3
Replies

Passing MPLS traffic through 6500

Haris P
Level 4
Level 4

Dear Experts,

I have a 6500 switch running normal IP traffic . Now I want to pass some traffic through this 6500 , but i don't want this to affect the normal routing table

So I decided to do the config. as given below . Now my concern is Is there is any limitation in doing this ?


Another concern is that whether this config. will work fine if I don't have any physical interface with tag switching ?

ip vrf test
rd 1:98
route-target export 1:98
route-target import 1:98


interface Vlan10
ip vrf forwarding test
ip address 192.168.1.1 255.255.255.0


int int range gigabitEthernet 3/13 - 15
switchport
switchport access vlan 10


interface GigabitEthernet3/7

description uplink to Customer


interface GigabitEthernet3/7.1
encapsulation dot1Q 667
ip vrf forwarding test
ip address 10.25.4.3 255.255.255.0


ip route vrf 0.0.0.0 0.0.0.0 10.25.4.1

Please help me to give an answer . I will rate the helpful comments

regards

haris

3 Replies 3

Unknown.
Level 1
Level 1

Harris,

so what you are doing is:

create a VLAN 10 with his SVI part of the "test" VRF. In the switchports part of VLAN 10 I assume that you will attach some customer related servers or end point.

Then you create a subinterface connected with the next hop at the customer, also part of the "test" VRF.

This will create a "test" VRF routing table with 2 connected subnets: 192.168.1.0/24 and 10.25.4.0/24. Off course you will need a default gateway towards your next hop at the customer but here you made a small mistake:

you should include the VRF name in your static route:

ip route vrf test 0.0.0.0 0.0.0.0 10.25.4.1

After this you will have a fully operational environment without any impact on your current and global routing.

Regards,

Ben

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Haris,

>> will work fine if I don't have any physical interface with tag switching ?

it can work if you provide a full path for the VRF, if all you want is to route packets originated in vlan 10 IP subnet to that IP next-hop you are fine.

What you have done is called VRF lite or multi VRF CE that is using VRFs without using MPLS forwarding.

if you have two or more VRFs a distinct exit point for each VRF is needed (at least at logical level)

This makes VRF lite less scalable then standard MPLS L3 VPN where you use a backbone link for all possible VRFs by using MPLS forwarding plane.

Hope to help

Giuseppe

Dear Giuseppe ,

Thanks for your helpful answer ..

I rated it

Regards

Haris