
Step 6
Use the following command to examine information about a connection. You may examine information about a connection
by using this command:
nmcli -p con show <config>
This will typically scroll off of the console screen, leaving the beginning unreadable. To allow you to move back and
forth and examine the output easily, use this command:
nmcli -p con show <config> | less
From this, you can see the entire configuration. You can modify things in the configuration with:
nmcli con mod <config> <something>.<other> <new-value>
Example:
nmcli con mod my-office wifi-min.key-cntl wpa-psk
Step 7
Use the command
set-hostname
to set the hostname for the system:
hostnamectl set-hostname <hostname>.<domain>
This must be done before registering the local to the regional, otherwise an error will result about "localhost"
already existing.
Note
where
<hostname>
is the hostname you want to use and
<domain>
is the domain name, ending with .com, .org, and so
on. It is important to include the domain name (along with the .com, .org, or whatever ending is appropriate), since this
is used as the default for DNS lookups.
Example:
hostnamectl set-hostname my-server.gooddomain.com
Step 8
After you configure the networking you
must
restart CPNR in order for the interfaces to be properly discovered by
CPNR. Use the following commands to restart:
/etc/init.d/nwreglocal restart
(for Local RHEL/CentOS 6.x) or
systemctl
restart nwreglocal
(for Local RHEL/CentOS 7.x),
/etc/init.d/nwregregion restart
(for Regional RHEL/CentOS 6.x)
or
systemctl restart nwregregion
(for Regional RHEL/CentOS 7.x). If you fail to restart, it will result in a misconfigured
registration at the regional.
To develop a complete understanding of the usage of nmcli, search the internet for online resources on nmcli and CentOS
7.3.
Cisco Prime Network Registrar 9.1 Installation Guide
69
Configuring Network Access on CentOS 7.3 Using nmcli
Configuring Network Access on CentOS 7.3 Using nmcli
Содержание SH060
Страница 12: ...Cisco Prime Network Registrar 9 1 Installation Guide 6 Configuration Options Three Machine DNS Configuration ...
Страница 72: ...Cisco Prime Network Registrar 9 1 Installation Guide 66 Hardening Guidelines Hardening Guidelines ...
Страница 82: ...Cisco Prime Network Registrar 9 1 Installation Guide IN 4 Index ...