The set protocols pimsm4 interface vif alternative-subnet command is used to add the "alternative subnets" to a VLAN interface.
set protocols pimsm4 interface <interface-name> vif <vif-name> alternative-subnet <IPv4Net>
Specifies a L3 VLAN interface. The value is a string.
Specifies a vif interface. The value is a string.
Specifies a subnet address of the source. The value is an IPv4 subnet address in the address/prefix-length format, e.g., 220.127.116.11/24.
One use of this alternative subnet is to make incoming traffic with a non-local source address appear as it is coming from a local subnet, then "alternative-subnet" can be configured on upstream interfaces connected to the Source.
- Add a "alternative subnet" 18.104.22.168/24.