思科校园网搭建及配置综合小型实验-资源已打包

实验拓扑

请添加图片描述

配置步骤

配置聚合链路

hostname Core_SW1
!
interface Port-channel1 // 进入聚合接口
 switchport trunk encapsulation dot1q  //改变封装模式
 switchport mode trunk  //接口模式改变为trunkinterface range FastEthernet0/8-9 //进入多个接口视图下
 channel-group 1 mode on  //绑定聚合端口

hostname Core_SW2
!
interface Port-channel1  // 进入聚合接口
 switchport trunk encapsulation dot1q   //改变封装模式
 switchport mode trunk  //接口模式改变为trunkinterface range FastEthernet0/8-9 //进入多个接口视图下
 channel-group 1 mode on  //绑定聚合端口

配置VTP,vlan域模板

core_sw1
vtp domain sike  //配置vtp域
vtp mode server  //服务器模式
vtp password 123456   //认证密码

core_sw2
vtp domain sike  //配置vtp域
vtp mode client  //服务器模式
vtp password 123456   //认证密码
//sw1--->sw6都需要配置以上命令,才可以正常从core_sw1上获取相应的vlan

//show vtp status:查看交换机vtp配置模式

第一步 配置二层VLAN

core_sw1
vlan10
vlan20
vlan30
vlan40
vlan50
vlan60
vlan70
!
interface range FastEthernet0/8-9 //进入多个接口视图下
 switchport trunk encapsulation dot1q //改变封装模式
 switchport mode trunk  //接口模式改变为trunk
!
interface range FastEthernet0/2-7 //进入多个接口视图下
 switchport trunk encapsulation dot1q //改变封装模式
 switchport mode trunk  //接口模式改变为trunk

core_sw2
interface range FastEthernet0/8-9 //进入多个接口视图下
 switchport trunk encapsulation dot1q //改变封装模式
 switchport mode trunk  //接口模式改变为trunk
!
interface range FastEthernet0/2-7 //进入多个接口视图下
 switchport trunk encapsulation dot1q //改变封装模式
 switchport mode trunk  //接口模式改变为trunk
!
interface FastEthernet0/10
 switchport access vlan 70 //将接口划入vlan70
 switchport mode access   //接口模式改变为access

hostname SW_1
!
interface FastEthernet0/1
 switchport mode trunk
!
interface FastEthernet0/2
 switchport mode trunk
!
interface FastEthernet0/3
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/4
 switchport access vlan 10
 switchport mode access
!
interface FastEthernet0/5
 switchport access vlan 10
 switchport mode access

SW2
hostname SW_2
!
interface FastEthernet0/1
 switchport mode trunk
!
interface FastEthernet0/2
 switchport mode trunk
!
interface FastEthernet0/3
 switchport access vlan 20
 switchport mode access
!
interface FastEthernet0/4
 switchport access vlan 20
 switchport mode access

SW3
hostname SW_3
!
interface FastEthernet0/1
 switchport mode trunk
!
interface FastEthernet0/2
 switchport mode trunk
!
interface FastEthernet0/3
 switchport access vlan 30
 switchport mode access
!
interface FastEthernet0/4
 switchport access vlan 30
 switchport mode access

SW4
hostname SW_4
!
interface FastEthernet0
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值