DGS-6604
ip trusted-host
CLI Reference Guide
325
ip trusted-host
Use this command to create the trusted host entries on the switch. Use the
no ip
trusted-host
command to remove the trusted host entries.
ip trusted-host {
IP-ADDRESS | NETWORK-ADDRESS/PREFIX-LENGTH
} [snmp] [http] [telnet]]
no ip trusted-host
[IP-ADDRESS | NETWORK-ADDRESS/PREFIX-LENGTH]
[snmp] [http]
[telnet]
Default
No default hosts
Command Mode
Global configuration at privilege level 15.
Usage Guideline
The
ip-trusted host
command creates the trusted host entries with access to the
management interface. When a trusted-host is not configured, then all hosts are
trusted. When adding a trusted-host, if the access interface (snmp, http, or telnet)
is not specified, then it applies to all interfaces.
Once a trusted-host is configured with an access interface allowed, then only the
configured trusted-hosts are allowed access to the access interfaces associated
with their entry. If an access interface is not specified in the trusted-host list, then
all access to that access interface will be blocked.
The number of trusted hosts is project dependent.
For the no command, when the host is not specified, all hosts will be deleted for
the specified access interface. If no access interface is specified, the specified
host will be deleted for all access interfaces. If both the host and access interface
are not specified, all trusted hosts will be deleted.
Examples
This example shows how to add a trusted host with IP address 163.10.50.126 to
snmp access interface.
Syntax Description
IP-ADDRESS
IPv4 address of the trusted host.
NETWORK-
ADDRESS/PREFIX-
LENGTH
IPv4 network of the trusted host.
snmp
(Optional) Specifies that the host is valid for snmp.
http
(Optional) Specifies that the host is valid for http.
telnet
(Optional) Specifies that the host is valid for telnet.
Switch(config)# ip trusted-host 163.10.50.126 snmp
Summary of Contents for DGS-6600-48TS
Page 1: ...0 9 3...