D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
59
create trusted_host
Description
This command is used to create a trusted host. The Switch allows users to specify up
to ten IP addresses that are allowed to manage the Switch via in-band SNMP or
Telnet-based management software. These IP addresses must be members of the
Management VLAN. If no IP addresses are specified, then there is nothing to prevent
any IP address from accessing the Switch, provided the user knows the Username and
Password.
Parameters
<ipaddr> The IP address of the trusted host to be created.
<network_address> The IP address and netmask of the trusted host to be created.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To create a trusted host:
DES-3200-28:4#create trusted_host 10.48.74.121
Command: create trusted_host 10.48.74.121
Success.
DES-3200-28:4#
To create a trusted host network:
DES-3200-28:4#create trusted_host network 10.48.0.0/16
Command: create trusted_host network 10.48.0.0/16
Success.
DES-3200-28:4#
delete trusted_host
Purpose
Used to delete a trusted host entry made using the create trusted_host command
above.
Syntax
delete trusted _host [ipaddr <ipaddr> | network <network_address> | all]
Description
This command is used to delete a trusted host entry made using the create
trusted_host command above.
Parameters
<ipaddr> The IP address of the trusted host.
<network_address> – The network address of the trusted network.
all – All trusted hosts will be deleted.
Restrictions
Only Administrator-level users can issue this command.