◽ L2 Switch(Cisco, …)
[Piolink] 패스워드 변경, 유저 생성, ssh 활성화
kkk20000a
2022. 6. 8. 10:59
Piolink Network
이 글은 단순히 시스템에 접속하여 간단한 명령어의 결과값을 좀 기록할 필요가 있어 기록하는 글이라. 개인적으로 보는 글이기 때문에 참조하는 글로는 적절하지 않을 수 있음.
환경 :
- Piolink
- SSH Connection
- L2 Switch
1. Command - ?
command "?"을 입력했을 때 나타나는 화면이다. 다른 네트워크 장비와 마찬가지로 ?로 해당 터미널의 지원하는 명령어를 알 수 있고 "Tab"으로 지원하는 명령어의 자동완성이 지원된다. 그리고 한 화면에 페이지를 초과하여 다음 페이지 로드를 위해서는 "Space Bar"를 눌러 더 볼 수 있다.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
configure Move to configuration mode -->
ftp Open a ftp connection
help Help commands
license Input the license string
list Print command list
logout Exit out of the terminal
ping Send out echo messages
ping6 Send out echo messages
reboot Reboot system
show Show system information or configuration
tcpdump Dump traffic on a network
telnet Open a telnet connection
traceroute Trace route to destination
warranty-license Input the warranty-license string
piolink#
|
cs |
1-(1) Configure Command - ?
configure 모드에서 지원하는 명령어들 간단히 정리.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | piolink(config)# .. Exit current menu and move to previous menu / Exit current menu and move to configuration mode alias Add alias arp Add a static arp entry to ARP table arp-filter Arp filter command clear Negate a command or reset its value clock Set system time compare-src-mac Set compare-source-mac config-sync Synchronize configuration copy Copy commands cslb CSLB configuration --> email-alarm Email alarm configuration --> end Exit current menu and move to privileged mode erase Initialize system configuration exit Exit current menu and move to previous menu failover Failover configuration --> failover6 Failover6 configuration --> flood-rate Set flood-rate fwlb FWLB configuration --> gmt-difference Set time difference with GMT gslb GSLB configuration --> gwlb GWLB configuration --> hc-server Healthcheck server configuration --> help Help commands hostname Set hostname ilb ILB configuration --> interface Select an interface to configure ip IP commands ipv6 IPv6 commands l7cslb L7CSLB configuration --> l7slb L7SLB configuration --> layer7 Layer7 configuration --> lb-stat-status Set lb-stat-status linksync Set linksync list Print command list logging Syslog commands mac-ageing Set mac-ageing time management-access Set management access service mirroring Port mirroring commands multicast-bridge Set multicast-bridge nat Set global NAT configuration neigh Add a static neigh entry to NEIGH table network-monitoring Network Monitoring configuration --> no Negate a command or reset its value ntp NTP client configuration --> passive-proxy-arp Set passive proxy-arp password Change password ping Send out echo messages ping6 Send out echo messages port Port commands port-boundary Set port boundary port-boundary6 Set port boundary proxy-arp Set proxy-arp qos QoS configuration --> radius Radius configuration --> resources-status Set resources status restore Initialize system configuration rmon-alarm Create RMON alarm table rmon-event Create RMON event table rmon-history Create RMON history table rmon-statistics Create RMON statistics table route-map Create route-map or enter route-map command mode router Enable a routing process security Security configuration --> session-log Session-log configuration --> session-timeout Session-timeout configuration --> show Show system information or configuration slb SLB configuration --> snmp SNMP commands spfilter Static proximity filter configuration --> ssl SSL configuration --> stp STP commands tacacs-plus TACACS+ configuration --> tcpdump Dump traffic on a network technical-helper Technical helper commands terminal Terminal commands traceroute Trace route to destination trunk Port trunking commands update Update commnads user Add user vlan Vlan commands watch-system Watch system configuration --> write Write commands piolink(config)# | cs |
2. 패스워드 변경
패스워드 변경은 configure 모드에 진입해서 password를 통해 패스워드 변경을 하면된다.
1
2
3
4
5
6
7
8
9
10
|
piolink# configure
piolink(config)# password
Enter the new password (minimum of 5, maximum of 20 characters)
Please use a combination of upper and lower case letters and numbers.
(chance 3 times left.)
Enter new password:
Re-enter new password:
piolink(config)#
|
cs |
3. 유저 생성
configure mode에서 user {id} {password} {권한} 으로 진행하면 된다. "user whiteke2 12345 superuser"
1
2
3
4
5
6
7
8
9
10
|
piolink(config)# user whitekey2
PASSWORD Enter the password
piolink(config)# user whitekey2 12345
<cr>
superuser Set this user to superuser group
piolink(config)# user whitekey2 12345 superuser
Error! The length of user name should be between 1 and 8.
piolink(config)# user whiteke2 12345 superuser
piolink(config)#
|
cs |
확인
1
2
3
4
5
6
7
8
9
10
11
12
|
piolink(config)# show user
--------------------------------------------
Index User name Level
--------------------------------------------
1 root superuser
2 whitekey superuser
3 whiteke2 superuser --------------------------------------------
Current login user = root
--------------------------------------------
piolink(config)#
|
cs |
4. SSH enable
파이오링크 네트워크 장비도 ssh 를 활성화해야 원격접속이 가능하다.
piolink# configure
piolink(config)# management-access ssh enable
piolink(config)#