Command Manual – Integrated Management
Quidway S8500 Series Routing Switches Chapter 1
HGMP V1 Configuration Commands
Huawei Technologies Proprietary
1-44
View
lanswitch view
Parameter
spec-port: Port number of the port to be queried.
index: Index for the address entry, in the range of 1 to 4,095.
shownum: Number of entries to be queried, in the range of 1 to 100. For output
information with more than 100 entries, only the first 100 entries are displayed.
Description
Use the query uniaddr port command to query the unicast address entries of a
specified port of an Ethernet switch.
Example
# Query the unicast address entries of the port 2 of the Ethernet switch with a position
parameter of 3/1/3-/.
[Quidway-lanswitch3/1/3-/] query uniaddr port 2 1 50
Waiting.....
================Result of Inquire AddrTable=======================
Index Mac-addr Aged | Index Mac-addr Aged
0 00-e0-fc-01-10-00 1 | 1 00-00-00-00-00-00 0
=======================Some Explain===============================
1 Aged mean:0-No aged,other value- aged to delete
2 Total Number of the addrtable : 1
=========================End===================================
Table 1-14 Description on the fields of the query uniaddr port command
Field Description
Index Index of an address entry
Mac-addr Unicast MAC address
Aged
Indicates whether an address entry can be aged. The value of 0
indicates the entry is not aged. Other values indicate the address entry
can be aged. An aged address entry is removed by the system.
1.3.21 query used addrnum
Syntax
query used addrnum