본문 바로가기

[실습] VTP

액트 2019. 5. 28.
반응형

@ VTP 실습

 

 

!------ preconfig

enable

configure terminal

enable secret cisco

no domain-lookup

line console 0

password cisco

login

exec-timeout 0 0

logging synchronous

exit

username CCNP password itbank321

line vty 0 4

login local

exit

host

 

 

!------ DSW0y (L3장비, vtp mode server)

vtp mode server
vtp domain aegisoneZ
vlan 10
name Sales
vlan 80
name Manage
int fa 0/8
no shut
sw mode acc
sw acc vlan 10
exi
interface vlan 80
ip address 10.10.0.204 255.255.255.0
no shutdown
exit
int fa 0/1, fa 0/3, fa 0/5
sw trunk encap dot1q
sw no
sw mode trunk
no shut

exi

 

 


vlan 20
vlan 30
vlan 40
vlan 50
vlan 60
vlan 70
vlan 80
vlan 90
vlan 100

-->  vlan 20~100 생성해준 후 다른 스위치에서 확인(SW4는 수동 생성)

vlan 20~70 삭제후 확인(SW4는 수동 삭제)
no vlan 20
no vlan 30
no vlan 40
no vlan 50
no vlan 60
no vlan 70

 

 

!------ ASWy1
vtp mode client
vtp domain aegisoneZ
int fa 0/8
no shut
sw mode acc
sw acc vlan 10
exi
interface vlan 80
ip address 10.10.0.201 255.255.255.0
no shutdown
exit

 

 

!------ ASWy2
vtp mode client
vtp domain aegisoneZ
int fa 0/8
no shut
sw mode acc
sw acc vlan 10
exi
interface vlan 80
ip address 10.10.0.202 255.255.255.0
no shutdown
exit

 

 


!------ ASWy3
vtp mode transparent
vtp domain aegisoneZ
vlan 10
name Sales
vlan 80
name Manage
int fa 0/8
no shut
sw mode acc
sw acc vlan 10
exi
interface vlan 80
ip address 10.10.0.203 255.255.255.0
no shutdown
exit

 

 

 

상태 확인

sh vtp status

 

 

< DSW0y 에서 vlan 20 - 100 생성 >

 

 

< ASWy1,2에 자동으로 생성됨 >  , ASWy3 에는 생성안됨

 

 

< Revision Number 증가 > - ASWy1,2

 

반응형

'IT > 하드웨어' 카테고리의 다른 글

Inter-VLAN Routing (Router 이용)  (0) 2019.05.28
EtherChannel - 이더 채널 구성  (0) 2019.05.28
[실습] vlan 설정 및 trunk 설정  (0) 2019.05.28
LAN Switching - VTP (VLAN Trunking Protocol)  (0) 2019.05.28
LAN Switching - VLAN  (0) 2019.05.28

댓글