How to bind mac address with ip address in cisco router

4

ip address in cisco router

If you need to set the IP addresses on several devices that were connected to the network but had not been configured. If you know the first four digits of the OrganizationallyUnique Identifier (OUI), so for locations that had switches you can use the following command to learn the MAC addresses:

sh mac address-table | include xxxx (xxxx = first four digits of the OUI)

In config t, using the MAC address above, you can bound the IP to the MAC:

arp xx.xx.xx.xx yyyy.yyyy.yyyy.yyyy arpa(x = IP y = MAC)

You will be able to Telnet to the device and complete the network configuration. For sites that did not have switches, you can turn on Address Resolution Protocol (ARP) debugging in therouter (only if the sites had fewer other devices and low traffic): debug arp.

Clear the arp table: clear arp.

Simply monitor the debug session for the devices to appear in the router log (referring to the first four digits of the MACaddress). Turn off debug: no debug all.

In config t, using the MAC address found in the log, the IP binding can be done:

arp xx.xx.xx.xx yyyy.yyyy.yyyy.yyyy arpa(x = IP y = MAC)

                                             —————— Thanks Everyone

Share.

About Author

Avatar

4 Comments

Leave A Reply

CAPTCHA ImageChange Image