欢迎来到天天文库
浏览记录
ID:5398538
大小:1.07 MB
页数:33页
时间:2017-11-10
《cisco常见应用场景和配置》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
1、方剑锋浙大快威工程师13819459599内容安排Cisco交换设备介绍常见应用场景和配置常见故障诊断基本配置(一)更改主机名Switch(config)#hostnameS2-C-HZXH-7609-1设置时钟和NTP时钟同步Switch(config)#clocktimezone[Beijing]8Switch(config)#ntpserver[61.174.64.11]时间戳设置Switch(config)#servicetimestampsdebugdatetimemseclocaltimeSwitch(config)#servicetim
2、estampslogdatetimemseclocaltime基本配置(二)AAA认证配置iptacacssource-interfaceLoopback0tacacs-serverhost202.96.96.86tacacs-serverkeyhzdxaaanew-modelaaaauthenticationlogindefaultgrouptacacs+lineenableaaaauthenticationenabledefaultgrouptacacs+enableaaaaccountingcommands15defaultstart-stop
3、grouptacacs+telnet参数设置linevty[04]access-class[9]inexec-timeout[30]password[wyzx@2008]基本配置(三)Log日志设置loggingtrapnotificationsloggingsource-interfaceLoopback0logging202.96.96.34SNMP设置Switch(config)#snmp-servercommunitysjzx2004RO[9]VLAN配置创建和删除VLANSwitch(config)#vlan[1200]Switch(con
4、fig-vlan)#name[test]Switch(config)#novlan[1200]创建SVIinterfaceVlan1200descriptiontestipaddress60.190.36.177255.255.255.252noipredirectsnoipunreachablesnoipproxy-arp定义VTP模式和使用扩展VLANSwitch(config)#vtpmodetransparentSwitch(config)#spanning-treeextendsystem-id接口配置(一)Access接口interfac
5、eFastEthernet6/3descriptionL1212628switchport(45和35系列交换机上不需要此命令)switchportaccessvlan3103switchportmodeaccessspeed10duplexfulltrunk接口interfaceGigabitEthernet1/1descriptionto7609-3/2switchport(45和35系列交换机上不需要此命令)switchporttrunkencapsulationdot1qswitchporttrunkallowedvlan700,810,82
6、1,842,849,859,868,974switchporttrunkallowedvlanadd11201-1244,3101-3148switchportmodetrunk接口配置(二)路由接口配置interfaceGigabitEthernet1/1descriptionto7609-3/2noswitchport(65/76上不需要此命令)ipaddress60.190.36.177255.255.255.252noipredirectsnoipunreachablesnoipproxy-arpQINQ接口配置interfaceGigabi
7、tEthernet7/22descriptionGuDang-OLT-C200-1-port2mtu1538switchport(35系列交换机上不需要此命令)switchportaccessvlan702switchportmodedot1q-tunnelnocdpenablespanning-treebpdufilterenable接口配置(三)接口限速配置(45系列交换机)policy-map4Mclassclass-defaultpolice4mbps400kbyteconform-actiontransmitexceed-actiondro
8、pinterfaceFastEthernet6/11service-policyinput4Mservice
此文档下载收益归作者所有