HWIC-4ESW插在同一台路由器上,并配置VLAN的话,一定要用两块卡中的一端口进行堆叠,否则除VLAN1之外,其它VLAN无法通信。

    配置方法:

Configuring Stacking

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.

Beginning in privileged EXEC mode, follow these steps to configure a pair of ports on two different switch modules as stacking partners.

SUMMARY STEPS

1. interface fastethernet interface-id

2. no shutdown

3. switchport stacking-partner interface FastEthernet partner-interface-id

4. exit

5. interface fastethernet partner-interface-id

6. no shutdown

7. end

DETAILED STEPS

 


Command
Purpose

Step 1

Router(config)#interface fastethernet 
interface-id

Selects the interface to configure.

Step 2

Router(config-if)#no shutdown

Activates the interface. (Required only if you shut down the interface.)

Step 3

Router(config-if)#switchport 
stacking-partner interface FastEthernet
partner-interface-id

Selects and configures the stacking partner port.

Step 4

Router(config-if)#exit

Exits interface configuration mode.

Step 5

Router(config)#interface fastethernet 
partner-interface-id

Selects the stacking partner interface.

Step 6

Router(config-if)#no shutdown

Activates the stacking partner interface.

Step 7

Router(config-if)#end

Exits configuration mode.