Cisco Cisco IOS Software Release 12.2(14)S

Page de 30
      VRF-Autoclassify
Configuration Examples for VRF-Autoclassify
10
Cisco IOS Release 12.2(27)SBA
Step 7
show ip arp
Use this command to verify that ARP is enabled, for example:
Router# show ip arp
Protocol Address          Age (min) Hardware Addr   Type   Interface
Internet 20.1.1.1                -   0050.a2de.7055 ARPA   Ethernet3/1
Internet 10.0.18.171             -   0050.a2de.7054 ARPA   Ethernet3/0
Step 8
show ip arp vrf vrf-name
Use this command to verify that the VRF named “red” is assigned to the correct IP address and 
interfaces, for example:
Router# show ip arp vrf red
Protocol Address          Age (min) Hardware Addr   Type   Interface
Internet 1.1.1.1                 -   0050.a2de.7055 ARPA   Ethernet3/1
Internet 2.1.1.1                 -   0050.a2de.7056 ARPA   Ethernet3/2
Use the ping command from IP address 1.1.1.2 to IP address 1.1.1.1 and then the show ip arp vrf red 
command to verify the ARP entry of 1.1.1.2 in VRF red, for example:
Router# show ip arp vrf red
Protocol Address          Age (min) Hardware Addr   Type   Interface
Internet 1.1.1.1                 -   0050.a2de.7055 ARPA   Ethernet3/1
Internet 1.1.1.2                19   000a.f4b1.2b82 ARPA   Ethernet3/1
Internet 2.1.1.1                 -   0050.a2de.7056 ARPA   Ethernet3/2
A ping from IP address 2.1.1.1 and IP address 2.1.1.2 are also good. This creates an ARP entry of 2.1.1.2 
in VRF red as shown below using the show ip arp vrf red command.
Router# show ip arp vrf red
Protocol Address          Age (min) Hardware Addr   Type   Interface
Internet 2.1.1.2                 8   0050.50c1.f011 ARPA   Ethernet3/2
Internet 1.1.1.1                 -   0050.a2de.7055 ARPA   Ethernet3/1
Internet 1.1.1.2                19   000a.f4b1.2b82 ARPA   Ethernet3/1
Internet 2.1.1.1                 -   0050.a2de.7056 ARPA   Ethernet3/2
Configuration Examples for VRF-Autoclassify
The section provides the following configuration examples:
VRF-Autoclassify Basic Connectivity Configuration: Example
The following example shows how to configure basic connectivity that uses the VRF-Autoclassify 
feature.
interface Ethernet0/1
ip address 1.1.1.2 255.255.255.0
interface Ethernet3/1
ip address 1.1.1.1 255.255.255.0 secondary vrf red
ip address 20.1.1.1 255.255.255.0