This example shows the configuration of a CLI-based packet mirroring session for subscribers. . The mirroring session replicates all traffic associated with each user, and then sends the replicated traffic to the analyzer device.
Now, when the subscriber logs in , the packet mirroring session starts and the subscriber’s replicated traffic is sent to the remote analyzer device.
host1# show mirror subscribers
Subscriber ID ID Secure Secure Mirrored
Method Policy Type Policy List Sessions
------------------ ---------- ----------- ---------------- --------
lac:jwbooth@isptheatre.com username l2tp l2tp_toMirrorHQ 1
x:12000004:circuit id:45.y:12000004:remote id:89 dhcp-option-82 IP secure-ipv4-policy 1
x:12000001:pppoe agent circuit id:47 agent-circuit-id IP secure-ipv4-policy 1
79:3a:02:00:00:02:3a:72:65:6d:6f:74:65:20:69:64:3a:35 agent-remote-id IP secure-ipv4-policy 1
host1# show secure policy-list
Policy Table
------ -----
Secure L2TP Policy l2tp_toMirrorHQ
Administrative state: enable
Reference count: 2
Classifier control list: *
mirror analyzer-ip-address 192.168.99.2 analyzer-virtual-router default analyzer-udp-port 6500 mirror-id 1 session-id 1
Referenced by interface(s):
TUNNEL l2tp:5/1/5 secure-input policy
TUNNEL l2tp:5/1/5 secure-output policy
Secure IP Policy secure-ipv4-policy
Administrative state: enable
Reference count: 6
Classifier control list: *
mirror analyzer-ip-address 19.0.0.2 analyzer-virtual-router default analyzer-udp-port 2500 mirror-identifier 1 session-identifier 1
Referenced by interface(s):
ip100.1.1.3 secure-input policy, statistics disabled, virtual-router default
ip100.1.1.3 secure-output policy, statistics disabled, virtual-router default