连上核心,查询ip 192.168.135.6的arp映射
<HX_S12510>dis arp 192.168.135.6
Type: S-Static D-Dynamic O-Openflow M-Multiport I-Invalid
IP address MAC address VLAN Interface Aging Type
192.168.135.6 88ae-1d24-a28c 135 BAGG101 20 D
已知终端的下游接口,想通过聚合接口直接查下游的状态,可是好像查不了
<HX_S12510>dis lldp neighbor-information interface Bridge-Aggregation 101
There is no neighbor on the interface.
(0)
最佳答案
查下对应聚合成员口的lldp邻居,但前提是对端使能了lldp
(0)
<HX_S12510>dis lldp neighbor-information verbose LLDP neighbor-information of port 132[GigabitEthernet1/2/0/2]: LLDP agent nearest-bridge: LLDP neighbor index : 1 Update time : 13 days, 16 hours, 43 minutes, 38 seconds Chassis type : MAC address Chassis ID : 487a-dae6-dbf0 Port ID type : Interface name Port ID : GigabitEthernet1/0/23 Time to live : 120 Port description : GigabitEthernet1/0/23 Interface System name : H3C System description : H3C Switch S5110-28P Software Version 5.20.99, Release 11 09 Copyright(c)2004-2015 Hangzhou H3C Tech. Co., Ltd. All ri ghts reserved. LLDP 已经是开启的状态了
您好,举例IP地址为1.1.1.1
dis arp all | in 1.1.1.1
识别到mac地址后,从上往下
dis mac 1111-2222-3333
(1)
dis mac 是查不到任何信息的 空的
dis mac 是查不到任何信息的 空的
lldp不支持查询聚合口邻居
可通过查询聚合口所在的物理端口规避即可。
(1)
XGE1/4/0/1 136 32768 1 0x8000, 3ce5-a688-4a00 {ACDEF} XGE2/4/0/1 194 32768 1 0x8000, 3ce5-a688-4a00 {ACDEF} ---------------------------此处分割线--------------------------- <zJ_SJH_HX_S12510>dis lldp neighbor-information interface Ten-GigabitEthernet 2/4/0/1 LLDP neighbor-information of port 1821[Ten-GigabitEthernet2/4/0/1]: LLDP agent nearest-bridge: LLDP neighbor index : 1 ChassisID/subtype : 3ce5-a688-4a00/MAC address PortID/subtype : Ten-GigabitEthernet2/0/0/3/Interface name Capabilities : Bridge, Router -------------------------现在查询到是这样的信息
请问如何查询,我用dis cu int 也没看到有聚合信息。。
dis link-aggregation verbose Bridge-Aggregation X #X代表具体聚合组编号
XGE1/4/0/1 136 32768 1 0x8000, 3ce5-a688-4a00 {ACDEF} XGE2/4/0/1 194 32768 1 0x8000, 3ce5-a688-4a00 {ACDEF} ---------------------------此处分割线--------------------------- <zJ_SJH_HX_S12510>dis lldp neighbor-information interface Ten-GigabitEthernet 2/4/0/1 LLDP neighbor-information of port 1821[Ten-GigabitEthernet2/4/0/1]: LLDP agent nearest-bridge: LLDP neighbor index : 1 ChassisID/subtype : 3ce5-a688-4a00/MAC address PortID/subtype : Ten-GigabitEthernet2/0/0/3/Interface name Capabilities : Bridge, Router -------------------------现在查询到是这样的信息
您好,请知:
先dis arp查询下IP对应的MAC和端口信息。
然后根据端口dis lldp nei list看下是否有邻居的设备信息,前提是对端设备也开启lldp功能。
接着在去到对端设备上dis mac-address查看MAC学习的信息。
(1)
因为是核心所以list是很多设备信息,你的意思是到list列表里的每台设备上都dis mac依次查询吗?
因为是核心所以list是很多设备信息,你的意思是到list列表里的每台设备上都dis mac依次查询吗?
通过查询链路状态得到以下信息
<HX_S12510>dis link-aggregation verbose Bridge-Aggregation 101
Loadsharing Type: Shar -- Loadsharing, NonS -- Non-Loadsharing
Port Status: S -- Selected, U -- Unselected
Flags: A -- LACP_Activity, B -- LACP_Timeout, C -- Aggregation,
D -- Synchronization, E -- Collecting, F -- Distributing,
G -- Defaulted, H -- Expired
Aggregate Interface: Bridge-Aggregation101
Aggregation Mode: Dynamic
Loadsharing Type: Shar
System ID: 0x8000, 3c8c-400e-1c14
Local:
Port Status Priority Oper-Key Flag
--------------------------------------------------------------------------------
XGE1/4/0/1 S 32768 51 {ACDEF}
XGE2/4/0/1 S 32768 51 {ACDEF}
Remote:
Actor Partner Priority Oper-Key SystemID Flag
--------------------------------------------------------------------------------
XGE1/4/0/1 136 32768 1 0x8000, 3ce5-a688-4a00 {ACDEF}
XGE2/4/0/1 194 32768 1 0x8000, 3ce5-a688-4a00 {ACDEF}
然后该怎么查找
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
<HX_S12510>dis lldp neighbor-information verbose LLDP neighbor-information of port 132[GigabitEthernet1/2/0/2]: LLDP agent nearest-bridge: LLDP neighbor index : 1 Update time : 13 days, 16 hours, 43 minutes, 38 seconds Chassis type : MAC address Chassis ID : 487a-dae6-dbf0 Port ID type : Interface name Port ID : GigabitEthernet1/0/23 Time to live : 120 Port description : GigabitEthernet1/0/23 Interface System name : H3C System description : H3C Switch S5110-28P Software Version 5.20.99, Release 11 09 Copyright(c)2004-2015 Hangzhou H3C Tech. Co., Ltd. All ri ghts reserved. LLDP 已经是开启的状态了