cisco常见应用场景和配置.ppt
《cisco常见应用场景和配置.ppt》由会员分享,可在线阅读,更多相关《cisco常见应用场景和配置.ppt(33页珍藏版)》请在三一文库上搜索。
1、方剑锋 浙大快威 工程师 13819459599,内容安排,Cisco交换设备介绍 常见应用场景和配置 常见故障诊断,基本配置(一),更改主机名,Switch(config)#hostname S2-C-HZXH-7609-1,设置时钟和NTP时钟同步,Switch(config)#clock timezone Beijing 8 Switch(config)# ntp server 61.174.64.11,时间戳设置,Switch(config)#service timestamps debug datetime msec localtime Switch(config)#service
2、timestamps log datetime msec localtime,基本配置(二),AAA认证配置,ip tacacs source-interface Loopback0 tacacs-server host 202.96.96.86 tacacs-server key hzdx aaa new-model aaa authentication login default group tacacs+ line enable aaa authentication enable default group tacacs+ enable aaa accounting commands 1
3、5 default start-stop group tacacs+,telnet参数设置,line vty 0 4 access-class 9 in exec-timeout 3 0 password wyzx2008,基本配置(三),Log日志设置,logging trap notifications logging source-interface Loopback0 logging 202.96.96.34,SNMP设置,Switch(config)#snmp-server community sjzx2004 RO 9,VLAN配置,创建和删除VLAN,Switch(config)
4、#vlan 1200 Switch(config-vlan)#name test Switch(config)#no vlan 1200,创建SVI,interface Vlan1200 description test ip address 60.190.36.177 255.255.255.252 no ip redirects no ip unreachables no ip proxy-arp,定义VTP模式和使用扩展VLAN,Switch(config)# vtp mode transparent Switch(config)# spanning-tree extend system
5、-id,接口配置(一),Access接口,interface FastEthernet6/3 description L1212628 switchport (45和35系列交换机上不需要此命令) switchport access vlan 3103 switchport mode access speed 10 duplex full,trunk接口,interface GigabitEthernet1/1 description to 7609-3/2 switchport (45和35系列交换机上不需要此命令) switchport trunk encapsulation dot1q
6、switchport trunk allowed vlan 700,810,821,842,849,859,868,974 switchport trunk allowed vlan add 11201-1244,3101-3148 switchport mode trunk,接口配置(二),路由接口配置,interface GigabitEthernet1/1 description to 7609-3/2 no switchport (65/76上不需要此命令) ip address 60.190.36.177 255.255.255.252 no ip redirects no ip u
7、nreachables no ip proxy-arp,QINQ接口配置,interface GigabitEthernet7/22 description GuDang-OLT-C200-1-port 2 mtu 1538 switchport (35系列交换机上不需要此命令) switchport access vlan 702 switchport mode dot1q-tunnel no cdp enable spanning-tree bpdufilter enable,接口配置(三),接口限速配置(45系列交换机),policy-map 4M class class-default
8、 police 4 mbps 400 kbyte conform-action transmit exceed-action drop interface FastEthernet6/11 service-policy input 4M service-policy output 4M,接口限速配置(35系列交换机),class-map match-all IPclass match ip dscp 0 policy-map rate-4M class IPclass police 4200000 300000 exceed-action drop interface FastEthernet
9、6/11 service-policy input rate-4M,EtherChannel Technology,Load sharing and redundancy provided Incremental way to scale link bandwidth Switches, routers, and servers,EtherChannel,100/1000 Ethernet 2,A,B,EtherChannel,Etherchannel - What supports it?,Catalyst 2900XL,Catalyst 3500XL,Catalyst 5000,Catal
10、yst 6000,Catalyst 4000,Bandwidth Options,Ethernet/ Fast Ethernet,Fast EtherChannel,10,100 Mbps,200,400 Mbps,Gigabit EtherChannel,2, 4 Gbps,Gigabit Ethernet,1 Gbps,Smooth migration to higher bandwidths Gain resiliency at same time Considered as one link to STP, Routing Protocols Featured on Catalyst
11、family and Cisco IOS,Catalyst 6000 Additional Options,Fast EtherChannel,200800 Mbps,Gigabit EtherChannel,28 Gbps,Bundle formed with 28 links Bundle members can exist on different cards Maximum bandwidth of 16 Gbps (FDX) possible Odd combinations also valid (3, 5, 6, 7),How does it work,Take the sour
12、ce and destination MAC address - convert to Binary,Take last 2 bits of both addresses and perform XOR,Results determine which link to use 00 - Link 1 01 - Link 2 02 - Link 3 03 - Link 4,Catalyst 6000 uses a polynomial equation in the Earl5 to calculate etherchannel path,Configuring Etherchannel on t
13、he 6000,Catalyst 6000 supports a maximum of 128 Etherchannel Groups,1. All ports must be in same VLAN 2. If channel is configured as trunk, then trunk mode must be same on all ports 3. All ports in channel must be same speed and duplex setting 4. Broadcast limit MUST be same on all ports in channel
14、5. Port security on ports stops the etherchannel group being created 6. If one of the ports has SPAN enabled, etherchannel group will not form 7. Protocol filtering must be same on all ports in channel group,Etherchannel Restrictions,端口聚合配置,interface Port-channel7 description to_liuxia4506 switchpor
15、t switchport trunk encapsulation dot1q switchport trunk allowed vlan 17,18,105,184,326, 358,361,365-367 switchport trunk allowed vlan add 369-373,501-599,700,801 switchport mode trunk interface GigabitEthernet3/14 description to_liuxia4506 switchport switchport trunk encapsulation dot1q switchport t
16、runk allowed vlan 17,18,105,184,326, 358,361,365-367 switchport trunk allowed vlan add 369-373,501-599,700,801 switchport mode trunk channel-group 7 mode desirable interface GigabitEthernet4/3 description to_liuxia4506-1/1 switchport switchport trunk encapsulation dot1q switchport trunk allowed vlan
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- cisco 常见 应用 场景 配置
链接地址:https://www.31doc.com/p-2141485.html