넥서스 장비는 자주 보일거니까 학습하기!!
NX-OS는 바로 EXEC 모드 진입(enable 필요 X)
NX-OS는 사용자가 시스템 기본값을 지정하고, 기본 구성을 수행하고, 미리 정의된 CoPP 보안 정책을 적용할 수 있는 Setup Utility가 있다.
NX-OS는 Feature 기반 라이센스 모델 사용.
인터페이스는 Etherenet으로 레이블이 지정됨
NX-OS는 물리적 디바이스를 논리적 디바이스로 분할할 수 있는 VDC를 지원
NX-OS에는 사전 구성된 VRF 두 개가 있다(Default, Management)
기본적으로 SSHv2 사용
NX-OS는 사용자 이름과 암호 필수
write memory 명령어 사용 X
기본 STP 모드는 Rapid-PVST+
show 명령을 Exec 또는 config Mode에서 실행 가능
config# show interface e1/1
CIDR 표기법 지원
config#interface e1/1
config-if#ip address 192.168.0.1/23
모드 인식 CLI 기록
#show cli history
#show cli history config-mode
인터페이스 표시 작동 상태에 이유 표기
range 명령어 사용 X
config#interface eth1/1-3
config#interface eth1/1,eth1/3
Feature별 Config 표시
#show running-config ntp
긴 Config 제외 가능(ACL, QoS 등)
#show running-config exclude ~
startup config와 running config 비교
#show running-config diff
기본 Role 2가지 있음
admin은 기본적으로 network-admin 역할
위의 2가지 Role로 거의 사용
config#username user-id [password][role role-name]
시스템 체크 포인트
유저 체크 포인트
NX-OS는 특정 이벤트가 발생할 때 자동으로 체크포인트 생성
config# feature eigrp
config# router eigrp 1
config-router# autonomous-system 100
config-router# exit
config# no feature eigrp
config# show check all
-> eigrp 체크포인트 존재
#checkpoint changes
#rollback running-config checkpoint changes
포트 프로파일을 이용해 공통 구성을 적용 가능
range
포트 프로파일
config# port-profile COMMUNITY1
포트 프로파일 생성
config# port-profile COMMUNITY1
config-ppm# switchport mode access
등 설정
config# interface thernet 2/28
config-if#inherit port-profile COMMUNITY1
config-if# inherit port-profile COMMUNITY1
인터페이스에 프로파일 적용
#show run interface ethernet 2/28
interface Ethernet2/28
inherit port-profile COMMUNITY1
#show port-profile
port-profile COMMUNITY1
type: Ethernet description:
status: enabled
...
N9K:
- 진짜 DC Switch
- module형, Box형
N7K:
- Module형
N5K:
- Box형
N2K:
- 단독 동작 X, 포트도 없음
N1K:
- virtual 장비
1대 yes, 나머지 skip
강력한 패스워드 취소
-> no password strengh-check
config#cli alias name wr copy run start
alias 목록 확인
config#show cli alias
checkpoint 파일로 만들기
#checkpoint file bootflash://이름
rollback 하는법
#rollback running-config file bootflash:1023checkpoint
mgmt까지만 설정하고 checkpoint 만들어놓기