< Home

(Optional) Setting the Source Address of Offline Detection Packets

Context

The device sends an ARP probe packet to check the user online status. If the user does not respond within a detection period, the device considers that the user is offline.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Set the source address of offline detection packets.

    • Run access-user arp-detect default ip-address ip-address

      The default source IP address of offline detection packets is set.

      By default, the default source IP address of offline detection packets is 0.0.0.0.

    • Run access-user arp-detect vlan vlan-id ip-address ip-address mac-address mac-address

      The source IP address and source MAC address are specified for offline detection packets in a VLAN.

      By default, the source IP address and source MAC address are not specified for offline detection packets in a VLAN.

      You are advised to set the user gateway IP address and its corresponding MAC address as the source IP address and source MAC address of offline detection packets.

    • Run access-user arp-detect fallback ip-address { mask | mask-length }

      The IP address required for calculating the source address of offline detection packets is configured.

      By default, no IP address is configured for the device to calculate the source address of offline detection packets.

    The following source IP addresses used in offline detection packets are listed in descending order of priority:

    1. IP address of the VLANIF interface corresponding to the VLAN that users belong to and on the same network segment as users
    2. Source IP address specified using the access-user arp-detect vlan vlan-id ip-address ip-address mac-address mac-address command for offline detection packets in a specified VLAN
    3. Source IP address calculated based on the IP address specified using the access-user arp-detect fallback ip-address { mask | mask-length } command
    4. Default source IP address specified using the access-user arp-detect default ip-address ip-address command for offline detection packets.

  3. Run access-user arp-detect delay delay

    The delay for sending offline detection packets is configured.

    By default, the delay in sending offline detection packets is 10 seconds.

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