Huawei SmartAX MA5603T Configuration Manual page 481

Access module
Hide thumbs Also See for SmartAX MA5603T:
Table of Contents

Advertisement

SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
2.
3.
4.
5.
6.
Issue 01 (2014-04-30)
huawei(config)#interface vlanif 10
l Configure the IP address of the NMS VLAN interface.
huawei(config-if-vlanif10)#ip address 10.10.1.3 255.255.255.0
huawei(config-if-vlanif10)#quit
Add the route.
l Configure the route destined to the NMS (Trap destination host).
huawei(config)#ip route-static 2.2.2.0 255.255.255.0 10.10.1.1
preference 1
l Configure the route destined to the time server.
huawei(config)#ip route-static 4.4.4.0 255.255.255.0 10.10.1.1
preference 1
l Configure the route destined to the log host.
huawei(config)#ip route-static 3.3.3.0 255.255.255.0 10.10.1.1
preference 1
huawei(config)#ip route-static 3.3.4.0 255.255.255.0 10.10.1.1
preference 1
Add the ACL rule.
huawei(config)#acl 3050
huawei(config-acl-adv-3050)#rule permit ip source any destination any
huawei(config-acl-adv-3050)#rule deny ip source any destination 10.10.1.2
0.0.0.0
huawei(config-acl-adv-3050)#rule permit ip source 2.2.2.2 0.0.0.0
destination 10.10.1.2 0.0.0.0
huawei(config-acl-adv-3050)#rule permit ip source 2.2.2.3 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.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
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.
NOTE
The SNMP version must be the same as that of NMS. In this example, the NMS version is set as SNMP
V2C.
huawei(config)#snmp-agent sys-info version v2c
Enable trap sending.
huawei(config)#snmp-agent trap enable standard
Set the trap destination address.
huawei(config)#snmp-agent target-host trap-hostname huawei address 2.2.2.2
trap-paramsname abc
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
5 Configuration Example of MSTP Subtending Network
456

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Smartax ma5600tSmartax ma5608t

Table of Contents