Command Manual – Integrated Management 
Quidway S8500 Series Routing Switches  Chapter 1  
HGMP V1 Configuration Commands
 
Huawei Technologies Proprietary 
1-11 
View 
HGMP view 
Parameter 
None 
Description 
Use the query hgmpport-mode command to display topology information about the 
networks connected to ports of the management device. 
To enable the management device to automatically collect information about the 
Ethernet switches attached to it, you need configure the networks connected to the 
ports of the management device to adopt star topology by using the spanning-hub 
command on the management device. 
Example 
# Display topology information about the networks connected to the ports of the 
management device. 
[Quidway-hgmp] query hgmpport-mode 
=============================================================== 
 port mode('X': spanning-hub mode) 
 port mode('-': tree mode) 
=============================================================== 
  SlotNo: 0 
  SlotNo: 1 
  SlotNo: 2 
  SlotNo: 3 
       SubSlotNo: 1 
 ------------------------------------------------------------- 
                    |0|0|0|0|0|0|0|0|0|1|1|1|1|1|1|1|1|1|1|2| 
                    |1|2|3|4|5|6|7|8|9|0|1|2|3|4|5|6|7|8|9|0| 
 ------------------------------------------------------------- 
                 0  |-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-|-| 
                20  |-|-|-|-|-|-|-|-|-|-|-|-| 
-------------------------------------------------------------- 
       SubSlotNo: 2 
 ------------------------------------------------------------- 
                    |0|0|0|0|0|0|0|0|0|1|1|1|1|1|1|1|1|1|1|2| 
                    |1|2|3|4|5|6|7|8|9|0|1|2|3|4|5|6|7|8|9|0| 
 ------------------------------------------------------------- 
                 0  |-|-|-|-| 
--------------------------------------------------------------