본문 바로가기
네트워크/실습

N9K 실습2 및 메모

by JihoK 2024. 3. 27.

Show int bri

Show int e1/1

Show int

 

checkpoint basic - 체크포인트 저장(가상화 = 스냅샷)

 

interface ethernet 1/1

 

switchport mode access

switchport access vlan

switchport access vlan 100

show vlan

show vlan summary

show vlan internal usage

 

int e1/2

switchport mode trunk

switchport trunk allowed vlan1-100, 999

switchport trunk native vlan 999

show int e1/2 switchport

 

PoE (Power of Ethernet)

 

N9K 1대 당 VDC 1개 존재 -> VDC 안에있는 VRF -> VRF안에 VLAN

 

 

vlan 20

exit

 

show vlan

 

feature VTP

vtp domain accounting

vtp version 2

vtp file vtp.dat

vtp password cisco

 

show feature

(vtp enable, telnetServer enable, sshServer enable)

 

Vlan 10

name Sales

show spanning-tree vlan 10 brief

exit

 

spanning-tree mst configuration

name MST-DC-1

reversion 37

instance 1 vlan 100-199

instance 2 vlan 200-299

exit

spanning-tree mode mst

 

normal port = default (IOS, 일반STP 동작)

STP edge port = EndDevice 에 직접 연결되는 포트

STP network port = 일반적인 L2 or 브릿지에 연결되는 포트

Edge Trunk port = 여러 VLAN을 통해 EndDevice 또는 스위치 간 통신(서버 가상화)

BPDU Filtering = 특정포트 지정 - BPDU 신호 송수신 하지못하도록 -> i/f level / global config level -> stp edge i/f 

BPDU guard = i/f BPDU 수신되면 i/f 차단 (i/f global config level 설정) / stp edgee i/f 에 bpdu guard 적용

Root guard = 해당 포트가 root port가 되는것을 거부 

Loop guard = 단방향 링크 장애로 blocking port가 BPDU를 못받을 경우 fowarding 상태로 변환 방지

- Blocking Port 에만 설정

Bridge assurance = Cisco 독점기술/ 양방향 통신을 확인하는 기능 / 모슨 활성 포트를통해 BPDU를 전송, BPDU를 못받은 포트는 일시적으로 Blocked

PVST simulation = MSTP 스위치가 PVST+ BPDU를 수신하면 MST 인스턴스에 mapping , MSTP 스위치는 PVST+ 스위치인 것처럼 행동하며 PVST+에 존재하는 각 VLAN에 대해 별도의 STP를 시뮬레이션 진행

 

(config)# Spanning-Tree port type edge default

(config)#  interface ethernet1/1

(config-if)# Spanning-Tree port type edge

 

(config)# interface ethernet1/2

(config-if)# Spanning-Tree guard root

 

 

(config)#  Spanning-Tree Bridge assurance

 

(config)# interface ethernet 1/3

(config-if)# Spanning-Tree port type network

(config-if)# show Spanning-Tree interface ethernet 1/3

 

 

 

https://www.cisco.com/c/en/us/support/switches/nexus-9000-series-switches/products-installation-and-configuration-guides-list.html

 

Cisco Nexus 9000 Series Switches - Configuration Guides

Cisco Nexus 9000 Series Switches - Some links below may open a new browser window to display the document you selected.

www.cisco.com

 

N9K 설정 참고자료

 

 

 

 

 

'네트워크 > 실습' 카테고리의 다른 글

VxLAN  (1) 2024.04.19
nxapi  (0) 2024.04.08
N9K vPC 실습  (0) 2024.03.28
N9K 실습3 메모  (0) 2024.03.27
Nexus 9K 실습  (1) 2024.03.26