Cisco 6000 Series Configuration Manual page 112

Interface and hardware component configuration guide for cisconcs 6000 series routers, ios xr release 6.4.x
Hide thumbs Also See for 6000 Series:
Table of Contents

Advertisement

Configure Traffic Mirroring
Running Configuration
/* Configure remote
configure
monitor-session session-name mpls-ipv
destination interface tunnel-ip
exit
interface HundredGigE 0/1/0/1
monitor-session mon1 mpls-ipv4 direction rx-only
!
/* Attach configurable source interface. */
interface HundredGigE 0/1/0/1
monitor-session mon1 mpls-ipv4 direction rx-only
acl acl1
!
/* Configure UDF-based ACL for traffic mirroring. */
udf udf3 header outer 14 0 length
ipv4 access-list acl1
10 permit ipv4 any any udf udf1 0x1234 0xffff udf3 0x56 0xff
exit
interface HundredGigE 0/2/0/2
monitor-session mon1 mpls-ipv4 direction rx-only
acl acl1
!
Verification
/* The following output displays the statistics of traffic mirroring sessions. */
/* Note that all source interfaces and the replicated packet statistics for each interface.
*/
Router# show monitor-session counters
Sat May 20 06:09:11.505 UTC
Monitor-session test1 (MPLS-IPv4)
TenGigE0/7/0/6/9.2
Rx replicated: 56197 packets, 43440281 octets
Tx replicated: 0 packets, 0 octets
Non-replicated: 0 packets, 0 octets
TenGigE0/7/0/6/9.3
Rx replicated: 56134 packets, 43391582 octets
Tx replicated: 0 packets, 0 octets
Non-replicated: 0 packets, 0 octets
TenGigE0/7/0/6/9.4
Rx replicated: 56126 packets, 43385398 octets
Tx replicated: 0 packets, 0 octets
/* The following output displays the configured traffic mirroring sessions. */
/* In this output, the list of source and destinations interfaces, their status, and other
pertinent details are displayed. */
Router# show monitor-session status
Sat May 20 06:48:29.133 UTC
Monitor-session mon1 (MPLS-IPv4)
Interface and Hardware Component Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
100
traffic mirroring. */
Configuring Traffic Mirroring

Advertisement

Table of Contents
loading

Table of Contents