The Default VLAN
Configure VLAN1 |
S1 (config)# interface vlan1 |
Set VLAN1 IP address |
S1 (config-if)# ip address 192.168.0.2 255.255.255.128 |
Interface Description |
S1 (config-if)# description VLAN 1 Switch S1 Virtual Access Port |
Turn VLAN1 on |
S1 (config-if)# no shutdown |
Exit Interface Config |
S1 (config-if)# exit |
Set Default Gateway for S1 |
S1 (config)# ip default-gateway 192.168.0.1 |
Exit Config Miode |
S1 (config)# exit |
Save Configuration |
S1# copy running-config startup-config (will use “wr” in future) |
VLAN1 is the default Device Management VLAN (Later we will disable it because it is a security concern)
On a switch we are talking to the computer (layer 7) part of the switch not the switch (Layer 2) part of the switch
So like any other computer on that segment the switch computer needs a segment IP address and subnet mask
Adding a Description just good policy
Turning the port on
Set Default Gateway
Copy the current running configuration with all the changes you have made to the devices bootup configuration (Like BIOS on a computer)