在对配置实用deactive命令后,配置被标记为失效,在commit的时候该命令不被执行。active是deactive的反命令。
admin@007# set system host-name host123
[edit]
admin@007# deactivate system host-name
[edit]
admin@007# show system
inactive: host-name host123;
root-authentication {
encrypted-password "$1$vwePDy9a$JJ.W530qKyw6Iy2ojEEZ71"; ## SECRET-DATA
}
login {
user admin {
uid 2001;
class super-user;
authentication {
encrypted-password "$1$R/PFK63M$3wOC.GG17IiIGtUpyz9921"; ## SECRET-DATA
}
}
}
阅读(2219) | 评论(0) | 转发(0) |