VTP配置

 

 

 

Server配置:

 interface FastEthernet0/12

 switchport trunk encapsulation dot1q

 switchport mode trunk

建立vlan2与vlan3

  vlan database

  vlan 2 name vlan2

  vlan 3 name vlan3

将fa0/1加入vlan 2 

  int fa 0/1

  switch access vlan2

  将fa0/2加入vlan 3

  int fa 0/2 

  switch access vlan3 

配置vtp server域及密码

 vlan database 

 vtp server

 vtp domain cisco

 vtp password cisco



Client配置:

 interface FastEthernet0/12

 switchport trunk encapsulation dot1q

 switchport mode trunk


 vlan database 

 vtp client

 vtp domain cisco

 vtp password cisco


此时在VTP Client上 show vlan,即可学习到 VTP Server的vlan信息,但不会学习到VTP Server端口信息

 

 

 

你可能感兴趣的:(职场,休闲,VTP)