频 道 直 达 - 新闻 - 读书 - 培训 - 教程 - 前沿 - 组网 - 系统应用 - 安全 - 编程 - 存储 - 操作系统 - 数据库 - 服务器 - 专题 - 产品 - 案例库 - 技术圈 - 博客 - BBS
51CTO.COM_中国领先的IT技术网站
找资料:

港湾交换机u24配置802.1X的实例

作者: 佚名 出处:vlan9  (  ) 砖  (  ) 好  评论 ( ) 条  进入论坛
更新时间:2007-04-10 13:47
关 键 词:交换机  802.1X  配置
阅读提示:本文是一港湾交换机u24配置802.1X的实例。

!HammerOSsystemconfigfile

hostnameu24

!Syslogconfig

!Stackconfig

!Portconfig

configport1learningdisable/*设备开启802.1x后将自动关闭端口的地址学习功能*/

configport2learningdisable

configport3learningdisable

configport4learningdisable

configport5learningdisable

configport6learningdisable

configport7learningdisable

configport8learningdisable

configport9learningdisable

configport10learningdisable

configport11learningdisable

configport12learningdisable

configport13learningdisable

configport14learningdisable

configport15learningdisable

configport16learningdisable

configport17learningdisable

configport18learningdisable

configport19learningdisable

configport20learningdisable

configport21learningdisable

configport22learningdisable

configport23learningdisable

configport24learningdisable

!Vlanconfig

configipaddress192.168.2.254255.255.255.0/*设置设备的管理IP地址*/

!Arpconfig

!STPDconfig

!FDBentryconfig

createfdbentry00053b8015edport24/*在24端口静态设置上联三层设备的MAC地址*/

!Igmpsnoopingconfig

!Mirroringconfig

!Tracerouteconfig

!Sntpconfig

!Timezoneconfig

!Rstpconfig

!Dot1xconfig

configdot1xenable/*开启802.1x认证功能*/

configport1dot1xport-control-modeport-based/*设定1-23端口打开认证,认证模式为

configport2dot1xport-control-modeport-based基于端口认证*/

configport3dot1xport-control-modeport-based

configport4dot1xport-control-modeport-based

configport5dot1xport-control-modeport-based

configport6dot1xport-control-modeport-based

configport7dot1xport-control-modeport-based

configport8dot1xport-control-modeport-based

configport9dot1xport-control-modeport-based

configport10dot1xport-control-modeport-based

configport11dot1xport-control-modeport-based

configport12dot1xport-control-modeport-based

configport13dot1xport-control-modeport-based

configport14dot1xport-control-modeport-based

configport15dot1xport-control-modeport-based

configport16dot1xport-control-modeport-based

configport17dot1xport-control-modeport-based

configport18dot1xport-control-modeport-based

configport19dot1xport-control-modeport-based

configport20dot1xport-control-modeport-based

configport21dot1xport-control-modeport-based

configport22dot1xport-control-modeport-based

configport23dot1xport-control-modeport-based

configport24dot1xauthcontrolledportcontrolforceunauth/*24口作为上联口不认证*/

configdot1xkeepaliveenable

!Portbindconfig

!RADIUSclientconfig

radiusauthenticationadd-serverid0server-ip192.168.110.252client-ip192.168.2.254udp-port1812/*设定认证服务器为192.168.110.252,使用UDP端口1812*/

radiusauthenticationconfig-serverid0shared-secret123456

/*设定认证服务器交换信息密码123456*/

radiusaccountingadd-serverid0server-ip192.168.110.252client-ip192.168.2.254udp-port1813

/*设定计费服务器为192.68.110.252,使用UDP端口1813*/

radiusaccountingconfig-serverid0shared-secret123456

/*设定计费服务器交换信息的密码为123456*/

radiusauthenticationenable/*开启认证服务器*/

radiusaccountingenable/*开启计费服务器*/

configisp-domaindefaultauthenticationtypepap/*设定与认证服务器的加密方式为PAP*/

configisp-domaindefaultauthenticationconfig-serverid0typeprimary

configisp-domaindefaultaccountingconfig-serverid0typeprimary

!Loopdetectconfig

!Dot1pconfig

!BroadcastLimitconfig

!Bandwidthconfig

!Usermanageconfig

!SNMPconfig

!Webmanageserviceconfig

!IProuteconfig

iproute0.0.0.00.0.0.0192.168.2.254/*指定管理地址的网关*/

!H.Linkconfig

!Networkaccess-controlserviceconfig

!lldpconfig

!!Endofconfig

【相关文章】

【责任编辑:雪花 TEL:(010)68476606-8008】

发表
查看
我也说两句

匿名发表

(如果看不清请点击图片进行更换)


中 国 领 先 的 IT 技 术 网 站 ·
技 术 成 就 梦 想
·路由器设置与口令恢复 (查看64920次)
·常用交换机典型配置 (查看37738次)
·网络管理员考试全真模拟试题(八.. (查看33921次)
·三层交换技术专题 (查看29084次)
·子网掩码教程 (查看26681次)
订阅技术快讯
电子杂志下载
名称:网络安全精品应用黄皮书
简介:《2007精品网络安全黄皮书》包括了9个大类24个小类, 800余篇文章,内容包含了熊猫烧香病毒、DDOS攻击、ARP病等热点问题的介绍及解决方案。从病毒查杀、防范、系统、数据等各方面的安全设置到黑客技术的了解、防范,涉及到了安全应用的全部领域, 由浅至深内容全面。
名称:Vista精品应用黄皮书
简介:《Vista精品应用黄皮书》囊括了Vista的各方面内容。此次的精简版,是将里面的内容做了提取,便于用户下载和使用。内容包含了各种Vista的安装与实施、技巧与解析以及各种Vista相关学习文档和相关软件的安全下载。该电子书是了解和应用Vista人员必备的工具手册,并且也是第一本
名称:2006中国IT论坛精品集合
简介:本书由“51CTO论坛推广联盟”制作完成。书中所有内容均来自各联盟成员的论坛(网站)。制作本书的目的是为了集中大家的优势资源,将更多更精彩的内容带给广大技术爱好者。本书是联盟成立以来制作的第一本书。
关键字阅读
频道精选
主编信箱 热线:010-66476606 告诉我们您想看的:专题 文章
关于我们 | 诚聘英才 | 联系我们 | 网站大事 | 意见反馈 | 网站地图
Copyright©2005-2007 51CTO.COM 版权所有