Cool Cisco Commands, #1

Matt, how can I tell what interface in a port-channel a 7600 will use to transmit a packet? It’s easy!

router#remote login switch
Trying Switch …
Entering CONSOLE for Switch
Type “^C^C^C” to end this session

router-sp#test ether load int port 10 ip <source> <destination>
Computed RBH: 0×3
Would select Te6/4 of Po10

(This assumes that you’re using the default for etherchannel loadbalancing, i.e., source and destination IP address.)

Popularity: 6% [?]

One Comment on “Cool Cisco Commands, #1”

  1. Charles

    This is a very useful post.

    Suppose one is using src-ip hash to load balance, would the above command still apply?

    I did read the part in brackets but it would be good to clarify.

    Thanks

     

Leave a Reply