EasyManuals Logo

HPE FlexNetwork 5130 HI SERIES User Manual

HPE FlexNetwork 5130 HI SERIES
378 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #178 background imageLoading...
Page #178 background image
169
Syntax
snmp-agent { inform | trap } source interface-type interface-number
undo snmp-agent { inform | trap } source
Default
The SNMP agent uses the IP address of the outgoing interface as the source IP address of
notifications.
Views
System view
Predefined user roles
network-admin
Parameters
inform: Specifies informs.
trap: Specifies traps.
Usage guidelines
The snmp-agent source command enables the SNMP agent to use the primary IP address of an
interface as the source IP address in all its SNMP informs or traps, regardless of their outgoing
interfaces. An NMS can use this IP address to filter all the informs or traps sent by the SNMP agent.
Make sure the specified interface has been created and assigned a valid IP address. The
configuration will fail if the interface has not been created and will take effect only after a valid IP
address is assigned to the specified interface.
Examples
# Configure the primary IP address of GigabitEthernet 1/0/1 as the source address of SNMP traps.
<Sysname> system-view
[Sysname] snmp-agent trap source gigabitethernet 1/0/1
# Configure the primary IP address of GigabitEthernet 1/0/2 as the source address of SNMP informs.
<Sysname> system-view
[Sysname] snmp-agent inform source gigabitethernet 1/0/2
Related commands
snmp-agent target-host
snmp-agent trap enable
snmp-agent calculate-password
Use snmp-agent calculate-password to calculate the encrypted form for a key in plaintext form.
Syntax
In non-FIPS mode:
snmp-agent calculate-password plain-password mode { 3desmd5 | 3dessha | aes192md5 |
aes192sha | aes256md5 | aes256sha | md5 | sha } { local-engineid | specified-engineid
engineid }
In FIPS mode:
snmp-agent calculate-password plain-password mode { aes192sha | aes256sha | sha }
{ local-engineid | specified-engineid engineid }

Table of Contents

Other manuals for HPE FlexNetwork 5130 HI SERIES

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HPE FlexNetwork 5130 HI SERIES and is the answer not in the manual?

HPE FlexNetwork 5130 HI SERIES Specifications

General IconGeneral
BrandHPE
ModelFlexNetwork 5130 HI SERIES
CategorySwitch
LanguageEnglish

Related product manuals