SHARE
TWEET

Untitled

a guest Jan 14th, 2020 59 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. start=51
  3. stop=97
  4.  
  5. for i in {$start..$stop}
  6. do
  7. config="
  8. set access address-assignment pool Pool$NUMBER family inet network 192.168.$NUMBER.0/24
  9. set access address-assignment pool Pool$NUMBER family inet range TivoRange low 192.168.$NUMBER.2
  10. set access address-assignment pool Pool$NUMBER family inet range TivoRange high 192.168.$NUMBER.254
  11. set access address-assignment pool Pool$NUMBER family inet dhcp-attributes name-server 173.44.120.44
  12. set access address-assignment pool Pool$NUMBER family inet dhcp-attributes name-server 173.44.120.45
  13. set access address-assignment pool Pool$NUMBER family inet dhcp-attributes router 192.168.$NUMBER.1
  14. set access address-assignment pool Pool$NUMBER family inet dhcp-attributes propagate-settings ge-0/0/1.$NUMBER
  15. "
  16. echo $config
  17. done
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top