DWS-3160 Series Gigabit Ethernet Unified Switch CLI Reference Guide
681
Format
config trusted_host [<ipaddr> | <ipv6addr> | network <network_address> | ipv6_prefix
<ipv6networkaddr>] [add | delete] {snmp | telnet | ssh | http | https | ping | all}
Parameters
<ipaddr>
- Enter the IP address of the trusted host here.
<ipv6addr>
- Enter the IPv6 address of the trusted host here.
network
– Specifies the network address of the trusted network.
<network_address>
- Enter the network address used here.
ipv6_prefix
– Specifies the IPv6 subnet prefix of the trusted network.
<ipv6networkaddr>
- Enter the IPv6 subnet prefix here.
add
- Add interfaces for that trusted host.
delete
- Delete interfaces for that trusted host.
snmp
- (Optional) Specifies trusted host for SNMP.
telnet
- (Optional) Specifies trusted host for TELENT.
ssh
- (Optional) Specifies trusted host for SSH.
http
- (Optional) Specifies trusted host for HTTP.
https
- (Optional) Specifies trusted host for HTTPs.
ping
- (Optional) Specifies trusted host for PING.
all
– (Optional) Specifies trusted host for all application.
Restrictions
Only Administrators and Operators can issue this command.
Example
To configure the trusted host:
DWS-3160-24PC:admin# config trusted_host 10.48.74.121 add ssh telnet
Command: config trusted_host 10.48.74.121 add ssh telnet
Success.
DWS-3160-24PC:admin#
77-4
show trusted_host
Description
This command is used to display a list of trusted hosts on the Switch.
Format
show trusted_host
Parameters
None.