cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
450
Views
0
Helpful
3
Replies

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

news2010a
Level 3
Level 3

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 3

news2010a
Level 3
Level 3

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.

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.

Hi,

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

Best regards,

Peter

Review Cisco Networking products for a $25 gift card