Sie sind auf Seite 1von 4

VLAN (Virtual LAN) & TRUNK

VTP (VLAN Trunking Protocol)

Konfgurasi VLAN :

Switch>en

Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#hostname SA

SA(config)#vlan 10

SA(config-vlan)#name LAB-A

SA(config-vlan)#exit

SA(config)#vlan 20

SA(config-vlan)#name LAB-B

SA(config-vlan)#exit
Konfigurasi VTP Server dan VTP Client :

SA(config)#vtp mode server

Device mode already VTP SERVER.

SA(config)#vtp domain cisco

Domain name already set to cisco.

SA(config)#vtp password class

Setting device VLAN database password to class

SA(config)#int f0/23

SA(config-if)#switchport mode trunk

SA(config-if)#int f0/4

SA(config-if)#switchport mode trunk

Switch>en

Switch#conf t

Enter configuration commands, one per line. End with CNTL/Z.

Switch(config)#hostname SB

SB(config)#vtp mode client

Setting device to VTP CLIENT mode.

SB(config)#vtp domain cisco

Changing VTP domain name from NULL to cisco

SB(config)#vtp password class

Setting device VLAN database password to class

SB(config)#^Z

Hasil konfigurasi :

SA#sh vtp password

VTP Password: class


SA#sh vtp status

VTP Version : 2

Configuration Revision : 3

Maximum VLANs supported locally : 255

Number of existing VLANs : 7

VTP Operating Mode : Server

VTP Domain Name : cisco

VTP Pruning Mode : Disabled

VTP V2 Mode : Disabled

VTP Traps Generation : Disabled

MD5 digest : 0xC2 0x4C 0xF4 0x9B 0xC9 0x54 0xEA 0x69

Configuration last modified by 0.0.0.0 at 3-1-93 00:00:30

Local updater ID is 0.0.0.0 (no valid interface found)

SA#

SB#sh vtp password

VTP Password: class

SB#sh vtp status

VTP Version : 2

Configuration Revision : 3

Maximum VLANs supported locally : 255

Number of existing VLANs : 7

VTP Operating Mode : Client

VTP Domain Name : cisco

VTP Pruning Mode : Disabled

VTP V2 Mode : Disabled

VTP Traps Generation : Disabled

MD5 digest : 0xC2 0x4C 0xF4 0x9B 0xC9 0x54 0xEA 0x69
Configuration last modified by 0.0.0.0 at 3-1-93 00:00:30

SB#

Das könnte Ihnen auch gefallen