How to check the link status and data traffic statistics of TP-Link Business Routers with SNMP

TL-R600VPN , ER7206 , TL-ER6120 , TL-ER6020 , TL-ER5120 , TL-R480T+ , ER605 , TL-R470T+
Recent updates may have expanded access to feature(s) discussed in this FAQ. Visit your product's support page, select the correct hardware version for your device, and check either the Datasheet or the firmware section for the latest improvements added to your product. Please note that product availability varies by region, and certain models may not be available in your region.
TP-Link SMB routers support SNMP with public OIDs. To check the link status and traffic statistics, the OID ifEntry (.1.3.6.1.2.1.2.2.1) and its children OIDs are used.
1.Check the children's OID for WAN or LAN interfaces.
SNMP Walk ifDescr (.1.3.6.1.2.1.2.2.1.2) to display the children's OIDs of the interfaces. The OIDs of the dual-wan router is obtained via the tool named Snmpwalk, as shown below. Most of the interfaces are for internal communication, and no need to be concerned. Among them, “ifDescr.17 = br-lan” indicates that 17 is the children OID for LAN. If you go to the router page – Network – VLAN, you will find the VLAN IDs of WAN1 and WAN2 are 10 and 20, respectively. Then “ifDescr.19 = eth0.10” indicates the children OID for WAN1 is 19, and that for WAN2 is 20.
If you are using a router with more WAN ports, you can check the VLAN ID of each port, then you will know the correspondence.
2.Check the link status.
You already know that 17, 19, and 20 corresponds to LAN, WAN1, and WAN2, respectively. To check the link status, SNMP Walk ifOperStatus (.1.3.6.1.2.1.2.2.1.8). As shown in the figure below, WAN1 is linked up, WAN2 is linked down. You can also directly SNMP Get ifOperStatus.19 (.1.3.6.1.2.1.2.2.1.8.19) to obtain the link status of WAN1.
3.Check the data traffic statistics.
- Receiving (RX): SNMP Walk ifInOctets (.1.3.6.1.2.1.2.2.1.10). The values of .17, .19, and .20 correspond to the RX statistics, in Byte, of LAN, WAN1, and WAN2 (linked down), respectively. You can also SNMP Get ifInOctects (.1.3.6.1.2.1.2.2.1.10.19) to obtain the RX bytes of WAN1.
- Transmitting (TX): SNMP Walk ifOutOctets (.1.3.6.1.2.1.2.2.1.16). The values of .17, .19, and .20 correspond to the TX statistics, in Byte, of LAN, WAN1, and WAN2, respectively.
Câu hỏi thường gặp này có hữu ích không?
Phản hồi của bạn giúp cải thiện trang web này.
Mối quan tâm của bạn với bài viết này là gì?
- Không hài lòng với sản phẩm
- Quá phức tạp
- Tiêu đề khó hiểu
- Không áp dụng cho tôi
- Quá mơ hồ
- Khác
Cảm ơn
Chúng tôi đánh giá cao phản hồi của bạn.
Nhấp vàođây để liên hệ với bộ phận hỗ trợ kỹ thuật của TP-Link.
Sản phẩm khuyến nghị
This website uses cookies to improve website navigation, analyze online activities and have the best possible user experience on our website. You can object to the use of cookies at any time. You can find more information in our privacy policy . Don’t show again
This website uses cookies to improve website navigation, analyze online activities and have the best possible user experience on our website. You can object to the use of cookies at any time. You can find more information in our privacy policy . Don’t show again
Basic Cookies
Những cookie này cần thiết để trang web hoạt động và không thể tắt trong hệ thống của bạn.
TP-Link
accepted_local_switcher, tp_privacy_base, tp_privacy_marketing, tp_smb-select-product_scence, tp_smb-select-product_scenceSimple, tp_smb-select-product_userChoice, tp_smb-select-product_userChoiceSimple, tp_smb-select-product_userInfo, tp_smb-select-product_userInfoSimple, tp_top-banner, tp_popup-bottom, tp_popup-center, tp_popup-right-middle, tp_popup-right-bottom, tp_productCategoryType
Livechat
__livechat, __lc2_cid, __lc2_cst, __lc_cid, __lc_cst, CASID
Youtube
id, VISITOR_INFO1_LIVE, LOGIN_INFO, SIDCC, SAPISID, APISID, SSID, SID, YSC, __Secure-1PSID, __Secure-1PAPISID, __Secure-1PSIDCC, __Secure-3PSID, __Secure-3PAPISID, __Secure-3PSIDCC, 1P_JAR, AEC, NID, OTZ
Analysis and Marketing Cookies
Cookie phân tích cho phép chúng tôi phân tích các hoạt động của bạn trên trang web của chúng tôi nhằm cải thiện và điều chỉnh chức năng trang web của chúng tôi.
Các cookie tiếp thị có thể được các đối tác quảng cáo của chúng tôi thiết lập thông qua trang web của chúng tôi để tạo hồ sơ về sở thích của bạn và hiển thị cho bạn các quảng cáo có liên quan trên các trang web khác.
Google Analytics & Google Tag Manager
_gid, _ga_<container-id>, _ga, _gat_gtag_<container-id>
Google Ads & DoubleClick
test_cookie, _gcl_au
Meta Pixel
_fbp
Crazy Egg
cebsp_, _ce.s, _ce.clock_data, _ce.clock_event, cebs
lidc, AnalyticsSyncHistory, UserMatchHistory, bcookie, li_sugr, ln_or