一、有线地址,IP找到交换机接口:
1.在核心上,根据IP地址找到MAC以及下级链路交换机
[LYYZ-OA-CORE]dis arp | include 10.83.162.120
IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE VPN-INSTANCE
VLAN/CEVLAN(SIP/DIP)
------------------------------------------------------------------------------
10.83.162.120 001b-21a8-8d68 20 D-0/0 Eth-Trunk7
------------------------------------------------------------------------------
Total:1811 Dynamic:1745 Static:0 Interface:66
2.根据 eth-trunk7 找到对应的汇聚,在汇聚上查找接入
[K6-1F-HJ-10.83.0.9]dis mac-address | include 001b-21a8-8d68
-------------------------------------------------------------------------------
MAC Address VLAN/VSI/BD Learned-From Type
-------------------------------------------------------------------------------
001b-21a8-8d68 162/-/- Eth-Trunk33 dynamic
-------------------------------------------------------------------------------
Total items displayed = 965
3.根据eth-trunk33找到对应的接入,在接入上查找
[K6-BF-2-3-1]dis mac-address | inc 001b-21a8-8d68
-------------------------------------------------------------------------------
MAC Address VLAN/VSI/BD Learned-From Type
-------------------------------------------------------------------------------
001b-21a8-8d68 162/-/- GE0/0/41 dynamic
-------------------------------------------------------------------------------
Total items displayed = 536
二、无线地址,根据IP找对应的AP:
1.在核心上,根据IP地址找到MAC以及下级链路交换机
[LYYZ-OA-CORE]dis arp network 10.83.80.131
IP ADDRESS MAC ADDRESS EXPIRE(M) TYPE INTERFACE VPN-INSTANCE
VLAN/CEVLAN(SIP/DIP)
------------------------------------------------------------------------------
10.83.80.131 70cd-0db9-060e 16 D-0/0 Wlan-Dbss158
80/-
------------------------------------------------------------------------------
Total:1 Dynamic:1 Static:0 Interface:0
2.根据MAC地址找AP
[LYYZ-OA-CORE]dis station sta-mac 70cd-0db9-060e
------------------------------------------------------------------------------
Station MAC-address : 70cd-0db9-060e
Station IP-address : 10.83.80.131
Station gateway : 10.83.80.1
Associated SSID : ly-office
Station online time(ddd:hh:mm:ss) : 000:00:53:41
The upstream SNR(dB) : 33.0
The upstream aggregate receive power(dBm) : -62.0
Station connect rate(Mbps) : 455
Station connect channel : 157
Station inactivity time(ddd:hh:mm:ss) : 000:00:00:00
Station current state
Authorized for data transfer : Yes
QoS enabled : Yes
HT rates enabled : Yes
Power save mode enabled : Yes
Auth reference held : No
UAPSD enabled : No
UAPSD triggerable : No
UAPSD SP in progress : No
This is an ATH node : No
WDS workaround req : No
WDS link : No
PMF negotiation : No
Station's HT capability : AWRSM
Station capabilities : Es
Station PMF capabilities : PMFC=0,PMFR=0
Station VHT capabilities
256QAM capabilities : YES
VHT explicit beamforming capabilities : YES
MU-MIMO capabilities : YES
Station HE capabilities
OFDMA capabilities : YES
BSS color capabilities : YES
OFDMA RA capabilities : No
TRS capabilities : No
BSR capabilities : No
DL MU-MIMO partialband capabilities : No
UL MU-MIMO fullband capabilities : No
UL MU-MIMO partialband capabilities : No
Dynamic SMPS capabilities : Yes
HE SU beamformee capabilities : Yes
Station's RM capabilities
Neighbor report : Yes
Beacon passive measurement : Yes
Beacon active measurement : Yes
Beacon table measurement : Yes
Link measurement : No
Transmit power adaptation : Yes
Station's RSSI(dBm) : -62
Station's radio mode : 11ax
Station's AP ID : 158
Station's AP name : BGLF5-AP6
Station's radio ID : 1
Station's authentication method : Open+MAC
Station's cipher Type : NO CIPHER
Station's user Name : 70cd0db9060e
Station's vlan ID : 80
Station's channel band-width : 40+MHz
Station's asso BSSID : ac99-29ef-b9c7
Station's state : Asso with auth
Station's QoS mode : WMM
Station's HT mode : HE40
Station's MCS value : 11
Station's NSS value : 2
Station's short GI : support
Station's roam state : No
HAC CAPWAP IP : -
HAP CAPWAP IP : 10.83.20.1
Supported band : 2.4G/5G
Supported 2.4G channels : -
Supported 5G channels : 36,40,44,48,52,56,60,64
: 100,104,108,112,116,120,124,128,132,136,140,144
: 149,153,157,161,165
Supported 6G channels : -
802.11k support : Yes
802.11r support : No
802.11r proprietary support : No
802.11v support : Yes
Available for roaming : Yes
Sticky station or not : No
Aimless roaming support in sticky state : Yes
Station device type : -
Station identify Info
Category name : Personal Computer
Vendor name : -
Model name : Personal Computer
OS : Windows 10
U-APSD list:
-------------------------------------------------------
AC-VI AC-VO AC-BE AC-BK
-------------------------------------------------------
not-support not-support not-support not-support
-------------------------------------------------------
------------------------------------------------------------------------------
/*华三的命令:dis wlan client mac-address XXXX-XXXX-XXXX verbose
三、LBDT又称为环回检测,相对于环路检测LDT,两者存在如下差别:
1、应用场景不同,LBDT主要应用于边缘交换机,防止交换机端口光纤环回,或者下游环路环回到本端口。LDT主要应用于汇聚交换机,检测整个二层网络的环回和环路。
2、配置的模式不同,LBDT基于端口模式配置,LDT基于系统模式配置。
说明:
LBDT配置命令: loopback-detect enable 配置端口使能环回检测。
LDT配置命令: loop-detection enable
loop-detection enable vlan 200
配置基于VLAN的环路检测功能。