什么是发动机正常抖动?:《交换机的通道技术》
来源:百度文库 编辑:偶看新闻 时间:2024/04/27 18:56:22
《交换机的通道技术》 交换机通道技术是将交换机的多个端口捆绑使用,也叫端口的聚合。其作用是
提高网络带宽,增加了可靠性。
配置二层通道时,首先要把捆绑的端口划分到指定的VLAN或trunk。
配置三层通道时,用no switchport关闭二层端口,设置通道IP地址。
组成通道的端口称为成员(<8),所有成员的参数应该一致,如工作模式、封装
的协议、端口类型、端口花费、优先级等,并使用第一个端口的参数。
端口协商方式:
手动方式:端口成员两端模式mode为on。
自动方式:
PAgP(Port Aggregation Protocol)Cisco设备专用聚合协议。auto模式在协
商中只收不发,desirable模式收发协商的数据包。
LACP(Link aggregation Control Protocol)通用聚合协议802.3ad。active
相当于PAgP的auto,而passive相当于PAgP的desirable。 定义PAgP 地址的学习方法:
switch(config-if)#pagp learn-method {aggregation-port|physical-port}
aggregation-port:使用逻辑端口(通道号)。
physical-port:使用物理端口,需要启动源MAC负载平衡方式。 定义PAgP 端口的优先级:
switch(config-if)#pagp port-priority
number:取值0~255。
定义LACP 端口的优先级:
switch(config-if)#lacp port-priority
number:取值0~65536。
定义LACP 系统的优先级:
switch(config)#lacp system-priority
number:取值0~32768。 建立通道及协商模式命令
switch(config-if-range)#channel-protocol {pagp|lacp}
switch(config-if-range)#channel-group mode <
{auto|desirable|on}|{active|passive}> 显示通道信息命令:
switch#show etherchannel [] {detail|summary}
其中 detail表示详细的,summary表示综合的。 通道端口间的负载平衡
scr-mac:源MAC地址相同的数据帧使用同一个端口转发。
dst-mac:目的MAC地址相同的数据帧使用同一个端口转发。
命令格式:
switch(config)#port-channel load-balance {scr-mac|dst-mac} 例题:交换机间的端口聚合switchA#conf t
switchA(config)#int range f0/3 -6
switchA(config-if-range)#switchport mode access
switchA(config-if-range)#switchport access vlan 2
switchA(config-if-range)#channel-protocol pagp
switchA(config-if-range)#channel-group 2 mode desirable
Creating a port-channel interface Port-channel 2
switchA(config-if-range)#no shutdown
switchA(config-if-range)#exit
switchA(config)#exit
switchA#switchB#conf t
switchB(config)#int range f0/3 -6
switchB(config-if-range)#switchport mode access
switchB(config-if-range)#switchport access vlan 2
switchB(config-if-range)#channel-protocol pagp
switchB(config-if-range)#channel-group 2 mode auto
Creating a port-channel interface Port-channel 2
switchB(config-if-range)#no shutdown
switchB(config-if-range)#exit
switchB(config)#exit
switchB#
提高网络带宽,增加了可靠性。
配置二层通道时,首先要把捆绑的端口划分到指定的VLAN或trunk。
配置三层通道时,用no switchport关闭二层端口,设置通道IP地址。
组成通道的端口称为成员(<8),所有成员的参数应该一致,如工作模式、封装
的协议、端口类型、端口花费、优先级等,并使用第一个端口的参数。
端口协商方式:
手动方式:端口成员两端模式mode为on。
自动方式:
PAgP(Port Aggregation Protocol)Cisco设备专用聚合协议。auto模式在协
商中只收不发,desirable模式收发协商的数据包。
LACP(Link aggregation Control Protocol)通用聚合协议802.3ad。active
相当于PAgP的auto,而passive相当于PAgP的desirable。 定义PAgP 地址的学习方法:
switch(config-if)#pagp learn-method {aggregation-port|physical-port}
aggregation-port:使用逻辑端口(通道号)。
physical-port:使用物理端口,需要启动源MAC负载平衡方式。 定义PAgP 端口的优先级:
switch(config-if)#pagp port-priority
number:取值0~255。
定义LACP 端口的优先级:
switch(config-if)#lacp port-priority
number:取值0~65536。
定义LACP 系统的优先级:
switch(config)#lacp system-priority
number:取值0~32768。 建立通道及协商模式命令
switch(config-if-range)#channel-protocol {pagp|lacp}
switch(config-if-range)#channel-group
{auto|desirable|on}|{active|passive}> 显示通道信息命令:
switch#show etherchannel [
其中 detail表示详细的,summary表示综合的。 通道端口间的负载平衡
scr-mac:源MAC地址相同的数据帧使用同一个端口转发。
dst-mac:目的MAC地址相同的数据帧使用同一个端口转发。
命令格式:
switch(config)#port-channel load-balance {scr-mac|dst-mac} 例题:交换机间的端口聚合switchA#conf t
switchA(config)#int range f0/3 -6
switchA(config-if-range)#switchport mode access
switchA(config-if-range)#switchport access vlan 2
switchA(config-if-range)#channel-protocol pagp
switchA(config-if-range)#channel-group 2 mode desirable
Creating a port-channel interface Port-channel 2
switchA(config-if-range)#no shutdown
switchA(config-if-range)#exit
switchA(config)#exit
switchA#switchB#conf t
switchB(config)#int range f0/3 -6
switchB(config-if-range)#switchport mode access
switchB(config-if-range)#switchport access vlan 2
switchB(config-if-range)#channel-protocol pagp
switchB(config-if-range)#channel-group 2 mode auto
Creating a port-channel interface Port-channel 2
switchB(config-if-range)#no shutdown
switchB(config-if-range)#exit
switchB(config)#exit
switchB#
ETHERNTE交换机、VLAN交换机、FDDI交换机、ATM交换机从技术角度上分类,哪一个是不正确的?
谁有“光纤通道交换机原理与路由选择”的资料?
交换机群集技术
在ATM交换机进行VP、VC和传输通道交换时VPI/VCI值的变换
patch clamp技术.什么是单通道记录?
关于通道的问题
IDE通道的安装
提问,通道的问题
求职的安全通道?
新世界商场的通道
谁知道哪里有关于S1240交换机的资料?最好是发展,和所用的技术
什么是第三层交换技术?是否是简单的路由器和交换机的叠加?
交换机问题!~~ 网吧技术高手来~
CCNA 重技术 需要路由器 交换机吗?
谁能讲下通道技术在计算机中的应用,欢迎长篇大论。
cpld技术在多通道时差法超声波流量计中的应用
零通道、单通道、双通道RAID卡的区别
PHOTOSHOP的通道使用是?
通道的基础应用是什么
细胞膜上的通道蛋白
“球员通道”的英文怎么说?
这板是多少通道的?
单通道主板的问题~~~~
PS通道分色的步骤?