Sample Two: One Switch Supports Dai - Cisco 7604 Configuration Manual

Ios software configuration guide
Hide thumbs Also See for 7604:
Table of Contents

Advertisement

Chapter 38
Configuring Dynamic ARP Inspection

Sample Two: One Switch Supports DAI

This procedure shows how to configure DAI when Router B shown in
support DAI or DHCP snooping.
If switch Router B does not support DAI or DHCP snooping, configuring Fast Ethernet port 6/3 on
Router A as trusted creates a security hole because both Router A and Host 1 could be attacked by either
Router B or Host 2.
To prevent this possibility, you must configure Fast Ethernet port 6/3 on Router A as untrusted. To permit
ARP packets from Host 2, you must set up an ARP ACL and apply it to VLAN 1. If the IP address of
Host 2 is not static, which would make it impossible to apply the ACL configuration on Router A, you
must separate Router A from Router B at Layer 3 and use a router to route packets between them.
To set up an ARP ACL on switch Router A, follow these steps:
Configure the access list to permit the IP address 1.1.1.1 and the MAC address 0001.0001.0001, and
Step 1
verify the configuration:
RouterA# configure terminal
Enter configuration commands, one per line.
RouterA(config)# arp access-list H2
RouterA(config-arp-nacl)# permit ip host 1.1.1.1 mac host 1.1.1
RouterA(config-arp-nacl)# end
RouterA# show arp access-list
ARP access list H2
Apply the ACL to VLAN 1, and verify the configuration:
Step 2
RouterA# configure terminal
Enter configuration commands, one per line.
RouterA(config)# ip arp inspection filter H2 vlan 1
RouterA(config)# end
RouterA#
RouterA# show ip arp inspection vlan 1
Source Mac Validation
Destination Mac Validation : Disabled
IP Address Validation
Vlan
----
Vlan
----
RouterA#
Configure Fast Ethernet port 6/3 as untrusted, and verify the configuration:
Step 3
RouterA# configure terminal
Enter configuration commands, one per line.
RouterA(config)# interface fastethernet 6/3
RouterA(config-if)# no ip arp inspection trust
RouterA(config-if)# end
Switch# show ip arp inspection interfaces fastethernet 6/3
Interface
---------------
OL-4266-08
permit ip host 1.1.1.1 mac host 0001.0001.0001
Configuration
-------------
1
Enabled
ACL Logging
-----------
1
Deny
Trust State
-----------
Cisco 7600 Series Router Cisco IOS Software Configuration Guide, Release 12.2SX
End with CNTL/Z.
End with CNTL/Z.
: Disabled
: Disabled
Operation
ACL Match
---------
---------
Active
H2
DHCP Logging
------------
Deny
End with CNTL/Z.
Rate (pps)
----------
DAI Configuration Samples
Figure 38-2 on page 38-4
Static ACL
----------
No
does not
38-21

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

761376067609-s7600 series

Table of Contents