cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
18842
Views
0
Helpful
2
Replies

Trace port channel members

johnnywilhelm
Level 1
Level 1

Is there a way to trace the members of a port channel from show tech-supports from the core and edge switches?

I have a large SAN and need to verify the config.

I want to identify the switch and interface for both ends of the port channel.

Eg, on the core switch I have:

`show port-channel usage`

Totally 12 port-channel numbers used

====================================

Used  :   1 - 4 , 11 - 12 , 21 - 22 , 31 - 32 , 41 - 42

Unused:   5 - 10 , 13 - 20 , 23 - 30 , 33 - 40 , 43 - 256

`show port-channel summary`

------------------------------------------------------------------------------

Interface                 Total Ports        Oper Ports        First Oper Port

------------------------------------------------------------------------------

port-channel 1                 12                12                 fc2/2

port-channel 2                 12                12                 fc2/10

port-channel 3                 12                12                 fc3/4

port-channel 4                 12                12                 fc4/7

port-channel 11                6                 5                  fc12/5

port-channel 12                6                 6                  fc13/4

port-channel 21                6                 6                  fc10/2

port-channel 22                6                 6                  fc11/2

port-channel 31                6                 6                  fc12/8

port-channel 32                6                 6                  fc13/7

port-channel 41                6                 6                  fc10/8

port-channel 42                6                 6                  fc11/7

and i expect that port-channel 1 is on this edge:

`show port-channel usage`

Totally 1 port-channel number used

==================================

Used  :   1

Unused:   2 - 256

`show port-channel summary`

------------------------------------------------------------------------------

Interface                 Total Ports        Oper Ports        First Oper Port

------------------------------------------------------------------------------

port-channel 1                 12                12                 fc9/2

Does the port-channel name have to be unique on both ends?

I can trace F_ports via the FLOGIs, but I can't seem to find anything similar for TE_ports?

Thanks

1 Accepted Solution

Accepted Solutions

Vu Phan
Cisco Employee
Cisco Employee

This may help

switch# sho port-channel internal info interface port-channel 1

port-channel 1

channel    : 1

bundle     : 0

ifindex    : 0x4000000

admin mode : active

oper mode  : active

nports     : 2

active     : 2

bundle     : 0

wwn        : 24:01:00:0d:ec:2c:54:c0

peer wwn   : 24:01:00:0d:ec:81:e2:00          < ---  Peer switch

flag       : 0

lock count : 0

ac mbrs    : 0 0

xgfc_status: 0

Members:

fc1/12 fc1/13

Lock Info: resource [port-channel 1]

View solution in original post

2 Replies 2

Vu Phan
Cisco Employee
Cisco Employee

This may help

switch# sho port-channel internal info interface port-channel 1

port-channel 1

channel    : 1

bundle     : 0

ifindex    : 0x4000000

admin mode : active

oper mode  : active

nports     : 2

active     : 2

bundle     : 0

wwn        : 24:01:00:0d:ec:2c:54:c0

peer wwn   : 24:01:00:0d:ec:81:e2:00          < ---  Peer switch

flag       : 0

lock count : 0

ac mbrs    : 0 0

xgfc_status: 0

Members:

fc1/12 fc1/13

Lock Info: resource [port-channel 1]

Thanks Vu - that is it.

In the log, the command is:

`show tech-support port-channel`

One further question, what is the bundle in the output?

port-channel 1

channel : 1

bundle : 0

ifindex : 0x4000000

admin mode : active

oper mode : active

nports : 2

active : 2

bundle : 0

wwn : 24:01:00:0d:ec:2c:54:c0

peer wwn : 24:01:00:0d:ec:81:e2:00 < --- Peer switch

flag : 0

lock count : 0

ac mbrs : 0 0

xgfc_status: 0