CCIE Datacenter

넥서스 특징 : Part 4

미키제임스 2016. 4. 25. 17:15
  • 설정 삭제 & 패스워드 설정

write erase boot

 MGMT0 설정을 포함한 모든 설정 삭제

write erase

 MGMT0 설정은 놔두고 삭제한다.

no password strength-check

 기본적으로 넥서스에서 암호는 소문자, 대문자, 숫자, 특수문자를 조합해야 한다. 해당명령을 넣으면 일반적인 패스워드를 설정할 수 있다.


  • Port-Profile

IOS의 macro 기능과 유사하며 많은 인터페이스에 같은 설정을 할 때 유용하다.

이 기능은 추후에 나올 넥서스 1000v에서 주로 사용한다.


N7K-1(config)# port-profile type ? 

Ethernet 인터페이스 뿐만 아니라 SVIPort-channel

인터페이스에도 설정 가능하다.

ethernet        Ethernet type
interface-vlan  Interface-vlan type
port-channel    Port-channel type


N7K-4(config)# port-profile type ethernet PROFILE1

N7K-4(config-port-prof)# switchport

N7K-4(config-port-prof)# switchport mode acc

N7K-4(config-port-prof)# switchport access vlan 1

N7K-4(config-port-prof)# spanning-tree port type edge

N7K-4(config-port-prof)# state enabled

!

N7K-4(config-port-prof)# int e2/2-3

N7K-4(config-if-range)#inherit port-profile PROFILE1                                   


확인 : show port-profile name < port-profile 이름>                                         

        show port-profile

        show port-profile usage