(K) Konfiguracja protokołu IPsec over DMVPN*
Konfiguracja polisy isakmp
(config)# [no] crypto isakmp enable
Aktywuje / Dezaktywuje protokół ISAKMP.
(config)# crypto isakmp policy 1-10000(Priorytet)
Tworzy nową polisę ISAKMP o określonym numerze ID.
(config-isakmp)# encryption {des / 3des / aes {128 / 192 / 256}}
Określa wykorzystywany algorytm szyfrujący
(config-isakmp)# authentication {pre-share / rsa-encr / rsa-sig}
Określa metodę autentykacji.
* pre-share –
* rsa-encr –
* rsa-sig –
(config-isakmp)# group {1 / 2 / 5 / 15 / 16 / 19 / 20 / 21 / 24}
Określa numer grupy DH (Diffie-Hellman).
(config-isakmp)# hash {md5 / sha / sha256 / sha384 / sha512}
Określa algorytm haszujący (HASH).
(config-isakmp)# lifetime 60-86400(sekundy)(86400)
Określa czas życia połączenia IPsec.
Komendy Show, Debug, Clear
Komendy show running-config
# show running-config | section crypto isakmp
Wyświetla konfigurację polisy ISAKMP.
# show running-config | section crypto isakmp|crypto ipsec|crypto map|ip access-list
Wyświetla konfiguracje IPsec.
Komendy show IKE Phase 1
# show crypto isakmp sa
Wyświetla
# show crypto isakmp sa active
Wyświetla wszystkie aktywne asocjacje IKE SA (Internet Key Exchange Security Assosations).
# show crypto isakmp sa [detail]
Wyświetla
# show crypto isakmp profile
Wyświetla
# show crypto isakmp policy
Wyświetla skonfigurowane / domyślne polisy ISAKMP.
# show crypto isakmp key
Wyświetla
# show crypto isakmp default policy
Wyświetla
# show crypto isakmp diagnose error count
Wyświetla
Komendy show IKE Phase 2
# show crypto ipsec sa
Wyświetla szczegółowe informacje na temat asocjacji IPSec SA (Internet Protocol Security Security Assosations).
# show crypto ipsec sa detail
Wyświetla
# show crypto map
Wyświetla
Inne komendy show
# show crypto session [detail]
Wyświetla wszystkie asocjacje IKE SA (Internet Key Exchange Security Assosations).
# show crypto ipsec security-association lifetime
Wyświetla
# show crypto ipsec security-association idle-time
Wyświetla
# show crypto isakmp sa active
Wyświetla
Komendy debug
# debug crypto isakmp
Debaguje
# debug crypto ipsec
Debaguje
Komendy clear
# clear crypto isakmp
Czyści
# clear crypto sa
Czyści