30选5玩法|福彩30选5开奖结果321|

esxi 4.1 配置CDP

来源:本站原创 虚拟化 超过1,373 views围观 0条评论

立竿见影有没有.

0XABL]6QP5FMU}0%)A5TJU7

Configuring the Cisco Discovery Protocol (CDP) with ESX/ESXi (1003885)

Details

ESX/ESXi 3.5, 4.x, and 5.x hosts have the ability to use the Cisco Discovery Protocol (CDP). The article describes configuring the host and provides an example configuration of a physical switch.

Solution

To configure CDP for a Standard vSwitch:

  1. Log in as root to the Service Console (via SSH, remote console, or physical console if connecting to ESX) or to management vmkernel port (if connecting to ESXi).

  2. Verify the current CDP setting for the desired virtual switch (vSwitch1, in this example):
    # esxcfg-vswitch -b vSwitch1
    You see an output similar to:

    listen
    The output of listen indicates CDP is configured to read CDP information from the physical switch if available.
    This is the default setting for ESX/ESXi 3.5, 4.x, and 5.x.

  3. Set the CDP status for a given virtual switch. Possible values here are down, listen, advertise, or both.
    Listen mode – The ESXi/ESX host detects and displays information about the associated Cisco switch port, but information about the vSwitch is not available to the Cisco switch administrator.
    Advertise mode – The ESXi/ESX host makes information about the vSwitch available to the Cisco switch administrator, but does not detect and displays information about the Cisco switch.
    Both mode – The ESXi/ESX host detects and displays information about the associated Cisco switch and makes information about the vSwitch available to the Cisco switch administrator.

    #  esxcfg-vswitch -B both vSwitch1

  4. Verify the new setting:
    # esxcfg-vswitch -b vSwitch1

    You see an output similar to:
    both

To configure CDP on a vNetwork Distributed Switches (vDS):

  1. Connect to vCenter Server using the vSphere Client.

  2. In the vCenter Server home page, click Networking.

  3. Right-click the vDS and click Edit Settings.

  4. Select Advanced under Properties.

  5. Using the checkbox and the dropdown, change the CDP settings.

The following is an example of configuring CDP for a Cisco 6500 physical switch:

  1. switch#

  2. switch# config terminal
  3. switch(config)# cdp run
  4. switch(config)# interface g1/1
  5. switch(config-if)# cdp enable
  6. switch# show cdp neighbors
    Capability Codes: R – Router, T – Trans Bridge, B – Source Route Bridge
    S – Switch, H – Host, I – IGMP, r – Repeater, P – Phone
    Device ID Local Intrfce Holdtme Capability Platform Port ID
    pa-tse-h24.pasl.vmware.com Gig   1/1 121 S VMware ESXvmnic2
    pa-tse-h24.pasl.vmware.com Gig   1/2 121 S VMware ESXvmnic3

文章出自:CCIE那点事 http://www.rygqfb.tw/ 版权所?#23567;?#26412;站文章除注明出处外,皆为作者原创文章,可自由引用,但请注明来源。 禁止全文转载。
本文标题:esxi 4.1 配置CDP
本文链接:http://www.rygqfb.tw/?p=3489转载请注明转自CCIE那点事
如果喜欢:点此订阅本站
  • 相关文章
  • 为您推荐
  • 各种观点
?
暂时还木有人评论,坐等沙发!
发表评论

您必须 [ 登录 ] 才能发表留言!

?
?
30选5玩法
浙江体彩6+1基本走势图 无网四人手机单机麻将 湖北快3形态湖北快 德甲在线观看 股票分析 十五选五超长版走势图 今日足球*分析 星悦云南麻将卡二条 浙江快乐彩走势图 股票分析范文