26
3.
Configuring ARP MAD detection
To configure ARP MAD:
To do…
Use the command…
Remarks
1.
Enter system view
system-view
—
2.
Assign a domain ID to the
IRF virtual device
irf domain
domain-id
Required.
By default, the domain ID of an
IRF virtual device is 0.
3.
Create a new VLAN
dedicated for ARP MAD
detection
vlan
vlan-id
Required.
The default VLAN on the switch
is VLAN 1.
4.
Return to system view
quit
—
5.
Enter Ethernet interface view
interface
interface-type interface-
number
—
6.
Assign the
port to the
VLAN
dedicated
for the ARP
MAD
detection
Access port
port access vlan
vlan-id
Required.
Select one approach according
to the port type.
ARP MAD detection has no
requirement on the link type of
the detection port, and you do
not need to modify the current
link type.
By default, the port is an access
port.
Trunk port
port trunk permit vlan
vlan-id
Hybrid port
port hybrid vlan
vlan-id
7.
Return to system view
quit
—
8.
Enter VLAN interface view
interface vlan
interface-number
—
9.
Assign the interface an IP
address
ip address
ip-address
{
mask
|
mask-
length
}
Required.
No IP address is assigned to
any VLAN interface by default.
10.
Enable ARP MAD
mad arp enable
Required.
By default, ARP MAD is
disabled.
Excluding a port from the shutdown action on detection of multi-active collision
By default all service ports of an IRF virtual device except the IRF ports are shut down when the IRF
virtual device transits to recovery state on detection of a multi-active collision. If a port must be kept in
the up state for special purposes such as telnet connection, exclude it from the shutdown action.
To configure a port not to shut down when the IRF virtual device transits to recovery state:
To do…
Use the command…
Remarks
1.
Enter system view
system-view
—
2.
Configure a service port not
to shut down when the IRF
virtual device transits to
recovery state
mad exclude interface
interface-type
interface-number
Required.
When an IRF virtual device
transits to recovery state, all its
service ports are shut down by
default.