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???