Cisco vlan + vtp 配置实例

实例是中用到的是Cisco 3620的交换机,由于是用模拟器做的实验,所以有的地方可能和真实机有所不同,这个简单的实验只是提供一个思路。

1.实验目的 通过本实验,读者可以掌握以下技能:
   配置VLAN; 通过VLAN Trunk配置跨交换机的VLAN;
   配置VTP; 查看上述配置项目的相关信息。

2.设备需求 本实验需要以下设备:
   Cisco 3620 本实验中使用了3620交换机;
   交叉线序网线1条;
   1台终端服务器 1台带有超级终端程序的PC机,以及Consoie电缆及转接器。

 

 


Switch1 :

Switch1#show run
Building configuration...

Current configuration : 1332 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Switch1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
!
!
!
interface FastEthernet0/0
switchport mode trunk
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface Vlan1
no ip address
!
ip http server
!
!
!
!
!
!
control-plane
!
!
!        
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end

 

switch2:

switch2#show run
Building configuration...

Current configuration : 1332 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname switch2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
!
!
!
!
!        
!
!
!
!
interface FastEthernet0/0
switchport mode trunk
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface Vlan1
no ip address
!
ip http server
!
!
!
!
!
!
control-plane
!
!
!        
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end

你可能感兴趣的:(Cisco)