9일차 STP 인터넷망 연결 & 백업 및 로그 솔루션
STP 테스트
monster.com : ccna ccnp korea
netmanias.com : 회원가입
장비이미지 - 아이콘있다.
물리적 루프구조를 만들기 위해서
==>이중화 failover 위해
논리적으로 물리적 루프구조를 트리구조로 변경
장점 : 이중화 가능
단점 : 수렴이 느리다.
==> cisco : uplinkfast, backbonefast, portfast
IEEE802.1w = RSTP
start sw1 sw2 sw3 r2 r4
121.160.70.121
121.160.70.254
R4 (게이트 웨이)
int fa 0/1
no shut
ip add 121.160.70.121 255.255.255.0
ip nat outside
ip accounting
exi
int fa 0/0
no shut
exi
int fa 0/0.10
en dot 10
ip add 10.1.10.254 255.255.255.0
ip nat inside
ip accounting
exi
int fa 0/0.20
en dot 20
ip add 10.1.20.254 255.255.255.0
ip nat inside
ip accounting
exi
ip route 0.0.0.0 0.0.0.0 121.160.70.254
access-list 10 per 10.1.0.0 0.0.255.255
ip nat inside source list 10 int fa 0/1
service dhcp
ip dhcp excluded-add 10.1.10.240 10.1.10.254
ip dhcp excluded-add 10.1.20.240 10.1.20.254
ip dhcp pool vlan-10
network 10.1.10.0 /24
dns-server 168.126.63.1
default-router 10.1.10.254
lease 10
exi
ip dhcp pool vlan-20
network 10.1.20.0 /24
dns-server 168.126.63.1
default-router 10.1.20.254
lease 10
exi
SW3
vtp mo server
vtp domain CCNP
vtp pass cisco
vtp ver 1
vtp pru
vlan 10,20
vlan 2
vlan 3
vlan 4
no vlan 2-4
int fa 1/4
sw tr en dot
sw mo tr
sw tr all vlan 10,20,1,1002-1005
exi
int rang fa 1/10 , fa 1/12
sw tr en dot
sw mo tr
sw tr all vlan 10,20,1,1002-1005
sw tr nat vlan 44
exi
spann vlan 10 roo pri di 3
spann vlan 20 roo pri di 3
spann backbonefast
sw2(config)#int ran fa 1/0 - 1 , fa 1/3 - 9 , fa 1/11 - 14
sw2(config-if-range)#shut
sw2(config-if-range)#ex
SW1
vtp mo trans
vtp domain CCNP
vtp pass cisco
vtp ver 1
vtp mo client
int rang fa 1/10 , fa 1/15
sw tr en dot
sw mo tr
sw tr all vlan 10,20,1,1002-1005
sw tr na vl 44
exi
spann vlan 20 roo sec di 3
spann uplinkfast
spann backbonefast
int fa 1/3
sw mo acc
sw acc vlan 10
spann portfast
exi
SW2
vtp mo trans
vtp domain CCNP
vtp pass cisco
vtp ver 1
vtp mo client
int rang fa 1/10 , fa 1/15
sw tr en dot
sw mo tr
sw tr all vlan 10,20,1,1002-1005
sw tr na vl 44
exi
spann vlan 10 roo sec di 3
spann uplinkfast
spann backbonefast
int fa 1/2
sw mo acc
sw acc vlan 20
spann portfast
exi
sw2(config)#int ran fa 1/0 - 1 , fa 1/3 - 9 , fa 1/11 - 14
sw2(config-if-range)#shut
sw2(config-if-range)#ex
R2
int fa 0/1
ip add dhcp
no shut
exi
\\\\\\\\\\\\\\\\\\\\\\
r4 show ip dhcp binding
sw1
int fa 1/10
shutdown
// 제대로 되는지 확인
sw4
show ip accounting
확인하면 접속 아이피 모니터링한다
\\\\\\\\\\\\
백업 및 로그 솔루션
1. syslog
2. tftp 백업
3. ftp 백업
4. crash 백업
start sw1
start r1 r2
xp - 아이피 할당 10.1.10.1 255.255.255.0 10.1.10.254
바탕화면 ftp폴더
알집 ftp로 설정
sw1
vlan 10
exi
int rang fa 1/1 - 3
sw mo ac
sw acc vlan 10
spanning-tree portfast
r1
int f0/0
no shut
ip add 10.1.10.1 255.255.255.0
ip ftp username aaa
ip ftp password aaa
exception core-file r1-crash
exception protocol ftp
exception region-size 3864
exception flash all flash:
exception dump 10.1.10.1
//dump는 코어덤프라고해서 마지막유서를 적어줌
r2
int f0/0
no shut
ip add 10.1.10.1 255.255.255.0