--关于BLOG的一些问题与解决
2012-07-12 22:36
281 查看
etherchannel配置
手动配置etherchannel
S1
interface port-channel 1
exit
interface range gigabitEthernet 0/1-2
channel-group 1 mode on
switchport trunk encapsulaition dot1q
switchport mode trunk
exit
port-channel load-balance dst-ip
S2
interface port-channel 2 两边的编号可以不一样,只是本地有效而已
exit
interface range gigabitEthernet 0/1-2
channel-group 2 mode on
switchport trunk encapsulation dot1q
switchport mode trunk
exit
port-channnel load-balance dst-ip
配置pagp 和lacp
S1
interface port-channel 1
exit
interface range gigabitEthernet 0/1-2
channel-procotol pagp
channel-group 1 mode desirable
switchport trunk encapsulaiton dot1q
switchport mode trunk
interface port-channel 2
exit
interface range gigabitEthernet 0/1-2
channel-procotol pagp
channel-group 2 mode auto
switchport trunk encapsulation dot1q
switchport mode trunk
实验调试
show etherchannel summary
Switch#show etherchannel summary
Flags: D - down P - in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+----------------------------------------------
1 Po1(SU) PAgP Gig0/1(P) Gig0/2(P)
show etherchannel prot-channel
Switch#show etherchannel port-channel
Channel-group listing:
----------------------
Group: 1
----------
Port-channels in the group:
---------------------------
Port-channel: Po1
------------
Age of the Port-channel = 00d:00h:20m:19s
Logical slot/port = 2/1 Number of ports = 2
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel
Protocol = PAGP
Port Security = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Gig0/2 Desirable-Sl 0
0 00 Gig0/1 Desirable-Sl 0
Time since last port bundled: 00d:00h:17m:41s Gig0/1
附件:
Switch(config-if-range)#channel-group 1 mode ?
active Enable LACP unconditionally
auto Enable PAgP only if a PAgP device is detected
desirable Enable PAgP unconditionally
on Enable Etherchannel only
passive Enable LACP only if a LACP device is detected
Switch(config-if-range)#channel-protocol ?
lacp Prepare interface for LACP protocol
pagp Prepare interface for PAgP protocol
本文出自 “CoCoe” 博客,请务必保留此出处http://sunchao.blog.51cto.com/957900/1074824
手动配置etherchannel
S1
interface port-channel 1
exit
interface range gigabitEthernet 0/1-2
channel-group 1 mode on
switchport trunk encapsulaition dot1q
switchport mode trunk
exit
port-channel load-balance dst-ip
S2
interface port-channel 2 两边的编号可以不一样,只是本地有效而已
exit
interface range gigabitEthernet 0/1-2
channel-group 2 mode on
switchport trunk encapsulation dot1q
switchport mode trunk
exit
port-channnel load-balance dst-ip
配置pagp 和lacp
S1
interface port-channel 1
exit
interface range gigabitEthernet 0/1-2
channel-procotol pagp
channel-group 1 mode desirable
switchport trunk encapsulaiton dot1q
switchport mode trunk
interface port-channel 2
exit
interface range gigabitEthernet 0/1-2
channel-procotol pagp
channel-group 2 mode auto
switchport trunk encapsulation dot1q
switchport mode trunk
实验调试
show etherchannel summary
Switch#show etherchannel summary
Flags: D - down P - in port-channel
I - stand-alone s - suspended
H - Hot-standby (LACP only)
R - Layer3 S - Layer2
U - in use f - failed to allocate aggregator
u - unsuitable for bundling
w - waiting to be aggregated
d - default port
Number of channel-groups in use: 1
Number of aggregators: 1
Group Port-channel Protocol Ports
------+-------------+-----------+----------------------------------------------
1 Po1(SU) PAgP Gig0/1(P) Gig0/2(P)
show etherchannel prot-channel
Switch#show etherchannel port-channel
Channel-group listing:
----------------------
Group: 1
----------
Port-channels in the group:
---------------------------
Port-channel: Po1
------------
Age of the Port-channel = 00d:00h:20m:19s
Logical slot/port = 2/1 Number of ports = 2
GC = 0x00000000 HotStandBy port = null
Port state = Port-channel
Protocol = PAGP
Port Security = Disabled
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Gig0/2 Desirable-Sl 0
0 00 Gig0/1 Desirable-Sl 0
Time since last port bundled: 00d:00h:17m:41s Gig0/1
附件:
Switch(config-if-range)#channel-group 1 mode ?
active Enable LACP unconditionally
auto Enable PAgP only if a PAgP device is detected
desirable Enable PAgP unconditionally
on Enable Etherchannel only
passive Enable LACP only if a LACP device is detected
Switch(config-if-range)#channel-protocol ?
lacp Prepare interface for LACP protocol
pagp Prepare interface for PAgP protocol
本文出自 “CoCoe” 博客,请务必保留此出处http://sunchao.blog.51cto.com/957900/1074824
相关文章推荐
- --关于BLOG的一些问题与解决
- 关于java API操作elasticsearch 实时更新的一些问题及解决
- 关于学习与问题解决的一些认识
- 关于ubuntu使用中发现的一些问题和部分解决方法
- 关于spring升级到4.3.12 hibernate升级到4.3 遇到的一些问题和解决方法
- 关于一些解决客户订单的问题
- 关于微信服务号自定义发送给朋友/分享到朋友圈, 发送/分享失败的一些问题及解决方式
- 关于安装Android Studio的一些问题的解决方法
- 关于Vivado的SDK编译一直报错一些语法问题的解决
- 关于将XMPP server部署到Tomcat上的一些问题及断开连接不上解决
- 关于自己写的aar包发布到maven过程中的一些问题解决
- streamDM中关于运行实例的一些问题解决
- 我遇到的一些问题的解决答案,有关于操作系统中的
- 关于iOS 6 中的一些“xxxxxx” is deprecated 问题的解决办法
- 关于android初学时一些问题的解决方法资料(持续更新)
- 关于浏览器的一些兼容性问题与解决方法
- Cocos2d-X3.0bate_关于一些“无法解析的外部符号”的配置问题解决方法
- 关于 H5 开发时的一些交互效果问题的解决