!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
【相关文章】
|
|||
| · 网管系统介绍 · 网络管理系统如何支撑I.. · CISSP认证成长之路 · 51CTO国庆充电专题之好.. · 网络技术经典基础教程 · 51CTO主编推荐经典专题 · RAID——磁盘阵列基础 · 充电计划之热门IT认证.. |
· 51CTO技术自测 挑战自.. · AMD Phenom三核处理器.. · 国际文档格式标准开战 · 2007年互联网大会 · 我是黑客我怕谁——讲.. · ARP攻击防范与解决方案 · Solaris 10 配置管理 · Solaris基础知识入门 |
||
|
|||
| · Java基础教程 · VPN技术 · ARP攻击防范与解决方案 · SQL Server 2005全解 · SOA 面向服务架构 · SQL Server 2005全解 · Java编程开发手册 · RAID——磁盘阵列基础 |
· 三层交换技术专题 · SQL Server入门到精通 · Windows Server 2003企.. · Windows远程桌面应用 · C#技术开发指南 · VPN技术 · C#技术开发指南 · Solaris 10 配置管理 |
||
|
|||
| · ARP攻击防范与解决方案 · VPN技术 · SQL Server 2005全解 · Java基础教程 · SQL Server入门到精通 · SQL Server 2005全解 · SOA 面向服务架构 · Java编程开发手册 |
· C#技术开发指南 · 三层交换技术专题 · C#技术开发指南 · Windows远程桌面应用 · RAID——磁盘阵列基础 · Windows Server 2003企.. · 邮件服务器专题 · wimax技术与趋势 |
||
| ·DB2 Viper快速入门 ·DB2 9数据库的镜像分割与.. |
·将XML应用程序从DB2 8.x.. ·DB2 9中的pureXML:如何.. |
| ·服务器中的“傻瓜机”在.. ·盖茨也喜欢登录Youtube看.. |
· · |
| ·体验Windows Server 2008.. ·将超星图书转成PDF文档 |
·使用 Office Communicati.. ·VMware Workstation 6.01.. |
| ·强烈质疑“步行1公里就能.. ·国庆期间新闻回顾:微软.. |
·9月第3周回顾:微软和英.. ·9月第2周回顾:四核之战.. |
| · 华为、贝恩资本22亿美元.. · NGN:下一代网络 · 网络访问中断大排查 |
· 教你使用Anti ARP Sniff.. · 网络嗅探教程:使用Snif.. · 常见病毒手工清除方法大.. |
| · C++是垃圾语言?! · 2007年IT界七大抄袭事件 · Java实用开发全集 |
· 解析Ajax开发框架 走进A.. · 基于Google Maps与Ajax.. · 基于Google Maps与Ajax.. |
| · 热门 IT 培训认证官方资.. · Ubuntu 中文开源频道 · Solaris基础知识入门 |
· Google推出唯一硬件——.. · 硬盘之父获得诺贝尔物理.. · 理性面对四核服务器选购 |
| · 甲骨文Oracle 11g正式发.. · Oracle数据库开发之PL/S.. · Oracle数据库开发基础教.. |
· 硬盘之父获得诺贝尔物理.. · 存储2006,一个并购的大.. · IDC宣布浪潮蝉联存储市.. |