為什麼這篇extreme switch指令鄉民發文收入到精華區:因為在extreme switch指令這個討論話題中,有許多相關的文章在討論,這篇最有參考價值!作者asdfghjklasd (中華民國政府已經沒救了)看板MIS標題[心得] 如何知道網路基礎設施...
在一個一般正常的網路環境中最多網路設備應該是Switch & AP 假設他不是ISP @@
看來沒人看出我之前的那篇所貼出中國電信光纖供裝線路的意義.
我趁還沒去剪頭髮時,來亂入一下 CDP/NDP/EDP/LLDP 好了.
CDP = Cisco 所提出的
NDP = Nortel 所提出的
EDP = Extreme 所提出的
LLDP = Link Layer Discovery Protocol 是 IEEE 802.1AB-2005 標準
而目前主流已經是 LLDP 了,提供Router/Switch/Access Point/IP-Phone等設備
的相關信息的傳遞,由於我現在只有 SWITCH 跟 AP ,以後有別的再補吧.
Q:忘了線接那去 ,IP設了什麼了,如何應用在有網管功能的Switch裡查詢相臨的
設備接線位置相關訊息?
Ans.
CDP
Cisco 3750 介接介面
NB-C3750#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
cisco_2 Fas 3/0/34 161 T AIR-AP123 Fas 0
cisco_1 Fas 3/0/40 128 T AIR-AP123 Fas 0
NBBL-A-XQ-3550-5 Fas 2/0/1 142 S I WS-C3550- Fas 0/22
Cisco AP 詳細資訊
NB-C3750#show cdp neighbors detail
-------------------------
Device ID: cisco_2
Entry address(es):
IP address: 192.168.142.250
Platform: cisco AIR-AP1231G-A-K9 , Capabilities: Trans-Bridge
Interface: FastEthernet3/0/34, Port ID (outgoing port): FastEthernet0
Holdtime : 133 sec
Version :
Cisco IOS Software, C1200 Software (C1200-K9W7-M), Version 12.3(8)JEC1, RELEASE)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Mon 24-Mar-08 09:51 by pwade
advertisement version: 2
Duplex: full
Power drawn: 4.420 Watts
Management address(es):
中國電信對接光纖設備
Device ID: NBBL-A-XQ-3550-5
Entry address(es):
IP address: 172.135.10.190
Platform: cisco WS-C3550-48, Capabilities: Switch IGMP
Interface: FastEthernet2/0/1, Port ID (outgoing port): FastEthernet0/22
Holdtime : 119 sec
Version :
Cisco Internetwork Operating System Software
IOS (tm) C3550 Software (C3550-I5Q3L2-M), Version 12.1(20)EA1a, RELEASE SOFTWAR)
Copyright (c) 1986-2004 by cisco Systems, Inc.
Compiled Mon 19-Apr-04 21:50 by yenanh
advertisement version: 2
Protocol Hello: OUI=0x00000C, Protocol ID=0x0112; payload len=27, value=0000000
VTP Management Domain: '6509_BL'
Native VLAN: 581
Duplex: full
Management address(es):
IP address: 172.135.10.190
HP Comware OS 介接介面
[HP-PUBLIC-WLAN-CORE]display lldp neighbor-information
LLDP neighbor-information of port 14[GigabitEthernet1/0/14]:
Neighbor index : 1
Update time : 39 days,16 hours,34 minutes,57 seconds
Chassis type : MAC address
Chassis ID : d07e-28ea-1234
Port ID type : Interface name
Port ID : GigabitEthernet1/0/28
Port description : GigabitEthernet1/0/28 Interface
System name : HP V1910-9
System description : HP V1910-24G-PoE (365W) Switch Software Version 5.20, Rel
ease 1513P51
Copyright(c) 2010-2013 Hewlett-Packard Development Company, L.P.
System capabilities supported : Bridge,Router
System capabilities enabled : Bridge,Router
Management address type : ipv4
Management address : 172.16.1.19
Management address interface type : IfIndex
Management address interface ID : 31
Management address OID : 0
Port VLAN ID(PVID): 1
Port and protocol VLAN ID(PPVID) : 0
Port and protocol VLAN supported : Yes
Port and protocol VLAN enabled : No
VLAN name of VLAN 1: VLAN 0001
Auto-negotiation supported : Yes
Auto-negotiation enabled : Yes
OperMau : speed(1000)/duplex(Full)
Power port class : PSE
PSE power supported : No
PSE power enabled : No
PSE pairs control ability : No
Power pairs : Signal
Port power classification : Class 0
Link aggregation supported : Yes
Link aggregation enabled : No
Aggregation port ID : 0
Maximum frame Size: 10240
AP 訊息
LLDP neighbor-information of port 2[GigabitEthernet1/0/2]:
Neighbor index : 1
Update time : 4 days,23 hours,8 minutes,56 seconds
Chassis type : MAC address
Chassis ID : ac16-2de9-1234
Port ID type : MAC address
Port ID : ac16-2de9-1234
Port description : Port 1
System name : HP V1910-8-AP-CN2XXXXXX>-CN2XXXXXXX
System description : HP AP Controlled,CN2XXXXXXX,J9651-60001:54-A,6.0.1.1-137
51
System capabilities supported : WlanAccessPoint
System capabilities enabled : WlanAccessPoint
Management address type : ipv4
Management address : 172.16.1.187
Management address interface type : IfIndex
Management address interface ID : Unknown
Management address OID : 0
請原諒我 BBS 實在很難說明啊~
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 36.231.11.200
接了也上不來,我的 manager VLAN 不在 VLAN 1 摟
而現在的設備我都開 LLDP 了這是標準,可以用在混合的網路環境.
※ 編輯: asdfghjklasd 來自: 36.231.11.200 (11/10 16:18)
你可以試著讀看看訊息
※ 編輯: asdfghjklasd 來自: 36.231.83.252 (11/11 20:04)