导出命令
导出命令
# 华为
screen-length 0 temporary
display current-configuration
# Cisco
terminal length 0
show running-config导出文本按设备+日期归档,diff 对比变更前后差异项。
二层变更前导出并留存两端配置(VLAN、接口、STP 段),变更后逐段比对验证;有备份才能在异常时快速回退。
# 华为
screen-length 0 temporary
display current-configuration
# Cisco
terminal length 0
show running-config