Description of the problem
After OSN3500 Ethernet single board is configured with EPLAN&EVPLAN (VB) service, it will learn the source MAC address carried by the incoming messages and keep it in the dynamic MAC address table. However, due to the limitation of the size of the interface for displaying the dynamic MAC address query by the network administrator, when querying the dynamic MAC address learned by the single board from the network administrator, one page can only display 20 addresses at most, which is very unintuitive. However, due to the size limitation of the display interface for querying dynamic MAC addresses from the network management, only 20 addresses can be displayed on one page, which is not intuitive. However, the command to query the dynamic MAC address is relatively complex, many people do not know how to use often have to ask, and the results will not see.
As shown in the figure below, the single board learned a total of 1660 addresses, in the network management to be divided into 83 pages to display, very unintuitive:
Processing
Provide commands to query according to the query requirements of the first line.
Root Cause
There is a limitation on the size of the page displayed by the webmaster, only 20 addresses can be displayed on a page, and the command can query all of them for easy analysis.
Solution
Use the following command to query the dynamic MAC addresses learned by the single-board EPLAN&EVPLAN (VB) service:
:ethn-cfg-get-macfwdtabphy:bid,0xffff,0xffff,begin,100
:ethn-cfg-get-macfwdtabphy:bid,0xffff,0xffff,continue,100
Command Parameters Explained:
Para1: board number
para2: vb-id, this parameter is generally fixed to use 0xffff, indicating that query all
para3: vlan-id, this parameter is generally fixed to use 0xffff, indicating that the query all
para4:flag, this parameter is the most important, because the command query each time the maximum query address is also a number of limitations (a query of a few addresses decided by the para5, but the maximum can not be more than 200), so if the single board learns more than 200 MAC addresses, a query can not be completed need to query multiple times. Then the first query you need to use begin, the next query you need to use continue, continue means that the results of the beginning query to continue to query. Simply put, the first time you query a MAC address, use begin, and then use continue until all the addresses are queried.
para5:number, the number of addresses to be queried at one time, at most not more than 200, usually 100.
The method of determining the completion of the address query:
As shown in the following figure, the queried MAC addresses are displayed as follows, and the FLAG in the last column, if it is end_dyn, indicates that it is the last record.
The related technical information in this chapter and the troubleshooting process of SDH equipment are collected and organized by Shenzhen Optical Transmission Network Technology Co. Our company specializes in the sale of Huawei SDH optical transmission equipment, SDH transmission equipment.


Chinese
English





