nerdexam
Cisco

300-440 · Question #36

Drag and Drop Question An engineer must edit the settings of a site-to-site IPsec VPN connection between an on- premises Cisco IOS XE router and Amazon Web Services (AWS). IPsec must be configured…

The correct answer is crypto map cisco 1 ipsec-isakmp; set peer 192.168.10.1 default; set peer 192.168.20.1; set security-association idle-time 10 default. IPsec Crypto Map Command Ordering - Explained This question tests your knowledge of the correct sequence for configuring a multi-peer crypto map entry on Cisco IOS XE. --- The Correct Sequence `` crypto map cisco 1 ipsec-isakmp set peer 192.168.10.1 default set peer…

IPsec Cloud Connectivity

Question

Drag and Drop Question An engineer must edit the settings of a site-to-site IPsec VPN connection between an on- premises Cisco IOS XE router and Amazon Web Services (AWS). IPsec must be configured to support multiple peers and failover after 120 seconds of idle time on the first entry of the crypto map named Cisco. Drag and drop the commands from the left onto the order on the right. Answer:

Exhibit

300-440 question #36 exhibit

Answer Area

Drag items

set peer 192.168.10.1 defaultcrypto map cisco 1 ipsec-isakmpset security-association idle-time 10 defaultset peer 192.168.20.1

Correct arrangement

  • crypto map cisco 1 ipsec-isakmp
  • set peer 192.168.10.1 default
  • set peer 192.168.20.1
  • set security-association idle-time 10 default

Explanation

IPsec Crypto Map Command Ordering - Explained

This question tests your knowledge of the correct sequence for configuring a multi-peer crypto map entry on Cisco IOS XE.


The Correct Sequence

crypto map cisco 1 ipsec-isakmp
set peer 192.168.10.1 default
set peer 192.168.20.1
set security-association idle-time 10 default

Item-by-Item Explanation

1. crypto map cisco 1 ipsec-isakmp - Must come first

This is the entry point command that creates or enters the crypto map configuration context. It specifies:

  • cisco - the crypto map name (matches the question's "named Cisco")
  • 1 - the sequence number (first entry, as specified)
  • ipsec-isakmp - IKE-negotiated mode (required for dynamic SA negotiation with AWS)

All set sub-commands below are only valid inside this context. Nothing else can precede it - this is non-negotiable.


2. set peer 192.168.10.1 default - Primary peer

The default keyword designates this as the primary/default peer. In a multi-peer crypto map:

  • IOS XE tries peers in the order they are listed
  • The default keyword marks the peer to use when no more-specific match exists
  • This is the first AWS VPN tunnel endpoint (primary path)

Common mistake: Students sometimes put the non-default peer first, thinking "default" means fallback/secondary. It actually marks the primary endpoint, and its listing position also controls try-order.


3. set peer 192.168.20.1 - Secondary/failover peer

No default keyword here - this is the backup peer. When the primary peer's security association goes idle or fails, IOS XE automatically fails over to this peer. In AWS site-to-site VPN configurations, AWS provides two tunnel endpoints for redundancy - this is the second one.

Common mistake: Reversing the order of peers 2 and 3. The primary (default) peer must be declared before the secondary.


4. set security-association idle-time 10 default - SA idle timer

This sets how long an idle Security Association is kept before being torn down. When the SA is cleared due to idle timeout, the router attempts to re-establish using the next available peer - implementing the failover behavior described. The default keyword applies this as the baseline idle-time for the map entry.

Note on the value discrepancy: The question states "120 seconds of idle time" but the command shows idle-time 10. This appears to be an exam discrepancy - the question is testing which command and where it belongs in the sequence, not the specific value. On real IOS XE hardware, you would use set security-association idle-time 120 to match 120 seconds.

Common mistake: Placing the SA idle-time before the peer commands. While IOS may accept it either way, the correct and expected convention is: establish who you're talking to (peers) before setting how long to keep the conversation alive (SA timers).


Summary of Logic Flow

StepPurpose
Enter crypto map contextRequired before any sub-commands
Define primary peerFirst tried, marked default
Define secondary peerFailover target
Set SA idle timeControls when IOS abandons idle SA and fails over

The ordering follows a natural dependency chain: you must define where before you define how long.

Topics

#IPsec#crypto map#multiple peers#failover

Community Discussion

No community discussion yet for this question.

Full 300-440 Practice