bxm's IT Story
VLAN 이중화 Test (1시간 안에 풀어야 하는 과제, 배운거임.) 본문
공통]
en
conf t
no ip domain lookup
line c 0
logg sy
exec-timeout 0
exit
line vty 0 4
pass cisco
end
wr
## VTP ##
SW1]
conf t
vtp mod server
vtp domain VTP13
## 그냥 오늘 13일이라서 ㅋ
SW2]
conf t
vtp mod client
vtp domain VTP13
SW3]
conf t
vtp mod client
vtp domain VTP13
SW4]
conf t
vtp mod client
vtp domain VTP13
## VLAN ##
공통]
vlan 10
exit
vlan 20
end
## IP 넣기 ##
SW1]
conf t
ip routing
int lo0
no sh
ip add 1.1.1.1 255.255.255.0
exit
int range f1/2 - 3
no sh
sw tr enc dot
sw mo tr
end
wr
SW2]
conf t
no ip routing
int range f1/2 - 8
no sh
sw tr enc dot
sw mo tr
end
wr
SW3]
conf t
no ip routing
int range f1/3 - 9
no sh
sw tr enc dot
sw mo tr
end
wr
SW4]
conf t
no ip routing
int range f1/8 - 9
no sh
sw tr enc dot
sw mo tr
exit
int f1/1
no sh
sw mo ac
sw ac vlan 10
exit
int f1/2
no sh
sw mo ac
sw ac vlan 20
end
wr
PC1]
conf t
no ip routing
ip default-gateway 1.1.10.254
int f0/0
ip add 1.1.10.1 255.255.255.0
end
wr
PC2]
conf t
no ip routing
ip default-gateway 1.1.20.254
int f0/0
ip add 1.1.20.2 255.255.255.0
end
wr
SW1]
conf t
spanning-tree vlan 10 priority 0
spanning-tree vlan 20 priority 0
end
wr
SW2]
conf t
spanning-tree vlan 10 priority 4096
spanning-tree vlan 20 priority 8192
end
wr
SW3]
conf t
spanning-tree vlan 10 priority 8192
spanning-tree vlan 20 priority 4096
end
wr
선생님은 여기서 priority 값 주는 방식 말고, diameter 방식 사용하셨음.
끝!!
'Network > Cisco (KEDU)' 카테고리의 다른 글
프로젝트 (0) | 2021.07.28 |
---|---|
P 리허설 (0) | 2021.07.26 |
IPv4와 IPv6의 통신을 위한 터널링 기법 (0) | 2021.07.09 |
IPv6를 통한 Frame-Relay (Full-mesh) (0) | 2021.07.09 |
기존 Map을 활용한 DNS와 DB file(master) - 2 (0) | 2021.07.06 |