Compaq Compaq TCP/IP Services for OpenVMS Servisní příručka Strana 138

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 228
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 137
SET CONFIGURATION SNMP
3.
TCPIP> SET CONFIGURATION SNMP /NOCOMMUNITY="rw"
Removes the
rw
(read/write) community (set in example 2.)
4.
TCPIP> SET CONFIGURATION SNMP /COMMUNITY="trapit" /TYPE=TRAP -
_TCPIP> /ADDRESS=136.20.0.10
Configures SNMP so that agents can send trap messages to the well-known
UDP port 162 on the host identified with the address 136.20.0.10.
5.
TCPIP> SET CONFIGURATION SNMP /FLAGS=AUTHEN_TRAPS -
_TCPIP> /COMMUNITY="trapit2" /TYPE=TRAP -
_TCPIP> /ADDRESS=(136.20.0.12,136.20.0.15)
Configures SNMP with the AUTHEN_TRAPS flag so that the master agent
sends trap messages when it detects a client request containing an invalid
community name. Also configures an additional trap community. Trap
messages, including authentication traps, go to all three addresses specified
in the trap communities configured in this example and in example 4.
6.
TCPIP> SET CONFIGURATION SNMP /COMMUNITY="rw2" /TYPE=WRITE -
_TCPIP> /ADDRESS=(136.20.0.15,136.20.0.100)
Configures community
rw2
, which gives read/write access to two hosts. Note
that one address can appear for more than one community, although a given
address cannot be specified more than once for a single community.
2–118 Command Descriptions
Zobrazit stránku 137
1 2 ... 133 134 135 136 137 138 139 140 141 142 143 ... 227 228

Komentáře k této Příručce

Žádné komentáře