交换机端口捆绑配置方法(port-channel配置)
来源:互联网 发布:连江房产网络备案查询 编辑:程序博客网 时间:2024/04/29 17:43
配置EtherChannel
以太通道捆绑几个以太端口为一个独立的逻辑链路。如4006交换机,你可以捆绑在4006任何模块上最多8个兼容的具有相同速率的端口。每个以太通道具有一个port-channel端口号。要捆绑一个以太通道时,会产生一个逻辑port-channel端口,逻辑端口下的配置可影响与之捆绑的物理端口,但物理端口下的配置不能影响逻辑端口的配置。
1) 三层以太通道(逻辑port-channe)的配置
Switch# configure terminal
Switch(config)# interface port-channel 1 // 创建一个逻辑端口
Switch(config-if)# ip address 172.32.52.10 255.255.255.0
Switch(config-if)# end
2) 三层物理端口配置
Switch# configure terminal
Switch(config)# interface range fastethernet 5/4 – 5 (注意: 空格是必需的)
Switch(config-if)# no switchport // 改变该端口为三层接口
Switch(config-if)# no ip address // 确认接口没有配置IP地址
Switch(config-if)# channel-group 1 mode desirable
Switch(config-if)# end
附: Switch(config-if)# channel-group port_channel_number mode {auto | desirable | on} // 将该物理端口加入一个以太通道中,并确定PagP模式。
3) 二层以太通道配置
Switch# configure terminal
Switch(config)# interface range fastethernet 5/6 - 7 (注意: 空格是必需的)
Switch(config-if-range)# channel-group 2 mode desirable
Switch(config-if-range)# end
Switch# show running-config interface port-channel 2
Building configuration...
Current configuration:
!
interface Port-channel2
switchport access vlan 10
switchport mode access
end
Switch#
如何作端口聚合
如果要配置二台6509之间的Trunk联接,首先将二6509用千兆光纤相联好,然后分别配置二相联端口的trunk,可以是只用一双光纤,或用二对光纤做port channel,配置如下:
一双光纤相联时,分别在二台65上进行以下的配置:
interface GigabitEthernet1/1
no ip address
switchport
switchport trunk encapsulation dot1q
switchport trunk native vlan 1
二对光纤相联时,必须要做port channel,分别在二台65上进行以下的配置:
interface port-channe1
no ip address
switchport
switchport trunk encapsulation dot1q
switchport trunk native vlan 1
!
interface GigabitEthernet1/1
no ip address
duplex full
speed 1000
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk native vlan 1
channel-group 1 mode on
!
interface GigabitEthernet1/2
no ip address
duplex full
speed 1000
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk native vlan 1
channel-group 1 mode on
以太通道捆绑几个以太端口为一个独立的逻辑链路。如4006交换机,你可以捆绑在4006任何模块上最多8个兼容的具有相同速率的端口。每个以太通道具有一个port-channel端口号。要捆绑一个以太通道时,会产生一个逻辑port-channel端口,逻辑端口下的配置可影响与之捆绑的物理端口,但物理端口下的配置不能影响逻辑端口的配置。
1) 三层以太通道(逻辑port-channe)的配置
Switch# configure terminal
Switch(config)# interface port-channel 1 // 创建一个逻辑端口
Switch(config-if)# ip address 172.32.52.10 255.255.255.0
Switch(config-if)# end
2) 三层物理端口配置
Switch# configure terminal
Switch(config)# interface range fastethernet 5/4 – 5 (注意: 空格是必需的)
Switch(config-if)# no switchport // 改变该端口为三层接口
Switch(config-if)# no ip address // 确认接口没有配置IP地址
Switch(config-if)# channel-group 1 mode desirable
Switch(config-if)# end
附: Switch(config-if)# channel-group port_channel_number mode {auto | desirable | on} // 将该物理端口加入一个以太通道中,并确定PagP模式。
3) 二层以太通道配置
Switch# configure terminal
Switch(config)# interface range fastethernet 5/6 - 7 (注意: 空格是必需的)
Switch(config-if-range)# channel-group 2 mode desirable
Switch(config-if-range)# end
Switch# show running-config interface port-channel 2
Building configuration...
Current configuration:
!
interface Port-channel2
switchport access vlan 10
switchport mode access
end
Switch#
如何作端口聚合
如果要配置二台6509之间的Trunk联接,首先将二6509用千兆光纤相联好,然后分别配置二相联端口的trunk,可以是只用一双光纤,或用二对光纤做port channel,配置如下:
一双光纤相联时,分别在二台65上进行以下的配置:
interface GigabitEthernet1/1
no ip address
switchport
switchport trunk encapsulation dot1q
switchport trunk native vlan 1
二对光纤相联时,必须要做port channel,分别在二台65上进行以下的配置:
interface port-channe1
no ip address
switchport
switchport trunk encapsulation dot1q
switchport trunk native vlan 1
!
interface GigabitEthernet1/1
no ip address
duplex full
speed 1000
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk native vlan 1
channel-group 1 mode on
!
interface GigabitEthernet1/2
no ip address
duplex full
speed 1000
switchport mode trunk
switchport trunk encapsulation dot1q
switchport trunk native vlan 1
channel-group 1 mode on
0
上一篇:The network bridge on device VMnet0 is not running
下一篇:ip helper-address命令工作过程
相关热门文章
- 高价收购思科网络设备...
- Cisco 4500系列交换机配置...
- linux iwconfig工具
- hp刀片6120交换机配置端口聚合...
- 【MSF】:rubygem更新错误...
- IP Sec VPN与NAT破镜重圆
- 网站导航
- UT2.0正式版下载
- tomcat6.0配置(含配置视频下载...
- Gomez中国网站用户体验排行榜(...
- IBM DS3400 盘阵怎么查看是单...
- 启动auditd时,报错如下,怎么...
- CGSL系统中root密码正确,但无...
- 在CGSL系统中,如何为不同的用...
- CGSL系统如何设置交换分区的大...
给主人留下些什么吧!~~
评论热议
0 0
- 交换机端口捆绑配置方法(port-channel配置)
- 交换机端口捆绑配置方法(port-channel配置)
- 交换机端口安全 port-security配置详解
- 交换机port-security配置
- 常用品牌交换机端口镜像(Port Mirroring)配置
- 华为交换机端口镜像配置方法
- 交换机端口镜像配置方法
- 交换机端口安全配置
- 交换机端口安全配置
- 交换机端口安全配置
- 交换机通过port-channel互联
- 华为交换机交换机端口镜像配置
- 交换机端口hybrid属性配置
- 交换机端口镜像配置
- 优化思科交换机端口配置
- 华为交换机配置端口隔离
- H3C交换机配置端口聚合
- 配置交换机端口具体命令
- Cisco交换机配置新手篇之端口配置
- 单播路由及组播路由协议及就用
- [ZT] Cisco和H3C命令对照(部分)
- TaHost加载Activity及自定义底部导航
- The network bridge on device VMnet0 is not running
- 交换机端口捆绑配置方法(port-channel配置)
- ip helper-address命令工作过程
- 交换机链路聚合在网络中的作用
- 面向对象准则
- VLAN访问控制列表(VACL)和VLAN之间的访问控制列表的区别
- Windows Rights Management Service RMS部署实战
- [ZT]CISCO3750配置实战
- [ZT]Cisco 3750 三层交换机配置
- [ZT]Cisco 3750交换机配置无故丢失,恢复一例
原创粉丝点击
热门IT博客
热门问题
老师的惩罚
人脸识别
我在镇武司摸鱼那些年
重生之率土为王
我在大康的咸鱼生活
盘龙之生命进化
天生仙种
凡人之先天五行
春回大明朝
姑娘不必设防,我是瞎子
爬虫软件
爬虫python
隐形虫爬过皮肤症状图片
草爬子虫
python爬虫什么意思
米虫从米里爬出来能活多久
爬虫程序
什么虫爬过皮肤就溃烂图片
java爬虫
爬虫工程师
荞麦枕头生虫会往人身体爬吗
爬虫图片
网络爬虫原理
网络爬虫软件
网络爬虫是什么
爬虫网
爬虫有什么用
python3爬虫
python爬虫是什么
什么是爬虫
爬虫人
爬虫入门
python 爬虫
python爬虫入门
python爬虫有什么用
爬虫机器人
python爬虫代码
网络爬虫python
爬虫源码
python爬虫书籍
定制爬虫
八爪鱼爬虫
python爬虫项目
大数据爬虫技术
爬虫公司
爬虫加热垫
什么是爬虫技术
网络爬虫系统
网站爬虫工具
python爬虫培训
爬虫技术有什么用