huawei(config-acl-adv-3050)#
rule permit ip source 4.4.4.4 0.0.0.0
destination 10.10.1.2 0.0.0.0
huawei(config-acl-adv-3050)#
rule permit ip source 4.4.4.5 0.0.0.0
destination 10.10.1.2 0.0.0.0
huawei(config-acl-adv-3050)#
rule permit ip source 3.3.3.3 0.0.0.0
destination 10.10.1.2 0.0.0.0
huawei(config-acl-adv-3050)#
rule permit ip source 3.3.4.3 0.0.0.0
destination 10.10.1.2 0.0.0.0
huawei(config-acl-adv-3050)#
quit
huawei(config)#
packet-filter inbound ip-group 3050 port 0/19/0
huawei(config)#
packet-filter inbound ip-group 3050 port 0/19/1
4.
Configure SNMP.
l
Configure the community name and access authority.
huawei(config)#
snmp-agent community read public
huawei(config)#
snmp-agent community write private
l
Configure the contact information.
huawei(config)#
snmp-agent sys-info contact HW-075512345678
l
Configure the device local information.
huawei(config)#
snmp-agent sys-info location Shenzhen China
l
Configure the SNMP version.
The SNMP version must be the same as the SNMP version of the NMS. In this
example, the NMS version is set as SNMP V2C.
huawei(config)#
snmp-agent sys-info version v2c
5.
Enable trap sending.
huawei(config)#
snmp-agent trap enable standard
6.
Set the trap destination address.
huawei(config)#
snmp-agent target-host trap-hostname huawei address 2.2.2.2
trap-paramsname abc
huawei(config)#
snmp-agent target-host trap-hostname huawei123 address 2.2.2.3
trap-paramsname 123
7.
Set the trap source address.
huawei(config)#
snmp-agent trap source vlanif 10
Step 3
Configure the time server.
huawei(config)#
ntp-service unicast-server 4.4.4.4 source-interface
vlanif 10
huawei(config)#
ntp-service unicast-server 4.4.4.5 source-interface
vlanif 10
Step 4
Configure the log host.
huawei(config)#
loghost add 3.3.3.3 syslog-1
huawei(config)#
loghost activate ip 3.3.3.3
huawei(config)#
loghost add 3.3.4.3 syslog-2
huawei(config)#
loghost activate ip 3.3.4.3
Step 5
Configure the EMU.
This topic uses the fan and the PS4875L power supply as examples to describe how to configure
the environment monitoring unit (EMU).
By default, the default slave node number of the fan EMU is 0. In this example, assume that the
slave node number is 1. In this case, you need to set the DIP switch of the node address on the
fan monitoring unit as 1.
huawei(config)#
emu add 0 power4875l 0 0
huawei(config)#
emu add 1 fan 0 1
huawei(config)#
interface emu 0
SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
5 Configuration Example of MSTP Subtending Network
Issue 01 (2014-04-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
466