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

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.

New Member

Effect of command ip vrf on interface


In mpls structure, when i assign ip vrf gree to an interface. is it only the routing table which 'll be forwand in thi vrf or the trafic 'll be forward too ??

Any answer 'll be appreciated.


Re: Effect of command ip vrf on interface

When applied to the interface, the interface is now participating in the vrf gree. By default, the global routing table does not see the ip on this interface, and this vrf will not use the global routing table. You build this private routing table through the use of static routes (ip route vrf gree or dynamic routes by assigning an instance of the routing protocol inside the vrf. If you wanted to leak routes to the global routing table, you could use the word global at the end of a static route, but you have to make sure the infrastructure knows what interface to point back to for the network blocks located in the vrf (the path out is not a problem, its the return path that you have to make special arangements for). If you wanted to communicate between vrfs, you could do selective import/export on the route targets.

Hope this helps.

New Member

Re: Effect of command ip vrf on interface

Thank a lot.

You talk about private routing table in router. This private ip table is to transport private trafic.

how the private trafic is transported ?

for exemple:

interface f0/0.1

ip vrf green

interface f0/0.2

ip vrf blue

How the trafic is isolated ?? which command enable this fonctionnality ? Is vrf can enable it ??

Best regards.

CreatePlease login to create content