Configuration Example For Span With Mtu Truncation And Span Sampling; Configuration Example For Rule-Based Span - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuration Example for SPAN with MTU Truncation and SPAN Sampling

switch(config)#
Step 2
Configure destination ports in access or trunk mode, and enable SPAN monitoring.
Example:
switch# configure terminal
switch(config)# interface ethernet 3/3
switch(config-if)# switchport monitor
switch(config)#
Step 3
Configure a SPAN session.
Example:
switch# no monitor session 3
switch(config)# monitor session 3
switch(config-if)# source vlan 100
switch(config-if)# destination interface ethernet 3/3
switch(config-if)# no shut
switch(config-if)# exit
switch(config-if)# show monitor session 3
switch(config-if)# copy running-config startup-config
Configuration Example for SPAN with MTU Truncation and SPAN Sampling
This example shows how to configure MTU truncation and SPAN sampling for a SPAN session:
switch# configure terminal
switch(config)# monitor session 3
switch(config-monitor)# mtu 100
switch(config-monitor)# sampling 10
switch(config-monitor)# show monitor session 3

Configuration Example for Rule-Based SPAN

This example shows how to configure a rule-based SPAN session:
switch# configure terminal
switch(config)# monitor session 3
switch(config-monitor)# mode extended
switch(config-monitor)# filter frame-type ipv4 src-ip 10.1.1.1/24
switch(config-monitor)# source interface ethernet 2/1-3, ethernet 3/1 rx
switch(config-monitor)# destination interface ethernet 2/5, ethernet 3/7
switch(config-monitor)# no shut
switch(config)# show monitor session 3
Cisco Nexus 7000 Series NX-OS System Management Configuration Guide
324
switch(config-if)# exit
switch(config-if)# switchport
switch(config-if)# switchport mode trunk
switch(config-if)# switchport trunk allowed vlan add 100-200
switch(config-if)# switchport access vlan 100
switch(config-if)# no shut
switch(config-if)# exit
Configuring SPAN

Advertisement

Table of Contents
loading

Table of Contents