< Home

display mad

Function

The display mad command displays the multi-active detection (MAD) configuration.

Format

display mad [ proxy | verbose ]

Parameters

Parameter Description Value

proxy

Displays information about the proxy device.

-

verbose

Displays detailed MAD configuration.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

To check the MAD configuration, run the display mad command. If the verbose parameter is specified, detailed MAD configuration is displayed, including MAD-enabled interfaces and interfaces excluded from shutdown.

When MAD in relay mode is configured, you can run the display mad proxy command on the proxy device to check its MAD configuration.

Example

# Display MAD configuration.
<HUAWEI> display mad
Current MAD domain: 0 
MAD direct detection enabled: YES                                       
MAD relay detection enabled: NO 
# Display detailed MAD configuration.
<HUAWEI> display mad verbose
Current MAD domain: 0 
Current MAD status: Detect                                                      
Mad direct detect interfaces configured:                                
 GigabitEthernet2/0/8
 GigabitEthernet2/0/9
Mad relay detect interfaces configured:                                 
Excluded ports(configurable):                                                   
 GigabitEthernet2/0/4
Excluded ports(can not be configured): 

# Display information about the specified proxy device.

<HUAWEI> display mad proxy
Mad relay interfaces configured:
 Eth-Trunk1 
Table 1 Description of the display mad command output

Item

Description

Current MAD domain

MAD domain configured in the system. To configure this parameter, run the mad domain command.

MAD direct detection enabled

MAD in direct mode is configured. To configure MAD in direct mode, run the mad detect mode direct command.

MAD relay detection enabled

MAD in relay mode is configured. To configure MAD in relay mode, run the mad detect mode relay command.

Current MAD status

Current MAD status:
  • Detect: The stack is running properly.

  • Recovery: The switch that fails master switch election in a MAD scenario enters the Recovery state and blocks all of its service ports except those excluded from shutdown.

Mad direct detect interfaces configured

Interface on which MAD in direct mode is configured. To configure MAD in direct mode on an interface, run the mad detect mode direct command.

Mad relay detect interfaces configured

Interface on which MAD in relay mode is configured. To configure MAD in relay mode on an interface, run the mad detect mode relay command.

Excluded ports(configurable)

Interfaces excluded from shutdown. To configure interfaces excluded from shutdown, run the mad exclude command.

Excluded ports(can not be configured)

Interfaces that are excluded from shutdown in the system by default.

Mad relay interfaces configured

Interface on which the relay function is configured. To configure the relay function on an interface, run the mad relay command.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >