RSPAN port mirroring configuration
RSPAN port mirroring requires the configuration of source and destination Vyatta router.
For traffic to flow from RSPAN source and destination vRouters running on Citrix XenServer systems, XenServer must use Linux bridge instead of Open vSwitch. Also, aging on the bridge corresponding to the vRouter network must be set to 0. This setting makes the entries in the forwarding table permanent.
To check whether XenServer is using Open vSwitch or Linux bridge, use the cat command to view the network.conf file.
# cat /etc/xensource/network.conf
If Open vSwitch is in use, use the following command to switch to Linux bridge.
# xe-switch-network-backend bridge
Use the xe network-list command to find the bridge that corresponds to your network, similar to the following example.
# xe network-list uuid ( RO) : ... name-label ( RW): ... name-description ( RW): bridge ( RO): xapi10
Use the brctl setageing command to set the aging for the bridge to 0.
# brctl setageing xapi10 0
To change back to Open vSwitch, enter the following command.
# xe-switch-network-backend openvswitch