lifetime
- モード
- IPsecプロファイルモード
- カテゴリー
- VPN / IPsec
構文
(config-ipsec-profile)# lifetime seconds <300-31449600>
(config-ipsec-profile)# no lifetime seconds
コマンド説明
対象IPsecプロファイルにおけるIPsec SAの有効期間を設定する。no形式で実行した場合は初期値に戻る。
初期値(本コマンド未設定時の値)は28800秒。
パラメーター
seconds <300-31449600>- IPsec SAの有効期間(秒)。指定時間が経過すると、IPsec SAは再ネゴシエートされる。本コマンド未設定時は28800秒
使用例
カスタムIPsecプロファイルsampleにおけるIPsec SAの有効期間を43200秒に設定する。awplus(config)# crypto ipsec profile sample awplus(config-ipsec-profile)# lifetime seconds 43200
カスタムIPsecプロファイルsampleにおけるIPsec SAの有効期間を初期値の28800秒に戻す。
awplus(config)# crypto ipsec profile sample awplus(config-ipsec-profile)# no lifetime seconds