2.0 VPN Technologies
IPsec & IKEv2 Practice Questions
IKEv2 peering/authentication, IPsec transform sets, and DMVPN tunnel protection.
All 19 IPsec & IKEv2 questions in this set
Answers and explanations appear when you work through the set above.
A hub needs to accept IKEv2 sessions from many spokes whose addresses are not known in advance, using a single shared PSK for all of them. How should the keyring peer entry be written?
- One peer statement per spoke, listed individually with a /32 mask
- One wildcard or summarized address-range peer entry covering the spokes, with the shared PSK
- The keyring cannot support unknown peers; certificates are mandatory in this scenario
- A peer entry with no address match at all, since IKEv2 always falls back to the default keyring
What does an IKEv2 profile primarily define, as distinct from an IKEv2 keyring?
- ESP encryption and integrity algorithms and the tunnel/transport encapsulation mode
- Peer identity matching, local/remote authentication methods and the keyring reference
- The routing protocol and metric used across the resulting tunnel
- The physical interface used as the tunnel source
Which IKEv2 profile command family specifies how the local router proves its own identity to the remote peer?
- authentication remote
- authentication local
- match identity remote
- keyring local <keyring-name>
An IKEv2 profile is configured with authentication local pre-share and authentication remote pre-share, but the tunnel never negotiates. The keyring has a correctly matching peer entry. What else must the profile reference for PSK authentication to succeed?
- A trustpoint pointing to a CA certificate
- The keyring, via keyring local in the profile
- An access list permitting UDP/500 and UDP/4500
- A transform set matching the peer's proposal
A DMVPN spoke's tunnel source sits behind a front-door VRF (FVRF) named INTERNET. What must the IKEv2 profile include for negotiation to succeed?
- A match fvrf INTERNET statement so IKEv2 looks up the peer in the correct VRF routing table
- An ip vrf forwarding INTERNET command applied to the profile's virtual-template interface only
- Nothing extra; IKEv2 always negotiates in the global routing table regardless of FVRF
- A separate keyring per VRF is mandatory even when addresses do not overlap
What does an IPsec transform set define?
- The peer identity and authentication method, including the PSK used to authenticate IKEv2 exchanges
- ESP/AH algorithms and encapsulation mode
- NHRP redirect and shortcut encapsulation behavior
- The IKEv2 Diffie-Hellman group used during rekey
Why is IPsec transport mode generally preferred over tunnel mode when protecting a GRE-based DMVPN tunnel?
- ESP requires transport mode for GRE packets because tunnel mode cannot encrypt a payload that already contains an IP header
- GRE already has an outer IP header; transport mode protects its payload without a second IP header
- Transport mode supports multicast while tunnel mode does not
- Transport mode removes the need for a tunnel protection profile
What does an IPsec profile combine, in the context of a GRE/DMVPN protection design?
- An interesting-traffic ACL and crypto map sequence, both attached directly to the GRE interface to select each protected spoke
- Transform set plus IKEv2/ISAKMP profile, attached to the tunnel without a crypto map
- NHRP network-id plus GRE tunnel key, used together to select the encryption algorithm
- A redistribution route-map plus prefix-list, selecting the peer PSK according to the routed destination
Which interface-level command actually applies IPsec protection to a DMVPN GRE tunnel interface?
- crypto map DMVPN-MAP applied under the tunnel interface
- tunnel protection ipsec profile <profile-name>
- ip nhrp map protection
- crypto ipsec transform-set applied directly under the tunnel interface
Which command shows negotiated IPsec security associations, including SPI values and encryption/authentication transforms in use, beyond the summary that show dmvpn detail provides?
- show crypto isakmp policy
- show crypto ipsec sa
- show ip nhrp detail, including negotiated SPI values
- show dmvpn, including negotiated ESP transform details
In show dmvpn detail output, the encrypted and decrypted packet counters for a spoke's crypto session are steadily incrementing. What does this confirm?
- The NHRP registration timer expired and its periodic refresh has succeeded
- Protected traffic is being encrypted and decrypted, beyond IKE establishment
- That the spoke is running DMVPN Phase 3
- That the transform set matches on both ends
What does the IPsec anti-replay window control, and where is it configured?
- It limits how many IKEv2 SA rekeys can occur before requiring reauthentication, configured under the IKEv2 profile
- The tolerated out-of-order sequence range, configured in global or crypto map/profile IPsec SA parameters
- It sets the maximum number of DMVPN spokes a hub can register, configured under the tunnel interface
- It is not configurable and is fixed by the transform set
Two routers negotiate IKEv2 successfully (show crypto ikev2 sa shows the SA up), but no traffic gets encrypted and show crypto ipsec sa shows zero packet counts on both sides. What is the most likely explanation?
- The missing authentication remote command permits IKEv2 to establish but prevents encryption of all data-plane packets
- No matching traffic, or a down/idle GRE tunnel, leaves IPsec with nothing to protect
- AES replaces 3DES in the transform set, causing IPsec counters to stay zero despite an established data SA
- An incorrect PSK allows IKEv2 to establish but blocks encryption of data-plane packets
During IKEv2 negotiation, a hub's proposal offers AES-256/SHA-256/DH group 14 while a spoke's proposal offers AES-128/SHA-1/DH group 2, with no overlapping matching set configured on either side. What is the outcome?
- The peers build a hybrid using hub encryption and spoke integrity algorithms
- Negotiation fails: no common offered algorithm combination means no IKEv2 SA
- The tunnel forms using the stronger of the two proposals automatically
- The tunnel forms in clear text since IKEv2 falls back to no encryption
Which authentication approach lets a hub authenticate hundreds of DMVPN spokes with no shared secret, so that one compromised spoke can be revoked on its own?
- A single global PSK configured with crypto isakmp key applied to all peers, ignoring identity
- RSA certificate authentication with a common CA/trustpoint instead of per-spoke PSKs
- Disabling authentication remote entirely
- Using AH instead of ESP
A network engineer wants asymmetric authentication, where the hub authenticates to spokes using a certificate but spokes authenticate to the hub with a pre-shared key. Is this supported, and where would it be configured?
- No, IKEv2 requires symmetric authentication, so a certificate-authenticated hub must require certificates from every spoke
- Yes, set independent authentication local and authentication remote methods in the IKEv2 profile
- Yes, but only in IKEv1, not IKEv2
- Yes, but it requires two separate IKEv2 profiles per peer
Which UDP ports must be reachable across the underlay path (and through any intervening firewall or NAT device) for IKEv2 and NAT-Traversal encapsulated ESP to establish successfully?
- UDP/500 (IKE) and UDP/4500 (NAT-T ESP)
- TCP/500 and TCP/4500 only
- UDP/50 for ESP payloads and UDP/51 for AH authentication
- UDP/1701 and UDP/1723
A DMVPN hub is being migrated from IKEv1 to IKEv2. Which existing configuration elements can still be reused largely unchanged?
- Replace transform sets, IPsec profiles and tunnel protection commands, because IKEv2 uses a different data-plane encryption format from IKEv1
- Reuse the IPsec transform set and tunnel protection attachment; replace ISAKMP policy with IKEv2 proposal/policy/profile/keyring
- The NHRP network-id, since it must change to match the new IKE version
- The routing protocol configuration, which must be rebuilt for IKEv2
A spoke's tunnel passes traffic normally but briefly drops at each periodic SA renewal. What should be investigated first?
- NHRP automatically changes its network-id at each IPsec renewal, forcing the spoke to register in a new tunnel domain
- Rekey failures or lifetime mismatches; successful rekeys overlap SAs to avoid traffic loss
- A duplicate IP address on the tunnel subnet
- The hub exceeding its NHRP cache size