snmp-server community
community-name
rw
2
Copy the
f10-copy-config.mib
MIB from the Dell iSupport web page to the server to which you are copying the configuration file.
3
On the server, use the
snmpset
command as shown in the following example.
snmpset -v
snmp-version
-c
community-name
-m
mib_path/
f10-copy-config.mib
force10system-ip-
address mib-object.index
{i | a | s}
object-value
...
•
Every specified object must have an object value and must precede with the keyword i. Refer to the previous table.
•
index
must be unique to all previously executed
snmpset
commands. If an index value has been used previously, a message like
the following appears. In this case, increment the index value and enter the command again.
Error in packet.
Reason: notWritable (that object does not support modification)
Failed object: FTOS-COPY-CONFIG-MIB::copySrcFileType.101
•
To complete the command, use as many MIB objects in the command as required by the MIB object descriptions shown in the
previous table.
NOTE:
You can use the entire OID rather than the object name. Use the form:
OID.index i object-value
.
To view more information, use the following options in the
snmpset
command.
•
-c
: View the community, either public or private.
•
-m
: View the MIB files for the SNMP command.
•
-r
: Number of retries using the option
•
-t
: View the timeout.
•
-v
: View the SNMP version (either 1, 2, 2d, or 3).
The following examples show the
snmpset
command to copy a configuration. These examples assume that:
•
the server OS is UNIX
•
you are using SNMP version 2c
•
the community name is public
•
the file
f10-copy-config.mib
is in the current directory or in the snmpset tool path
Copying Configuration Files via SNMP
To copy the running-config to the startup-config from the UNIX machine, use the following command.
•
Copy the running-config to the startup-config from the UNIX machine.
snmpset -v 2c -c public
force10system-ip-address
copySrcFileType.
index
i 2
copyDestFileType.
index
i 3
Examples of Copying Configuration Files
The following examples show the command syntax using MIB object names and the same command using the object OIDs. In both cases, a
unique index number follows the object.
The following example shows copying configuration files using MIB object names.
> snmpset -v 2c -r 0 -t 60 -c private -m ./f10-copy-config.mib 10.10.10.10 copySrcFileType.101
i 2 copyDestFileType.101 i 3
FTOS-COPY-CONFIG-MIB::copySrcFileType.101 = INTEGER: runningConfig(2)
FTOS-COPY-CONFIG-MIB::copyDestFileType.101 = INTEGER: startupConfig(3)
The following example shows copying configuration files using OIDs.
> snmpset -v 2c -c public -m ./f10-copy-config.mib 10.10.10.10
.1.3.6.1.4.1.6027.3.5.1.1.1.1.2.100 i 2 .1.3.6.1.4.1.6027.3.5.1.1.1.1.5.100 i 3
FTOS-COPY-CONFIG-MIB::copySrcFileType.100 = INTEGER: runningConfig(2)
FTOS-COPY-CONFIG-MIB::copyDestFileType.100 = INTEGER: startupConfig(3)
776
Simple Network Management Protocol (SNMP)
Содержание S3048-ON
Страница 1: ...Dell Configuration Guide for the S3048 ON System 9 11 2 5 ...
Страница 137: ...0 Gi 1 1 Gi 1 2 rx Flow N A N A 0 0 No N A N A yes Access Control Lists ACLs 137 ...
Страница 142: ...Figure 10 BFD Three Way Handshake State Changes 142 Bidirectional Forwarding Detection BFD ...
Страница 241: ...Dell Control Plane Policing CoPP 241 ...
Страница 287: ... RPM Synchronization GARP VLAN Registration Protocol GVRP 287 ...
Страница 428: ...Figure 53 Inspecting the LAG Configuration 428 Link Aggregation Control Protocol LACP ...
Страница 429: ...Figure 54 Inspecting Configuration of LAG 10 on ALPHA Link Aggregation Control Protocol LACP 429 ...
Страница 432: ...Figure 56 Inspecting a LAG Port on BRAVO Using the show interface Command 432 Link Aggregation Control Protocol LACP ...
Страница 433: ...Figure 57 Inspecting LAG 10 Using the show interfaces port channel Command Link Aggregation Control Protocol LACP 433 ...
Страница 477: ...Figure 73 Configuring Interfaces for MSDP Multicast Source Discovery Protocol MSDP 477 ...
Страница 478: ...Figure 74 Configuring OSPF and BGP for MSDP 478 Multicast Source Discovery Protocol MSDP ...
Страница 479: ...Figure 75 Configuring PIM in Multiple Routing Domains Multicast Source Discovery Protocol MSDP 479 ...
Страница 483: ...Figure 77 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 483 ...
Страница 484: ...Figure 78 MSDP Default Peer Scenario 3 484 Multicast Source Discovery Protocol MSDP ...
Страница 634: ...protocol spanning tree pvst no disable vlan 300 bridge priority 4096 634 Per VLAN Spanning Tree Plus PVST ...
Страница 745: ...Figure 104 Single and Double Tag TPID Match Service Provider Bridging 745 ...
Страница 746: ...Figure 105 Single and Double Tag First byte TPID Match 746 Service Provider Bridging ...