Cisco Cisco Identity Services Engine 1.3 デザインガイド
© 2015 思科系统公司
第
88 页
安全访问操作指南
步骤
6 Enable the switch to support LLDP.
步骤
7 默认情况下,思科交换机上会全局禁用 LLDP。要启用它,请输入以下全局命令:
cat3750x(config)# lldp run
步骤
8 默认情况下,各个交换端口都会启用 LLDP。如已禁用,请使用以下接口命令启用:
cat3750x(config-if)# lldp receive
步骤
9 如下所示,使用 show lldp neighbors 命令,验证交换机上 LLDP 是否正常运行:
cat3750x# show lldp neighbors
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID Local Intf Hold-time Capability Port ID
AVA4FF00E Gi1/0/9 120 B 0004.0d4f.f00e
AVAEC8C79 Gi1/0/10 120 B 0004.0dec.8c79
AVAF694AC Gi1/0/15 120 B 0004.0df6.94ac
AVAEC8C79 Gi1/0/17 120 B 0004.0dec.8c79
Total entries displayed: 4
Capability codes:
(R) Router, (B) Bridge, (T) Telephone, (C) DOCSIS Cable Device
(W) WLAN Access Point, (P) Repeater, (S) Station, (O) Other
Device ID Local Intf Hold-time Capability Port ID
AVA4FF00E Gi1/0/9 120 B 0004.0d4f.f00e
AVAEC8C79 Gi1/0/10 120 B 0004.0dec.8c79
AVAF694AC Gi1/0/15 120 B 0004.0df6.94ac
AVAEC8C79 Gi1/0/17 120 B 0004.0dec.8c79
Total entries displayed: 4
以下是详细视图:
cat3750x# show lldp neighbors detail
------------------------------------------------
Chassis id: 10.6.104.29
Port id: 0004.0d4f.f00e
Port Description - not advertised
System Name: AVA4FF00E
System Description - not advertised
Time remaining: 106 seconds
System Capabilities: B,T
Enabled Capabilities: B
Management Addresses:
IP: 10.X.104.29
OID:
1.3.6.1.4.1.6889.1.69.1.5.
Auto Negotiation - supported, enabled
Physical media capabilities:
Symm Pause(FD)
Pause(FD)
100base-TX(FD)
100base-TX(HD)
10base-T(FD)
10base-T(HD)
Media Attachment Unit type: 16
Vlan ID: - not advertised
MED Information:
------------------------------------------------
Chassis id: 10.6.104.29
Port id: 0004.0d4f.f00e
Port Description - not advertised
System Name: AVA4FF00E
System Description - not advertised
Time remaining: 106 seconds
System Capabilities: B,T
Enabled Capabilities: B
Management Addresses:
IP: 10.X.104.29
OID:
1.3.6.1.4.1.6889.1.69.1.5.
Auto Negotiation - supported, enabled
Physical media capabilities:
Symm Pause(FD)
Pause(FD)
100base-TX(FD)
100base-TX(HD)
10base-T(FD)
10base-T(HD)
Media Attachment Unit type: 16
Vlan ID: - not advertised
MED Information: