Configuring Rule-Based Erspan - Cisco Nexus 7000 Series Configuration Manual

Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Configuring ERSPAN
Before You Begin
Ensure that you are in the correct VDC (or use the switchto vdc command).
Procedure
Step 1
Step 2
Step 3
Step 4

Configuring Rule-Based ERSPAN

You can configure filters for ingress or egress ERSPAN traffic based on a set of rules. A simple filter has
only one rule, and multiple fields or conditions can be added to this rule. The packets are spanned only if all
conditions are met.
Before You Begin
Ensure that you are in the correct VDC (or use the switchto vdc command).
Procedure
Step 1
Step 2
Step 3
Command or Action
switch# configure terminal
switch(config)# monitor session
session-number type erspan-source
switch(config-erspan-src)# header-type
version
switch(config-erspan-src)# [no]
multicast best-effort
Command or Action
switch# configure terminal
switch(config)# monitor erspan
origin ip-address ip-address
global
switch(config)# monitor erspan
granularity {100_ms | 100_ns |
1588 | ns}
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
Purpose
Enters global configuration mode.
Enters the monitor configuration mode for the
ERSPAN source type and specifies the ERSPAN
session for which the multicast best effort mode is to
be configured.
(Optional)
Changes the ERSPAN source session from Type II
to Type III.
Configures the multicast best effort mode for the
specified ERSPAN session.
Purpose
Enters global configuration mode.
Configures the ERSPAN global origin IP address.
The global origin IP address can be configured in either the
default VDC or the admin VDC. The value that is configured
in this VDC is valid across all VDCs. Any change made in the
default or admin VDC is applied across all nondefault VDCs.
(Optional)
Specifies the granularity of all ERSPAN Type III sessions across
all VDCs. The granularity options are 100 microseconds (ms),
100 nanoseconds (ns), IEEE 1588 (in seconds or nanoseconds),
and nanoseconds.
Configuring Rule-Based ERSPAN
347

Advertisement

Table of Contents
loading

Table of Contents