Configuring a MAC binding server

You can configure multiple MAC binding servers on the device.

To configure a MAC binding server:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Create a MAC binding server and enter its view.

portal mac-trigger-server server-name

By default, no MAC binder servers exist.

3. Specify the IP address of the MAC binding server.

ip ipv4-address [ vpn-instance ipv4-vpn-instance-name ] [ key { cipher | simple } string ]

By default, the IP address of a MAC binding server is not specified.

4. (Optional.) Specify the NAS-Port-Type value carried in RADIUS requests sent to the RADIUS server.

nas-port-type value

By default, the NAS-Port-Type value carried in RADIUS requests is 0.

5. (Optional.) Set the UDP port number on which the MAC binding server listens for MAC binding query packets.

port port-number

By default, the MAC binding server listens for MAC binding query packets on UDP port 50100.

6. (Optional.) Specify the maximum number of attempts and the interval for sending MAC binding queries to the MAC binding server.

binding-retry { retries | interval interval } *

By default, the maximum number of query attempts is 3 and the query interval is 1 second.

7. (Optional.) Specify the type of the MAC binding server

server-type imc

By default, the type of a MAC binding server is IMC.

8. (Optional.) Specify the version of the portal protocol.

version version-number

By default, the version of the portal protocol is 1.

9. (Optional.) Specify the timeout the device waits for portal authentication to complete after receiving the MAC binding query response.

authentication-timeout minutes

By default, the portal authentication timeout time is 3 minutes.

10. (Optional.) Set the aging time for MAC-trigger entries.

aging-time seconds

By default, the aging time for MAC-trigger entries is 300 seconds.