Forest Notes

Tips, tricks, cheatsheets

Project maintained by iamzaychik Hosted on GitHub Pages — Theme by mattgraham

ZTE Change IP


  1. Create vlan, enable it and set to ports:
    create vlan 111 name root_111
    set vlan 111 enable
    set vlan 111 add port 28 tag
  2. Bind new interface for created vlan:
    conf router
    set ipport 2 ipaddress A.B.C.D/M
    set ipport 2 vlan 111
    set ipport 2 enable
  3. Ping new IP and connect to it:
    conf router
    show iproute
    # Delete default route
    clear iproute 172.***.***.***
    # Configure new route
    iproute 172.***.***.***
    # Disable old interface
    set ipport 1 dis