473
Comment:
|
1815
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
== Initial Setup Notes == | Below is the commands used to configure the switches we purchased in 2021 == Initial Setup Notes for 5800 Series Switches == |
Line 16: | Line 18: |
'''Set the time''' {{{ Switch# configure terminal Switch(config)# clock set datetime 11:30:00 10 26 2013 Switch(config)# clock set summer-time dst date 3 13 2022 02:00:00 11 6 2022 02:00:00 120 Switch(config)# exit }}} '''Create VLANs''' '''Setup Management Interface''' Setup management on a vlan interface {{{ switch# configure terminal switch(config)# interface vlan 10 switch(config)# ip address 10.10.129.X/24 switch(config)# Ctrl+z Switch# show management ip address }}} == Common Commands == The // at the end of the line indicates the start of a comment: '''Show Port Status''' {{{ Switch# show interface status //show status of all the ports Switch# show interface eth-0-49 //shows the status of eth-0-49 }}} '''Show VLAN information for port''' {{{ switch# show interface switchport interface eth-0-1 }}} == Backup and Restore the switch Configuration == To backup the configuration, ssh into the switch and perform the following: {{{ Switch# copy flash:/startup-config.conf mgmt-if scp://10.10.129.X/startup-config.conf }}} To download a configuration file: {{{ Switch# copy mgmt-if scp://10.10.10.163/startup-config.conf flash:/startup-config.conf }}} |
fs.com Switches purchased in 2021
Below is the commands used to configure the switches we purchased in 2021
Initial Setup Notes for 5800 Series Switches
SSH into the switch with the default user:pass = "admin:admin"
First Change the password, note that we are using local authentication mode, not "aaa" mode. What is aaa mode? That's for authenticating against a radius/TACACS+ server.
Switch# configure terminal Switch(config)# line vty 0 7 Switch(config-line)# login Switch(config-line)# line-password abc Switch(config)# exit
Set the time
Switch# configure terminal Switch(config)# clock set datetime 11:30:00 10 26 2013 Switch(config)# clock set summer-time dst date 3 13 2022 02:00:00 11 6 2022 02:00:00 120 Switch(config)# exit
Create VLANs
Setup Management Interface
Setup management on a vlan interface
switch# configure terminal switch(config)# interface vlan 10 switch(config)# ip address 10.10.129.X/24 switch(config)# Ctrl+z Switch# show management ip address
Common Commands
The // at the end of the line indicates the start of a comment:
Show Port Status
Switch# show interface status //show status of all the ports Switch# show interface eth-0-49 //shows the status of eth-0-49
Show VLAN information for port
switch# show interface switchport interface eth-0-1
Backup and Restore the switch Configuration
To backup the configuration, ssh into the switch and perform the following:
Switch# copy flash:/startup-config.conf mgmt-if scp://10.10.129.X/startup-config.conf
To download a configuration file:
Switch# copy mgmt-if scp://10.10.10.163/startup-config.conf flash:/startup-config.conf