To configure the router to support user-initiated mirroring, which starts when the user logs in:
- host1(config)#interface fastEthernet 4/0
- host1(config-if)#ip analyzer
Alternatively, for increased security, create the analyzer interface at one end of an IPSec tunnel to the analyzer device.
- host1(config)# interface tunnel ipsec:mirror3
transport-virtual-router default
- host1(config-if)#ip analyzer
- host1(config-if)#exit
- host1(config)#ip route 192.168.99.2 255.255.255.255
tunnel ipsec:mirror3