cisco — Configuring an ERSPAN Source Session

Configuring an ERSPAN Source Session SUMMARY STEPS 1. enable 2. configure terminal 3. monitor session span-session-number type erspan-source 4. source interface interface-type interface-id 5. no shutdown 6. ip address ip-address 7. origin ip address ip-address 8. erspan-id erspan-flow-id 9. end DETAILED STEPS Procedure Application Hosting Configuring an ERSPAN Source Session Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. Enter your password, if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 monitor session span-session-number type erspan-source Example:

Device(config)# monitor session 2 type erspan-source Defines an ERSPAN source session using the session ID and the session type, and enters ERSPAN monitor source session configuration mode. Step 4 source interface interface-type interface-id Example: Device(config-mon-erspan-src)# source interface gigabitethernet 1/0/3 Configures the source interface and the traffic direction to be monitored. Step 5 no shutdown Example: Device(config-mon-erspan-src)# no shutdown Enables the configured sessions on an interface. Step 6 ip address ip-address Example: Device(config-mon-erspan-src-dst)# ip address 10.1.1.5 Configures the IP address that is used as the destination of the ERSPAN traffic.

Application Hosting 27