AlterPath ACS Command Reference Guide
155
Administration
CLI Method - SNMP
You can configure SNMP v1, v2 and v3 just using the CLI interface. The
steps below will give an overview of this process.
1. Open the CLI interface by issuing the command:
# CLI
a.
Configuring SNMP v1/v2.
cli>config network snmp v1v2 add community test1 oid .1 permission ro
source 192.168.0.200
The command presented above will configure SNMP v1/v2 with the following
characteristics:
•
community:
test1
•
OID:
.1
•
permission:
ro
(read only)
•
source (allowed host):
192.168.0.200
a.
Configuring SNMP v3.
cli>config network snmp v3 add username john password john1234 oid .1
permission ro
The command presented above will configure SNMP v1/v2 with the following
characteristics:
•
username:
john
•
password:
john1234
•
OID:
.1
•
permission:
ro
(read only)
Note:
The SNMP v3 password must be less than 31 characters.
a.
Activating the configuration.
cli>config runconfig
a.
Testing the configuration.
Considering that the targeted ACS has the IP address 192.168.0.1 and the Linux machine
from where the commands will be issued is 192.168.0.200, run the following commands:
For SNMP v1/v2
# snmpwalk -v 2c -c test1 192.168.0.1 .1
Содержание AlterPath ACS
Страница 16: ...xvi Table of Contents...
Страница 29: ...13 This page has been left intentionally blank...
Страница 30: ...14 Preface...
Страница 68: ...52 Device Access...
Страница 86: ...70 Authentication Step 5 Saving changes To save the configuration run the command saveconf...
Страница 96: ...80 Authentication Save the configuration to flash 2 cli config savetoflash...
Страница 114: ...98 Authentication...
Страница 204: ...188 Administration To exit the CLI mode and return to ACS s shell issue the command cli quit...
Страница 268: ...252 Power Management with AlterPath PM Integration...
Страница 304: ...288 PCMCIA Cards Integration...
Страница 338: ...322 Profile Configuration...
Страница 364: ...348 Additional Features and Applications...
Страница 376: ...360 Appendix A New User Background Information...
Страница 406: ...390 Appendix C Cabling and Hardware Information This page has been left intentionally blank...
Страница 418: ...402 List of Tables...
Страница 420: ...404 List of Figures...