{"id":2501,"date":"2019-07-01T22:00:00","date_gmt":"2019-07-01T21:00:00","guid":{"rendered":"https:\/\/www.balajibandi.com\/?p=2501"},"modified":"2025-03-22T19:44:20","modified_gmt":"2025-03-22T19:44:20","slug":"rspan-config-on-switch","status":"publish","type":"post","link":"https:\/\/www.balajibandi.com\/?p=2501","title":{"rendered":"RSPAN config on SWITCH"},"content":{"rendered":"\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"462\" height=\"308\" src=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2025\/03\/image.png\" alt=\"\" class=\"wp-image-2502\" srcset=\"https:\/\/www.balajibandi.com\/wp-content\/uploads\/2025\/03\/image.png 462w, https:\/\/www.balajibandi.com\/wp-content\/uploads\/2025\/03\/image-300x200.png 300w\" sizes=\"auto, (max-width: 462px) 100vw, 462px\" \/><\/figure>\n\n\n\n<p><strong>Remote SPAN (RSPAN):<\/strong>\u00a0An extension of SPAN called remote SPAN or RSPAN. RSPAN allows you to monitor traffic from source ports distributed over multiple switches, which means that you can centralize your network capture devices. RSPAN works by mirroring the traffic from the source ports of an RSPAN session onto a VLAN that is dedicated for the RSPAN session. This VLAN is then trunked to other switches, allowing the RSPAN session traffic to be transported across multiple switches. On the switch that contains the destination port for the session, traffic from the RSPAN session VLAN is simply mirrored out the destination port.<\/p>\n\n\n\n<p><strong>Configuring RSPAN:<\/strong><\/p>\n\n\n\n<p> configure RSPAN you need to have an RSPAN VLAN, those VLANs have special properties and can\u2019t be assigned to any access ports. To create a VLAN for RSPAN on Cisco IOS or IOS XE , you must create the VLAN via the config-vlan configuration mode, as opposed to using the older VLAN database configuration mode. During the process of defining VLAN parameters, you must specify that the new VLAN is an RSPAN VLAN by configuring the remote-span VLAN configuration command<\/p>\n\n\n\n<p>SW1<\/p>\n\n\n\n<p>SW1# configure terminal<\/p>\n\n\n\n<p>(config)# vlan 100<\/p>\n\n\n\n<p>(config-vlan)# remote-span<\/p>\n\n\n\n<p># show vlan remote-span<\/p>\n\n\n\n<p>You will see VLAN 100<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>interface GigabitEthernet0\/1\n description SERVER-Source\n switchport access vlan 10\n switchport mode access\n spanning-tree portfast\n\ninterface GigabitEthernet0\/0\n description SW1-SW2-TRUNK\n switchport trunk allowed vlan 10,100\n switchport mode trunk\n\nmonitor session 1 source interface gi0\/1\nmonitor session 1 destination remote vlan 100<\/code><\/pre>\n\n\n\n<p>SW2<\/p>\n\n\n\n<p>SW2# configure terminal<\/p>\n\n\n\n<p>(config)# vlan 100<\/p>\n\n\n\n<p>(config-vlan)# remote-span<\/p>\n\n\n\n<p># show vlan remote-span<\/p>\n\n\n\n<p>You will see VLAN 100<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>interface GigabitEthernet0\/1\n description WIRESHARK-PC\n\ninterface GigabitEthernet0\/0\n description SW2-SW1-TRUNK\n switchport trunk allowed vlan 10,100\n switchport mode trunk\n\nmonitor session 1 source remote vlan 100\nmonitor session 1 destination interface gi0\/1\n\nverification :\n#sh monitor session 1<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Remote SPAN (RSPAN):\u00a0An extension of SPAN called remote SPAN or RSPAN. RSPAN allows you to monitor traffic from source ports distributed over multiple switches, which means that you can centralize your network capture devices. RSPAN works by mirroring the traffic from the source ports of an RSPAN session onto a VLAN that is dedicated for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-2501","post","type-post","status-publish","format-standard","hentry","category-cisco"],"_links":{"self":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/2501","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2501"}],"version-history":[{"count":1,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/2501\/revisions"}],"predecessor-version":[{"id":2503,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=\/wp\/v2\/posts\/2501\/revisions\/2503"}],"wp:attachment":[{"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2501"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2501"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.balajibandi.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2501"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}