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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Static ARP entry command no worky with vlan

Anyone know why this happens? I'm trying to enter a static arp entry and assign it to a specific vlan, for example:

arp 192.168.200.1 aaaa.bbbb.cccc arpa vlan 15

                    % Invalid input detected at '^' marker

When this is entered it errors out and marks the word vlan like it is invalid, though it is a valid option when inching forward using the ? help character. I tried multiple iterations and the only other response I get is if I enter vlan 1. To that the router responds with:

Bad ARP command - Interface may only be specified when bridging IP

Is one to assume that the vlan need not be specified? I opted to enter the vlan only for uniformity, but then when it behaved strangely I became curious. I wonder in what scenario adding the vlan to an arp entry would be valid and acceptable.

Thanks, Mike

Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: Static ARP entry command no worky with vlan

Hello,

What you experienced is the normal behavior. The L3 device does not allow

you to specify the interface when you are operating in routed mode. Based on

the address you have configured, it will automatically allocate the static

ARP entry to appropriate interface. If you have entered an IP that does not

belong to any subnet, then all interfaces will consider that ARP entry. Only

if you configure two interfaces in bridge mode (like in the case of PPPoE

scenarios), then you can specify the interface ID.

Hope this helps.

Regards,

NT

2 REPLIES
Cisco Employee

Re: Static ARP entry command no worky with vlan

Hello,

What you experienced is the normal behavior. The L3 device does not allow

you to specify the interface when you are operating in routed mode. Based on

the address you have configured, it will automatically allocate the static

ARP entry to appropriate interface. If you have entered an IP that does not

belong to any subnet, then all interfaces will consider that ARP entry. Only

if you configure two interfaces in bridge mode (like in the case of PPPoE

scenarios), then you can specify the interface ID.

Hope this helps.

Regards,

NT

New Member

Static ARP entry command no worky with vlan

Dear all

I get the same problem

can anyone tell me how to set static arp for an IP in a vlan on a L3 Cisco switch

arp 192.168.200.1 aaaa.bbbb.cccc arpa vlan 15

Bad ARP command - Interface may only be specified when bridging IP

Tks so much

8222
Views
0
Helpful
2
Replies
CreatePlease to create content