6. Network 구성정보
- Dell N1548 snmp설정
- Dell N1548에 포트별 Enable/Disable
- n1548 mgmt ip 설정
- n1548 배너설정
- N1548 포트 정보 설정
- N1548 호스트네임 설정하기
- N1548에서 계정생성 (admin)
- 스위치 정보 저장
Dell N1548 snmp설정
n1548 스위치에 snmp 설정
snmp 커뮤니티는 eng로 설정, snmp서버는 192.168.100.10 이라고 하고 설정
console>enable
console#configure
Console(config)#hostname master-sw
Console(config)#snmp-server community eng ro
console(config)#snmp-server host 192.168.100.10 eng
console(config)#snmp-server enable traps link
Dell N1548에 포트별 Enable/Disable
- 37번 포트 shutdown
#configure (config)#interface gigabitethernet 1/0/37 (config-if-Gi1/0/37)#shutdown
- 37번 포트 활성화
#configure (config)#interface gigabitethernet 1/0/37 (config-if-Gi1/0/37)#no shutdown
n1548 mgmt ip 설정
console모드에서 스위치 mgmt ip설정 / config save
Console(config)#enable
Console(config)#configure
Console(config)#interface vlan 1
Console(config-if)#ip address 192.168.200.10 255.255.255.0
Console(config-if)#exit
Console(config-if)#ip routing
Console(config)#ip default-gateway 192.168.200.1
console(config)#exit
console#copy running-config startup-config
This operation may take few minutes.
Management interfaces will not be available during this time.
Are you sure you want to save? (y/n) y
Configuration Saved!
n1548 배너설정
config모드에서 배너설정
test-sw(config)#banner motd "------------
test
---------------------"
N1548 포트 정보 설정
N1548에서 2번 port description 설정
test-sw(config-if-Gi1/0/1)#interface gigabitethernet 1/0/2
test-sw(config-if-Gi1/0/1)#description 192.168.50.123
test-sw(config-if-Gi1/0/1)#show interfaces configuration
N1548 호스트네임 설정하기
N1548스위치에서 호스트네임 설정하기
호스트네임은 testsw로 설정
console>enable
console#configure
Console(config)#hostname testsw
N1548에서 계정생성 (admin)
- 계정생성 (계정명은 admin / 패스워드는 adminpass로 설정
test_sw(config)#username admin password adminpass privilege 15 test_sw(config)#aaa authentication login default local test_sw(config)#aaa authentication login default line test_sw(config)#aaa authentication enable default line Q07-L2-1(config)#enable password adminpass
- 콘솔에서 접속시 계정패스워드 설정
test_sw(config)#line console test_sw(config-line)#login authentication default test_sw(config-line)#enable authentication default test_sw(config-line)#password adminpass test_sw(config-line)#exit
- telnet 접속시 패스워드 설정
test_sw(config)#line telnet test_sw(config-telnet)#login authentication default test_sw(config-telnet)#enable authentication default test_sw(config-telnet)#password adminpass test_sw(config-telnet)#exit
스위치 정보 저장
스위치 설정값 정보하는 방법 (일반모드에서 수행)
- Dell N1548
dell_sw#copy running-config startup-config This operation may take few minutes. Management interfaces will not be available during this time. Are you sure you want to save? (y/n) y Configuration Saved!
- Cisco
Switch#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK]