|
Step 1
|
enable
|
Enables privileged EXEC mode.
|
|
Step 2
|
configure
terminal
Device# configure terminal
|
Enters global configuration mode.
|
|
Step 3
|
crypto
ca
trustpoint
name
Device(config)# crypto ca trustpoint ms-ca
|
Declares the Certificate Authority (CA) that your device should use and enters ca-trustpoint configuration mode.
|
|
Step 4
|
enrollment [mode] [retry period
minutes] [retry count
number] url
url [pem]
Device(ca-trustpoint)# enrollment url http://caserver.myexample.com - or-
Device(ca-trustpoint)# enrollment url http://[2001:DB8:1:1::1]:80
|
Specifies the following enrollment parameters of the CA:
-
(Optional) The mode keyword specifies the registration authority (RA) mode, if your CA system provides an RA. By default, RA mode is disabled.
-
(Optional) The retry period keyword and minutes argument specifies the period, in minutes, in which the device waits before sending the CA another certificate request. Valid
values are from 1 to 60. The default is 1.
-
(Optional) The retry count keyword and number argument specifies the number of times a device will resend a certificate request when it does not receive a response from
the previous request. Valid values are from 1 to 100. The default is 10.
-
The url argument is the URL of the CA to which your device should send certificate requests.
-
(Optional) The pem keyword adds privacy-enhanced mail (PEM) boundaries to the certificate request.
|
|
Step 5
|
source
interface
interface-address
Device(ca-trustpoint)# source interface gigabitethernet 0/1/0
|
Interface to be used as the source address for all outgoing TCP connections associated with that trustpoint.
|
|
Step 6
|
exit
Device(ca-trustpoint)# exit
|
Exits ca-trustpoint configuration mode and returns to global configuration mode.
|
|
Step 7
|
interface
type slot
/
port
Device(config)# interface gigabitethernet 1/0/1
|
Configures an interface type and enters interface configuration mode.
|
|
Step 8
|
description
string
Device(config-if)# description inside interface
|
Adds a description to an interface configuration.
|
|
Step 9
|
ip
address
ip-address mask
Device(config-if)# ip address 10.1.1.1 255.255.255.0
|
Sets a primary or secondary IP address for an interface.
|
|
Step 10
|
exit
|
Exits interface configuration mode and returns to global configuration mode.
|
|
Step 11
|
interface
type slot/port
Device(config-if)# interface gigabitethernet 1/0/2
|
Configures an interface and enters interface configuration mode.
|
|
Step 12
|
description
string
Device(config-if)# description outside interface 10.1.1.205 255.255.255.0
|
Adds a description to an interface configuration.
|
|
Step 13
|
ip
address
ip-address mask
Device(config-if)# ip address 10.2.2.205 255.255.255.0
|
Sets a primary or secondary IP address for an interface.
|
|
Step 14
|
crypto
map
map-name
Device(config-if)# crypto map mymap
|
Applies a previously defined crypto map set to an interface and enters crypto map configuration mode.
|
|
Step 15
|
end
Device(config-crypto-map)# end
|
Exits crypto map configuration mode and returns to privileged EXEC mode.
|