xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
595
88
T
RUSTED
H
OST
C
OMMANDS
Trusted Host is a security feature which denies an illegal network address to access the switch.
The Trusted Host commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in
the following table.
Command
Parameters
create trusted_host
[<ipaddr> | network <network_address>]
delete trusted_host
[ipaddr <ipaddr> | network <network_address> | all]
show trusted_host
Each command is listed, in detail, in the following sections.
create trusted_host
Purpose
Used to create the trusted host.
Syntax
create trusted_host [<ipaddr> | network <network_address>]
Description
The create trusted host command creates the trusted host. The switch allows you to specify
up to three 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.
When the access interface is not specified, the trusted host will be created for all interfaces.
Parameters
ipaddr
- The IP address of the trusted host.
network
- The network address of the trusted network. The form of network address is
xxx.xxx.xxx.xxx/y.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To create a trusted host:
DGS-3450:admin# create trusted_host 10.48.74.121
Command: create trusted_host 10.48.74.121
Success.
DGS-3450:admin#
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
The delete trusted_host 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
- The network address of the trusted network.