I've got a VLAN interface set up (WAN in a HA setup) which is disabled on boot, and gets activated via transition script when it becomes master router via VRRP, and again gets disabled when it reutrns to backup/fault role.
The thing I noticed is, that even though the interface is disabled, it actually becomes up on boot (u/u in show interfaces) instead of down (A/D). If DHCP is enabled, the interface receives an IP on boot. Removing the DHCP address option doesn't help.
Confuiguration as follows:
$ show interfaces ethernet eth0 vif 1000 | strip-private address dhcp description WAN disable mac XX:XX:XX:XX:XX:00 $ run show interfaces ethernet eth0 vif 1000 | strip-private eth0.1000@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000 link/ether XX:XX:XX:XX:XX:00 brd XX:XX:XX:XX:XX:ff inet6 fe80::xxxx:xxxx:fedc:8a00/64 scope link valid_lft forever preferred_lft forever Description: WAN RX: bytes packets errors dropped overrun mcast 0 0 0 0 0 0 TX: bytes packets errors dropped carrier collisions 0 0 0 0 0 0