806 bytes added ,  20:58, 4 May 2023
Added subsection on setting up IP
m (Protected "Cisco Switches" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
(Added subsection on setting up IP)
Line 51: Line 51:
</nowiki>
</nowiki>


== Set IP address ==
So as to be able to telnet or SSH on (if supported) instead of using the serial console
<nowiki>
switch#conf t                                                             
Enter configuration commands, one per line.  End with CNTL/Z.           
switch(config)#int vlan1                                                 
switch(config-if)#ip address 192.168.1.2 255.255.255.0                   
switch(config-if)#exit                                                                                                                 
switch(config)#ip default-gateway 192.168.1.1                                   
switch(config)#exit                                                             
switch#</nowiki>                                 
                             
== Create VLANs ==
== Create VLANs ==
Looking at the vlan setup doesn't require enable but changing it does.
Looking at the vlan setup doesn't require enable but changing it does.