для Cisco Cisco IOS Software Release 12.2(14)S

Скачать
Страница из 30
      VRF-Autoclassify
How to Configure VRF-Autoclassify
3
Cisco IOS Release 12.2(27)SBA
Figure 2
Return-Packet Mapping on the Downstream Interface
This feature is targeted for directly connected hosts on broadcast media such as an Ethernet interface. In 
networks in which VRF autoclassify is enabled, the IP addresses of the connected hosts can be assigned 
by using DHCP.
How to Configure VRF-Autoclassify
This section contains the following tasks:
 (required)
 (optional)
 (optional)
Enabling VRF-Autoclassify
Perform this task to enable VRF autoclassify. When a upstream interface is configured, ARP is required 
to apply a policy on the ARP packets received and map them to different VRFs based on the source 
addresses of the packets. ARP is also required to insert new entries into its table with the VRF 
identification for the VRF-Autoclassify feature. When the ARP lookup is performed as a packet is 
switched out of the upstream interface in the process switching path, the packet with the VRF table 
identification should be used, instead of the VRF configured on the upstream interface.
Restrictions
Any directly connected hosts must not run routing protocols and the router that is enabled with the 
VRF-Autoclassify feature must not run routing protocols.
If the ip policy route-map command and the ip vrf select source command are specified on an interface, 
the interface will reject the ip vrf auto source command. VRF-Autoclassify is blocked because PBR is 
set with VRF/VRF select.
Overlapped subnets are are not allowed in the same VRF on a broadcast media interface if it is already 
defined on another interface.
This feature is applicable only to unicast packets. Multicast packets, including control packets (for 
example, PIM protocol packets) are not affected by this feature.
Fast ethernet0/0
1.1.1.1/24 vrf red
2.1.1.1/24 vrf green
Fast ethernet1/0
ip vrf forwarding red
3.1.1.1/24
Fast ethernet1/1
ip vrf forwarding green
4.1.1.1/24
VRF red
VRF green
1
27901