Search This Blog

Wednesday, 15 February 2012

Cisco - Bring a VLAN up when there is no device connected to the switchport

I was testing a configuration on a Cisco 877 and I needed to simulate the VLAN being up with a device connected to a switch port without actually connecting the device live.  If you do not have a device connected then when you issue the show ip route command you will not see the IP address on your BVI interface as the VLAN is not up.  So how do you work around this?

Well it is a one line command, in the VLAN interface just issue the command no autostate and this will not try to detect the link state of the switch ports and will bring the VLAN up irrespective and allow you to test as if you did have a device connected.

No comments:

Post a Comment