Huawei Quidway S9300 Configuration Manual - Network Management page 141

Terabit routing switch
Hide thumbs Also See for Quidway S9300:
Table of Contents

Advertisement

Quidway S9300 Terabit Routing Switch
Configuration Guide - Network Management
<Quidway> system-view
[Quidway] vlan 10
[Quidway-Vlan10] quit
[Quidway] interface gigabitethernet 2/0/0
[Quidway-GigabitEthernet2/0/0] port hybrid pvid vlan 10
[Quidway-GigabitEthernet2/0/0] port hybrid untagged vlan 10
Step 2 Configure the VLANIF interface and assign an IP address to the VLANIF interface.
[Quidway] interface vlanif 10
[Quidway-Vlanif10] ip address 10.1.1.1 24
Step 3 Configure RMON2.
# Configure the hlHostControlTable. Set the index to 123, and the maximum number of entries
in the nlHostTable to 100.
[Quidway] rmon2 hlhostcontroltable index 123 datasource interface vlanif 10
maxentry 100 owner china status active
# Configure the protocolDirTable. The protocol ID currently supported is 8.0.0.0.1.0.0.8.0; the
value of parameter currently supported is 2.0.0; the value of host is suppurtedon (that is,
collecting traffic statistics for this protocol).
[Quidway] rmon2 protocoldirtable protocoldirid 8.0.0.0.1.0.0.8.0 parameter 2.0.0
descr IP host supportedon owner china status active
Step 4 Verify the configuration.
# View information about the nlHostTable.
<Quidway> display rmon2 nlhosttable hostcontrolindex 123
Abbreviation:
HIdx - hlHostControlIndex
PIdx - ProtocolDirLocalIndex
Addr - nlHostAddress
InPkts - nlHostInPkts
OutPkts - nlHostOutPkts
InOctes - nlHostInOctets
OutOctes - nlHostOutOctets
OutMac - nlHostOutMacNonUnicastPkts
ChgTm - nlHostTimeMark
CrtTm - nlHostCreateTime
HIdx
123
123
# View the traffic of a host with the specified IP address.
<Quidway> display rmon2 nlhosttable hostcontrolindex 123 hostaddress 10.110.99.2
Abbreviation:
HIdx - hlHostControlIndex
PIdx - ProtocolDirLocalIndex
Addr - nlHostAddress
InPkts - nlHostInPkts
OutPkts - nlHostOutPkts
InOctes - nlHostInOctets
OutOctes - nlHostOutOctets
OutMac - nlHostOutMacNonUnicastPkts
ChgTm - nlHostTimeMark
CrtTm - nlHostCreateTime
HIdx PIdx Addr
123
# Set the value of the time filter to display the entries that meet the filtering condition.
<Quidway> display rmon2 nlhosttable hostcontrolindex 123 timemark 1000 hostaddress
10.1.1.1
Abbreviation:
Issue 03 (2010-09-20)
PIdx Addr
InPkts
OutPkts
1
10.1.1.3
0
78
1
10.1.1.4
78
0
InPkts
1
10.110.99.2
0
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
InOctes
OutOctes
0
10046
10046
0
OutPkts
InOctes
OutOctes
78
0
2 RMON and RMON2 Configuration
OutMac
ChgTm
78
81489
0
81489
OutMac
ChgTm
10046
78
81489
CrtTm
40859
40859
CrtTm
40859
2-21

Advertisement

Table of Contents
loading

Table of Contents