set l3-interface vlan-interface anycast address
The set l3-interface vlan-interface anycast address command configures the virtual IP address of the anycast gateway.
Command Syntax
set l3-interface vlan-interface <interface-name> anycast address <ip-address> prefix-length <prefix>
Parameter
Parameter | Description |
vlan-interface <interface-name> | Specifies the L3 VLAN interface. The value is a string. |
address <ip-address> | Specifies IPv4 or IPv6 address. |
prefix-length <prefix> | Specifies the network prefix length. The range is 4-32 for IPv4 addresses, and 1-128 for IPv6 addresses. |
Usage Guidelines
Follow the rules below when configuring the anycast IPv4 / IPv6 address:
- For IPv4, the anycast IPv4 address and the VLAN interface IPv4 address should be configured in the same network segment to ensure that the MLAG pair can work normally.
- For IPv6, the anycast IPv6 address and the global IPv6 address of the VLAN interface should be configured in the same network segment to ensure that the MLAG pair can work normally.
- Anycast IP address list on both devices of MLAG pair must be the same.
- When configuring the Anycast MAC and Anycast Address for an L3 interface, it is necessary to apply both configurations in the same commit. This is because these two settings are interdependent, and applying them separately might cause synchronization issues, leading to configuration failures or network instability.
Example
- Configure the virtual IP address of the anycast gateway.
admin@Xorplus# set l3-interface vlan-interface vlan10 anycast address 10.0.1.1 prefix-length 24 admin@Xorplus# set l3-interface vlan-interface vlan10 anycast mac AE:00:10:00:00:FE admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.