The display mdns service command displays service information recorded on the mDNS gateway.
Parameter |
Description |
Value |
---|---|---|
all |
Displays all service information recorded on the mDNS gateway. |
- |
name name |
Displays information about a specified service name recorded on the mDNS gateway. |
The service name must have been created. |
vlan vlan-id |
Displays service information provided by a specified service VLAN, which is recorded on the mDNS gateway. The VLAN ID indicates the VLAN that the service provisioning device belongs to. |
The service VLAN must have been created. |
verbose |
Displays detailed service information recorded on the mDNS gateway. If this parameter is not specified, the summary of service information recorded on the mDNS gateway is displayed. |
- |
The device functioning as the mDNS gateway maintains service information lists of all service provisioning devices on a network. You can run this command to check service information recorded on the device.
When a service name begins with a space or contains a question mark (?), the name parameter cannot be specified in this command.
# Display the summary of all services recorded on the mDNS gateway.
<HUAWEI> display mdns service all
MDNS Service Info:
Service name : Officejet Pro 8100 [C12FFA] (7)._printer._tcp.local
SRV Info:
Domain Name : HPC12FFA-156.local
Port : 515
A Info:
Domain Name : HPC12FFA-156.local
IP Address : 10.1.1.254
TXT Info:
Data Length : 297
Service name : _printer._tcp.local
PTR Info:
Domain Name : Officejet Pro 8100 [C12FFA] (7)._printer._tcp.local
Total: 2
# Display the details of all services recorded on the mDNS gateway.
<HUAWEI> display mdns service all verbose MDNS Service Info: Service name : Officejet Pro 8100 [C12FFA] (7)._printer._tcp.local SRV Info: Domain Name : HPC12FFA-156.local Port : 515 Cache Flush : 1 Class : 1 TTL : 120 Aging Time : 95 Data Length : 264 Priority : 0 Weight : 0 Vlan Id : 10 A Info: Domain Name : HPC12FFA-156.local IP Address : 10.1.1.254 Cache Flush : 1 Class : 1 TTL : 120 Aging Time : 115 Vlan Id : 10 TXT Info: Data Length : 297 Cache Flush : 1 Class : 1 TTL : 4500 Aging Time : 3400 Vlan Id : 10 Text : *** Service name : _printer._tcp.local PTR Info: Domain Name : Officejet Pro 8100 [C12FFA] (7)._printer._tcp.local Cache Flush : 0 Class : 1 TTL : 4500 Aging Time : 520 Data Length : 51 Vlan Id : 10 Total: 2
# Display information about the service _printer._tcp.local recorded on the mDNS gateway.
<HUAWEI> display mdns service name _printer._tcp.local MDNS Service Info: Service name : _printer._tcp.local PTR Info: Domain Name : Officejet Pro 8100 [C12FFA] (7)._printer._tcp.local Cache Flush : 0 Class : 1 TTL : 4500 Aging Time : 925 Data Length : 51 Vlan Id : 10 Total: 1
<HUAWEI> display mdns service vlan 10
MDNS Service Info:
Service name : 10.1.1.200.in-addr.arpa
PTR Info:
Domain Name : HPC13F0E-2214.local
Cache Flush : 1
Class : 1
TTL : 120
Aging Time : 90
Data Length : 19
Vlan Id : 10
A Info:
Domain Name : HPC13F0E-2214.local
IP Address : 10.1.1.252
Cache Flush : 1
Class : 1
TTL : 120
Aging Time : 40
Vlan Id : 10
Service name : 10.1.2.200.in-addr.arpa
PTR Info:
Domain Name : HPC12FFA-1383.local
Cache Flush : 1
Class : 1
TTL : 120
Aging Time : 25
Data Length : 19
Vlan Id : 10
A Info:
Domain Name : HPC12FFA-1383.local
IP Address : 10.1.2.251
Cache Flush : 1
Class : 1
TTL : 120
Aging Time : 25
Vlan Id : 10
Total: 2
Item |
Description |
---|---|
Service name |
Service name recorded on the mDNS gateway. |
SRV Info |
SRV type information, indicating service record information. |
Domain Name |
Domain name mapping the service name. |
Port |
Number of the port that provides the service. |
A Info |
A type information, indicating host record information. |
IP Address |
IP address mapping the domain name. |
TXT Info |
TXT type information, indicating description of service record information. |
Data Length |
TXT data length. |
PTR Info |
PTR type information, indicating that information is searched reversely, that is, the service provider is searched based on the service type. |
Total |
Number of services recorded on the mDNS gateway.
|
Cache Flush |
Service cache information. The value can be 0 or 1.
|
Class |
Type of the service.
|
TTL |
TTL of the service. |
Aging Time |
Time after the mDNS gateway records the service information, in seconds. |
Priority |
Service priority. |
Weight |
Service weight. |
Text |
Service text. |
Vlan Id |
Service VLAN ID, indicating the VLAN that the service provisioning device belongs to. |