#将VLANIF100地址作为Trap报文的源地址。 <HUAWEI>system-view[HUAWEI]snmp-agent trap sourcevlanif100
# sysnameSwitchA # info-center source ARP channel 7 trap level informational info-center snmp channel 7 # vlan batch 2 # interface Vlanif2 ip address 10.1.1.2 255.255.255.0 # interfaceGigabitEthernet1/0/1port link-type trunk port trunk allow-pass vlan 2 # snmp-agent snmp-agent local-engin...
[LSW1-Vlanif10]ip add 10.1.1.2 24 2.使能信息中心功能 [LSW1]info-center enable 3.配置Trap信息输出到SNMP代理所使用的信息通道 [LSW1]info-center snmp channel channel7 4.配置向SNMP代理输出Trap信息的规则,缺省情况下,设备通过SNMP Agent输出所有模块的Trap信息 [LSW1]info-center source ARP channel c...
[LSW1-Vlanif10]ip add 10.1.1.2 24 2.使能信息中心功能 [LSW1]info-center enable 3.配置Trap信息输出到SNMP代理所使用的信息通道 [LSW1]info-center snmp channel channel7 4.配置向SNMP代理输出Trap信息的规则,缺省情况下,设备通过SNMP Agent输出所有模块的Trap信息 [LSW1]info-center source ARP channel c...
[SwitchA-Vlanif2] quit 配置SNMP Agent输出Trap信息到网管站 使能SNMP Agent,配置版本为SNMPv2c。 [SwitchA] snmp-agent sys-info version v2c 配置团体名。 [SwitchA] snmp-agent community write adminnms1 配置Trap功能。 [SwitchA] snmp-agent trap enable ...
[LSW1]int Vlanif 10 [LSW1-Vlanif10]ip add 10.1.1.2 24 2.使能信息中心功能 [LSW1]info-center enable 3.配置Trap信息输出到SNMP代理所使用的信息通道 [LSW1]info-center snmp channel channel7 4.配置向SNMP代理输出Trap信息的规则,缺省情况下,设备通过SNMP Agent输出所有模块的Trap信息 ...
# sysname SwitchA # info-center source ARP channel 7 trap level informational info-center snmp channel 7 # vlan batch 2 # interface Vlanif2 ip address 10.1.1.2 255.255.255.0 # interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 2 # snmp-agent snmp...
# sysname SwitchA # info-center source ARP channel 7 trap level informational info-center snmp channel 7 # vlan batch 2 # interface Vlanif2 ip address 10.1.1.2 255.255.255.0 # interface GigabitEthernet0/0/1 port link-type trunk port trunk a...
# sysname SwitchA # info-center source ARP channel 7 trap level informational info-center snmp channel 7 # vlan batch 2 # interface Vlanif2 ip address 10.1.1.2 255.255.255.0 # interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 2 # snmp-agent snmp...
# sysname SwitchA # info-center source ARP channel 7 trap level informational info-center snmp channel 7 # vlan batch 2 # interface Vlanif2 ip address 10.1.1.2 255.255.255.0 # interface GigabitEthernet0/0/1 port link-type trunk port trunk allow-pass vlan 2 # snmp-agent snmp-agent local...