Configuring the Sample Remote Port MirroringRemote port mirroring requires a source session (monitored ports on different source switches), a reserved tagged VLAN for transportingmirrored traffic (configured on source, intermediate, and destination switches), and a destination session (destination ports connected toanalyzers on destination switches).Table 66. Configuration Steps for RPMStep Command Purpose1 configure terminal Enter global configuration mode.2 monitor session type rpm The needs to be unique and not already defined in the boxspecifying type as 'rpm' defines a RPM session.3 source Interface | Range Specify the port or list of ports that needs to be monitored4 direction Specify rx, tx or both in case to monitor ingress/egress or both ingressand egress packets on the specified port..5 rpm source-ip dest-ip Specify the source ip address and the destination ip where the packetneeds to be sent.6 flow-based enable Specify flow-based enable for mirroring on a flow by flow basis andalso for vlan as source.7no enable (Optional) No disable command is mandatory in order for a rpm sessionto be active.Configuring the sample Source Remote Port MirroringDell(conf)#interface vlan 10Dell(conf-if-vl-10)#mode remote-port-mirroringDell(conf-if-vl-10)#tagged te 1/1/4/1Dell(conf-if-vl-10)#exitDell(conf)#monitor session 1 type rpmDell(conf-mon-sess-1)#source te 1/1/5/1 destination remote-vlan 10 dir rxDell(conf-mon-sess-1)#no disableDell(conf-mon-sess-1)#exitDell(conf)#inte vlan 100Dell(conf-if-vl-100)#tagged te 1/1/7/1Dell(conf-if-vl-100)#exitDell(conf)#interface vlan 20Dell(conf-if-vl-20)#mode remote-port-mirroringDell(conf-if-vl-20)#tagged te 1/1/6/1Dell(conf-if-vl-20)#exitDell(conf)#monitor session 2 type rpmDell(conf-mon-sess-2)#source vlan 100 destination remote-vlan 20 dir rxDell(conf-mon-sess-2)#no disableDell(conf-mon-sess-2)#flow-based enableDell(conf-mon-sess-2)#exitDell(conf)#mac access-list standard mac_aclDell(config-std-macl)#permit 00:00:00:00:11:22 count monitorDell(config-std-macl)#exitDell(conf)#interface vlan 100Dell(conf-if-vl-100)#mac access-group mac_acl1 inDell(conf-if-vl-100)#exitPort Monitoring 667