Cisco Nexus 5k and 2k

I have a port on the 5k connected to the 2k. Is there a way to see the port number connected the 5k and the 2k without physically tracing the cable? Thx
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

atlas_shudderedSr. Network EngineerCommented:
I think that what you are looking for is:

show fex;
show fex detail;
show port-channel summary

XXXXXXXXX# show fex
  FEX         FEX           FEX                       FEX              
Number    Description      State            Model            Serial    
100        FEX0100                Online     N2K-C2248TP-1GE   SSI163704VC
XXXXXXXXX# show fex det
FEX: 100 Description: FEX0100   state: Online
  FEX version: 5.1(3)N2(1) [Switch version: 5.1(3)N2(1)]
  FEX Interim version: 5.1(3)N2(1)
  Switch Interim version: 5.1(3)N2(1)
  Extender Serial: SSI163704VC
  Extender Model: N2K-C2248TP-1GE,  Part No: 73-13232-01
  Card Id: 99, Mac Addr: 1c:e6:c7:8d:a6:42, Num Macs: 64
  Module Sw Gen: 12594  [Switch Sw Gen: 21]
  post level: complete
 pinning-mode: static    Max-links: 1
  Fabric port for control traffic: Eth1/32
  FCoE Admin: false
  FCoE Oper: true
  FCoE FEX AA Configured: false
  Fabric interface state:
    Po20 - Interface Up. State: Active
    Eth1/31 - Interface Up. State: Active
    Eth1/32 - Interface Up. State: Active

  Fex Port        State  Fabric Port
       Eth100/1/1    Up        Po20
       Eth100/1/2  Down        Po20
       Eth100/1/3    Up        Po20
       Eth100/1/4    Up        Po20
       Eth100/1/5    Up        Po20
       Eth100/1/6    Up        Po20
       Eth100/1/7    Up        Po20
       Eth100/1/8    Up        Po20
       Eth100/1/9    Up        Po20
      Eth100/1/10    Up        Po20
      Eth100/1/11    Up        Po20
      Eth100/1/12    Up        Po20
      Eth100/1/13    Up        Po20
      Eth100/1/14    Up        Po20
      Eth100/1/15    Up        Po20
      Eth100/1/16    Up        Po20
      Eth100/1/17    Up        Po20
      Eth100/1/18    Up        Po20
      Eth100/1/19    Up        Po20
      Eth100/1/20    Up        Po20
      Eth100/1/21    Up        Po20
      Eth100/1/22    Up        Po20
      Eth100/1/23    Up        Po20
      Eth100/1/24    Up        Po20
      Eth100/1/25    Up        Po20
      Eth100/1/26    Up        Po20
      Eth100/1/27    Up        Po20
      Eth100/1/28    Up        Po20
      Eth100/1/29    Up        Po20
      Eth100/1/30    Up        Po20
      Eth100/1/31    Up        Po20
      Eth100/1/32    Up        Po20
      Eth100/1/33    Up        Po20
      Eth100/1/34    Up        Po20
      Eth100/1/35    Up        Po20
      Eth100/1/36    Up        Po20
      Eth100/1/37    Up        Po20
      Eth100/1/38    Up        Po20
      Eth100/1/39    Up        Po20
      Eth100/1/40    Up        Po20
      Eth100/1/41    Up        Po20
      Eth100/1/42    Up        Po20
      Eth100/1/43    Up        Po20
      Eth100/1/44    Up        Po20
      Eth100/1/45    Up        Po20
      Eth100/1/46    Up        Po20
      Eth100/1/47    Up        Po20
      Eth100/1/48    Up        Po20
06/09/2013 09:18:56.861817: Module register received
                    Show port-channel number usage

XXXXXXXXX# show port-channel summ
Flags:  D - Down        P - Up in port-channel (members)
        I - Individual  H - Hot-standby (LACP only)
        s - Suspended   r - Module-removed
        S - Switched    R - Routed
        U - Up (port-channel)
        M - Not in use. Min-links not met
Group Port-       Type     Protocol  Member Ports
20    Po20(SU)    Eth      NONE      Eth1/31(P)   Eth1/32(P)
leblancAccountingAuthor Commented:
e1/31 and e1/32 are on the 5K. How about the port number on the 2K? Which physical port on the 2k that e1/31 is connected to? Thx
atlas_shudderedSr. Network EngineerCommented:
X-TRY-SWA# show interface fex-fabric
     Fabric      Fabric       Fex                FEX          
Fex  Port      Port State    Uplink    Model         Serial    
100   Eth1/31        Active     2    N2K-C2248TP-1GE  SSI163704VC
100   Eth1/32        Active     1    N2K-C2248TP-1GE  SSI163704VC

Bolded are the 5K local ports, Bold, Italicized are the 2248 Uplink ports

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.