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

NM-16ESW-1G1G module installed on router

Hello ,

when installed a NM-16ESW module on cisco 3745 router ,the ports are considered switch ports ,because i got a msg:"% IP addresses may not be configured on L2 links." when i tried to give IP address for an interface on the module.

so , i created a VLAN 2 interface and assigned it an IP and added switchport to this VLAN 2.

am i doing right???

7 REPLIES
New Member

Re: NM-16ESW-1G1G module installed on router

Hi

You can configure each interface for routing with no switchport command

Conf t

interface x/x

no switchport

this is the easieast way

New Member

Re: NM-16ESW-1G1G module installed on router

Hi

unfortunately ,this didn't work well on cisco 3745 router ,it does not accept the command "no switchport " ->incomplete command . I issued the command "no switchport mode" and "no switchport access vlan1"

but also it gives the same message that can't configure IP on L2 interfaces !!

Hall of Fame Super Blue

Re: NM-16ESW-1G1G module installed on router

Amin

According to the Etherswitch Q&A your module should support routed ports. The HWIC's don't, they need to have vlan interfaces created but that is not what you have

Q. Can I configure the switch interfaces as Layer 3 ports?

A. The Cisco EtherSwitch network module and service module interfaces can be configured directly as Layer 3, or routed, ports by using the no switchport command and assigning an IP address directly to the port. Cisco Switchports on the HWIC do not support Layer 3 addresses natively; they must be assigned to a SVI and use a VLAN interface for Layer 3. Every switch port can be assigned to a unique VLAN, up to 15 VLANs maximum.

So it's a bit confusing as to why it doesn't work. Have a look at the following link (if you haven't already) for more info

http://www.cisco.com/en/US/prod/collateral/routers/ps5855/product_data_sheet0900aecd8028d15f_ps5854_Products_Data_Sheet.html

Alternatively in answer to your question you can

1) Create the vlan in the vlan database

2) Create a L3 vlan interface for that vlan

3) Assign switchports into that vlan.

The fact that you also cannot use the "switchport access vlan ..." command suggests however you may be in the wrong mode.

Are you sure you are configuring from the interface level ?

Jon

New Member

Re: NM-16ESW-1G1G module installed on router

Hello,

see below ....

(config)#interface fastEthernet 4/1

(config-if)#no switchport

% Incomplete command.

(config-if)#no switchport MODE

(config-if)#no switchport access vlan 1

(config-if)#ip address 10.10.10.1255.255.255.0

% IP addresses may not be configured on L2 links.

//////////////////////////////

now i defined VLAN2 and assigned it an IP address and added the port as follws:

(conf-IF)#switchport access Vlan2

i see the interface up/up but the VLAN is up/down what is the status ?

Purple

Re: NM-16ESW-1G1G module installed on router

Did you create vlan 2 in the vlan database ?

New Member

Re: NM-16ESW-1G1G module installed on router

Hi

No, i just created it as interface , how to do this ,and please what is all the necessary so that my interface becomes have an IP and UP/UP?

Thnx

New Member

Re: NM-16ESW-1G1G module installed on router

Hello

Finally ,it worked

what i did is true

just define a VLAN ,assign it an ip address

and add this port to that VLAN

it is OK !

Thnx all for help

774
Views
0
Helpful
7
Replies