HP 6125G HP 6125G & 6125G/XG Blade Switches IRF Command Reference-R210 - Page 23

mad restore

Page 23 highlights

Description Use mad ip address to assign a MAD IP address to an IRF member on a VLAN interface for BFD MAD. Use undo mad ip address to delete a MAD IP address. By default, no MAD IP address is configured on any VLAN interface. To use BFD MAD, you must configure a MAD IP address on a BFD MAD enabled VLAN interface for each IRF member, and make sure all the MAD IP addresses are on the same subnet. To avoid anomalies, do not assign the BFD MAD-enabled VLAN interface a common IP address, for example, an IP address configured with the ip address command or a VRRP virtual IP address. The master tries to establish BFD sessions with other members by using its MAD IP address as the source IP address: • If the IRF fabric is integrated, only the MAD IP address of the master is effective, and the master cannot establish a BFD session with any other member. If you execute the display bfd session command, the state of the BFD sessions is Down. • When the IRF fabric splits, the IP addresses of the masters in the partitioned IRF fabrics take effect, and the two masters can establish a BFD session. If you execute the display bfd session command, the state of the BFD session between the two devices is Up. Related commands: mad bfd enable. Examples # Assign a MAD IP address to IRF member 1 on VLAN-interface 3. system-view [Sysname] interface vlan-interface 3 [Sysname-Vlan-interface3] mad ip address 192.168.0.1 255.255.255.0 member 1 # Assign a MAD IP address to IRF member 2 on VLAN-interface 3. [Sysname-Vlan-interface3] mad ip address 192.168.0.2 255.255.255.0 member 2 mad restore Syntax View mad restore System view Default level 3: Manage level Parameters None Description Use mad restore to restore the normal MAD state of the IRF fabric in Recovery state. When MAD detects that an IRF fabric has split into multiple IRF fabrics, only the one whose master has the lowest member ID among all the masters can still forward traffic. All the other fabrics are set in Recovery state and cannot forward traffic. 20

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29

20
Description
Use
mad ip address
to assign a MAD IP address to an IRF member on a VLAN interface for BFD MAD.
Use
undo
mad
ip
address
to delete a MAD IP address.
By default, no MAD IP address is configured on any VLAN interface.
To use BFD MAD, you must configure a MAD IP address on a BFD MAD enabled VLAN interface for each
IRF member, and make sure all the MAD IP addresses are on the same subnet.
To avoid anomalies, do not assign the BFD MAD-enabled VLAN interface a common IP address, for
example, an IP address configured with the
ip address
command or a VRRP virtual IP address.
The master tries to establish BFD sessions with other members by using its MAD IP address as the source
IP address:
If the IRF fabric is integrated, only the MAD IP address of the master is effective, and the master
cannot establish a BFD session with any other member. If you execute the
display bfd session
command, the state of the BFD sessions is
Down
.
When the IRF fabric splits, the IP addresses of the masters in the partitioned IRF fabrics take effect,
and the two masters can establish a BFD session. If you execute the
display bfd session
command,
the state of the BFD session between the two devices is
Up
.
Related commands:
mad bfd enable
.
Examples
# Assign a MAD IP address to IRF member 1 on VLAN-interface 3.
<Sysname> system-view
[Sysname] interface vlan-interface 3
[Sysname-Vlan-interface3] mad ip address 192.168.0.1 255.255.255.0 member 1
# Assign a MAD IP address to IRF member 2 on VLAN-interface 3.
[Sysname-Vlan-interface3] mad ip address 192.168.0.2 255.255.255.0 member 2
mad restore
Syntax
mad restore
View
System view
Default level
3: Manage level
Parameters
None
Description
Use
mad restore
to restore the normal MAD state of the IRF fabric in Recovery state.
When MAD detects that an IRF fabric has split into multiple IRF fabrics, only the one whose master has
the lowest member ID among all the masters can still forward traffic. All the other fabrics are set in
Recovery state and cannot forward traffic.