Remotely copy configuration to the running config

Freebsd% echo “no ip source-route” > /tftpboot/new.cfg

Freebsd% echo “end” >> /tftpboot/new.cfg

Freebsd% chmod 666 /tftpboot/new.cfg

Freebsd% snmpset –v1 -c PUBLIC Router .1.3.6.1.4.1.9.2.1.53.10.1.1.1 s new.cfg enterprises.9.2.1.53.10.1.1.1 = “new.cfg”

Freebsd% snmpset –v1 -c PUBLIC Router .1.3.6.1.4.1.9.2.1.54.0 i 1 enterprises.9.2.1.54.0 = 1

Leave a Reply