728x90
반응형

[초기화]

cd /flash/working
rm boot.cfg    
delete boot.cfg
reload working no rollback-timeout

 


[아이디 생성]
user admin password [password 지정] read-write all 

[계정 삭제]
no user admin

[접속시 인증]
aaa authentication telnet "local" 
aaa authentication ftp "local" 
aaa authentication snmp "local" 

[접속시 프롬프트]
session prompt default "ROOT-SW>"

[로그 기능 생성]
command-log enable

[NTP]
ntp server X.X.X.X
ntp client enable

[snmp] 
user [server] password [server] no auth read-write all
user [server] password [server] no auth read-write all
 snmp station X.X.X.X "comm" v2 enable
 snmp security no security
 snmp community map mode enable
 snmp community map "XXXX" user "XXXX" enable

[static 설정]
ip static-route 0.0.0.0/0 gateway 1.1.1.1 metric 1

[CPU 최대 사용 량 ]
health threshold temperature 78

[호스트 네임]
system name "ROOT-SW>"

[ntp]
system timezone KST

[vlan 생성]
vlan 13 enable name "vlan-13"

vlan 14 enable name "vlan-14"

 

[Trunk 설정]
vlan 1034 802.1q 1/23 "TAG AGGREGATE 1 VLAN 13"
vlan 1034 802.1q 1/23 "TAG AGGREGATE 1 VLAN 14"

[VLAN IP 넣는 방법]
ip interface "MGMT13" address X.X.X.X mask 255.255.255.0 vlan 13

[vlan에 포트 할당 (access)]
vlan 154 port default 1/7

[포트 디스크립션]
interfaces 1/9 alias "main-SW#3"

[루프백 디텐션]
loopback-detection enable
loopback-detection port 1/1 enable

[LACP 설정 방법]
lacp linkagg 2 size 2 admin state enable
linkagg ID는 2이고 port 2개를 Aggregation한다.

lacp linkagg 2 name "VMwarelink"
linkagg name을 Vmwarelink설정

lacp linkagg 2 actor admin key 2
lacp agg 16/6 actor admin key 2
lacp agg 16/8 actor admin key 2
16/6과 16/8를  Aggregation한다.
Switch상에서는 0/1으로 한 개의 Port로 인식한다

[저장 방법] 
 
write memory  
현재 DRAM상에 운용 중인 running configuration을 /working/boot.cfg 로 저장

write memory flash-synchro
현재 DRAM상에 운용 중인 running configuration을 /working/boot.cfg 로 저장

copy working certified flash-synchro
기본적으로 write memory 명령어는 /flash/working/boot.cfg 만 변경함. 
장비의 저장 후, 반드시 /flash/working, 과 /flash/certified의 동기화가 필요함

 

728x90
반응형

+ Recent posts