7
IPsec VPN
146
IPsec troubleshooting commands
A
number
of
commands
can
be
used
to
diagnose
IPsec
tunnel
issues:
Using the flow CLI command
SEG
IPsec
traffic
consists
of
ESP
flows.
A
flow
is
unidirectional
and
ESP
traffic
consists
of
a
single,
unidirectional
flow.
ESP
flows
can
be
examined
using
the
flow
CLI
command.
For
example,
all
flows
could
be
examined
using
the
command:
Device:/>
flow
‐
show
Proto
Source
Destination
Timeout
‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐
ESP
core:53.0.0.1
ext:53.0.1.2:0x757d8003
125
ICMP
ipsec
‐
1:192.100.1.9:2048
gtp
‐
1:192.200.0.1:17683
7
ESP
ext:53.0.1.2
core:53.0.0.1:0x608f21ad
129
UDP
core:53.10.0.2:2152
int:53.10.0.1:2152
129
UDP
core:53.10.0.2:2123
int:53.10.0.1:2123
113
ESP
ext:53.0.1.2
core:53.0.0.1:0x42c5fd04
75
UDP
core:172.22.53.101:514
mgm:172.22.53.1:514
125
Caution:
It
is
important
to
be
aware
that
instead
of
decimal
port
numbers
in
the
flow
command
output
for
ESP,
the
values
displayed
are
SPI
numbers
and
these
are
specified
using
hexadecimal
.
The
reverse
flows
for
the
above
can
be
displayed
using
the
‐
verbose
option:
Device:/>
flow
‐
show
‐
verbose
Proto
Source
Destination
Timeout
‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐
ESP
core(0):53.0.0.1
ext:53.0.1.2:0x757d8003
126
...rev:
core(0):53.0.0.1
ext:53.0.1.2:0x757d8003
126
ICMP
ipsec
‐
1(33):192.100.1.9:2048
gtp
‐
1:192.200.0.1:17683
7
...rev:
ipsec
‐
1(33):192.100.1.9:17683
gtp
‐
1:192.200.0.1:0
7
ESP
ext(0):53.0.1.2
core:53.0.0.1:0x608f21ad
129
...rev:
ext(0):53.0.1.2
core:53.0.0.1:0x608f21ad
129
UDP
core(0):53.10.0.2:2152
int:53.10.0.1:2152
129
...rev:
core(0):53.10.0.2:2152
int:53.10.0.1:2152
129
UDP
core(0):53.10.0.2:2123
int:53.10.0.1:2123
110
...rev:
core(0):53.10.0.2:2123
int:53.10.0.1:2123
110
ESP
ext(0):53.0.1.2
core:53.0.0.1:0x42c5fd04
72
...rev:
ext(0):53.0.1.2
core:53.0.0.1:0x42c5fd04
72
UDP
core(0):172.22.53.101:514
mgm:172.22.53.1:514
121
...rev:
core(0):172.22.53.101:514
mgm:172.22.53.1:514
121
Note:
The
reverse
flows
in
the
output
above
(beginning
with
“
...rev:
”)
have
the
source
and
destination
shown
in
reverse
order
so
they
do
not
match
the
column
heading.