Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to set the ip address of a GigabitEthernet interface on a Cisco MWR 2941 router. I have tried the following:

config t
interface gigabitethernet0/2
ip address 1.1.1.1 255.255.255.255

However, I got the error:

IP address may not be configured on L2 links.

How do I configure the port?

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

I just checked the Product Spec for this router. In the list of features I saw this

Built-in Layer 2 Gigabit Ethernet switch supporting line-rate traffic

So the gigabit ports on your router are actually part of a built in switch, layer two devices cannot be configured with an IP address.

What you can do however. Is create a vlan and add those ports to the vlan. The vlan is then given an IP address which I think will help you achieve what you want.

share|improve this answer
1  
Thank you! That's what I want. –  Rayne Aug 8 '12 at 7:37
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.