Router 3
View the firewall filter counter to continue verifying that matched traffic is being diverted to the bidirectional IPSec tunnel. After you issue the
pingcommand from Router 1 (seven packets), thees-trafficfirewall filter counter looks like this:user@R3>show firewall filter es-trafficFilter: es-trafficCounters:Name Bytes Packetsipsec-tunnel 588 7After you issue the
pingcommand from both Router 1 (seven packets) and Router 4 (five packets), thees-trafficfirewall filter counter looks like this:user@R3>show firewall filter es-trafficFilter: es-trafficCounters:Name Bytes Packetsipsec-tunnel 1008 12To verify the success of the IKE security association, issue the
show ike security-associations detailcommand. Notice that the SA on Router 3 contains the same settings you specified on Router 2.user@R3>show ike security-associations detailIKE peer 10.1.15.1Role: Responder, State: MaturedInitiator cookie: b5dbdfe2f9000000, Responder cookie: a24c868410000041Exchange type: Main, Authentication method: Pre-shared-keysLocal: 10.1.15.2:500, Remote: 10.1.15.1:500Lifetime: Expires in 564 secondsAlgorithms:Authentication : sha1Encryption : 3des-cbcPseudo random function: hmac-sha1Traffic statistics:Input bytes : 2652Output bytes : 1856Input packets: 15Output packets: 10Flags: Caller notification sentIPSec security associations: 3 created, 4 deletedPhase 2 negotiations in progress: 0To verify that the IPSec security association is active, issue the
show ipsec security-associations detailcommand. Notice that the SA on Router 3 contains the same settings you specified on Router 2.user@R3>show ipsec security-associations detailSecurity association: sa-dynamic, Interface family: UpLocal gateway: 10.1.15.2, Remote gateway: 10.1.15.1Local identity: ipv4_subnet(any:0,[0..7]=10.1.56.0/24)Remote identity: ipv4_subnet(any:0,[0..7]=10.1.12.0/24)Direction: inbound, SPI: 1759450863, AUX-SPI: 0Mode: tunnel, Type: dynamic, State: InstalledProtocol: ESP, Authentication: hmac-sha1-96, Encryption: 3des-cbcSoft lifetime: Expires in 26427 secondsHard lifetime: Expires in 26517 secondsAnti-replay service: DisabledDirection: outbound, SPI: 2133029543, AUX-SPI: 0Mode: tunnel, Type: dynamic, State: InstalledProtocol: ESP, Authentication: hmac-sha1-96, Encryption: 3des-cbcSoft lifetime: Expires in 26427 secondsHard lifetime: Expires in 26517 secondsAnti-replay service: Disabled