Add (router) snmp community, Add (router) snmp community -8 – Black Box COMPACT T1 MT850A User Manual

Page 92

Advertising
background image

5-8

Compact T1 - Release 6.1

CLI Commands

add

add (router) snmp community

Use the add (router) snmp community command to add a SNMP community to an interface
on the specified Router card.

Syntax:

add {rtr_card-addr} snmp community {both|read|write}

{"community-name"} {ip-addr}

Example:

add 2 snmp community both "commune" 192.168.100.245

The example will allow the host 192.168.100.245 read/write access to the
Router card SNMP agent using the community name "commune". The Router is
located in slot 2.

{rtr_card-addr}

The slot number (1-6) that contains the Router (IP or CMG) card.

{both|read|write}

{"community-name"}

Name of the community to add with a maximum length of 10 characters. Must be enclosed
in quotes.

{ip-addr}

The IP address of the host that can access the SNMP agent via this community, in the form
of xxx.xxx.xxx.xxx, where xxx is between 0-255. The address "0.0.0.0" allows any host.

both

Will set the community to be read/write

read

Will set the community to be read-only

write

Will set the community to be write-only

Advertising