To specify the filename from which to read the public and private key, include the local key-pair statement at the [edit security ike policy ike-peer-address] hierarchy level:
- [edit security ike policy ike-peer-address ]
-
local-key-pair private-public-key-file;
private-public-key-file specifies the file from which to read the pair key.