Networknet archive Blog

VMware ESX3i: identify Cisco switch ports with CDP

Originally published 2 comments

Cisco Discovery Protocol (CDP) allows ESX Server 3 administrators to determine which Cisco switch port is connected to a given vSwitch. When CDP is enabled for a particular vSwitch, you can view properties of the Cisco switch (such as device ID, software version, and timeout) from the VI Client. You can use the service console command-line interface to enable CDP.

ESX3i_Cisco_CDP

With this information, I could configure the switch interface in real time without going to the server room to locate the network cable in the rack.

The switch port should be configured as a trunk. For security reasons, also configure the allowed VLANs.

interface GigabitEthernet0/15
description ** ESX-01 Trunk port LAN **
switchport trunk allowed vlan 1,200
switchport mode trunk
spanning-tree portfast
!

1 comment

Comments from the original WordPress site, kept read-only.

  1. immubpoep

    Hello everybody !
    I am Thomas Hammond from Los Angeles.
    I am 43.
    I'm working in Hospitality, travel
    and i m very happy.
    I'm married with 1 children.

    My hobbies are :
    - Fitness

    - Weights, machines

    I often come here to read some news, i find them very interesting.

    Have a good day,

1 mention