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:
D G S – 3 4 2 6 : 5 # l o g i n
C o m m a n d : l o g i n
U s e r N a m e :
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:
D G S - 3 4 2 6 : 5 # c r e a t e t r u s t e d _ h o s t n e t w o r k 1 0 . 2 3 . 2 3 . 2 3 / 8
C o m m a n d : c r e a t e t r u s t e d _ h o s t n e t w o r k 1 0 . 2 3 . 2 3 . 2 3 / 8
S u c c e s s .
D G S - 3 4 2 6 : 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: