azeqjz DataCom Notes

  • 查看配置变化

display configuration commit changes

1. 确认配置命令误删或者错误配置的提交节点的Commit ID:

执行命令:display configuration commit changes
< ShenZhen-DC1-Core-CE12816>display configuration commit changes
Building configuration
Commit changes of commitId 1000000108
 #
+ ospf 100 router-id 1.1.1.1
+ area 0.0.0.0
+ network 114.172.12.2 0.0.0.0
 #
Commit changes of commitId 1000000107
 #
+ interface LoopBack0
+ ip address 1.1.1.1 255.255.255.255
 # 
Commit changes of commitId 1000000106 //假设从本次commit后的操作都是要恢复的
 #
- sysname HUAWEI
 #
+ sysname ShenZhen-DC1-Core-CE12816
 #

2. 执行rollback configuration to commit-id XXX

< ShenZhen-DC1-Core-CE12816>rollback configuration to commit-id 1000000106
Warning: This operation will revert configuration changes to the previous status
. Continue? [Y/N]:y
Loading rollback changes
Committing
Check rollback result
Configuration rollback succeeded.
Please use 'display configuration commit changes last 1' to view the changes.

3.使用display configuration commit changes last 1,检查是否回滚到操作前的配置状态:

< ShenZhen-DC1-Core-CE12816>display configuration commit changes last 1
Building configuration
 #
- interface LoopBack0 //“-”表示在本次恢复过程中删除的命令
- ip address 1.1.1.1 255.255.255.255
 #
- ospf 100 router-id 1.1.1.1
- area 0.0.0.0
- network 114.172.12.2 0.0.0.0
 #

如果误操作是通过最近1次commit命令提交生效的,也可以通过以下命令进行快速回退,以节省时间:

1. 执行rollback configuration last 1:

< ShenZhen-DC1-Core-CE12816>rollback configuration last 1
Warning: This operation will revert configuration changes to the previous status
. Continue? [Y/N]:y
Loading rollback changes
Committing
Check rollback result
Configuration rollback succeeded.
Please use 'display configuration commit changes last 1' to view the changes.

2.执行display configuration commit changes last 1检查恢复后的配置

  • 查询现有配置(筛选)

dis cu | section include 筛选文字

dis cu | begin 筛选文字

  • VRRP(virtual router redundancy protocol)

路由网关备份机制,两个物理路由器之间引入一个虚拟路由器。

中断时间是三秒,但是语音业务要求高。引入增强特性,与BFD检测一起使用,中断时间可以减短到一秒。

VLAN中的概念

EOR上配置NVE,也就是VXLAN隧道

interface NVE1

source ip地址

vni怎么样走到对端

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.