Print Download PDF Send Feedback

Previous

Next

cp_conf client

Description

Configures the GUI clients that can use SmartConsoles to connect to the Security Management Server.

Notes:

Syntax

cp_conf client

add <GUI Client>

createlist <GUI Client 1> <GUI Client 2> ...

del <GUI Client 1> <GUI Client 2> ...

get

Parameters

Parameter

Description

-h

Shows the built-in usage.

<GUI Client>

<GUI Client> can be one of these:

  • One IPv4 address (for example, 192.168.10.20), or
    one IPv6 address (for example, 3731:54:65fe:2::a7)
  • One hostname (for example, MyComputer)
  • "Any" - To denote all IPv4 and IPv6 addresses without restriction
  • A range of IPv4 addresses (for example, 192.168.10.0/255.255.255.0), or
    a range of IPv6 addresses (for example, 2001::1/128)
  • IPv4 address wild card (for example, 192.168.10.*)

add <GUI Client>

Adds a GUI client.

createlist <GUI Client 1> <GUI Client 2> ...

Deletes the current allowed GUI clients and creates a new list of allowed GUI clients.

del <GUI Client 1> <GUI Client 2> ...

Deletes the specified the GUI clients.

get

Shows the allowed GUI clients.

Example 1 - Configure one IPv4 address

[Expert@MGMT:0]# cp_conf client get

There are no GUI Clients defined for this Security Management Server

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client add 172.20.168.15

172.20.168.15 was successfully added.

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client get

172.20.168.15

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client del 172.20.168.15

172.20.168.15 was deleted successfully

[Expert@MGMT:0]#

Example 2 - Configure one hostname

[Expert@MGMT:0]# cp_conf client get

There are no GUI Clients defined for this Security Management Server

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client add MySmartConsoleHost

MySmartConsoleHost was successfully added.

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client get

MySmartConsoleHost

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client del MySmartConsoleHost

MySmartConsoleHost was deleted successfully

[Expert@MGMT:0]#

Example 3 - Configure "Any"

[Expert@MGMT:0]# cp_conf client get

There are no GUI Clients defined for this Security Management Server

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client add "Any"

Any was successfully added.

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client get

Any

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client del "Any"

Any was deleted successfully

[Expert@MGMT:0]#

Example 4 - Configure a range of IPv4 addresses

[Expert@MGMT:0]# cp_conf client get

There are no GUI Clients defined for this Security Management Server

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client add 172.20.168.0/255.255.255.0

172.20.168.0/255.255.255.0 was successfully added.

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client get

172.20.168.0/255.255.255.0

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client del 172.20.168.0/255.255.255.0

172.20.168.0/255.255.255.0 was deleted successfully

[Expert@MGMT:0]#

Example 5 - Configure IPv4 address wild card

[Expert@MGMT:0]# cp_conf client get

There are no GUI Clients defined for this Security Management Server

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client add 172.20.168.*

172.20.168.* was successfully added.

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client get

172.20.168.*

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client del 172.20.168.*

172.20.168.* was deleted successfully

[Expert@MGMT:0]#

Example 6 - Delete the current list and create a new list of allowed GUI clients

[Expert@MGMT:0]# cp_conf client get

There are no GUI Clients defined for this Security Management Server

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client add 172.20.168.0/255.255.255.0

172.20.168.0/255.255.255.0 was successfully added.

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client get

172.20.168.0/255.255.255.0

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client createlist 192.168.40.0/255.255.255.0 172.30.40.55

New list was created successfully

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client get

192.168.40.0/255.255.255.0

172.30.40.55

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client createlist "Any"

New list was created successfully

[Expert@MGMT:0]#

 

[Expert@MGMT:0]# cp_conf client get

Any

[Expert@MGMT:0]#