}); { ] { "event" : "approveMessage", "context" : "", } } "linkDisabled" : "false" "actions" : [ }, "disableKudosForAnonUser" : "false", LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineEditForm"},"tokenId":"ajax","elementSelector":"#threadeddetaildisplaymessageviewwrapper_3","action":"renderInlineEditForm","feedbackSelector":"#threadeddetaildisplaymessageviewwrapper_3","url":"https://community.meraki.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.threadeddetailmessagelist.threadeddetaildisplaymessageviewwrapper:renderinlineeditform?t:ac=board-id/security/message-id/7046/thread-id/7046","ajaxErrorEventName":"LITHIUM:ajaxError","token":"YGK4L3fX5wALY9zf_INSimr57d7pbnqApYRW5rryiyQ. LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown_0","menuItemsSelector":".lia-menu-dropdown-items"}}); { { ] "actions" : [ "context" : "envParam:entity", } }, "action" : "pulsate" } "displaySubject" : "true" "action" : "rerender" }, } } LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadScripts"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer_4","action":"lazyLoadScripts","feedbackSelector":"#inlineMessageReplyContainer_4","url":"https://community.meraki.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:lazyloadscripts?t:ac=board-id/security/message-id/7046/thread-id/7046&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"WSIpfgOzU3upioBVcuPQrgWvmXhpFReVIIPVTSPG6J0. { "eventActions" : [ }, "selector" : "#messageview_7", { "action" : "rerender" } }, LITHIUM.lazyLoadComponent({"selectors":{"elementSelector":"#inlinemessagereplyeditor_0"},"events":{"lazyLoadComponentEvent":"LITHIUM:lazyLoadComponent"},"misc":{"isLazyLoadEnabled":true}}); "displayStyle" : "horizontal", }, ', 'ajax');","content":"Turn off suggestions"}],"prefixTriggerTextLength":0},"inputSelector":"#noteSearchField_10f452b179b055d_0","redirectToItemLink":false,"url":"https://community.meraki.com/t5/forums/v5/forumtopicpage.searchformv32.notesearchfield.notesearchfield:autocomplete?t:ac=board-id/security/message-id/7046/thread-id/7046&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); "action" : "pulsate" { "displaySubject" : "true" } "action" : "rerender" { { { "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", }, { $search.addClass('is--open'); { "event" : "MessagesWidgetCommentForm", { }, { "context" : "", } "event" : "AcceptSolutionAction", { LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_7","feedbackSelector":".InfoMessage"}); Both devices show up in the LLDP neighbors table as coming from the same ingress port. } "}); "disableLabelLinks" : "false", ] { "action" : "rerender" { "action" : "rerender" Are you sure you want to proceed? ] } "event" : "RevokeSolutionAction", "componentId" : "kudos.widget.button", LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_15","feedbackSelector":".InfoMessage"}); { "context" : "envParam:selectedMessage", "action" : "rerender" "context" : "envParam:quiltName,expandedQuiltName", { "context" : "envParam:entity", "event" : "ProductAnswer", } { "linkDisabled" : "false" { "action" : "pulsate" }, "event" : "MessagesWidgetAnswerForm", LITHIUM.InlineMessageReplyContainer({"openEditsSelector":".lia-inline-message-edit","linearDisplayViewSelector":".lia-linear-display-message-view","renderEventParams":{"replyWrapperId":"replyWrapper_4","messageId":70888,"messageActionsId":"messageActions_4"},"threadedDetailDisplayViewSelector":".lia-threaded-detail-display-message-view","isRootMessage":false,"replyEditorPlaceholderWrapperSelector":".lia-placeholder-wrapper","collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. "initiatorBinding" : true, ","messageActionsSelector":"#messageActions_5","loaderSelector":"#loader","renderEvent":"LITHIUM:renderInlineMessageReply","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","topicMessageSelector":".lia-forum-topic-message-gte-5","containerSelector":"#inlineMessageReplyContainer_5","layoutView":"threaded","replyButtonSelector":".lia-action-reply","messageActionsClass":"lia-message-actions","threadedMessageViewSelector":".lia-threaded-display-message-view-wrapper","lazyLoadScriptsEvent":"LITHIUM:lazyLoadScripts","isGteForumV5":true,"loaderEnabled":false,"useSimpleEditor":false,"isReplyButtonDisabled":false}); "action" : "rerender" "event" : "MessagesWidgetCommentForm", Get notified when there are additional replies to this discussion. LITHIUM.InlineMessageReplyContainer({"openEditsSelector":".lia-inline-message-edit","linearDisplayViewSelector":".lia-linear-display-message-view","renderEventParams":{"replyWrapperId":"replyWrapper","messageId":29378,"messageActionsId":"messageActions"},"threadedDetailDisplayViewSelector":".lia-threaded-detail-display-message-view","isRootMessage":true,"replyEditorPlaceholderWrapperSelector":".lia-placeholder-wrapper","collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. "context" : "envParam:feedbackData", "quiltName" : "ForumMessage", "context" : "envParam:quiltName", "action" : "rerender" "parameters" : { "initiatorBinding" : true, }, "message" : "99480", "action" : "pulsate" "action" : "rerender" "kudosable" : "true", "event" : "approveMessage", }); "actions" : [ If you prefer not to use the CDP capability, disable it with the no cdp run command. { "context" : "envParam:selectedMessage", "context" : "", LITHIUM.AutoComplete({"options":{"triggerTextLength":4,"updateInputOnSelect":true,"loadingText":"Searching","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$(', Turn off suggestions"}],"prefixTriggerTextLength":0},"inputSelector":"#productSearchField_10f452b179b055d","redirectToItemLink":false,"url":"https://community.meraki.com/t5/forums/v5/forumtopicpage.searchformv32.productsearchfield.productsearchfield:autocomplete?t:ac=board-id/security/message-id/7046/thread-id/7046&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); } } }, "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", ] "initiatorBinding" : true, sh cd nei. "message" : "70998", { }, }, LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_10f452b179b055d","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_10f452b179b055d_0","url":"https://community.meraki.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/security/message-id/7046/thread-id/7046&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"G26YlnjMXlZ6vpSLPTgWV10jRwHzPCo8A6L6KQWRvkg. show switch hostname in CDP neighbor Hi, i have a cisco catalyst switch and small business series switches in my network. "actions" : [ LITHIUM.DropDownMenuVisibilityHandler({"selectors":{"menuSelector":"#actionMenuDropDown_2","menuItemsSelector":".lia-menu-dropdown-items"}}); "event" : "ProductAnswer", "actions" : [ }, "action" : "addClassName" "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "rerender" "initiatorBinding" : true, "truncateBodyRetainsHtml" : "false", "actions" : [ ', 'ajax'); "context" : "envParam:quiltName,message", "eventActions" : [ { . "action" : "rerender" "context" : "", { }, ] } "action" : "addClassName" "action" : "rerender" "action" : "rerender" "context" : "envParam:selectedMessage", Technical Forums. { "disallowZeroCount" : "false", } LITHIUM.MessageBodyDisplay('#bodyDisplay_6', '.lia-truncated-body-container', '#viewMoreLink', '.lia-full-body-container' ); "actions" : [ } The interface displays a lot of information including a visual representation of each port's status. LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_17","feedbackSelector":".InfoMessage"}); "context" : "envParam:quiltName,message,product,contextId,contextUrl", "actions" : [ "kudosLinksDisabled" : "false", "context" : "", "messageViewOptions" : "1111110111111111111110111110100101011101", Are you sure you want to proceed? { CDP is a Cisco proprietary protocol and will only detect Cisco products, although there are some vendors that do work with it. { } { "messageViewOptions" : "1111110111111111111110111110100101011101", "kudosable" : "true", "actions" : [ "event" : "addMessageUserEmailSubscription", "componentId" : "kudos.widget.button", ] Scroll down to the section Neighbors. { }, "}); "actions" : [ ] LITHIUM.MessageViewDisplay({"openEditsSelector":".lia-inline-message-edit","renderInlineFormEvent":"LITHIUM:renderInlineEditForm","componentId":"threadeddetaildisplaymessageviewwrapper_3","componentSelector":"#threadeddetaildisplaymessageviewwrapper_3","editEvent":"LITHIUM:editMessageViaAjax","collapseEvent":"LITHIUM:collapseInlineMessageEditor","messageId":70888,"confimationText":"You have other message editors open and your data inside of them might be lost. { LITHIUM.InlineMessageReplyContainer({"openEditsSelector":".lia-inline-message-edit","linearDisplayViewSelector":".lia-linear-display-message-view","renderEventParams":{"replyWrapperId":"replyWrapper_2","messageId":29619,"messageActionsId":"messageActions_2"},"threadedDetailDisplayViewSelector":".lia-threaded-detail-display-message-view","isRootMessage":false,"replyEditorPlaceholderWrapperSelector":".lia-placeholder-wrapper","collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. }, "context" : "", "useSimpleView" : "false", Dell Networking systems support up to eight neighbors per interface. "actions" : [ ] "useSubjectIcons" : "true", }, { "revokeMode" : "true", "action" : "rerender" "truncateBody" : "true", }, "actions" : [ "disableLabelLinks" : "false", } Command context. ] "useSimpleView" : "false", "action" : "rerender" "truncateBodyRetainsHtml" : "false", ;(function($){ { The screenshot shows the switch sending Vlan 200 tag for voice in the CDP packet "actions" : [ "action" : "rerender" ], "action" : "rerender" LITHIUM.Link({"linkSelector":"a.lia-link-ticket-post-action"}); "useSubjectIcons" : "true", }, { "showCountOnly" : "false", /meraki cycle-port [org-name] [device-name] [port-number]: Cycles a port on a given switch. Ensure that PoE is enabled on the switch port connected to the PoE device. "}); "forceSearchRequestParameterForBlurbBuilder" : "false", }, "useSimpleView" : "false", ', 'ajax'); Meraki CDP/LLDP neighbors via CLI (Python) Hi all, just sharing the new release of my Python script to get CDP/LLDP neighbors via CLI. { LITHIUM.AjaxSupport.ComponentEvents.set({ ] ","loaderSelector":"#threadeddetaildisplaymessageviewwrapper_4 .lia-message-body-loader .lia-loader","expandedRepliesSelector":".lia-inline-message-reply-form-expanded"}); Cluster administration. ] }, { }, ] ] "actions" : [ LITHIUM.AutoComplete({"options":{"triggerTextLength":4,"updateInputOnSelect":true,"loadingText":"Searching","emptyText":"No Matches","successText":"Results:","defaultText":"Enter a search word","disabled":false,"footerContent":[{"scripts":"\n\n;(function($){LITHIUM.Link=function(params){var $doc=$(document);function handler(event){var $link=$(this);var token=$link.data('lia-action-token');if($link.data('lia-ajax')!==true&&token!==undefined){if(event.isPropagationStopped()===false&&event.isImmediatePropagationStopped()===false&&event.isDefaultPrevented()===false){event.stop();var $form=$('',{method:'POST',action:$link.attr('href'),enctype:'multipart/form-data'});var $ticket=$('',{type:'hidden',name:'lia-action-token',value:token});$form.append($ticket);$(document.body).append($form);$form.submit();$doc.trigger('click');}}}\nif($doc.data('lia-link-action-handler')===undefined){$doc.data('lia-link-action-handler',true);$doc.on('click.link-action',params.linkSelector,handler);$.fn.on=$.wrap($.fn.on,function(proceed){var ret=proceed.apply(this,$.makeArray(arguments).slice(1));if(this.is(document)){$doc.off('click.link-action',params.linkSelector,handler);proceed.call(this,'click.link-action',params.linkSelector,handler);}\nreturn ret;});}}})(LITHIUM.jQuery);\r\n\nLITHIUM.Link({\n \"linkSelector\" : \"a.lia-link-ticket-post-action\"\n});LITHIUM.AjaxSupport.fromLink('#disableAutoComplete_10f452b19a7df72', 'disableAutoComplete', '#ajaxfeedback_10f452b179b055d_0', 'LITHIUM:ajaxError', {}, '6FoqepZx2dFYXAX4A9dTEhOZqVpwTgFMdXC9n2FGsOU. LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:userExistsQuery","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#userSearchField_10f452b179b055d","action":"userExistsQuery","feedbackSelector":"#ajaxfeedback_10f452b179b055d_0","url":"https://community.meraki.com/t5/forums/v5/forumtopicpage.searchformv32.usersearchfield:userexistsquery?t:ac=board-id/security/message-id/7046/thread-id/7046&t:cp=search/contributions/page","ajaxErrorEventName":"LITHIUM:ajaxError","token":"G26YlnjMXlZ6vpSLPTgWV10jRwHzPCo8A6L6KQWRvkg. }, ] "useTruncatedSubject" : "true", "event" : "addThreadUserEmailSubscription", "action" : "rerender" } "action" : "rerender" "context" : "envParam:quiltName,expandedQuiltName", "event" : "MessagesWidgetEditAnswerForm", { LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_12","feedbackSelector":".InfoMessage"}); { "viewOrderSpec" : "xOuk74OUAchWkLrDR43wT3yXFRUnE_zAck_aXweQ3NfTLAC6dHjeaYd7qwIztQyaSMN7KWFwmFB0RHqOrpqjND7fYqMoI9cIK2IieHFh3-71iKp2nDII2QfyZAEPmy8wtXOdhwXRmpRy7aaCNipdFeahr9ZqV6UOeGp5nXNDyNChmiMq_4RfiEXD8_I5jfbaOmgZVk48HNne0Gaks7krnonef0FNao0SJiSDC2qqdjwIjJmsu-0V6yf0NbyRM0ETTCuL5rIlZu4ZBpGeKptN9359GkkfFNACJURQT60loFOrPLkhycC2X_JAV0ZbqaFeQUmMaONTly0pf38I-Um-HOevkg3TGuN6RfA7rv8qUXTriruBCNld375_byzszJap0XLqK4ee4FsuDxg57Od7YrWhCloCwQ35XKzVA5B4dwTs6pTS3NzaMIeCGin4cr4-ADAsqBycyZOes21K3dbmm0nnYjchEsicqujk4UoszuOmQu4ryDwWfKSRJDlsYS_uWvnBOg-rtZhnxgExJTH1E4FQ29NogAYLRn3aN1ghFAw." "truncateBody" : "true", To troubleshoot PoE on switches, it is important to rule out any physical layer issues. } { "}); { ] }, "}); "actions" : [ "initiatorDataMatcher" : "data-lia-kudos-id" Wireless LAN; Security / SD-WAN; Switching; Mobile Device Management; Meraki Insight; Smart Cameras; Wireless WAN; Sensors; Full-Stack & Network-Wide "context" : "", LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#pageInformation","feedbackSelector":".InfoMessage"}); show arp. LITHIUM.InlineMessageReplyContainer({"openEditsSelector":".lia-inline-message-edit","linearDisplayViewSelector":".lia-linear-display-message-view","renderEventParams":{"replyWrapperId":"replyWrapper_7","messageId":99480,"messageActionsId":"messageActions_7"},"threadedDetailDisplayViewSelector":".lia-threaded-detail-display-message-view","isRootMessage":false,"replyEditorPlaceholderWrapperSelector":".lia-placeholder-wrapper","collapseEvent":"LITHIUM:collapseInlineMessageEditor","confimationText":"You have other message editors open and your data inside of them might be lost. ] Here is a sample of the show cdp neighbors command. "action" : "pulsate" // console.log('Welcome to safarithe new internet explorer'); "context" : "lia-deleted-state", "actions" : [ { ] } "actions" : [ "event" : "MessagesWidgetCommentForm", Let's look at one of the switches that has had it's uplink moved to the MX. { "context" : "", } { My goal was to provide the script to a NOC to allow the operators to get the information from a simple to use CLI command. Are you sure you want to proceed? "actions" : [ "initiatorBinding" : true, } { { "disallowZeroCount" : "false", "context" : "", { "context" : "envParam:quiltName", { "action" : "rerender" "action" : "pulsate" ], "actions" : [ "action" : "rerender" "event" : "addMessageUserEmailSubscription", }, "actions" : [ "actions" : [ "action" : "rerender" "action" : "rerender" "actions" : [ "event" : "removeThreadUserEmailSubscription", { "context" : "envParam:quiltName,expandedQuiltName", "disableLabelLinks" : "false", { }, { "useCountToKudo" : "false", "event" : "approveMessage", } "event" : "markAsSpamWithoutRedirect", } } "parameters" : { "context" : "", "context" : "", clear cdp table Delete the CDP table of information about neighbors. LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineEditForm"},"tokenId":"ajax","elementSelector":"#threadeddetaildisplaymessageviewwrapper_1","action":"renderInlineEditForm","feedbackSelector":"#threadeddetaildisplaymessageviewwrapper_1","url":"https://community.meraki.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.threadeddetailmessagelist.threadeddetaildisplaymessageviewwrapper:renderinlineeditform?t:ac=board-id/security/message-id/7046/thread-id/7046","ajaxErrorEventName":"LITHIUM:ajaxError","token":"8Jxq_lCUhGflLNXuUZOextFQMwPJmDYk_InYGhxLIlo. "actions" : [ { "forceSearchRequestParameterForBlurbBuilder" : "false", ] ] "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "action" : "addClassName" { { "actions" : [ ] "action" : "rerender" { "event" : "ProductAnswer", "actions" : [ ', 'ajax'); "action" : "pulsate" "actions" : [ { ', 'ajax');","content":"Turn off suggestions"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_10f452b179b055d_0","redirectToItemLink":false,"url":"https://community.meraki.com/t5/forums/v5/forumtopicpage.searchformv32.messagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/security/message-id/7046/thread-id/7046&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); "context" : "", "componentId" : "forums.widget.message-view", "action" : "rerender" { "disableLinks" : "false", "context" : "envParam:entity", "event" : "MessagesWidgetEditAction", }, "event" : "MessagesWidgetMessageEdit", }, } "context" : "envParam:feedbackData", "event" : "MessagesWidgetEditAction", show cdp entry entry-name [protocol| version] Display information about a specific neighbor. { }, }, "revokeMode" : "true", "}); }, ] "actions" : [ } { { { Shows CDP information for all neighbors or for CDP information on a specific interface. "useCountToKudo" : "false", LITHIUM.AjaxSupport.ComponentEvents.set({ "actions" : [ "context" : "lia-deleted-state", "context" : "envParam:selectedMessage", }, "event" : "MessagesWidgetEditAction", "action" : "pulsate" "context" : "", "action" : "rerender" You may choose another option from the dropdown menu. ] "context" : "", ], "kudosable" : "true", LITHIUM.AjaxSupport.ComponentEvents.set({ ] ] "selector" : "#messageview_1", }, ] "event" : "ProductMessageEdit", "event" : "ProductMessageEdit",