junos的配置文件备份和恢复

1、备份

junos在每次commit时会自动对之前的配置文件进行备份,最多会存放50个备份文件。其中

  1. /config/juniper.conf.n.gz(n=1~3)

  2. /var/db/config/juniper.conf.n.gz

2、恢复

2.1 结构格式恢复,命令load override terminal

2.2 set格式命令恢复,命令load set terminal

猜你喜欢

转载自blog.csdn.net/mi2006/article/details/84451912