Forum Discussion

genseek_32178's avatar
genseek_32178
Icon for Nimbostratus rankNimbostratus
Nov 11, 2014

Vlan Change

Hi Experts,

 

A vlan is deployed but with incorrect mask. Vlan has many virtuals,pools etc configured. Mask needs to be corrected.

 

Is there a way to correct the mask without removing the complete vlan and related configuration and redeploying it?

 

6 Replies

  • Hi,

    here is how you can do it via tmsh:

    root(tmos) create net self 10.10.10.10 address 10.10.10.10/24 vlan vlan-0010
    root(tmos) list net self 10.10.10.10
    net self 10.10.10.10 {
        address 10.10.10.10/24
        traffic-group traffic-group-local-only
        vlan vlan-0010
    }
    root(tmos) load sys config from-terminal merge
    Enter configuration. Press CTRL-D to submit or CTRL-C to cancel.
    net self 10.10.10.10 {
        address 10.10.10.10/23
        traffic-group traffic-group-local-only
        vlan vlan-0010
    }
    Loading configuration...
    root(tmos) list net self 10.10.10.10
    net self 10.10.10.10 {
        address 10.10.10.10/23
        traffic-group traffic-group-local-only
        vlan vlan-0010
    }
    root(tmos)
    

    Notice mask changes on self address.

    • genseek_32178's avatar
      genseek_32178
      Icon for Nimbostratus rankNimbostratus
      Will there be any impact to say, to traffic on other vlans, if done via GUI or tmsh? or if this change needs to be done on a pair of ltm's in HA?
  • What you are trying to accomplish cannot be done easily. You cannot change an existing self ip, and you cannot delete it since that would leave "orphaned" objects.

     

    You would have to make changes to the bigip.conf and/or bigip_base.conf, and then force mcpd to reload the configuration on a reboot.

     

    " target="_blank">SOL13030: Forcing the mcpd process to reload the BIG-IP configuration

     

    Eric

     

  • Hmm.... Interesting approach zup. I'll have to take a further look at that.

     

    Learn something everyday.

     

    Eric