IPsec Flashcards

(8 cards)

1
Q

List IPsec Tunnels Command and show tunnel details

A

diagnose vpn tunnel list

get vpn ipsec tunnel details | summary

get ipsec tunnel list

get vpn ipsec stats tunnel

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Ike Gateway commands

A

diagnose vpn ike gateway list

gateway clear (name): closes phase 1 selector. Can leave name blank to clear ALL phase 1s in the VDOM

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

IKE Real-Time Debug

A

diagnose debug application ike (bitmask)
diagnose debug enable

Bitmask:
most common is -1 to enable all outputs.

should also enable timestamp:
diagnose debug console timestamp enable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

T or F: For IPsec, offloading is enabled by default

A

True

NPU

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

NPU Offloading flags for IPsec

A

npu_flag=

00 - Both IPsec SAs loaded to the Kernel
01 - Outbound offloaded
02 - Inbound offloaded
03 - both in/out are offloaded
20 - Unsupported, cannot be offloaded

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is traffic called when it has to travel through an IPsec tunnel?

A

Interesting

This is what triggers the VPN negotiation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Capturing IKE Traffic

A

No NAT:
IKE - UDP port 500
ESP - IP protocol 50

With NAT:
initially UDP port 500 and then UDP 4500 once NAT is detected
ESP is encapsulated in UDP port 4500

configurable port via CLI
config system settings
set ike-port (1024-65535)
end

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Common IPsec Problems and tactics

A

Tunnel not coming up? Real Time debug

Tunnel unstable? DPD packets

Tunnel is up but traffic not passing through? Debug flow

How well did you know this?
1
Not at all
2
3
4
5
Perfectly