본문 바로가기
728x90
반응형
SMALL

네트워크3

[네트워크] 주니퍼 명령어 (Juniper Command) 정리 1. 모드 변경UNIX shell : cli -> operational mode                 configure ->configuration mode 2. configuration 명령어show설정된 값 확인show | display set설정된 명령어 상태로 보여준다runConfiguration mode에서 operation mode 명령어 사용시 사용rollback명령어 취소commit명령어 적용set system service ssh root-login allow관리자 ssh 를 통해 원격접속 허용load factory-default장치 초기화set system root-authentication plain-text password비밀번호 지정(비밀번호가 만들어지지 않으면 commit.. 2024. 10. 16.
[Script] 리눅스 SSH 자동 접속 스크립트 리눅스에서 네트워크 장비 자동 접속 스크립트 vi script.sh#!/usr/bin/expect -f spawn ssh -oStrictHostKeyChecking=no 계정@접속 IPexpect "계정@접속 IP's password:" send "패스워드\r" expect "cisco>" send "enable\r" expect "Password:" send "enable 패스워드\r" interact 권한 설정 : chmod 755 script.sh 실행 : ./script.sh 2024. 5. 9.
리눅스 네트워크 속도 제한 * 소스 코드 cat /etc/init.d/shaping #!/bin/bash # # tc uses the following units when passed as a parameter. # kbps: Kilobytes per second # mbps: Megabytes per second # kbit: Kilobits per second # mbit: Megabits per second # bps: Bytes per second # Amounts of data can be specified in: # kb or k: Kilobytes # mb or m: Megabytes # mbit: Megabits # kbit: Kilobits # To get the byte figure from bits, divid.. 2023. 2. 2.
728x90
반응형
SMALL