Configuration Files
The configuration file on the Switch is as follows:
#
sysname Switch
#
vlan batch 100
#
interface Vlanif100
ip address 2.2.2.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port hybrid pvid vlan 100
port hybrid untagged vlan 100
#
ospf 1
area 0.0.0.0
network 2.2.2.0 0.0.0.255
#
bulk-stat enable
#
bulk-file file1
collect interval 10
transfer interval 10
transfer remain-time 10
transfer primary url ftp://user:pwd@server
collect enable
object 1.3.6.1.2.1.2.1.0 class single
object 1.3.6.1.2.1.2.2.1.4 class column
#
return
1.23.6 Example for Enabling the Extended Error Code Function on
the SNMP Agent
After configuring the SNMP error code function, the NMS can receive more detailed information
about the router.
Networking Requirements
As shown in
, a reachable switch exists between the NM station and the switch. The
NM station manages the switch through the SNMP agent.
Figure 1-8
Networking diagram of enabling the extended error code function on the SNMP
agent
IP network
Switch
NM station
Configuration Roadmap
The configuration roadmap is as follows:
1 SNMP Configuration
Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
1-88
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Issue 03 (2010-09-20)