{"id":2339,"date":"2022-09-11T10:27:00","date_gmt":"2022-09-11T02:27:00","guid":{"rendered":"https:\/\/www.eumz.com\/?p=2339"},"modified":"2022-09-11T10:27:00","modified_gmt":"2022-09-11T02:27:00","slug":"f5%e8%bf%9c%e7%a8%8b%e6%b8%85%e9%99%a4%e6%b6%b2%e6%99%b6%e5%b1%8f%e5%92%8c%e6%8a%a5%e8%ad%a6%e6%8c%87%e7%a4%ba%e7%81%af","status":"publish","type":"post","link":"https:\/\/www.wxcn.com\/?p=2339","title":{"rendered":"F5\u8fdc\u7a0b\u6e05\u9664\u6db2\u6676\u5c4f\u548c\u62a5\u8b66\u6307\u793a\u706f"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">Topic<\/h4>\n\n\n\n<p>You should consider using this procedure under the following condition:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You want to remotely clear LCD warnings and the Alarm LED.<\/li><\/ul>\n\n\n\n<p><strong>Prerequisites<\/strong><\/p>\n\n\n\n<p>You must meet the following prerequisite to use this procedure:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>You have command line access to the BIG-IP system.<\/li><\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">Description<\/h4>\n\n\n\n<p>In some cases, you may want to remotely clear LCD warnings and the Alarm LED. Performing this action may prevent onsite personnel from discovering and reporting an old warning, or having to teach the onsite personnel how to clear the LCD. You can use the&nbsp;<strong>lcdwarn<\/strong>&nbsp;command line utility to control the LCD and the Alarm LED. To display its usage, run the&nbsp;<strong>lcdwarn<\/strong>&nbsp;command without any arguments.<\/p>\n\n\n\n<p><em><strong>Note<\/strong>: Starting in BIG-IP 12.1.0, you can use the&nbsp;<strong>tmsh show sys alert lcd<\/strong>&nbsp;command to display the list of alerts sent to the LCD front panel display.<\/em><\/p>\n\n\n\n<p><strong>Procedures<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/support.f5.com\/csp\/article\/K11094#clearlcd\">Clearing LCD warnings<\/a><\/li><li><a href=\"https:\/\/support.f5.com\/csp\/article\/K11094#clearalarm\">Clearing the Alarm LED<\/a><\/li><\/ul>\n\n\n\n<p><strong><a><\/a>Clearing LCD warnings<\/strong><\/p>\n\n\n\n<p><em><strong>Impact of procedure<\/strong>: Performing the following procedure should not have a negative impact on your system.<\/em>You can use the&nbsp;<strong>lcdwarn<\/strong>&nbsp;command to remotely clear the LCD warnings. To do so, use the following command syntax appropriate for your BIG-IP version:<\/p>\n\n\n\n<p><strong>BIG-IP 12.1.5, BIG-IP 13.1.0 and later<\/strong><\/p>\n\n\n\n<p>lcdwarn -c &lt;level&gt;<\/p>\n\n\n\n<p>In this command syntax, note the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>&lt;level&gt;<\/strong>&nbsp;specifies the alert level to be cleared. Acceptable values include&nbsp;<strong>[0|1|2|3|4|5]&nbsp;<\/strong>or<strong>&nbsp;[warning|error|alert|critical|emergency|information]<\/strong>. The level can be seen under the &#8220;Priority&#8221; column when you run&nbsp;tmsh show sys alert&nbsp;from the Advanced Shell (bash) or&nbsp;show sys alert&nbsp;from within the tmsh shell:<br><br>root@(C3553740-bigip1)(cfg-sync Standalone)(Active)(\/Common)(tmos)# show sys alert<br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br>Sys::LCDAlerts<br>Slot&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Timestamp&nbsp;&nbsp;<strong>Priority&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/strong>Id&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Description<br>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br>0&nbsp;&nbsp;&nbsp;&nbsp; 04\/22\/21 02:21:07&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>info&nbsp;&nbsp;<\/strong>0x10c0019&nbsp; Unit going Active.<br>0&nbsp;&nbsp;&nbsp;&nbsp; 04\/22\/21 01:22:55&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>info&nbsp;&nbsp;<\/strong>0x10c0019&nbsp; Unit going Active.<br>0&nbsp;&nbsp;&nbsp;&nbsp; 04\/22\/21 01:16:28&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>info&nbsp;&nbsp;<\/strong>0x10c0019&nbsp; Unit going Active.<br>0&nbsp;&nbsp;&nbsp;&nbsp; 04\/22\/21 01:16:28&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>info&nbsp;&nbsp;<\/strong>0x10c0019&nbsp; Unit going Active.<\/li><\/ul>\n\n\n\n<p>For example, to clear LCD warnings with an alert level of 0,&nbsp;type the following command:<\/p>\n\n\n\n<p>lcdwarn -c 0<\/p>\n\n\n\n<p><strong>BIG-IP 13.0.0, BIG-IP 12.1.4 and earlier<\/strong><\/p>\n\n\n\n<p>lcdwarn -c &lt;level&gt; &lt;slotid&gt;<\/p>\n\n\n\n<p>In this command syntax, note the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><strong>&lt;level&gt;<\/strong>&nbsp;specifies the alert level to be cleared. Acceptable values include&nbsp;<strong>[0|1|2|3|4|5]&nbsp;<\/strong>or<strong>&nbsp;[warning|error|alert|critical|emergency|information]<\/strong>.<\/li><li><strong>&lt;slotid&gt;<\/strong>&nbsp;specifies the slot for which warnings should be cleared. Acceptable values include&nbsp;<strong>[0|1|2|3|4|5|6|7|8]<\/strong>.<em><strong>Note<\/strong>: In BIG-IP 13.0.0, BIG-IP 12.1.4 and earlier, specifying any slot other than&nbsp;<strong>0<\/strong>&nbsp;is necessary only on the VIPRION platform. On a VIPRION platform, the slot ID is counted from&nbsp;<strong>1<\/strong>, so blade&nbsp;<strong>2<\/strong>&nbsp;is&nbsp;<strong>2<\/strong>&nbsp;in the command line.<\/em><\/li><\/ul>\n\n\n\n<p>For example, to clear LCD warnings with an alert level of 0,&nbsp;type the following command:<\/p>\n\n\n\n<p>lcdwarn -c 0 0<\/p>\n\n\n\n<p>On a VIPRION system, to clear LCD warnings with an alert level of&nbsp;<strong>0<\/strong>&nbsp;for slot&nbsp;<strong>2<\/strong>, type the following command:<\/p>\n\n\n\n<p>lcdwarn -c 0 2<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n\n\n\n<p><strong><a><\/a>Clearing the Alarm LED<\/strong><\/p>\n\n\n\n<p>To clear the Alarm LED, you must clear all LCD warnings at all alert levels (on all slots for VIPRION systems). To do so, perform the following single command appropriate for your BIG-IP platform:<\/p>\n\n\n\n<p><em><strong>Impact of procedure<\/strong>: Performing the following procedure should not have a negative impact on your system.<\/em><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/support.f5.com\/csp\/article\/K11094#vipron\">VIPRION platforms<\/a><\/li><li><a href=\"https:\/\/support.f5.com\/csp\/article\/K11094#iseries\">BIG-IP iSeries platforms<\/a><\/li><li><a href=\"https:\/\/support.f5.com\/csp\/article\/K11094#others\">All other BIG-IP platforms (except for VIPRION platforms and BIG-IP iSeries platforms)<\/a><\/li><\/ul>\n\n\n\n<p><br><strong><a><\/a>VIPRION platforms<\/strong><\/p>\n\n\n\n<p>You can clear all LCD warnings at all alert levels on all VIPRION slots using the following single command:<\/p>\n\n\n\n<p><strong>BIG-IP 12.1.5, BIG-IP 13.1.0 and later<\/strong><\/p>\n\n\n\n<p>for i in 0 1 2 3 4 5; do lcdwarn -c &#8220;${i}&#8221;; done<\/p>\n\n\n\n<p><strong>BIG-IP 13.0.0, BIG-IP 12.1.4 and earlier<\/strong><\/p>\n\n\n\n<p>for i in 0 1 2 3 4 5; do for j in 1 2 3 4 5 6 7 8; do lcdwarn -c &#8220;${i}&#8221; &#8220;${j}&#8221;; done; done<\/p>\n\n\n\n<p>If you run this command on a VIPRION system that has unpopulated blade slots, the system logs benign error messages to the<strong>&nbsp;\/var\/log\/ltm<\/strong>&nbsp;file that appear similar to the following example:<\/p>\n\n\n\n<p>012a0004:4: ledSet error: LopDev: sendLopCmd: Lopd status: 1 packet: action=2 obj_id=3c sub_obj=0 slot_id=2 result=2 len=0 crc=e071 payload= (error code:0x2)<\/p>\n\n\n\n<p>You can safely ignore this message; it does not affect the traffic processing capability of the VIPRION system.<\/p>\n\n\n\n<p>To prevent this error message on a VIPRION system with unpopulated blade slots, adjust the input values for the&nbsp;<strong>j<\/strong>&nbsp;variable. For example, on a VIPRION system where only blade slots&nbsp;<strong>1<\/strong>&nbsp;and&nbsp;<strong>2<\/strong>&nbsp;are populated, type the following command:<\/p>\n\n\n\n<p>for i in 0 1 2 3 4 5; do for j in 1 2; do lcdwarn -c &#8220;${i}&#8221; &#8220;${j}&#8221;; done; done<\/p>\n\n\n\n<p><br><strong><a><\/a>BIG-IP iSeries platforms<\/strong><\/p>\n\n\n\n<p>For information about clearing the Alarm LED on BIG-IP iSeries platforms, refer to&nbsp;<a href=\"https:\/\/support.f5.com\/csp\/article\/K24127736\">K24127736: Clear LCD alarms on iSeries device<\/a>.<\/p>\n\n\n\n<p><br><strong><a><\/a>All other BIG-IP platforms (except for VIPRION platforms and BIG-IP iSeries platforms)<\/strong><\/p>\n\n\n\n<p>You can clear all LCD warnings at all alert levels on all other BIG-IP platforms (except for VIPRION platforms) using the following single command:<\/p>\n\n\n\n<p><strong>BIG-IP 12.1.5, BIG-IP 13.1.0 and later<\/strong><\/p>\n\n\n\n<p>for i in 0 1 2 3 4 5; do lcdwarn -c &#8220;${i}&#8221;; done<\/p>\n\n\n\n<p><strong>BIG-IP 13.0.0, BIG-IP 12.1.4 and earlier<\/strong><\/p>\n\n\n\n<p>for i in 0 1 2 3 4 5; do lcdwarn -c &#8220;${i}&#8221; 0; done<\/p>\n\n\n\n<p><em><strong>Note<\/strong>: Running this command on legacy BIG-IP platforms that are not equipped with an LCD (such as the 1000, 2400, 5100, and 5110) only clear the Alarm LED.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Topic You should consider using this procedure under th [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[120,402,459,500,504],"class_list":["post-2339","post","type-post","status-publish","format-standard","hentry","category-tech","tag-f5","tag-402","tag-459","tag-500","tag-504"],"_links":{"self":[{"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/posts\/2339","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2339"}],"version-history":[{"count":0,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=\/wp\/v2\/posts\/2339\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wxcn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2339"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2339"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wxcn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2339"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}