DEV Community

ckq
ckq

Posted on

CISCO SG500-52

Setting hostname:
configure terminal
hostname Switch-254

config-file-header
Switch-254
v1.4.11.5 / R800_NIK_1_4_220_026
CLI v1.0
set system mode switch queues-mode 4

file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
vlan database
vlan 11
exit
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
hostname Switch-254
aaa authentication login authen-list radius local none
line console
login authentication authen-list
password da39a3ee5e6b4b0d3255bfef95601890afd80709 encrypted
exit
username admin password encrypted 990ce22a3f18004ca80b4ded3e635eca5625dbfa privilege 15
sntp server 192.168.11.50
ip domain name <>.edu.ph
!
interface vlan 11
name MGMT
ip address 192.168.11.254 255.255.255.0
no ip address dhcp
!
interface gigabitethernet1/1/48
switchport mode access
switchport access vlan 11
!
exit
Switch-254#
Switch-254#conf t
Switch-254(config)#08-Apr-2020 15:26:48 %LINK-I-Up: gi1/1/48
08-Apr-2020 15:26:48 %LINK-I-Up: Vlan 11
08-Apr-2020 15:26:53 %STP-W-PORTSTATUS: gi1/1/48: STP status Forwarding
08-Apr-2020 15:27:48 %AAA-I-CONNECT: New http connection for user admin, source 192.168.11.154 destination 192.168.11.254 ACCEPTED

[SETTING MANAGEMENT VLAN]

configure terminal
vlan 11
interface vlan 11
name MGMT
ip address 192.168.11.254 255.255.255.0
exit
interface gigabitethernet 1/1/48
switchport mode access
switchport access vlan 11
no shutdown
exit
copy running-config startup-config

[SETTING DOMAIN NAME]
configure terminal
ip domain name <>.edu.ph

[GENERATE RSA]
crypto key generate rsa

[ENABLING LINE CONSOLE]
line console

:: these are all commands that was accessed through COM3 putty serial, since the ip ssh is enabled, we can access it through putty > ssh

Image description

Top comments (0)