As the 4006 + XS4013 engine of the unit cannot be upgraded to the IOS version, it is a great deal of trouble to configure 4006. CatOS is ignored in mainstream textbooks and reference books, and even baidu is no exception. Thanks to the hard work, after reading the documents for two consecutive days, I finally found the relevant principles and configuration examples. I hope this article will give some inspiration to the comrades who still use 4006 + WS4013. First, because my unit version is too old for 5.5x), the first task is to upgrade CatOS. The WS-4013 belongs to the sup ii engine and can only run CatOS, the maximum version can be obtained through the free CCO query only query :-(). It would be nice to buy one more '+. Under the guidance of g Shen and B Ge, we found the CatOS of version 8.7x, which is 4 MB in size. The upgrade is relatively simple. dir flash shows that flash has 13 MB, and the original CatOS is only 3 mb. In addition, the miscellaneous files share more than 6 MB. Use the me0 port next to the console for tftp transmission: set interface me0 ip 192.168.0.1/24 and access the network cable, then back up CatOS: copy bootflash tftp and save the Configuration: copy config tftp copy tftp flash to copy the new CatOS. Finally, specify the new CatOS boot bootldr bootflash: clear the configuration clear config all and restart reset to complete the upgrade. I have not found a place to store vlan information. I hope you can advise me.) 2. Layer 2 configuration. It mainly involves configuration work such as set vlan X name XXset vlan X mod/portset trunk mod/port dot1q. Layer-2 configuration is relatively simple, but for future management convenience, it is still matched with the sc0 IP address with an in-band Management port) set interface sc0IP/MASK VlanAnd add it to a planned vlan. Use set ip route defaultIpThe SVI that points to the vlan. In this way, remote management and SNMP management can be performed in the future. Three, the second layer with good, but the problem comes, In the end WS-4013 is how to communicate with the WS-4232-L3? How are they connected? After reading the information repeatedly, combined with the original configuration of the unit, I finally understood it. The WS4232 panel has two optical fiber module ports and 32 Fast Ethernet ports, but there are actually two internal Gigabit ports, GigaEthernet 3 and GigaEthernet G4. The two logical ports are visible in the show run of the WS-4232, but not on the panel. The front panel of the WS-4013 has two optical module ports: GigaEthernet 1 and GigaEthernet 2. The G3 of the WS-4232-L3 is connected to the G1 of the WS-4013, And the G4 of the WS-4232-L3 is connected to the G2 of the WS-4013. The figure shows the logical connection method: 650) this. width = 650; "onclick = 'window. open (" http://blog.51cto.com/viewpic.php?refimg= "+ This. src) 'style = "border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-right -: "title =" clip_image001 "border =" 0 "alt =" clip_image001 "src =" http://www.bkjia.com/uploads/allimg/131227/0404231161-0.gif "Width =" 640 "height =" 373 "/> according to the official statement, the above connection is equivalent to using two fiber ports of the WS-4013 to connect to a WS-4232-L3 on a router ). Therefore, configuration is equivalent to single-arm routing: using the trunk mode on two layer-2 interfaces of the WS-4013, configuring the dot1q encapsulation on two layer-3 interfaces of the WS-4232-L3, and encapsulate the dot1q Vlan and its IP address on different sub-interfaces. There are two officially recommended configurations: 1. We recommend that the G3 sub-interface encapsulate half of the vlan, And the G4 sub-interface encapsulate the other half of the Vlan. L2 G1 and G2 allow corresponding VLANs to pass through trunk. This can achieve manually controlled load balancing; 2. G1, G2, G3, and G4 constitute the port channel, and directly configure the sub-interface on the port-channel, in this method, Server Load balancer is automatically implemented by the port channel. After consideration, the second connection method is used to simplify the operation. L2: # port channalset port-channal 1/1-2 99 the default value 1 cannot be used here, otherwise the loop may occur) # module 2 34 ports Router Processor set trunk 1/1-2 dot1qset trunk 1/1 onset trunk 1/2 onL3: interface port-channal 1 any management number can be used here) interface port-channal 1.10 description Vlan 10's Gatewayencapsulation dot1q 10ip address 192.168.10.1 255.255.255.0 interface port-channal 1.20 description Vlan 10's Gatewayencapsulation dot1q 20ip address 192. 168.20.1 255.255.255.0 interface port-channal 1.30 description Vlan 10's Gatewayencapsulation dot1q 30ip address 192.168.30.1 255.255.255.0 ...... Interface GigaEthernet 3channal-group 1 interface GigaEthernet 4channal-group 1 is the work of OSPF. Show ip route, found a long-lost complete route table, the mood can only be described in one word: Great!
This article from the "Bitter Gourd" blog, please be sure to keep this source http://golehuang.blog.51cto.com/7499/355877