show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
                  S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
                  D - Remote, C - CVTA, M - Two-port Mac Relay

Device ID        Local Intrfce     Holdtme    Capability  Platform  Port ID
dist-sw-02.example.net
                 Gig 1/0/1         150             R S I  C9300-48P Gig 1/0/50
sw1              Gig 1/0/24        171             S I    C9300-24T Gig 1/0/24
printer-3f       Gig 1/0/7         133              H     HP LaserJ Port 1

Total cdp entries displayed : 3

show interfaces status

Port         Name               Status       Vlan       Duplex  Speed Type
Gi1/0/1      uplink-dist-sw-02  connected    trunk        a-full a-1000 10/100/1000BaseTX
Gi1/0/7      printer-3f         connected    30           a-full  a-100 10/100/1000BaseTX
Gi1/0/24     link-sw1           connected    trunk        a-full a-1000 10/100/1000BaseTX
