2013年12月19日星期四

Configuring ARP Detection

The MA5600T/MA5680T/MA5608T is dual-homed to BRAS 1 and BRAS 2. The working links are Link1 and Link2, and the protection link is Link3. If Link1 is faulty and Link2 is normal, the MA5600T/MA5603T/MA5608T can switch services to Link3 by using ARP detection even though the upstream port on the MA5600T/MA5603T/MA5608T is functioning properly. This ensures uninterrupted service transmission.

To configure ARP detection in such a network scenario, do as follows:

//Configure the VLAN and Layer 3 interface IP address used for ARP detection of the local device.
huawei(config)#vlan 20 smart
huawei(config)#port vlan 20 0/19 0
huawei(config)#interface vlanif 20
huawei(config-if-vlanif20)#ip address 1.1.1.2 24
huawei(config-if-vlanif20)#ip address 2.2.2.2 24 sub
huawei(config-if-vlanif20)#quit
//Configure ARP detection for the working port.
huawei(config)#arp-detect arp_test1 bind peer-ip 1.1.1.1 vlan 20 port 0/19/0
huawei(config-arp-detect-arp_test1)# detect-multiplier 3
huawei(config-arp-detect-arp_test1)# min-tx-interval 2
huawei(config-arp-detect-arp_test1)#detect enable
huawei(config-arp-detect-arp_test1)#quit
//Configure ARP detection for the protection port.
huawei(config)#arp-detect arp_test2 bind peer-ip 2.2.2.1 vlan 20 port 0/19/1
huawei(config-arp-detect-arp_test2)#detect-multiplier 3
huawei(config-arp-detect-arp_test2)#min-tx-interval 2
huawei(config-arp-detect-arp_test2)#detect enable
huawei(config-arp-detect-arp_test2)#quit
//Query configurations of the working port.
huawei(config)#display arp-detect arp_test1                                   
 ---------------------------------------------------------------------------   
  Name       : arp-test2                          Admin State : Enable        
  Peerip     : 1.1.1.1                             Interval    : 2(s)          
  Vlan       : 20                                  Multiplier  : 3             
  F/S/P      : 0/19/0                              State       : Down           
 --------------------------------------------------------------------------- 
//Query configurations of the protection port.
huawei(config)#display arp-detect arp MA5683T _test2                                   
 ---------------------------------------------------------------------------   
  Name       : arp_test2                          Admin State : Enable        
  Peerip     : 2.2.2.1                             Interval    : 2(s)          
  Vlan       : 20                                  Multiplier  : 3             
  F/S/P      : 0/19/1                              State       : Down          
 ---------------------------------------------------------------------------   


没有评论:

发表评论