CISCO 6500 VSS 配置全过程.doc_第1页
CISCO 6500 VSS 配置全过程.doc_第2页
CISCO 6500 VSS 配置全过程.doc_第3页
CISCO 6500 VSS 配置全过程.doc_第4页
CISCO 6500 VSS 配置全过程.doc_第5页
已阅读5页,还剩5页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

VSS Configure1.定义domain-ID范围1-255On Switch 1: podx-vss-sw1#conf t Enter configuration commands, one per line. End with CNTL/Z. podx-vss-sw1(config)#switch virtual domain x Domain ID 1 config will take effect only after the exec command switch convert mode virtual is issued podx-vss-sw1(config-vs-domain)#switch 1 podx-vss-sw1(config-vs-domain)# On Switch 2:podx-vss-sw2#conf t Enter configuration commands, one per line. End with CNTL/Z. podx-vss-sw2(config)#switch virtual domain x Domain ID 1 config will take effect only after the exec command switch convert mode virtual is issued podx-vss-sw2(config-vs-domain)#switch 2 podx-vss-sw2(config-vs-domain)#2.定义优先级-越大越优先On Switch 1:pod1-vss-sw1(config-vs-domain)#switch 1 priority 110 pod1-vss-sw1(config-vs-domain)#switch 2 priority 100 On Switch 2:pod1-vss-sw2(config-vs-domain)#switch 1 priority 110 pod1-vss-sw2(config-vs-domain)#switch 2 priority 100 3.配置Virtual Switch Link (VSL)-最多8个10GE口捆绑(必须用10GE口) 控制面板通过VSL实现两个机箱的CPU到CPU的通讯,数据面板通过VSL扩展本机箱的交换矩阵到远端。On Switch 1: pod1-vss-sw1(config)#interface port-channel 1 pod1-vss-sw1(config)#no shut pod1-vss-sw1(config-if)#switch virtual link 1 pod1-vss-sw1(config-if)#exit pod1-vss-sw1(config)#interface range tenGigabitEthernet 1/4 - 5 pod1-vss-sw1(config-if-range)#no shut pod1-vss-sw1(config-if-range)#channel-group 1 mode on pod1-vss-sw1(config-if-range)#Z On Switch 2: pod1-vss-sw2(config)#int port-channel 2 pod1-vss-sw2(config-if)#no shut pod1-vss-sw2(config-if)#switch virtual link 2 pod1-vss-sw2(config-if)#exit pod1-vss-sw2(config)#interface range tenGigabitEthernet 1/4 - 5 pod1-vss-sw2(config-if-range)#no shut pod1-vss-sw2(config-if-range)#channel-group 2 mode on pod1-vss-sw2(config-if-range)#Z 4.执行转换-转换完记得重启(重启不分先后可独立完成),重启后端口命名变成三级编码,switch2的console不在可用,所有控制都通过switch1来做On Switch 1: pod1-vss-sw1#switch convert mode virtual This command will convert all interface names to naming convention interface-type switch-number/slot/port, save the running config to startup-config and reload the switch. Do you want to proceed? yes/no: yes Converting interface names Building configuration. On Switch 2: pod1-vss-sw2#switch convert mode virtual This command will convert all interface names to naming convention interface-type switch-number/slot/port, save the running config to startup-config and reload the switch. Do you want to proceed? yes/no: yes Converting interface names Building configuration. 5.在SWITCH1 上对switch2的VSL作最终配置(注意这里不能用range)pod1-vss-sw1(config)#interface port-channel 2 pod1-vss-sw1(config-if)#no shut pod1-vss-sw1(config-if)#switch virtual link 2 pod1-vss-sw1(config-if)#exit pod1-vss-sw1(config)#interface tenGigabitEthernet 2/1/4 pod1-vss-sw1(config-if)#channel-group 2 mode on pod1-vss-sw1(config-if)#exit pod1-vss-sw1(config)#interface tenGigabitEthernet 2/1/5 pod1-vss-sw1(config-if)#channel-group 2 mode on 6.到此为止两台65已经一台了,可以改名并保存配置podx-vss-sw1#conf t Enter configuration commands, one per line. End with CNTL/Z. podx-vss-sw1(config)#hostname podx-vss podx-vss(config)#Z podx-vss# 00:13:40: %SYS-5-CONFIG_I: Configured from console by console podx-vss# podx-vss#wr Building configuration. 00:16:23: %PFINIT-SP-5-CONFIG_SYNC: Syncing the startup configuration to the standby Router. OK podx-vss# 至此VSS配置全部完成!7.查看VSS 状态1) pod1-vss#sh module switch 1 Switch Number: 1 Role: Virtual Switch Active - - Mod Ports Card Type Model Serial No. - - - - - 1 5 Supervisor Engine 720 10GE (Active) WS-S720-10G SAD104707A7 2 4 CEF720 4 port 10-Gigabit Ethernet WS-X6704-10GE SAL1104F8T3 3 48 CEF720 48 port 10/100/1000mb Ethernet WS-X6748-GE-TX SAD074102UP 2)pod1-vss#sh module switch 2 Switch Number: 2 Role: Virtual Switch Standby - - Mod Ports Card Type Model Serial No. 1 5 Supervisor Engine 720 10GE (Hot) WS-S720-10G SAD1047078E 2 4 CEF720 4 port 10-Gigabit Ethernet WS-X6704-10GE SAL1103EERS 3 48 CEF720 48 port 10/100/1000mb Ethernet WS-X6748-GE-TX SAD074206UM 3)pod1-vss#sh run switch 1 Building configuration. Current configuration : 4278 bytes ! interface GigabitEthernet1/1/1 no switchport no ip address shutdown ! interface GigabitEthernet1/1/2 no switchport no ip address shutdown ! interface GigabitEthernet1/1/3 no switchport ip address 128.107.65.12 255.255.255.128! 4)pod1-vss#sh run switch 2 Building configuration. Current configuration : 3741 bytes ! interface GigabitEthernet2/1/1 no switchport no ip address 5)pod1-vss#sh switch virtual Switch mode : Virtual Switch Local switch number : 1 Local switch operational role: Virtual Switch Active Peer switch number : 2 Peer switch operational role : Virtual Switch Standby 6)pod1-vss#sh switch virtual link VSL Status : UP VSL Uptime : 18:36:43 UTC Apr 6 2007 VSL SCP Ping : Pass VSL ICC Ping : Pass VSL Control Link : Te1/1/4 7)pod1-vss#sh switch virtual role Switch Switch Status Preempt Priority Role Session ID Number Oper(Conf) Oper(Conf) Local Remote - LOCAL 1 UP FALSE(N) 110(110) ACTIVE 0 0 REMOTE 2 UP FALSE(N) 100(100) STANDBY 4217 6561 In dual-active recovery mode: No 8.功能性配置 VSS配置完并工作正常后就可以进行功能性配置了,功能性配置和传统交换机是一模一样的,只是在做配置时可以将两台交换机可以看作一台(比如可以跨机箱做port-Channel)9.重启active交换机1)podx-vss#redundancy reload shelf 1 Reload this shelf confirm Preparing to reload this shelf active的交换机会触发一个NSF/SSO切换,standby的交换机会成为active,这个切换过程是比较短的。重启期间vss状态-switch 2变成了active,可以通过show 查看2)podx-vss#sh switch virtual Switch mode : Virtual Switch Local switch number : 2 Local switch operational role: Virtual Switch Active 3)重启完后再看VSS状态-switch2 是active switch 1是standbypodx-vss#sh switch virtual Switch mode : Virtual Switch Local switch number : 2 Local switch operational role: Virtual Switch Active Peer switch number : 1 Peer switch operational role : Virtual Switch Standby podx-vss#sh switch virtual role Switch Switch Status Preempt Priority Role Session ID Number Oper(Conf) Oper(Conf) Local Remote - LOCAL 2 UP FALSE(N) 100(100) ACTIVE 0 0 REMOTE 1 UP FALSE(N) 110(110) STANDBY 4252 7907 10. VSLP Link Management Protocol (LMP) information,主要用来管理VLS组中的成员工作情况。pod1-vss#sh vslp lmp summary Instance #2: LMP summary Link info: Configured: 2 Operational: 2 Peer Peer Peer Peer Timer(s) running Interface Flag State Flag MAC Switch Interface (Time remaining) - Te2/1/4 vfs operational vfs 0013.5f1f.6740 1 Te2/1/4 T4(16ms) T5(59.96s) Te2/1/5 vfs operational vfs 0013.5f1f.6740 1 Te2/1/5 T4(16ms) T5(59.96s) Flags: v - Valid f - Flag set T4 - Hello Tx Timer T5 - Hello Rx Timerpod1-vss#sh vslp lmp neighbors Instance #2: LMP neighbors Peer Group info: # Groups: 1 PG # MAC Switch Ctrl Port-*1 0013.5f1f.6740 1 1/4 pod1-vss#sh vslp lmp counters Instance #2: LMP counters Tx Rx Port OK Fail Bidir Uni Fail Bad - 1/4 2883 0 2837 2 0 0

温馨提示

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

评论

0/150

提交评论