เจอ error  % IP addresses may not be configured on L2 links. เมื่อมีการ assign ip ให้บน Fast Ethernet ของ Cisco 887VA
นึกว่าเหมือน interface สำหรับ router ทั่วไปที่เป็น routed port (สามารถ assign IP ใน interface ได้เลย)

ก่อนที่ไป check เกี่ยวกับ features ของ router รุ่นดังกล่าว ก็ลองไปใช้คำสั่ง no switchport เพื่อเปลี่ยนเป็น routed port ตาม L3 switch ทั่วไป
ปรากฎว่า ไม่มีคำสั่ง no switchport เหมือนพวก switch ทั่วไป มีแต่พวก no switchport

Cisco 887VA

router(config-if)#no switchport ?
access Set access mode characteristics of the interface
mode Set trunking mode of the interface
priority Set 802.1p priorities
protected Configure an interface to be a protected port
trunk Set trunking characteristics of the interface
voice Voice appliance attributes

router(config-if)#no switchport access vlan ?
<cr>

router(config-if)#no switchport mode ?
<cr>

หลังจากนั้นลอง assign IP ก็ยังไม่ได้

router(config-if)#ip address 192.168.1.254 255.255.255.0

% IP addresses may not be configured on L2 links.

คิดว่าคงเป็น switch port เป็นแน่แท้ ยอมแล้วลองหา feature
จากนั้นเข้าไปดูที่ http://www.cisco.com/c/en/us/products/routers/887va-integrated-services-router-isr/index.html
ใช่ มันมีและเป็น Four 10/100 Mbps Fast Ethernet switch ports

คงหนีไม่พ้น SVI (Switch Virtual Interfaces) คือ สร้าง interface vlan ขึ้นมา แล้ว assign port อยู่ใน vlan นั้น ๆ

router#config t
router(config)#interface vlan10
router(config)#ip address 192.168.1.254 255.255.255.0
router(config)#no shutdown
router(config)#vlan 10
router(config-vlan)#name test
router(config-vlan)#exit

router(config)#int fa0
router(config-if)#switchport mode access
router(config-if)#switchport access vlan 10
router(config-if)#exit

ประมาณนี้ครับ

Cisco 887VA – % IP addresses may not be configured on L2 links.