a我考网

 找回密码
 立即注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

查看: 94|回复: 0

[CCIE] 思科CCIE考试:EC的三层配置

[复制链接]
发表于 2012-8-3 20:12:39 | 显示全部楼层 |阅读模式
  配置层3的EC的步骤如下:   1.创建端口信道,范围是1到64:6 X2 G# a9 z+ G* F
  Aiko(config)#interface port-channel {port-channel-number}, ?' k; a( P" W# y. a
  2.把端口设置为层3端口:
3 r* e0 X0 Z. M8 A  Aiko(config-if)#no switchport. [7 Q% j* m- x+ P/ M, o1 d
  3.分配IP地址和子网掩码信息:
; ]6 d* _! _! r' K8 e! f; ^0 a4 u  Aiko(config-if)#ip address {ip-address} {mask}
7 I. M- Q$ `! r7 j7 h6 {1 C  }( j9 v  4.进入接口配置模式,最多定义8个物理端口:+ o: N( G. w3 u
  Aiko(config)#interface {interface}$ N( J7 h; d, @" I5 a
  5.移除端口IP地址信息:
3 y+ J  ^( U3 g% C  j1 b/ L  Aiko(config-if)#no ip address8 \: A$ L, U2 T3 S# c# h7 w
  6.把端口分配进信道组里,并定义PAgP或LACP的模式.信道组的范围是1到64.对于PAgP,参数auto为自动模式;参数desirable为无条件的启用PAgP;参数on为不启用PAgP,但是对端的PAgP模式也必须为on.对于LACP,参数active启用LACP信息的协商;参数passive不启用LACP信息的协商:
! D: v0 O# S: d2 q0 \0 j5 a! o  Aiko(config-if)#channel-group {group-number} mode {auto|desirable|on|active|passive}7.配置EC基于源MAC地址或目标MAC地址的负载均衡.可选:
9 F. N# `7 |5 ?% l  Aiko(config)#port-channel load-balance {dst-mac|src-mac}4 P  S4 u6 ~0 m; t2 Z
  8.启用EC守护特性,该特性是把检测到的EC配置错误的端口设置为error-disable状态.可选:Aiko(config)#spanning-tree etherchannel guard misconfig
  }+ W2 U' U- U  R0 N  Monitoring and Maintaining EC
1 q. ?+ O8 W+ Q  查看EC相关信息:, }; m6 H! c9 J/ K5 a
  Aiko#show etherchannel [group-number]
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Woexam.Com ( 湘ICP备18023104号 )

GMT+8, 2024-5-22 18:13 , Processed in 0.263956 second(s), 21 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表