Cisco: How to Change VLAN Management on Layer2 Device
FYI Cisco layer2 device can only have one VLAN management. This article to show how to change VLAN1 management to VLAN2 using manage command.
1.The following command is to create VLAN management:
Cat3548XL#
Cat3548XL#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Cat3548XL(config)#int vlan1
Cat3548XL(config-if)#ip address 10.1.1.254 255.255.255.0
Cat3548XL(config-if)#no shut
Cat3548XL(config-if)#exit
Cat3548XL(config)#int vlan2
Cat3548XL(config-if)#ip address 10.1.12.254 255.255.255.0
Cat3548XL(config-if)#no shut
Cat3548XL(config-if)#end
Cat3548XL#
2. The above command both VLAN1 and VLAN2 have execute command of no shut. Let look at the result whether both VLAN1 or VLAN2 management is enable.
Cat3548XL#sh run int vlan1
Building configuration…
Current configuration:
!
interface VLAN1
ip address 10.1.1.254 255.255.255.0
no ip directed-broadcast
ip nat outside
end
Cat3548XL#sh run int vlan2
Building configuration…
Current configuration:
!
interface VLAN2
ip address 10.1.2.254 255.255.255.0
no ip directed-broadcast
ip nat outside
shutdown
end
3. As the result shown that VLAN2 is still shutdown. VLAN2 will continue to shut unless VLAN1 IP address is remove or the VLAN1 interface is shutdown. However we can still obtain the result by using the manage command. Let look at the following command.
Cat3548XL#
Cat3548XL#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Cat3548XL(config)#int vlan2
Cat3548XL(config-if)#manage
Cat3548XL(config-if)#end
Cat3548XL#
4. After execute the command manage on VLAN2, let show the running interface for both VLAN. (If the following command is execute from telnet session, by the time manage has been ⏎ , the connection will be lost. Telnet to the VLAN2 is possible now.)
Cat3548XL#sh run int vlan1
Building configuration…
Current configuration:
!
interface VLAN1
ip address 10.1.1.254 255.255.255.0
no ip directed-broadcast
ip nat outside
shutdown
end
Cat3548XL#sh run int vlan2
Building configuration…
Current configuration:
!
interface VLAN2
ip address 10.1.2.254 255.255.255.0
no ip directed-broadcast
ip nat outside
end

