display mad

Use display mad to display MAD status and settings.

Syntax

display mad [ verbose ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

verbose: Displays detailed MAD information. If you do not specify this keyword, the command only displays whether a MAD mechanism is enabled or disabled.

Examples

# Display brief MAD information.

<Sysname> display mad
MAD ARP enabled.
MAD ND enabled. 
MAD LACP disabled.
MAD BFD disabled.

# Display detailed MAD information.

<Sysname> display mad verbose
Multi-active recovery state: No
Excluded ports(user-configured):
  Vlan-interface999
Excluded ports(system-configured):
  Ten-GigabitEthernet1/3/0/25
  Ten-GigabitEthernet1/3/0/26
  Ten-GigabitEthernet2/3/0/27
  Ten-GigabitEthernet2/3/0/28
MAD ARP disabled.
MAD ND disabled.
MAD LACP enabled interface: Bridge-Aggregation 1
  MAD status                 : Normal
  Member ID       Port                             MAD status
  1               Ten-GigabitEthernet1/3/0/1       Normal
  2               Ten-GigabitEthernet2/3/0/1       Normal
MAD BFD enabled interface: VLAN-interface 3
  MAD status                 : Normal
  Member ID   MAD IP address       Neighbor    MAD status
  1           192.168.1.1/24       2           Normal
  2           192.168.1.2/24       1           Normal

Table 7: Command output

Field

Description

MAD ARP enabled.

Status of ARP MAD.

This field displays MAD ARP disabled if ARP MAD is disabled.

MAD ND enabled.

Status of ND MAD.

This field displays MAD ND disabled if ND MAD is disabled.

MAD LACP enabled.

Status of LACP MAD.

This field displays MAD LACP disabled if LACP MAD is disabled.

MAD BFD enabled.

Status of BFD MAD.

This field displays MAD BFD disabled if BFD MAD is disabled.

Multi-active recovery state

Whether the IRF fabric is in Recovery state:

  • Yes—The IRF fabric is in Recovery state. When MAD detects that an IRF fabric has split into multiple IRF fabrics, it allows one fabric to forward traffic. All the other IRF fabrics are set to the Recovery state. In Recovery state, MAD shuts down all network ports and interfaces in the fabric except for the following ports and interfaces:

    • IRF physical interfaces.

    • Ports and interfaces configured to not shut down.

  • No—The IRF fabric is not in Recovery state. It is active and can forward traffic.

Excluded ports(user-configured)

Ports and interfaces manually configured to not shut down when the IRF fabric transits to the Recovery state.

Excluded ports(system-configured)

Ports and interfaces set to not shut down by default when the IRF fabric transits to the Recovery state. These ports and interfaces are not user configurable.

MAD status

MAD operating status:

  • Normal—The MAD mechanism is operating correctly.

  • Faulty—The MAD mechanism is not operating correctly. Check the interface or port for connectivity or configuration problems. For example, verify that all member devices have member ports used for LACP MAD.

  • N/A—MAD link status cannot be detected. This field always displays N/A if BFD MAD is enabled on a management Ethernet port.

Member ID

IRF member ID of the local device.

Port

Member ports of the aggregate interface used for LACP MAD.

Neighbor

IRF member ID of the neighbor member device.