
xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
21
login
Purpose Used to log in a user to the Switch’s console.
Syntax
login
Description This command is used to initiate the login procedure. The user will be prompted for a
Username and Password.
Parameters None.
Restrictions None.
Example usage:
To initiate the login procedure:
DGS–3426:5#login
Command: login
UserName:
create trusted_host
Purpose Used to create the trusted host.
Syntax
create trusted_host [<ipaddr> | network <network_address>]
Description This command creates the trusted host. The Switch allows specification of up to four 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 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-3426:5#create trusted_host network 10.23.23.23/8
Command: create trusted_host network 10.23.23.23/8
Success.
DGS-3426:5#
show trusted_host
Purpose Used to display a list of trusted hosts entered on the Switch using the create
trusted_host command above.
Syntax
show trusted_host {<network_address>}
Description This command is used to display a list of trusted hosts entered on the Switch using the
create trusted_host command above.
Parameters
<network_address> − The network address of the trusted host to be viewed.
Restrictions None.
Example usage:
To display the list of trusted hosts: