VPN and Overlay Commands Flashcards
VPN, LISP, VXLAN
Command to create a tunnel interface
Router(config)# int tunnel {number}
Add an IP address to a GRE tunnel
Router(config-if)# ip address ip-address subnet-mask
Define the source and destination of a tunnel interface
Router(config-if)# tunnel source {interface-id | ip-address}
Router(config-if)# tunnel destination {remote-ip-address}
Define keepalives on a GRE tunnel
Router(config-if)# keepalives {seconds} {repeat-interval}
Define the bandwidth of a GRE tunnel (optional)
Router(config-if)# bandwidth {kbps}
Define the max MTU on a GRE tunnel (optional)
Router(config-if)# ip mtu {mtu-size}
Adjust the TTL value on a GRE tunnel (optional)
Router(config-if)# tunnel ttl {1-255}
The 6 commands needed to create the ISAKMP policy for the IKEv1 phase of the tunnel.
Router(config)# crypto isakmp policy {priority-number}
Router(config-isakmp)# hash {sha | sha256 | sha384 | md5}
Router(config-isakmp)# authentication {rsa-sig | rsa-encr | pre-share}
Router(config-isakmp)# group {1 | 2 | 5 | 14 | 15 | 16 | 19 | 20 | 24}
Router(config-isakmp)# lifetime {*0 - *}
Router(config-isakmp)# encryption {des | 3des | aes | aes 192 | aes 256}
If needed for authentication, create a isakmp pre-shared key.
Router(config)# crypto isakmp key SHAREDKEY address peer-ip-address [mask]
Creates a IPSec Transform Set
Router(config)# crypto ipsec transform-set NAME {transform-1} {transform-2} [transform-3]
Name common transforms for ESP encryption types.
- esp-aes
- esp-aes 192
- esp-aes 256
- esp-seal
- esp-gcm
- esp-gmac
Name common transforms for ESP authentication types.
- esp-sha-hmac
- esp-sha256-hmac
- esp-sha512-hmac
- esp-md5-hmac
Create an IPSEC profile and associate a Transform Set.
Router(config)# crypto ipsec profile NAME
Router(ipsec-profile)# set transform-set TRANS-SET-NAME
Specify the ipsec tunnel mode
Router(config)# int tunnel number
Router(config)# tunnel mode ipsec {ipv4 | ipv6}
Apply the IPSec Profile to the tunnel
Router(config)# int tunnel number
Router(config-if)# tunnel protection ipsec profile PROFILE-NAME