Nexus 7000 Schedule

1、cli命令运用

1.1、默认交换机名称和时间戳

N7K-Core1# sh cli variables

VSH Variable List (* = session vars)

-----------------

SWITCHNAME="N7K-Core1"

TIMESTAMP="2019-07-10-17.13.59"

1.2、自定义CLI

cli var name testvar interface ethernet 1/3

show $(testvar)

2、配置schedule

2.1、启用schedule功能

config terminal

feature scheduler

scheduler logfile size 16(默认,可以不配)

2.2、

config terminal

scheduler job name backup

copy running-config tftp://10.10.1.1/$(SWITCHNAME)-cfg.$(TIMESTAMP) vrf Managerment

end

config terminal

  scheduler schedule name weekly

    time start 2019:07:10:17:24 repeat 7:0:0

    job name backup

end

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容