{"id":3863,"date":"2023-07-30T08:48:38","date_gmt":"2023-07-30T08:48:38","guid":{"rendered":"https:\/\/geekmungus.co.uk\/?p=3863"},"modified":"2023-07-30T08:49:42","modified_gmt":"2023-07-30T08:49:42","slug":"extreme-networks-port-mirroring-spanning-for-packet-capturing","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=3863","title":{"rendered":"Extreme Networks Port Mirroring (Spanning) for Packet Capturing"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The capture of network traffic can be useful in troubleshooting issues. Although it is possible to complete this on the switch itself your milage may vary. You require a machine with some packet capture software running and listening on the relevant network interface.<\/p>\n\n\n\n<h1 class=\"wp-block-heading\">XOS<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">In this example we&#8217;ll be mirroring port 1 to port 10, ergo, port 1 will have the device whose traffic we want to capture and port 10 will be where the traffic is being sent to. You should ensure that the destination port\/interface does not have any configuration applied (e.g. VLANs etc) prior to the packet capture.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create the mirror, add the destination port (10) and then add the source port.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>create mirror MIRROR1\n\nconfigure mirror MIRROR1 to PORT 10\n\nconfigure mirror MIRROR1 add port 1\n\nenable mirror MIRROR1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">(i) By default all VLANs are included and both ingress and egress traffic is captured.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To disable a mirror:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>disable mirror MIRROR1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To remove a mirror:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>delete mirror MIRROR1<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To show a mirror or show a mirror&#8217;s configuration:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>show mirror \"MIRROR1\"\n\nshow configuration | include mirror <\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\">VOSS<\/h1>\n\n\n\n<p class=\"wp-block-paragraph\">In this example we&#8217;ll be capturing interface (port) 1\/1 i.e. the in-port to the out-port 1\/25.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mirror-by-port &lt;Instance ID> in-port &lt;Switch Port Numbers> out-port &lt;PC Connected Port Number> mode both enable \n\nmirror-by-port 1 in-port 1\/1 out-port 1\/25 mode both enable<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Disable a mirror:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>no mirror-by-port &lt;Instance ID> enable<\/code><\/pre>\n\n\n\n<h1 class=\"wp-block-heading\">Additional Information<\/h1>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/extremeportal.force.com\/ExtrArticleDetail?an=000074211\">https:\/\/extremeportal.force.com\/ExtrArticleDetail?an=000074211<\/a><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/unsplash.com\/@villxsmil\" data-type=\"URL\" data-id=\"https:\/\/unsplash.com\/@villxsmil\" target=\"_blank\" rel=\"noreferrer noopener\">Image Attribution<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The capture of network traffic can be useful in troubleshooting issues. Although it is possible to complete this on the switch itself your milage may vary. You require a machine with some packet capture software running and listening on the relevant network interface. XOS In this example we&#8217;ll be mirroring port 1 to port 10, &#8230; <a title=\"Extreme Networks Port Mirroring (Spanning) for Packet Capturing\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=3863\" aria-label=\"Read more about Extreme Networks Port Mirroring (Spanning) for Packet Capturing\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":3865,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,17],"tags":[],"class_list":["post-3863","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-extreme-networks","category-networking"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3863"}],"version-history":[{"count":2,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3863\/revisions"}],"predecessor-version":[{"id":3866,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/3863\/revisions\/3866"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/media\/3865"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3863"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3863"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}