Purpose
Command or Action
Device#
configure terminal
Configures Domain Name System (DNS).
{
ip
|
ipv6
}
name-server server-address 1
[
server-address
2
] [
server-address 3
] [
server-address 4
] [
server-address
5
] [
server-address 6
]
Step 3
Example:
Device(config)#
ip name-server 209.165.201.1
209.165.200.225 209.165.201.14 209.165.200.230
(Optional) Configures DNS on the VRF interface.
ip name-server vrf Mgmt-vrf server-address 1
[
server-address 2
] [
server-address 3
] [
server-address 4
]
[
server-address 5
] [
server-address 6
]
Step 4
You should configure this command as an
alternative to the
ip name-server
command.
Note
Example:
Device(config)#
ip name-server vrf Mgmt-vrf
209.165.201.1 209.165.200.225 209.165.201.14
209.165.200.230
(Optional) Configures the source interface for the DNS
domain lookup.
ip domain lookup source-interface interface-type
interface-number
Example:
Step 5
Device(config)#
ip domain lookup source-interface
Vlan100
Configures the domain name.
ip domain name example.com
Example:
Step 6
Device(config)#
ip domain name example.com
(Optional) Configures static hostname-to-address mappings
in the DNS hostname cache if automatic DNS mapping is
not available.
ip host tools.cisco.com ip-address
Example:
Device(config)#
ip host tools.cisco.com
209.165.201.30
Step 7
Configures a Layer 3 interface.
interface vlan_id
Example:
Step 8
Device(config)#
interface Vlan100
Device(config-if)#
ip address 192.0.2.10
255.255.255.0
Device(config-if)#
exit
Forms a server association with the specified system.
ntp server ip-address
[
version number
] [
key key-id
]
[
prefer
]
Step 9
The
ntp server
command is mandatory to
ensure that the device time is synchronized with
CSSM.
Note
Example:
Device(config)#
ntp server 198.51.100.100 version
2 prefer
System Management Configuration Guide, Cisco IOS XE Gibraltar 16.10.x (Catalyst 9200 Switches)
89
Configuring Smart Licensing
Setting Up a Connection to CSSM