Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

VRF forwarding on subinterfaces

Is it possible to run the VRF's over subinterfaces.

I want a PE which will be connected to a L2 switch on a dotq trunk and will have two subinterfaces corresponding to 2 customers to forward the traffic out the proper sub interfaces.

The switch is a pure L2 switch and is not possible to run VRF lite on it.

The setup works perfectly when both the customers are terminated on different LAN interface.

Is there any special configuration required to make this work with subinterfaces?

Narayan

4 REPLIES
New Member

Re: VRF forwarding on subinterfaces

There shouldn't be anything special, just run the ip vrf forwarding command on the sub-interface.

I have this configuration in my network using 3700 and 3800 routers, and Cat6K/Sup720, with no issues.

Re: VRF forwarding on subinterfaces

Hi Narayan,

I agree with Michael, there shouldn't be anything special, we have this setup in production using 7204VXR (NPE-300 and NPE-G1) and Cat6K/Sup2 with no problem, try to investigate your IOS feature set.

regards,

Mohammed.

Re: VRF forwarding on subinterfaces

Thanks for the inputs.

I had tried this setup on dynamips and the moment i added the the 2nd subinterface, it broke everything.

Mohammed / Michael, are you sure you are not running VRF lite on the CAT6K cos the switch i ahev shown in the diagram is a 2950 L2 switch

Narayan

Re: VRF forwarding on subinterfaces

Dear Narayan,

You shouldn't need VRF lite on the switch (it should be a pure layer 2 switch), this setup is up an running in our in production network without any problems, kindly check your PE IOS most probably it is the problem.

CE(neither VRF nor VLAN aware) --> L2 switch (with VLAN per customer and dot1q trunking with the PE) --> PE (dot1q subinterface per customer with the ip vrf forwarding command under it).

HTH,

Mohammed.

449
Views
6
Helpful
4
Replies