手机
当前位置:查字典教程网 >网络 >交换机 >交换机与路由器间的端口聚合设置详解
交换机与路由器间的端口聚合设置详解
摘要:与路由器间的端口聚合是三层端口的綑绑,要求交换机的逻辑通道工作在三层模式下,使用noswitchport关闭二层通道。并设置IP地址。swi...

与路由器间的端口聚合是三层端口的綑绑,要求交换机的逻辑通道工作在三层模式下,使用no switchport 关闭二层通道。并设置IP地址。

switchA#conf t

switchA(config)#int port-channel 5 ;进入逻辑通道5

switchA(config-if)#no switchport ;定义为三层接口

switchA(config-if)#ip address 10.65.1.1 255.255.0.0 ;设置通道IP地址

switchA(config-if)#exit

switchA(config)#int range f0/1 -2 ;进入物理接口

switchA(config-if-range)#no ip address ;去掉物理接口IP

switchA(config-if-range)#channel-group 5 mode on ;设通道5手动方式

switchA(config-if-range)#no shutdown

switchA(config-if-range)#exit

switchA(config-if)#end

switchA#

router#conf t

router(config)#int port-channel 5 ;进入逻辑通道5

router(config-if)#ip address 10.65.1.2 255.255.0.0 ;设通道IP地址

router(config-if)#int f0/0 ;进入物理端口

router(config-if)#no ip address ;去掉端口IP地址

router(config-if)#no shutdown ;激活物理端口

router(config-if)#channel-group 5 ;添加到通道5

router(config-if)#int f0/1

router(config-if)#no ip address

router(config-if)#no shutdown

router(config-if)#channel-group 5

router(config-if)#end

router

【交换机与路由器间的端口聚合设置详解】相关文章:

初始化交换机的密码的方法介绍

数据中心交换机的关键参数解析

switch操作系统交换机设置介绍

核心交换机各项配置 Vlan划分、互访、ACL管控、链路聚合等

思科路由器交换机IOS文件自动备份与还原设置教程

华为S5700交换机端口镜像该怎么配置?

Cisco交换机堆叠与HSRP之间的区别深入剖析

思科交换机怎么在VLAN中一次添加多个端口?

H3C S3100交换机常用操作

cisco交换机故障Flash空间不足的解决办法

精品推荐
分类导航