"event" : "ProductAnswer", "context" : "envParam:entity", "event" : "addMessageUserEmailSubscription", "actions" : [ "event" : "removeMessageUserEmailSubscription", LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineEditForm"},"tokenId":"ajax","elementSelector":"#threadeddetaildisplaymessageviewwrapper_0","action":"renderInlineEditForm","feedbackSelector":"#threadeddetaildisplaymessageviewwrapper_0","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":"xVABOGZMXwbH-X4Hk51qogunRhANSmsoQ5WNksyD09k. "context" : "", }, "context" : "lia-deleted-state", "event" : "MessagesWidgetEditAction", "action" : "rerender" { }, It can be run on both routers and switches, and it displays detailed information about each device. "event" : "AcceptSolutionAction", Select Advanced under Properties. "actions" : [ { "action" : "rerender" ] }, { { "event" : "AcceptSolutionAction", "displaySubject" : "true" LITHIUM.MessageViewDisplay({"openEditsSelector":".lia-inline-message-edit","renderInlineFormEvent":"LITHIUM:renderInlineEditForm","componentId":"threadeddetaildisplaymessageviewwrapper_5","componentSelector":"#threadeddetaildisplaymessageviewwrapper_5","editEvent":"LITHIUM:editMessageViaAjax","collapseEvent":"LITHIUM:collapseInlineMessageEditor","messageId":71084,"confimationText":"You have other message editors open and your data inside of them might be lost. "initiatorDataMatcher" : "data-lia-kudos-id" ","loaderSelector":"#threadeddetaildisplaymessageviewwrapper .lia-message-body-loader .lia-loader","expandedRepliesSelector":".lia-inline-message-reply-form-expanded"}); ] It will display the directly connected neighbors, namely RouterA and RouterB, and you can see the host names, local interfaces where you are seeing that device, and their own interface where they are seeing you. "event" : "MessagesWidgetAnswerForm", "event" : "MessagesWidgetCommentForm", "context" : "", } "action" : "rerender" "action" : "pulsate" "actions" : [ { var $search = $('.cmp-header__search-container'); }, "context" : "envParam:quiltName,message", "event" : "markAsSpamWithoutRedirect", }, "action" : "pulsate" { } }, "action" : "rerender" ] }, "disableLabelLinks" : "false", LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderLoadMoreMessages","parameters":{"javascript.ignore_combine_and_minify":"true"}},"tokenId":"ajax","elementSelector":"#threadeddetailmessagelist .lia-load-fetch","action":"renderLoadMoreMessages","feedbackSelector":"#ajaxFeedback","url":"https://community.meraki.com/t5/forums/v5/forumtopicpage.threadeddetaildisplay.threadeddetailmessagelist:renderloadmoremessages?t:ac=board-id/security/message-id/7046/thread-id/7046","ajaxErrorEventName":"LITHIUM:ajaxError","token":"W2B9FyvO7eyoSbz0-50q8CaaWEUFmiconoap0ppy4n8. "event" : "QuickReply", LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_12","feedbackSelector":".InfoMessage"}); "actions" : [ { "actions" : [ ] "event" : "approveMessage", { }, { "action" : "rerender" "action" : "rerender" ] Are you sure you want to proceed? Meraki Dashboard does not include a page that shows the CDP/LLDP neighbors. } "context" : "", } ] "context" : "", "action" : "rerender" "parameters" : { } ] "}); "}); ', 'ajax');","content":"Turn off suggestions"}],"prefixTriggerTextLength":3},"inputSelector":"#messageSearchField_10f452b179b055d_1","redirectToItemLink":false,"url":"https://community.meraki.com/t5/forums/v5/forumtopicpage.searchformv32.tkbmessagesearchfield.messagesearchfield:autocomplete?t:ac=board-id/security/message-id/7046/thread-id/7046&t:cp=search/contributions/page","resizeImageEvent":"LITHIUM:renderImages"}); "action" : "rerender" "context" : "envParam:quiltName", "actions" : [ { ] "context" : "envParam:messageUid,page,quiltName,product,contextId,contextUrl", { "context" : "envParam:messageUid,page,quiltName,product,contextId,contextUrl", { { "event" : "editProductMessage", LITHIUM.DropDownMenu({"userMessagesFeedOptionsClass":"div.user-messages-feed-options-menu a.lia-js-menu-opener","menuOffsetContainer":".lia-menu-offset-container","hoverLeaveEvent":"LITHIUM:hoverLeave","mouseoverElementSelector":".lia-js-mouseover-menu","userMessagesFeedOptionsAriaLabel":"Show contributions of the user, selected option is null. "actions" : [ { "context" : "envParam:quiltName,product,contextId,contextUrl", CDP is a Cisco proprietary protocol and will only detect Cisco products, although there are some vendors that do work with it. ] "event" : "MessagesWidgetCommentForm", { "actions" : [ } ', 'ajax'); }, { "actions" : [ "context" : "", { ] LITHIUM.Auth.CHECK_SESSION_TOKEN = '-lgCh7xqt3ycn-2Mts2nWGGPeqFD9LjIimHNImQdfOs. "context" : "lia-deleted-state", "useCountToKudo" : "false", "disallowZeroCount" : "false", { "event" : "ProductAnswer", } That does not help. { "forceSearchRequestParameterForBlurbBuilder" : "false", ","loaderSelector":"#threadeddetaildisplaymessageviewwrapper_6 .lia-message-body-loader .lia-loader","expandedRepliesSelector":".lia-inline-message-reply-form-expanded"}); "action" : "rerender" LITHIUM.Text.set({"ajax.reRenderInlineEditor.loader.feedback.title":"Loading"}); "messageViewOptions" : "1111110111111111111110111110100101011101", { "context" : "", "displayStyle" : "horizontal", "initiatorDataMatcher" : "data-lia-kudos-id" { "actions" : [ "quiltName" : "ForumMessage", }, "actions" : [ "actions" : [ { "disableKudosForAnonUser" : "false", $('.cmp-header__search-container .autocomplete-post-container').removeClass('lia-js-hidden').prependTo($('.cmp-header__search-container .lia-autocomplete-footer:first')); Set up, upgrade and revert ONTAP. "event" : "removeMessageUserEmailSubscription", { } "initiatorBinding" : true, "action" : "rerender" "context" : "", } "event" : "MessagesWidgetCommentForm", { { }, LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadScripts"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer","action":"lazyLoadScripts","feedbackSelector":"#inlineMessageReplyContainer","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":"usWKPbUsk19ZUplRgOtdqfVf0WWYBwjrgMDFKakVMkU. "actions" : [ "context" : "lia-deleted-state", "event" : "removeMessageUserEmailSubscription", { }, }); "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "event" : "MessagesWidgetAnswerForm", (LLDP) instead of CDP. "action" : "rerender" LITHIUM.Link({"linkSelector":"a.lia-link-ticket-post-action"}); "disallowZeroCount" : "false", } Enter the show cdp neighbor interface-name command to verify the name and PortID of a remote device match the network design. "actions" : [ LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadScripts"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer_6","action":"lazyLoadScripts","feedbackSelector":"#inlineMessageReplyContainer_6","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":"rMWTqWlhLOzUUlZN8-5bXzQQygm96gRQw6LwiK35zYg. "context" : "envParam:quiltName,message", } "action" : "rerender" "context" : "", "actions" : [ 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. "message" : "29620", "event" : "MessagesWidgetEditCommentForm", { "event" : "kudoEntity", "actions" : [ { "actions" : [ "action" : "rerender" } } } ] LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_1","feedbackSelector":".InfoMessage"}); } 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. "context" : "", } ] Format: member/slot/port. { } { I wrote something similar a long time ago, but quite a bit more rudimentary. "eventActions" : [ { } "actions" : [ LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:renderInlineMessageReply"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer_1","action":"renderInlineMessageReply","feedbackSelector":"#inlineMessageReplyContainer_1","url":"https://community.meraki.com/t5/forums/v5/forumtopicpage.inlinemessagereplycontainer:renderinlinemessagereply?t:ac=board-id/security/message-id/7046/thread-id/7046&t:cp=messages/contributions/messageeditorscontributionpage","ajaxErrorEventName":"LITHIUM:ajaxError","token":"hlMCuPT2GnPsKaw-ctKkCKsJ77d0yj8X01xT4Bn8slY. ] ] "selector" : "#messageview", } "action" : "rerender" }, { This one, along with other basic port level statistics, are something I would like to see. } "action" : "rerender" "event" : "approveMessage", "event" : "unapproveMessage", ] { } ] ] If you are using Cisco switches in . Introduction and concepts. "message" : "29378", As long as you have a VTP domain name in the VTP server, it will be displayed via CDP exchange between the switches. "}); }, "context" : "lia-deleted-state", ] LITHIUM.AjaxSupport.fromLink('#kudoEntity_5', 'kudoEntity', '#ajaxfeedback_5', 'LITHIUM:ajaxError', {}, '12JFCrfrXNokcUZbrCijHV25JC6JexeJcq7i4W541CQ. "action" : "addClassName" }, "useSubjectIcons" : "true", { }, "}); { }, This one, along with other basic port level statistics, are something I would like to see. "context" : "lia-deleted-state", "event" : "QuickReply", }, { $(this).on('click', function() { "context" : "lia-deleted-state", ] "action" : "rerender" "disableKudosForAnonUser" : "false", ] "eventActions" : [ The priority was on providing the controls which would enable Meraki-to-Meraki . { { "event" : "removeThreadUserEmailSubscription", { ] "context" : "", "context" : "envParam:quiltName,message,product,contextId,contextUrl", } My script simply collected CDP information and produced a plot showing the basic shape of a large network. Using the checkbox and the drop down, change the CDP settings. { { LITHIUM.InformationBox({"updateFeedbackEvent":"LITHIUM:updateAjaxFeedback","componentSelector":"#informationbox_14","feedbackSelector":".InfoMessage"}); }, ] "action" : "rerender" "actions" : [ ] "context" : "envParam:quiltName,expandedQuiltName", "action" : "rerender" "context" : "", "parameters" : { "parameters" : { "parameters" : { Are you sure you want to proceed? }, "message" : "70998", "}); "event" : "ProductAnswerComment", "includeRepliesModerationState" : "true", "action" : "pulsate" "initiatorDataMatcher" : "data-lia-message-uid" }); LITHIUM.Components.renderInPlace('recommendations.widget.recommended-content-taplet', {"componentParams":"{\n \"mode\" : \"slim\",\n \"componentId\" : \"recommendations.widget.recommended-content-taplet\"\n}","componentId":"recommendations.widget.recommended-content-taplet"}, {"errorMessage":"An Unexpected Error has occurred. "event" : "MessagesWidgetMessageEdit", "selector" : "#messageview_6", "context" : "", ] "action" : "rerender" "disallowZeroCount" : "false", { }, ', 'ajax'); This will tell you a port of the switch. }, "actions" : [ "messageViewOptions" : "1111110111111111111110111110100101011101", }, ], sh cd n. Choose any variation of the abbreviations, they all work. "event" : "MessagesWidgetMessageEdit", { { { "actions" : [ ], "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", } { { "displaySubject" : "true" "initiatorDataMatcher" : "data-lia-message-uid" ] "displaySubject" : "true" }, { "actions" : [ { } "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", "disableLinks" : "false", "action" : "rerender" "action" : "rerender" "actions" : [ is there a way for the output to show hostnames of the neighbors instead? { "useTruncatedSubject" : "true", LITHIUM.AjaxSupport.ComponentEvents.set({ }, "disallowZeroCount" : "false", }, ] "actions" : [ "truncateBodyRetainsHtml" : "false", }, "forceSearchRequestParameterForBlurbBuilder" : "false", "actions" : [ "event" : "MessagesWidgetAnswerForm", "event" : "MessagesWidgetCommentForm", "messageViewOptions" : "1111110111111111111110111110100101011101", "action" : "rerender" ], { ","messageActionsSelector":"#messageActions_0","loaderSelector":"#loader","renderEvent":"LITHIUM:renderInlineMessageReply","expandedRepliesSelector":".lia-inline-message-reply-form-expanded","topicMessageSelector":".lia-forum-topic-message-gte-5","containerSelector":"#inlineMessageReplyContainer_0","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}); { }, 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. } "parameters" : { { "context" : "", }, "context" : "envParam:feedbackData", LITHIUM.AjaxSupport({"ajaxOptionsParam":{"event":"LITHIUM:lazyLoadScripts"},"tokenId":"ajax","elementSelector":"#inlineMessageReplyContainer_3","action":"lazyLoadScripts","feedbackSelector":"#inlineMessageReplyContainer_3","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":"pqAWB0IBG201lH-2d7sJ2DhsYOEt9fLz9cETW5Rkls8. "includeRepliesModerationState" : "true", } }, "event" : "addThreadUserEmailSubscription", "context" : "", "context" : "envParam:messageUid,quiltName,product,contextId,contextUrl", LITHIUM.MessageBodyDisplay('#bodyDisplay_4', '.lia-truncated-body-container', '#viewMoreLink', '.lia-full-body-container' ); ] "event" : "QuickReply", "event" : "ProductAnswer", }, { "context" : "envParam:feedbackData", Shows CDP information for all neighbors or for CDP information on a specific interface. ] { "action" : "addClassName" }, "context" : "envParam:quiltName", {
Cheri Brooks Today 2022, Articles S