management vlan interface
Posted on 2013-11-28
I'm looking at some instructions from Cisco's website and I'm confused about it. I thought that creating a vlan interface was only for management purposes? Can someone explain? So, does that mean that if I want to access the switch via IP then I need to create an interface with a vlan?
Also, in the example below the management vlan receives a subnet mask and the switch its self doesn't?
!-- Set the IP address and default gateway for VLAN1 for management purposes.
Enter configuration commands, one per line. End with CNTL/Z.
3512xl(config)#int vlan 1
3512xl(config-if)#ip address 10.10.10.2 255.255.255.0
3512xl(config)#ip default-gateway 10.10.10.1