Configuring a remote MAC binding server
You can configure multiple remote MAC binding servers on the device.
Perform this task to configure MAC binding server parameters, such as the server's IP address and the free-traffic threshold.
To configure a remote 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 free-traffic threshold. | free-traffic threshold value | By default, the free-traffic threshold is 0 bytes. |
5. (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. |
6. (Optional.) Set the UDP port 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. |
7. (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. |
8. (Optional.) Specify the type of the MAC binding server | server-type { cmcc | imc } | By default, the type of a MAC binding server is IMC. |
9. (Optional.) Specify the version of the portal protocol. | version version-number | By default, the version of the portal protocol is 1. |
10. (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. |
11. (Optional.) Set the aging time for MAC-trigger entries. | aging-time seconds | By default, the aging time for MAC-trigger entries is 300 seconds. |
12. (Optional.) Enable AAA failure unbinding. | aaa-fail nobinding enable | By default, AAA failure unbinding is disabled. |