[실습] vlan 설정 및 trunk 설정
본문 바로가기

[실습] vlan 설정 및 trunk 설정

액트 2019. 5. 28.

@ 기본 VLAN 설정 및 Trunk 설정

- VLAN10(Sales) : 모든 PC끼리는 통신가능

- VLAN80(Manage) : 모든 Switch끼리는 telnet 통신 가능. (PC에서는 접속 불가)

 

< 과정 >

!------ Preconfig

enable

configure terminal

enable secret cisco

no ip domain-lookup

line console 0

password cisco

login

exec-timeout 0 0

logging synchronous

exit

username CCNP password itbank321

login local

exit

host

 

@ vlan10 (Sales)

!------ SW1

interface fastethernet 0/1 - 24

shutdown

exit

vlan 10

name Sales

interface fastethernet 0/8

switchport mode access

switchport access vlan 10

no shutdown

interface fastethernet 0/1

switchport mode trunk

no shutdown

exit

interface fastethernet 0/3

switchport mode trunk

no shutdown

exit

interface fastethernet 0/5

switchport mode trunk

no shutdown

exit

 

 

!------ SW2

interface fastethernet 0/1 - 24

shutdown

exit

vlan 10

name Sales

interface fastethernet 0/8

switchport mode access

switchport access vlan 10

exit

 

 

!------ SW3

interface fastethernet 0/1 - 24

shutdown

exit

vlan 10

name Sales

interface fastethernet 0/8

switchport mode access

switchport access vlan 10

exit

 

 

!------ SW4

interface fastethernet 0/1 - 24

shutdown

exit

vlan 10

name Sales

interface fastethernet 0/8

switchport mode access

switchport access vlan 10

exit

 

 

@ VLAN80 (Manage)

 

!------ SW1

vlan 80

name Manage

interface vlan 80

ip address 10.10.0.204 255.255.255.0

no shutdown

exit

 

 

!------ SW2

vlan 80

name Manage

interface vlan 80

ip address 10.10.0.201 255.255.255.0

no shutdown

exit

 

 

!------ SW3

vlan 80

name Manage

interface vlan 80

ip address 10.10.0.202 255.255.255.0

no shutdown

exit

 

 

!------ SW4

vlan 80

name Manage

interface vlan 80

ip address 10.10.0.203 255.255.255.0

no shutdown

exit

'IT > Network' 카테고리의 다른 글

EtherChannel - 이더 채널 구성  (0) 2019.05.28
[실습] VTP  (0) 2019.05.28
LAN Switching - VTP (VLAN Trunking Protocol)  (0) 2019.05.28
LAN Switching - VLAN  (0) 2019.05.28
LAN Switching - Spanning Tree 스패닝 트리  (0) 2019.05.28

댓글