06-02-2008 05:55 AM - edited 03-05-2019 11:21 PM
I have an etherchannel going between two switches with 4 links. The switches run IOS. I am trying to determine which hosts are using which links of the ethernchannel. There is a CATOS command you can use to determine this , it is the "show channel hash" command. I am wondering if there is an IOS equivalent to this command, or some other IOS command I can use to determine which hosts are using which links in an etherchannel?
Thanks
Also is there a web page or document which is a rosetta stone for finding IOS equivalents of CATOS commands, and vice versa?
Again
Thanks
06-02-2008 06:05 AM
Hi
this might work.
test etherchannel load-balance interface port-channel
06-02-2008 06:24 AM
yes the above command should work as ment by dominic.
Below is the link which can help.
http://www.cisco.com/en/US/tech/tk389/tk213/technologies_tech_note09186a0080094714.shtml
Hope this helps.
06-02-2008 06:34 AM
The referenced command doesn't appear to work on the switches I have.
top_switch#test etherchannel load-balance interface port-channel 1
..........................^
% Invalid input detected at '^' marker.
My switch is a 2950 running IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, System image file is "flash:/c2950-i6q4l2-mz.121-22.EA4.bin"
01-08-2009 10:37 AM
The command 'test etherchannel load-balance' is for the Catalyst 6500 platform, and in order to use it you must first connect to the switch processor using the command 'remote login switch' at the privileged level.
Ron Buchalski
06-02-2008 07:12 AM
I feel show etherchannel load-balance should able to solve it for the ios you are running.
I am still not sure but below are the commands that are supported you can try to mix and match to find out.
show etherchannel
Use the show etherchannel user EXEC command to display EtherChannel information for a channel.
show etherchannel [channel-group-number] {detail | load-balance | port | port-channel | summary} [ | {begin | exclude | include} expression]
Syntax Description
channel-group-number
(Optional) Number of the channel group. The range is 1 to 6.
detail
Display detailed EtherChannel information.
#load-balance
Display the load-balance or frame-distribution scheme among ports in the port channel.
port
Display EtherChannel port information.
port-channel
Display port-channel information.
summary
Display a one-line summary per channel-group.
Hope this helps.
Pravin
06-02-2008 07:56 AM
etherchannel load-balance just shows the load balancing methodology, for instance Source MAC. It doesn't show which hosts are using which links though, just the overall methodology
06-02-2008 09:18 AM
Well may be the command is not supported.
Did u have a chance to check on this command.
show interfaces port-channel 1 etherchannel.
The book ment below is a good refrence.
Cisco Field Manual:Catalyst Switch Configuration
Dave Hucaby, CCIE No. 4594
Steve McQuerry, CCIE No. 6108
attached is one file for command refrence.
06-02-2008 11:13 AM
This is what the command shows
top_switch#show interfaces port-channel 1 etherchannel
Age of the Port-channel = 4d:02h:49m:15s
Logical slot/port = 1/0 Number of ports = 4
GC = 0x00010001 HotStandBy port = null
Port state = Port-channel Ag-Inuse
Protocol = PAgP
Ports in the Port-channel:
Index Load Port EC state No of bits
------+------+------+------------------+-----------
0 00 Fa0/1 Automatic-Sl 0
0 00 Fa0/2 Automatic-Sl 0
0 00 Fa0/3 Automatic-Sl 0
0 00 Fa0/4 Automatic-Sl 0
Time since last port bundled: 4d:02h:32m:19s Fa0/4
I checked all the other permutations of the
show interfaces port-channel command, and non of them seem to show host info either
top_switch#show interfaces port-channel 1 ?
accounting Show interface accounting
capabilities Show interface capabilities information
counters Show interface counters
crb Show interface routing/bridging info
debounce Show interface debounce time info
description Show interface description
etherchannel Show interface etherchannel information
fair-queue Show interface Weighted Fair Queueing (WFQ) info
flowcontrol Show interface flowcontrol information
irb Show interface routing/bridging info
mac-accounting Show interface MAC accounting info
media Show interface media info
precedence Show interface precedence accounting info
private-vlan Show interface private vlan information
pruning Show interface trunk VTP pruning information
random-detect Show interface Weighted Random Early Detection (WRED) info
rate-limit Show interface rate-limit info
stats Show interface packets & octets, in & out, by switching pat
status Show interface line status
summary Show interface summary
switchport Show interface switchport information
transceiver Show interface transceiver
trunk Show interface trunk information
06-02-2008 11:24 AM
I hope someone else can reply on this post to justify if cisco really does support the command output for the switch model.
as per the doc it supports 6000 series.
06-02-2008 11:48 AM
Do this switch support the "show forward". I dont know if it will give you the physical port or the portchannel interface...I dont have any switch of that type.
06-03-2008 04:15 AM
The switch is a 2950. I tried the show forward command but it does no appear to support it
top_switch#show forward
.................................^
% Invalid input detected at '^' marker.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide