2013年12月19日星期四

How to enable flowcontrol on Cisco 2960

How to enable flowcontrol on Cisco 2960, the follwers are the two question about it, find the solution on your Cisco 2960 to enable the flowcontrol.
Question 1: I have 2 Cisco c2960 switches  that I'm setting up and I'm having some issues getting flow control to be active on all ports under 1 vlan.
My setup is to have 2 vlans on each switch and enable flow control  on each of my vlans.
what ever command  I typo it dose not like it.
Can someone give me the correct command line for this model ?

Answer 1: The Catalyst 2960 switch accepts received pause frames but cannot send them. The flowcontrol send command is not supported on the Catalyst 2960 switch.
The Catalyst 2960 switch rejects the command, and this message appears:
Switch(config-if)# flowcontrol send
desired
                              ^
%Invalid input detected at `^' marker
Command  Purpose 
Step 1 
 configure terminal
 Enter global configuration mode
Step 2 
 interface interface-id
 Specify the physical interface to be configured, and enter interface configuration mode.
Step 3 
 flowcontrol {receive} {on | off | desired}
 Configure the flow control mode for the port.
Step 4 
 end
 Return to privileged EXEC mode.
Step 5 
 show interfaces interface-id
 Verify the interface flow control settings.
Step 6 
 copy running-config startup-config
 (Optional) Save your entries in the configuration file.
To disable flow control, use the flowcontrol receive off interface configuration command.
Question 2: I met a strange problem after enabling flowcontrol in 2960s.
my enviroment,
- 2 cisco 2960s 24ts-l (WS-C2960S-48TS-L )have been created a stack
- IOS is 12.2(58)se2
- all ports have been enabled flowcontrol receive dersied
via show flowcontrol, I can see each Gigabyte Port have been enabled "flowcontrol receive desired" but, when I do the following tests
- connect equallogic ps4000xv to the port 21, I found the status of port is "input flow-control is off"
- connect one server with Broadcom Gigabyte Network adapter, which has been enable TX ON RX ON, or Auto, the status of the port is still  "input flow-control is off"   
I guess, the port status should be ""input flow-control is on". Test them with another port, I got the same result. why?
I attached the config file and the port status file.

Answer 2: The flowcontrol receive desired command enables the switch to utilise any pause frames it receives from your servers.
The 2960 cannot send pause frames, hence your servers report 'input flow-control is off'.

If your servers are enabled to send pause frames to the 2960, then flowcontrol should work in that direction only.

1 条评论: