Step by Step Configure Router Vyata 6.5.41
Step by Step Configure Router Vyata 6.5.41
Syntax
show vpn ike secrets
Command Mode
Operational mode.
Parameters
None.
Usage Guidelines
Use this command to display information about pre-shared secrets recorded in the
system.
Examples
Example 2-60 shows the output of the show vpn ike secrets command.
Example 2‐60 “show vpn ike secrets” sample output
Secret: "secret"
Secret: "secret"
Syntax
show vpn ike status
Command Mode
Operational mode.
Parameters
None
Usage Guidelines
Use this command to see the status of the IKE process.
Examples
Example 2-61 shows the output of the show vpn ike status command.
Example 2‐61 “show vpn ike status” sample output
PID: 5832
vyatta@west>
Syntax
show vpn ipsec sa [peer peer [tunnel tunnel]]
Command Mode
Operational mode.
Parameters
peer Shows active IPsec security associations for the specified VPN
peer. The format is the IPv4 or IPv6 address of the peer.
tunnel Shows active IPsec security associations for the specified tunnel
to the specified peer. The tunnel argument is an integer that
uniquely identifies the tunnel to the specified peer. The range is 0
to 4294967295.
Usage Guidelines
Use this command to display information about remote VPN peers and IPsec security
associations (SAs) currently in effect.
Examples
Example 2-62 shows the output of the show vpn ipsec sa command.
Example 2‐62 “show vpn ipsec sa” sample output
Tunnel State Bytes Out/In Encrypt Hash NAT‐T A‐Time L‐Time Proto
‐‐‐‐‐‐ ‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐ ‐‐‐‐ ‐‐‐‐‐ ‐‐‐‐‐‐ ‐‐‐‐‐‐ ‐‐‐‐‐
1 up 0.0/0.0 aes128 sha1 yes 3415 3600 GRE
2 down n/a n/a n/a yes 0 3600 all
Peer ID / IP Local ID / IP
‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐‐
192.168.2.2 192.168.1.2
Tunnel State Bytes Out/In Encrypt Hash NAT‐T A‐Time L‐Time Proto
‐‐‐‐‐‐ ‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐ ‐‐‐‐ ‐‐‐‐‐ ‐‐‐‐‐‐ ‐‐‐‐‐‐ ‐‐‐‐‐
1 down n/a n/a n/a no 0 3600 GRE
vyatta@WEST>
Example 2-63 shows the output of the show vpn ipsec sa peer peer command.
Example 2‐63 “show vpn ipsec sa peer peer” sample output
Peer ID / IP Local ID / IP
‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐‐
1.1.1.2 192.168.1.2
Tunnel State Bytes Out/In Encrypt Hash NAT‐T A‐Time L‐Time Proto
‐‐‐‐‐‐ ‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐ ‐‐‐‐ ‐‐‐‐‐ ‐‐‐‐‐‐ ‐‐‐‐‐‐ ‐‐‐‐‐
1 up 0.0/0.0 aes128 sha1 yes 3415 3600 GRE
2 down n/a n/a n/a yes 0 3600 all
vyatta@WEST>
Example 2-64 shows the output of the show vpn ipsec sa peer peer tunnel tunnel
command.
Example 2‐64 “show vpn ipsec sa peer peer tunnel tunnel” sample output
Peer ID / IP Local ID / IP
‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐‐
1.1.1.2 192.168.1.2
Tunnel State Bytes Out/In Encrypt Hash NAT‐T A‐Time L‐Time Proto
‐‐‐‐‐‐ ‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐ ‐‐‐‐ ‐‐‐‐‐ ‐‐‐‐‐‐ ‐‐‐‐‐‐ ‐‐‐‐‐
1 up 0.0/0.0 aes128 sha1 yes 3415 3600 GRE
vyatta@WEST>
Syntax
show vpn ipsec sa detail [peer peer [tunnel tunnel]]
Command Mode
Operational mode.
Parameters
Usage Guidelines
Use this command to display detailed information about remote VPN peers and IPsec
security associations (SAs) currently in effect.
Examples
Example 2-65 shows the output of the show vpn ipsec sa detail command.
Example 2‐65 “show vpn ipsec sa detail” sample output
Tunnel 1:
State: up
Inbound SPI: 714f7f33
Outbound SPI: 8a84d58
Encryption: aes128
Hash: sha1
PFS Group: 5
CA:
C=US
ST=CA
L=BELMONT
O=Organization
CN=CertAuth
[email protected]
vyatta@WEST>
Example 2-66 shows the output of the show vpn ipsec sa detail peer peer command for
an x509 tunnel (note the “CA” information).
Example 2‐66 “show vpn ipsec sa detail peer peer” sample output
Tunnel 1:
State: up
Inbound SPI: 714f7f33
Outbound SPI: 8a84d58
Encryption: aes128
Hash: sha1
PFS Group: 5
CA:
C=US
ST=CA
L=BELMONT
O=Organization
CN=CertAuth
[email protected]
vyatta@WEST>
Syntax
show vpn ipsec sa nat-traversal
Command Mode
Operational mode.
Parameters
None.
Usage Guidelines
Use this command to display information about all active IPsec security associations that
are using RFC 3947 NAT Traversal.
Syntax
show vpn ipsec sa statistics [peer peer [tunnel tunnel]]
Command Mode
Operational mode.
Parameters
Usage Guidelines
Use this command to see statistics for active IPsec security associations.
Examples
Example 2-67 shows the output of the show vpn ipsec sa statistics command.
Example 2‐67 “show vpn ipsec sa statistics” sample output
Peer ID / IP Local ID / IP
‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐‐
1.1.1.2 192.168.1.2
Peer ID / IP Local ID / IP
‐‐‐‐‐‐‐‐‐‐‐‐ ‐‐‐‐‐‐‐‐‐‐‐‐‐
192.168.2.2 192.168.1.2
vyatta@WEST>
VPN 6.5R1 v01 Vyatta