Example
snmp-agent local-switch fabricid
Syntax
View
Parameter
Description
Related command:
Example
snmp-agent log
Syntax
View
Parameter
# Create an SNMP group group1 on an SNMPv3 enabled device, no
authentication, no privacy.
<Sysname> system-view
[Sysname] snmp-agent group v3 group1
snmp-agent local-switch fabricid switch fabricid
undo snmp-agent local-switch fabricid
System view
switch fabricid: Engine ID, an even number of hexadecimal characters, in the
range 10 to 64. Its length must not be an odd number, and the all-zero and all-F
strings are invalid.
Use the
snmp-agent local-switch fabricid
switch fabric ID for an SNMP entity.
Use the
undo snmp-agent local-switch fabricid
default.
By default, the switch fabric ID of a device is the combination of company ID and
device ID. Device ID varies by product; it could be an IP address, a MAC address, or
a self-defined string of hexadecimal numbers.
Notice that if the newly configured switch fabric ID is not the same as the one
used for creating the USM user, the user is invalid.
snmp-agent usm-user.
# Configure the local switch fabric ID to be 123456789A.
<Sysname> system-view
[Sysname] snmp-agent local-switch fabricid 123456789A
snmp-agent log { all | get-operation | set-operation }
undo snmp-agent log { all | get-operation | set-operation }
System view
all: Enables logging of SNMP GET and SET operations.
get-operation: Enables logging of SNMP GET operation.
command to configure a local
command to restore the
2339