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

Is it possible to map a static IP to a given MAC on a Cisco switch?

Hi, I need to do the below on a 3750-48P and 2950:

Imagine I have a terminal server. Terminal server vendor tells me that I should grab the given terminal server MAC address and assign it to an IP address temporarily on the Cisco switch, connect the terminal server to the Cisco switch, telnet to the terminal server, so I can configure it using the temporary IP.

I tried to the following but I would like to confirm this is right:

On the Cisco switch I did:

config t

mac-address-table static <given_MAC> vlan 300 int fa0/1

Then I assigned port fa0/1 to vlan 300:

config t

int fa0/1

switchport mode access

switchport access vlan 300

Now the problem is that I still do not see how I can assign a temporary IP to the respective MAC address though.

Any ideas?

3 REPLIES
Community Member

Re: Is it possible to map a static IP to a given MAC on a Cisco

Darn. It sounds like:

Switch(config)#arp 192.168.1.1 0090.x410.2d08

can do.

In case anyone knows this, please let me know if I should use 'arpa' option for this.

Community Member

Re: Is it possible to map a static IP to a given MAC on a Cisco

Never mind. Got this one.

encapsulation-type

Encapsulation type. The encapsulation types are:

•arpa

•srp

•srpa

•srpb

For Ethernet interfaces, this is typically the arpa keyword.

Cisco Employee

Re: Is it possible to map a static IP to a given MAC on a Cisco

Hi,

Sure, use the 'arpa' option - that is the usual Ethernet_II format.

Best regards,

Peter

272
Views
0
Helpful
3
Replies
CreatePlease to create content