文档库

最新最全的文档下载
当前位置:文档库 > 最详细的C300开局脚本

最详细的C300开局脚本

en(密码zxr10)

进入特权模式

ZXAN#dir cfg

查看是否有过配置

如果看到

startrun.sav

startrun.dat

那么表示有配置,需要删除配置,然后重启设备

ZXAN#:delete cfg startrun.sav

ZXAN#:delete cfg startrun.dat

删除配置

Reboot

重启设备

重启完之后

en(密码zxr10)

进入特权模式

oconfigure terminal

进入全局模式

add-rack rackno 1 racktype IEC19

添加机架

add-shelf rackno 1 shelfno 1 shelftype IEC_SHELF 添加框

add-card rackno 1 shelfno 1 slotno 0 PRWG

add-card rackno 1 shelfno 1 slotno 1 PRWG

add-card rackno 1 shelfno 1 slotno 2 ETGO

add-card rackno 1 shelfno 1 slotno 3 ETGO

add-card rackno 1 shelfno 1 slotno 4 ETGO

add-card rackno 1 shelfno 1 slotno 5 ETGO

add-card rackno 1 shelfno 1 slotno 6 ETGO

add-card rackno 1 shelfno 1 slotno 7 ETGO

add-card rackno 1 shelfno 1 slotno 8 ETGO

add-card rackno 1 shelfno 1 slotno 9 ETGO

add-card rackno 1 shelfno 1 slotno 12 ETGO

add-card rackno 1 shelfno 1 slotno 13 ETGO

add-card rackno 1 shelfno 1 slotno 14 ETGO