1. 모드 변경
UNIX shell : cli -> operational mode
configure ->configuration mode
2. configuration 명령어
show
설정된 값 확인
show | display set
설정된 명령어 상태로 보여준다
run
Configuration mode에서 operation mode 명령어 사용시 사용
rollback
명령어 취소
commit
명령어 적용
set system service ssh root-login allow
관리자 ssh 를 통해 원격접속 허용
load factory-default
장치 초기화
set system root-authentication plain-text password
비밀번호 지정(비밀번호가 만들어지지 않으면 commit 시 에러)
set system host-name SRX300
hostname SRX300으로 변경
set system service telnet
telnet 활성화
show system service
system service 확인
set interfaces ge-0/0/0/ unit 0 family inet address 192.168.1.1/24
L3장치의 port를 192.168.1.1 주소 등록
show interface
interface 확인
edit routing-options static
라우팅 테이블 정적할당
set route 0/0 next-hop 10.10.10.10
0.0.0.0/0(디폴트 라우터) 의 다음 주소를 10.10.10.10으로 보낸다
*디폴트 라우터 : 경로를 지정해주지 않는 주소는 모두 이 주소로 가라는 뜻
run show route
라우팅 테이블 보기
set interfaces ge-0/0/0 disable
ge-0/0/0 인터페이스 끄기
delete interfaces ge-0/0/0 disable
ge-0/0/0 인터페이스 켜기
run show interfaces terse ge-0/0/0
ge-0/0/0 인터페이스 확인
3. show 명령어
>show configuration
실행중인 컨피크 내용
>show ethernet-switching table
MAC 테이블 보기 (맥주소 확인)
>show ethernet-switching interfaces
L2인터페이스 확인 (STP Block 확인)
>show route
라우팅 테이블 보기
>show arp
arp 테이블 보기
>show version
버전, 모델명, 호스트네임, OS 보기
>show system uptime
업타임
>show system alarms
알람보기
>show system license
라이센스 확인
>show system memory
메모리 정보 확인
>show system process
실행중인 프로세서 확인
>show system software
설치된 패키지 확인
>show system boot-messages
마지막 부팅시 표시 메시지 확인
>show system process extensive/summary
내부 프로세스 동작상태 확인
>show system users
현재 시스템에 접속한 계정정보
(request system logout user xxx : 강제 logout가능)
#show users
clear line (username) -유저 세션 지우기
>show chassis routing-engine
라우팅 엔진 정보
>monitor interface traffic
장비 트래픽 모니터링
>show chassis hardware detail
하드웨어 상태, 시리얼, 장비명
>show chassis environment
온도 , 팬 상태 확인
>show interfaces terse
interface ip 및 접속상태 확인
show interfaces [인터페이스명]
개별 인터페이스 상태 보기
show interface [인터페이스명] extensive
개별 인터페이스 세부 정보 보기
>show interfaces descriptions
interface 상태 확인
>show interfaces extensive
인터페이스에 대한 전반적인 모니터링
>show configuration
active configuration 확인
>show configuration | display set active configuration
set 상태로 보는 방법
>show configuration | display detail
set 세부 정보로 보는 방법
>show nto status
ntp 서버 동기화 정보
>show log messages
log 확인
# run show log messages | last 50
마지막 50줄 로그 확인
> show ethernet-switching table
포워딩(next-hop) 테이블 확인
>show chassis routing-engine
'네트워크 > Juniper' 카테고리의 다른 글
주니퍼 스위치 웹 접속 오류 해결 (0) | 2023.02.24 |
---|