A-A+

CISCO路由器使用两块HWIC-4ESW配置的一个案例

2015年11月23日 站长资讯 暂无评论

在使用两块交换机模块接口卡的时候,需要用网线连接,才能是虚拟网络VLAN正常运作。官方的文档里对此有详细的说明,不是因为是英文,所以很多人可能会忽略掉。

这次在一台路由器上配备了两块HWIC-4ESW,开始时没有注意,根本没法用这两块以太网交换模块,搞得自己很紧张,以为碰到不良总代,出了O货,后来到官网上查了一下,原来还有这么一说,算是思科的一个小小硬伤吧,为什么不在机框总线里把这个问题处理好,却一定要在外面飞线呢?

看来思科每次在嘲笑华为时,应该摸下自己的脸是否有点红了。

思科官方的文档:

  1. Configuring Stacking  
  2.  Stacking is the connection of two switch modules resident in the same chassis so that they behave as a single switch. When a chassis is populated with two switch modules, the user must configure both of them to operate in stacked mode. This is done by selecting one port from each switch module and configuring it to be a stacking partner. The user must then connect with a cable the stacking partners from each switch module to physically stack the switch modules. Any one port in a switch module can be designated as the stacking partner for that switch module.  
  3. Beginning in privileged EXEC mode, follow these steps to configure a pair of ports on two different switch modules as stacking partners.  
  4. SUMMARY STEPS  
  5. 1. interface fastethernet interface-id  
  6. 2. no shutdown  
  7. 3. switchport stacking-partner interface FastEthernet partner-interface-id  
  8. 4. exit  
  9. 5. interface fastethernet partner-interface-id  
  10. 6. no shutdown  
  11. 7. end   
  12. DETAILED STEPS  
  13. Command Purpose   
  14. Step 1   
  15. Router(config)#interface fastethernet  
  16. interface-id  
  17. Selects the interface to configure.  
  18. Step 2   
  19. Router(config-if)#no shutdown  
  20. Activates the interface. (Required only if you shut down the interface.)  
  21. Step 3   
  22. Router(config-if)#switchport  
  23. stacking-partner interface FastEthernet  
  24. partner-interface-id  
  25. Selects and configures the stacking partner port.  
  26. Step 4   
  27. Router(config-if)#exit  
  28. Exits interface configuration mode.  
  29. Step 5   
  30. Router(config)#interface fastethernet  
  31. partner-interface-id  
  32. Selects the stacking partner interface.  
  33. Step 6   
  34. Router(config-if)#no shutdown  
  35. Activates the stacking partner interface.  
  36. Step 7   
  37. Router(config-if)#end  
  38. Exits configuration mode.  
标签:

给我留言