IP Security Operational Mode Commands
Table 1 summarizes the command-line interface (CLI) commands you can use to monitor and troubleshoot IP Security (IPsec) services. In the table, the commands are grouped by the interfaces on which they are supported. In the remainder of this chapter, the commands are listed in alphabetical order.
- Services Interfaces:
- M Series, MX Series and T Series routers—sp-fpc/pic/port or ms-fpc/pic/port. IPsec is also supported on the redundant services interface (rspnumber).
- Encryption Interfaces (M Series and T Series routers only) es-fpc/pic/port.
Table 1: IPsec Services Operational Mode Commands
Task | Command |
|---|---|
| Services Interface | |
Delete certificate authority (CA) digital certificates from the router. | |
Delete manually generated local digital certificate requests from the router. | |
Delete all CRLs from the router. | |
Clear public key infrastructure (PKI) key pair information for local digital certificates from the router. | |
Delete local digital certificates, certificate requests, and the corresponding public/private key pairs from the router. | |
Clear IPsec statistics. | |
Clear either Internet Key Exchange (IKE) or IPsec VPN security associations. | clear services ipsec-vpn ike security-associations clear services ipsec-vpn ipsec security-associations |
Request a digital certificate from a CA online by using the Simple Certificate Enrollment Protocol (SCEP). | |
Manually load a CA digital certificate from a specified location. | |
Verify the digital certificate installed for the specified certificate authority (CA). | |
Manually install a CRL on the router. | |
Manually generate a local digital certificate request in the Public-Key Cryptography Standards #10 (PKCS-10) format. | |
Generate a Public Key Infrastructure (PKI) public and private key pair for a local digital certificate. | |
Request a CA to enroll and install a local digital certificate online by using the SCEP. | |
Manually generate a self-signed certificate for the given distinguished name. | |
Manually load a local digital certificate from a specified location. | |
Verify the validity of the local digital certificate identifier. | |
Switch between the primary and backup IPsec VPN tunnels. | |
Display information about authentication keychains configured for the BGP Protocol, the LDP routing protocols, the Bidirectional Forwarding Detection (BFD) Protocol, and the IS-IS Protocol. | |
Display information about certificate authority (CA) digital certificates installed in the router. | |
Display information about manually generated local digital certificate requests that are stored in the router. | |
Display information about the certificate revocation lists (CRLs) that are stored in the router. | |
Display information about the local digital certificates and the corresponding public keys installed in the router. | |
Display IKE VPN security associations for service sets. | |
Display IPsec VPN security associations for service sets. | |
Display IPsec VPN statistics for service sets. | |
| Encryption Interface | |
Clear Internet Key Exchange (IKE) security associations. | |
Clear IPsec security associations. | |
Switch between primary and backup interfaces and tunnels. | |
Obtain a public key certificate from a certification authority. | |
Generate a public and private key pair. | |
Add a certificate provided by the Juniper Networks certificate authority. | |
Display IKE security association information. | |
Display primary and backup interface and tunnel information. | |
Display IPsec security association information. | |
Display installed certificates signed by the Juniper Networks certificate authority. | |
![]() | Note: For information about how to configure IPsec services, see the Junos Services Interfaces Configuration Release 12.3 for adaptive services interfaces and the Junos OS System Basics Configuration Guide for encryption interfaces. |
