三层网络设备标准化配置

上传人:痛*** 文档编号:172064977 上传时间:2022-11-30 格式:DOC 页数:7 大小:63.50KB
收藏 版权申诉 举报 下载
三层网络设备标准化配置_第1页
第1页 / 共7页
三层网络设备标准化配置_第2页
第2页 / 共7页
三层网络设备标准化配置_第3页
第3页 / 共7页
资源描述:

《三层网络设备标准化配置》由会员分享,可在线阅读,更多相关《三层网络设备标准化配置(7页珍藏版)》请在装配图网上搜索。

1、目 录1 网络设备标准化配置11.1 交换机配置11 网络设备标准化配置目的:1. 标准化网络设备配置;2. 提高网络设备管理安全;3. 提高网络设备监管能力,并清晰记录相关日志信息,提高网络问题可查性;1.1 交换机配置网络设备配置模板:-基础服务及生成树配置(无需更改)-ip domain-name no service padservice tcp-keepalives-inservice tcp-keepalives-outservice timestamps debug datetime msec localtime show-timezoneservice timestamps l

2、og datetime msec localtime show-timezoneservice password-encryptionclock timezone BJT 8!boot-start-markerboot-end-marker!no ip bootp serverno ip http serverno ip source-routeno ip domain-lookuperrdisable recovery cause bpduguarderrdisable recovery cause link-flap errdisable recovery cause looperrdis

3、able recovery inter 300errdisable recovery cause psecure-violation!spanning-tree mode rapid-pvstspanning-tree loopguard defaultspanning-tree extend system-idspanning-tree vlan 10-300 priority 24576 /*视情况定*/no ip http secure-serverno ip http serverip routing-日志配置(无需更改)-logging trap notificationsloggi

4、ng 10.37.4.102logging console criticallogging buffered 32768 notifications-VTP及SNMP、banner登录及访问控制(无需更改)-access-list 99 permit 10.37.4.102access-list 199 remark /*access-list 199 remark Remote Access authorized serversaccess-list 199 remark */access-list 199 permit tcp 10.0.0.0 0.255.255.255 any loga

5、ccess-list 199 deny tcp any any range 0 65535 logaccess-list 199 deny ip any any logline vty 0 15 access-class 199 in transport input telnet ssh/*若IOS不支持SSH可只开启telnet*/exisnmp-server community EnnNWmo$ RO 99snmp-server trap link ietfsnmp-server enable traps configsnmp-server enable traps cpu thresho

6、ldsnmp-server ifindex persistsnmp-server enable traps errdisablesnmp-server enable traps syslogsnmp-server host 10.37.4.102 xinaoranqi snmp-server ifindex persist banner motd *This is a private property facility to be accessed and used for ENNinternal systems. Unauthorized Access Prohibited!*!-NTP配置

7、(无需更改)-ntp authentication-key 123 md5 1qazxsw2ntp authenticatentp trusted-key 123ntp server 10.37.254.250 prentp server 10.37.254.249-AAA认证(密码需要更改,其他无需更改)- username admin privilege 15 secret EnNnwps0bWanaaa new-model radius-server host 10.37.8.103 auth-port 1812 acct-port 1813 key 1qazxsw2radius-ser

8、ver host 10.37.8.101 auth-port 1812 acct-port 1813 key 1qazxsw2aaa group server radius OP_AAAserver 10.37.8.101 auth-port 1812 acct-port 1813server 10.37.8.103 auth-port 1812 acct-port 1813 exi!aaa authentication login default group OP_AAA localaaa authorization exec default group OP_AAA local aaa a

9、uthorization network default group OP_AAA local !-DHCP配置-ip dhcp excluded-address 10.x.x.1 /不用于动态地址分配的地址/ ip dhcp excluded-address 10.x.x.200 10.x.x.254 ! ip dhcp pool VLAN10 /global是pool name, 由用户指定/ network 10.x.x.0 255.255.255.0 /动态分配的地址段/ domain-name /为客户机配置域后缀/ dns-server 10.36.8.40 10.36.8.41

10、/为客户机配置dns服务器 /netbios-name-server 10.36.8.40 10.36.8.41 /为客户机配置wins服务器 /lease 2 /地址租用期限: 2天/-Interface接口配置(需更改)-interface Gx/xip help-add x.x.x.x /若DHCP不在本设备上,启用此命令指向DHCP服务器 /description connect to LFGDC02_AS07_Po10ip address x.x.x.x x.x.x.x /三层接口配置/ no ip redirects /三层接口配置/ no ip unreachables/三层接口

11、配置/ no ip proxy-arp/三层接口配置/logging event trunk-status/Trunk接口配置/logging event link-status /三层接口或其他设备互联类型接口配置/注:一般三层接口配置信息需根据实际的接口用途而定,命令使用参照以上命令注释。-HSRP三层接口配置(需更改)-interface Gx/xdescription connect to LFGDC02_AS07_Po10ip address x.x.x.x x.x.x.x /三层接口地址配置,用于HSRP的本地物理地址/ no ip redirects no ip unreacha

12、blesno ip proxy-arp standby 1 ip x.x.x.x /HSRP组网关地址配置/ standby 1 priority 120/HSRP组本地优先级,默认为100,建议主的配置为120,备用的设置为90/ standby 1 preempt /HSRP故障时网关抢占/standby 1 track GigabitEthernet1/0/12 50 /HSRP跟踪接口,当接口故障时优先级降低50/logging event link-status /三层接口或其他设备互联类型接口配置/注:HSRP组号建议与vlan号一致。设备名称及管理配置源接口信息(需更改)host

13、 CNCHBLF1-BWAS01snmp-server trap-source vlan 10snmp-server location CNCHBLF1-BWAS01snmp-server contact LFMANlogging source-interface vlan 10ip radius source-interface vlan 10ntp source vlan 10注:设备命名需按命名标准执行,日志及SNMP的源接口应为设备管理接口,snmp的location及contact值,分别为设备名称及设备所处环境名称,如廊坊园区网等。三层网络设备SNMP配置snmp-server e

14、nable traps ospf state-changesnmp-server enable traps ospf errorssnmp-server enable traps ospf retransmitsnmp-server enable traps ospf lsasnmp-server enable traps ospf cisco-specific state-change nssa-trans-changesnmp-server enable traps ospf cisco-specific state-change shamlink interface-oldsnmp-server enable traps ospf cisco-specific state-change shamlink neighborsnmp-server enable traps ospf cisco-specific errorssnmp-server enable traps ospf cisco-specific retransmitsnmp-server enable traps ospf cisco-specific lsa注:三层设备需根据实际启用的路由器而定,此配置模板为OSPF的snmp监控。

展开阅读全文
温馨提示:
1: 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
2: 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
3.本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
5. 装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!