Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

RSPAN-destination port mirroring

The following example provides the configuration of RSPAN-destination port mirroring on a Vyatta router.

Table 1. Configuring RSPAN-destination port mirroring



Configure an RSPAN-destination session.

vyatta@vyatta# set service portmonitor session 3 type rspan-destination

Configure the source VLAN interface for the session. You cannot specify a direction for an RSPAN-destination session. The source VIF for the RSPAN-destination type must be part of a bridge group.

vyatta@vyatta# set service portmonitor session 3 source dp0s7.700

Configure the destination physical interface for the session.

vyatta@vyatta# set service portmonitor session 3 destination dp0s6

Commit the configuration.

vyatta@vyatta# commit

Save the configuration.

Port monitoring for the session is enabled if the type, source and destination parameters are configured properly.

vyatta@vyatta# save

Display the port mirroring configuration.

vyatta@vyatta:~$ show portmonitor session
Session:                      3
    Type:                     rspan-destination
    State:                    enabled
    Source interfaces:         
      Name:                   dp0s7.700
        Direction:            both
    Destination interface:    dp0s6