02-VXLAN组网环境下使用GIR实现零丢包软件升级典型配置举例
本章节下载: 02-VXLAN组网环境下使用GIR实现零丢包软件升级典型配置举例 (302.61 KB)
本文档介绍VXLAN支持M-LAG组网环境下使用GIR实现零丢包软件升级典型配置举例。
本文档不严格与具体软、硬件版本对应,如果使用过程中与产品实际情况有差异,请以设备实际情况为准。
本文档中的配置均是在实验室环境下进行的配置和验证,配置前设备的所有参数均采用出厂时的缺省配置。如果您已经对设备进行了配置,为了保证配置效果,请确认现有配置和以下举例中的配置不冲突。
本文档假设您已了解VXLAN和GIR特性。
仅SF系列接口板支持VXLAN功能。
如图1所示:
· Device A、Device B为与Device E连接的分布式VXLAN IP网关,Device A、Device B跨设备链路聚合为一台虚拟VXLAN IP网关,采用直连模式peer-link链路。Device E属于VXLAN 10。
· Device C、Device D为与Device F连接的分布式VXLAN IP网关,Device C、Device D跨设备链路聚合为一台虚拟VXLAN IP网关,采用直连模式peer-link链路。Device F属于VXLAN 20。
· 配置Device B进入维护模式,流量切换到Device A,等Device B完成升级后再将流量从Device A切换到Device B,再升级Device A。
· 配置Device D进入维护模式,流量切换到Device C,等Device D完成升级后再将流量从Device C切换到Device D,再升级Device C。
图1 VXLAN支持M-LAG组网环境下使用GIR实现零丢包软件升级典型配置举例组网图
表1 数据规划表
设备 |
接口 |
IP地址 |
设备 |
接口 |
IP地址 |
Device A |
Vlan-interface11 |
11.1.1.1/24 |
Device C |
Vlan-interface13 |
13.1.1.1/24 |
|
XGE3/0/4 |
60.1.1.1/24 |
|
XGE3/0/4 |
60.2.1.1/24 |
|
Loop0 |
1.1.1.1/32 |
|
Loop0 |
2.2.2.2/32 |
Device B |
Vlan-interface12 |
12.1.1.1/24 |
Device D |
Vlan-interface14 |
14.1.1.1/24 |
|
XGE3/0/4 |
60.1.1.2/24 |
|
XGE3/0/4 |
60.2.1.2/24 |
|
Loop0 |
1.1.1.1/32 |
|
Loop0 |
2.2.2.2/32 |
Device G |
Vlan-interface11 |
11.1.1.3/24 |
vpna |
Vsi-interface1 |
10.1.1.1/24 |
|
Vlan-interface12 |
12.1.1.3/24 |
|
|
|
|
Vlan-interface13 |
13.1.1.3/24 |
vpnb |
Vsi-interface2 |
20.1.1.1/24 |
|
Vlan-interface14 |
14.1.1.3/24 |
|
|
|
|
Loop0 |
3.3.3.3/24 |
|
|
|
表2 适用产品及版本
产品 |
软件版本 |
S12500G-AF |
Release 8053P05及以上版本 |
S12500CR |
Release 8053P05及以上版本 |
S10500X-G |
Release 7753P05及以上版本 |
S7500X-G |
Release 7753P05及以上版本 |
S7000X |
不支持 |
采用如下思路进行配置:
· Device A、Device B与Device C、Device D分别组成两个M-LAG系统。
· 配置Device A、Device B、Device C和Device D为VTEP设备,配置Device E为核心设备。
· 先使用GIR隔离并升级从设备Device B,然后再使用GIR隔离并升级主设备Device A。
· 先使用GIR隔离并升级从设备Device D,然后再使用GIR隔离并升级主设备Device C。
以太网服务实例所在的端口需要允许该以太网服务实例匹配的VLAN通过。
使用GIR完成M-LAG组网下的设备升级或替换时,需要注意如下事项:
· 不建议针对路由和聚合业务分别配置隔离功能,避免因遗漏配置导致丢包等问题。
· 指定下次启动使用的配置文件时,配置文件中需要包含维护模式的配置。
(1) 配置IP地址和单播路由协议
# 配置各接口的IP地址和子网掩码。(具体配置过程略)
# 在IP核心网络内配置路由协议,发布各接口IP地址(包括Loopback接口的IP地址)对应网段的路由,确保设备之间路由可达。(具体配置过程略)
(2) 配置Device A
# 开启L2VPN能力。
<DeviceA> system-view
[DeviceA] l2vpn enable
# 配置peer-link链路上动态AC的报文匹配规则,有如下两个方案。Device A和Device B上采用的方案必须相同。
¡ 方案一:采用VXLAN ID映射方式生成peer-link链路上动态AC的报文匹配规则。
[DeviceA] l2vpn m-lag peer-link ac-match-rule vxlan-mapping
¡ 方案二:根据用户侧以太网服务实例的报文匹配规则创建peer-link链路上的AC。
无需执行其他配置,默认采用该方案。
# 配置M-LAG系统。
[DeviceA] m-lag system-mac 1-1-1
[DeviceA] m-lag system-number 1
[DeviceA] m-lag system-priority 10
[DeviceA] m-lag keepalive ip destination 60.1.1.2 source 60.1.1.1
[DeviceA] m-lag restore-delay 180
# 创建二层聚合接口2。
[DeviceA] interface bridge-aggregation 2
[DeviceA-Bridge-Aggregation2] quit
# 分别将端口Ten-GigabitEthernet3/0/2和Ten-GigabitEthernet3/0/3加入到聚合组2中。
[DeviceA] interface ten-gigabitethernet 3/0/2
[DeviceA-Ten-GigabitEthernet3/0/2] port link-aggregation group 2
[DeviceA-Ten-GigabitEthernet3/0/2] quit
[DeviceA] interface ten-gigabitethernet 3/0/3
[DeviceA-Ten-GigabitEthernet3/0/3] port link-aggregation group 2
[DeviceA-Ten-GigabitEthernet3/0/3] quit
# 配置二层聚合接口2该接口为动态口且为peer-link接口。
[DeviceA] interface bridge-aggregation 2
[DeviceA-Bridge-Aggregation2] link-aggregation mode dynamic
[DeviceA-Bridge-Aggregation2] port m-lag peer-link 1
[DeviceA-Bridge-Aggregation2] quit
# 创建动态二层聚合接口3,并配置该接口为M-LAG接口3。
[DeviceA] interface bridge-aggregation 3
[DeviceA-Bridge-Aggregation3] link-aggregation mode dynamic
[DeviceA-Bridge-Aggregation3] port m-lag group 3
[DeviceA-Bridge-Aggregation3] quit
# 将端口Ten-GigabitEthernet3/0/5加入到聚合组3中。
[DeviceA] interface ten-gigabitethernet 3/0/5
[DeviceA-Ten-GigabitEthernet3/0/5] port link-aggregation group 3
[DeviceA-Ten-GigabitEthernet3/0/5] quit
# 创建VLAN 2。
[DeviceA] vlan 2
[DeviceA-vlan2] quit
# 配置二层聚合接口3为Trunk端口,并允许VLAN 2的报文通过。
[DeviceA] interface bridge-aggregation 3
[DeviceA-Bridge-Aggregation3] port link-type trunk
[DeviceA-Bridge-Aggregation3] port trunk permit vlan 2
[DeviceA-Bridge-Aggregation3] quit
# 创建VSI实例vpna和VXLAN 10。
[DeviceA] vsi vpna
[DeviceA-vsi-vpna] vxlan 10
[DeviceA-vsi-vpna-vxlan-10] quit
[DeviceA-vsi-vpna] quit
# 创建VSI实例vpnb和VXLAN 20。
[DeviceA] vsi vpnb
[DeviceA-vsi-vpnb] vxlan 20
[DeviceA-vsi-vpnb-vxlan-20] quit
[DeviceA-vsi-vpnb] quit
# 配置接口Loopback0的IP地址,作为隧道的源端地址。
[DeviceA] interface loopback 0
[DeviceA-Loopback0] ip address 1.1.1.1 255.255.255.255
[DeviceA-Loopback0] quit
# 在Device A和Device C、Device D之间建立VXLAN隧道。
[DeviceA] interface tunnel 1 mode vxlan
[DeviceA-Tunnel1] source 1.1.1.1
[DeviceA-Tunnel1] destination 2.2.2.2
[DeviceA-Tunnel1] quit
# 配置Tunnel1与VXLAN 10关联。
[DeviceA] vsi vpna
[DeviceA-vsi-vpna] vxlan 10
[DeviceA-vsi-vpna-vxlan-10] tunnel 1
[DeviceA-vsi-vpna-vxlan-10] quit
[DeviceA-vsi-vpna] quit
# 配置Tunnel1与VXLAN 20关联。
[DeviceA] vsi vpnb
[DeviceA-vsi-vpnb] vxlan 20
[DeviceA-vsi-vpnb-vxlan-20] tunnel 1
[DeviceA-vsi-vpnb-vxlan-20] quit
[DeviceA-vsi-vpnb] quit
# 在接入Device E的接口Bridge-Aggregation3上创建以太网服务实例1000,该实例用来匹配VLAN 2的数据帧。
[DeviceA] interface bridge-aggregation 3
[DeviceA-Bridge-Aggregation3] service-instance 1000
[DeviceA-Bridge-Aggregation3-srv1000] encapsulation s-vid 2
# 配置以太网服务实例1000与VSI实例vpna关联。
[DeviceA-Bridge-Aggregation3-srv1000] xconnect vsi vpna
[DeviceA-Bridge-Aggregation3-srv1000] quit
[DeviceA-Bridge-Aggregation3] quit
# 创建VSI虚接口VSI-interface1,并为其配置IP地址和MAC地址,该IP地址作为VXLAN 10内虚拟机的网关地址,指定该VSI虚接口为分布式本地网关接口。
[DeviceA] interface vsi-interface 1
[DeviceA-Vsi-interface1] ip address 10.1.1.1 255.255.255.0
[DeviceA-Vsi-interface1] mac-address 1-1-1
[DeviceA-Vsi-interface1] distributed-gateway local
[DeviceA-Vsi-interface1] local-proxy-arp enable
[DeviceA-Vsi-interface1] quit
# 创建VSI虚接口VSI-interface2,并为其配置IP地址和MAC地址,该IP地址作为VXLAN 20内虚拟机的网关地址,指定该VSI虚接口为分布式本地网关接口。
[DeviceA] interface vsi-interface 2
[DeviceA-Vsi-interface2] ip address 20.1.1.1 255.255.255.0
[DeviceA-Vsi-interface2] mac-address 2-2-2
[DeviceA-Vsi-interface2] distributed-gateway local
[DeviceA-Vsi-interface2] local-proxy-arp enable
[DeviceA-Vsi-interface2] quit
# 开启分布式网关的动态ARP表项同步功能。
[DeviceA] arp distributed-gateway dynamic-entry synchronize
# 配置VXLAN 10所在的VSI实例和接口VSI-interface1关联。
[DeviceA] vsi vpna
[DeviceA-vsi-vpna] gateway vsi-interface 1
[DeviceA-vsi-vpna] quit
# 配置VXLAN 20所在的VSI实例和接口VSI-interface2关联。
[DeviceA] vsi vpnb
[DeviceA-vsi-vpnb] gateway vsi-interface 2
[DeviceA-vsi-vpnb] quit
# 将所有参与VXLAN业务的接口配置为保留接口。
[DeviceA] m-lag mad exclude interface loopback 0
[DeviceA] m-lag mad exclude interface ten-gigabitethernet 3/0/4
[DeviceA] m-lag mad exclude interface vsi-interface 1
[DeviceA] m-lag mad exclude interface vsi-interface 2
[DeviceA] m-lag mad exclude interface vlan-interface 11
(3) 配置Device B
# 开启L2VPN能力。
<DeviceB> system-view
[DeviceB] l2vpn enable
# 配置peer-link链路上动态AC的报文匹配规则,有如下两个方案。Device A和Device B上采用的方案必须相同。
¡ 方案一:采用VXLAN ID映射方式生成peer-link链路上动态AC的报文匹配规则。
[DeviceB] l2vpn m-lag peer-link ac-match-rule vxlan-mapping
¡ 方案二:根据用户侧以太网服务实例的报文匹配规则创建peer-link链路上的AC。
无需执行其他配置,默认采用该方案。
# 配置M-LAG系统。
[DeviceB] m-lag system-mac 1-1-1
[DeviceB] m-lag system-number 2
[DeviceB] m-lag system-priority 10
[DeviceB] m-lag keepalive ip destination 60.1.1.1 source 60.1.1.2
[DeviceB] m-lag restore-delay 180
# 创建二层聚合接口2。
[DeviceB] interface bridge-aggregation 2
[DeviceB-Bridge-Aggregation2] quit
# 分别将端口Ten-GigabitEthernet3/0/2和Ten-GigabitEthernet3/0/3加入到聚合组2中。
[DeviceB] interface ten-gigabitethernet 3/0/2
[DeviceB-Ten-GigabitEthernet3/0/2] port link-aggregation group 2
[DeviceB-Ten-GigabitEthernet3/0/2] quit
[DeviceB] interface ten-gigabitethernet 3/0/3
[DeviceB-Ten-GigabitEthernet3/0/3] port link-aggregation group 2
[DeviceB-Ten-GigabitEthernet3/0/3] quit
# 配置二层聚合接口2该接口为动态口且为peer-link接口。
[DeviceB] interface bridge-aggregation 2
[DeviceB-Bridge-Aggregation2] link-aggregation mode dynamic
[DeviceB-Bridge-Aggregation2] port m-lag peer-link 1
[DeviceB-Bridge-Aggregation2] quit
# 创建动态二层聚合接口3,并配置该接口为M-LAG接口3。
[DeviceB] interface bridge-aggregation 3
[DeviceB-Bridge-Aggregation3] link-aggregation mode dynamic
[DeviceB-Bridge-Aggregation3] port m-lag group 3
[DeviceB-Bridge-Aggregation3] quit
# 将端口Ten-GigabitEthernet3/0/5加入到聚合组3中。
[DeviceB] interface ten-gigabitethernet 3/0/5
[DeviceB-Ten-GigabitEthernet3/0/5] port link-aggregation group 3
[DeviceB-Ten-GigabitEthernet3/0/5] quit
# 创建VLAN 2。
[DeviceB] vlan 2
[DeviceB-vlan2] quit
# 配置二层聚合接口3为Trunk端口,并允许VLAN 2的报文通过。
[DeviceB] interface bridge-aggregation 3
[DeviceB-Bridge-Aggregation3] port link-type trunk
[DeviceB-Bridge-Aggregation3] port trunk permit vlan 2
[DeviceB-Bridge-Aggregation3] quit
# 创建VSI实例vpna和VXLAN 10。
[DeviceB] vsi vpna
[DeviceB-vsi-vpna] vxlan 10
[DeviceB-vsi-vpna-vxlan-10] quit
[DeviceB-vsi-vpna] quit
# 创建VSI实例vpnb和VXLAN 20。
[DeviceB] vsi vpnb
[DeviceB-vsi-vpnb] vxlan 20
[DeviceB-vsi-vpnb-vxlan-20] quit
[DeviceB-vsi-vpnb] quit
# 配置接口Loopback0的IP地址,作为隧道的源端地址。
[DeviceB] interface loopback 0
[DeviceB-Loopback0] ip address 1.1.1.1 255.255.255.255
[DeviceB-Loopback0] quit
# 在Device B和Device C、Device D之间建立VXLAN隧道。
[DeviceB] interface tunnel 1 mode vxlan
[DeviceB-Tunnel1] source 1.1.1.1
[DeviceB-Tunnel1] destination 2.2.2.2
[DeviceB-Tunnel1] quit
# 配置Tunnel1与VXLAN 10关联。
[DeviceB] vsi vpna
[DeviceB-vsi-vpna] vxlan 10
[DeviceB-vsi-vpna-vxlan-10] tunnel 1
[DeviceB-vsi-vpna-vxlan-10] quit
[DeviceB-vsi-vpna] quit
# 配置Tunnel1与VXLAN 20关联。
[DeviceB] vsi vpnb
[DeviceB-vsi-vpnb] vxlan 20
[DeviceB-vsi-vpnb-vxlan-20] tunnel 1
[DeviceB-vsi-vpnb-vxlan-20] quit
[DeviceB-vsi-vpnb] quit
# 在接入Device E的接口Bridge-Aggregation3上创建以太网服务实例1000,该实例用来匹配VLAN 2的数据帧。
[DeviceB] interface bridge-aggregation 3
[DeviceB-Bridge-Aggregation3] service-instance 1000
[DeviceB-Bridge-Aggregation3-srv1000] encapsulation s-vid 2
# 配置以太网服务实例1000与VSI实例vpna关联。
[DeviceB-Bridge-Aggregation3-srv1000] xconnect vsi vpna
[DeviceB-Bridge-Aggregation3-srv1000] quit
[DeviceB-Bridge-Aggregation3] quit
# 创建VSI虚接口VSI-interface1,并为其配置IP地址和MAC地址,该IP地址作为VXLAN 10内虚拟机的网关地址,指定该VSI虚接口为分布式本地网关接口。
[DeviceB] interface vsi-interface 1
[DeviceB-Vsi-interface1] ip address 10.1.1.1 255.255.255.0
[DeviceB-Vsi-interface1] mac-address 1-1-1
[DeviceB-Vsi-interface1] distributed-gateway local
[DeviceB-Vsi-interface1] local-proxy-arp enable
[DeviceB-Vsi-interface1] quit
# 创建VSI虚接口VSI-interface2,并为其配置IP地址和MAC地址,该IP地址作为VXLAN 20内虚拟机的网关地址,指定该VSI虚接口为分布式本地网关接口。
[DeviceB] interface vsi-interface 2
[DeviceB-Vsi-interface2] ip address 20.1.1.1 255.255.255.0
[DeviceB-Vsi-interface2] mac-address 2-2-2
[DeviceB-Vsi-interface2] distributed-gateway local
[DeviceB-Vsi-interface2] local-proxy-arp enable
[DeviceB-Vsi-interface2] quit
# 开启分布式网关的动态ARP表项同步功能。
[DeviceB] arp distributed-gateway dynamic-entry synchronize
# 配置VXLAN 10所在的VSI实例和接口VSI-interface1关联。
[DeviceB] vsi vpna
[DeviceB-vsi-vpna] gateway vsi-interface 1
[DeviceB-vsi-vpna] quit
# 配置VXLAN 20所在的VSI实例和接口VSI-interface2关联。
[DeviceB] vsi vpnb
[DeviceB-vsi-vpnb] gateway vsi-interface 2
[DeviceB-vsi-vpnb] quit
# 将所有参与VXLAN业务的接口配置为保留接口。
[DeviceB] m-lag mad exclude interface loopback 0
[DeviceB] m-lag mad exclude interface ten-gigabitethernet 3/0/4
[DeviceB] m-lag mad exclude interface vsi-interface 1
[DeviceB] m-lag mad exclude interface vsi-interface 2
[DeviceB] m-lag mad exclude interface vlan-interface 12
(4) 配置Device C
# 开启L2VPN能力。
<DeviceC> system-view
[DeviceC] l2vpn enable
# 配置peer-link链路上动态AC的报文匹配规则,有如下两个方案。Device C和Device D上采用的方案必须相同。
¡ 方案一:采用VXLAN ID映射方式生成peer-link链路上动态AC的报文匹配规则。
[DeviceC] l2vpn m-lag peer-link ac-match-rule vxlan-mapping
¡ 方案二:根据用户侧以太网服务实例的报文匹配规则创建peer-link链路上的AC。
无需执行其他配置,默认采用该方案。
# 配置M-LAG系统。
[DeviceC] m-lag system-mac 2-2-2
[DeviceC] m-lag system-number 1
[DeviceC] m-lag system-priority 10
[DeviceC] m-lag keepalive ip destination 60.2.1.2 source 60.2.1.1
[DeviceC] m-lag restore-delay 180
# 创建二层聚合接口4。
[DeviceC] interface bridge-aggregation 4
[DeviceC-Bridge-Aggregation4] quit
# 分别将端口Ten-GigabitEthernet3/0/2和Ten-GigabitEthernet3/0/3加入到聚合组4中。
[DeviceC] interface ten-gigabitethernet 3/0/2
[DeviceC-Ten-GigabitEthernet3/0/2] port link-aggregation group 4
[DeviceC-Ten-GigabitEthernet3/0/2] quit
[DeviceC] interface ten-gigabitethernet 3/0/3
[DeviceC-Ten-GigabitEthernet3/0/3] port link-aggregation group 4
[DeviceC-Ten-GigabitEthernet3/0/3] quit
# 配置二层聚合接口4该接口为动态口且为peer-link接口。
[DeviceC] interface bridge-aggregation 4
[DeviceC-Bridge-Aggregation4] link-aggregation mode dynamic
[DeviceC-Bridge-Aggregation4] port m-lag peer-link 1
[DeviceC-Bridge-Aggregation4] quit
# 创建动态二层聚合接口5,并配置该接口为M-LAG接口4。
[DeviceC] interface bridge-aggregation 5
[DeviceC-Bridge-Aggregation5] link-aggregation mode dynamic
[DeviceC-Bridge-Aggregation5] port m-lag group 4
[DeviceC-Bridge-Aggregation5] quit
# 将端口Ten-GigabitEthernet3/0/5加入到聚合组5中。
[DeviceC] interface gigabitethernet 3/0/5
[DeviceC-Ten-GigabitEthernet3/0/5] port link-aggregation group 5
[DeviceC-Ten-GigabitEthernet3/0/5] quit
# 创建VLAN 3。
[DeviceC] vlan 3
[DeviceC-vlan3] quit
# 配置二层聚合接口5为Trunk端口,并允许VLAN 3的报文通过。
[DeviceC] interface bridge-aggregation 5
[DeviceC-Bridge-Aggregation5] port link-type trunk
[DeviceC-Bridge-Aggregation5] port trunk permit vlan 3
[DeviceC-Bridge-Aggregation5] quit
# 创建VSI实例vpna和VXLAN 10。
[DeviceC] vsi vpna
[DeviceC-vsi-vpna] vxlan 10
[DeviceC-vsi-vpna-vxlan-10] quit
[DeviceC-vsi-vpna] quit
# 创建VSI实例vpnb和VXLAN 20。
[DeviceC] vsi vpnb
[DeviceC-vsi-vpnb] vxlan 20
[DeviceC-vsi-vpnb-vxlan-20] quit
[DeviceC-vsi-vpnb] quit
# 配置接口Loopback0的IP地址,作为隧道的源端地址。
[DeviceC] interface loopback 0
[DeviceC-Loopback0] ip address 2.2.2.2 255.255.255.255
[DeviceC-Loopback0] quit
# 在Device C和Device A、Device B之间建立VXLAN隧道。
[DeviceC] interface tunnel 1 mode vxlan
[DeviceC-Tunnel1] source 2.2.2.2
[DeviceC-Tunnel1] destination 1.1.1.1
[DeviceC-Tunnel1] quit
# 配置Tunnel1与VXLAN 10关联。
[DeviceC] vsi vpna
[DeviceC-vsi-vpna] vxlan 10
[DeviceC-vsi-vpna-vxlan-10] tunnel 1
[DeviceC-vsi-vpna-vxlan-10] quit
[DeviceC-vsi-vpna] quit
# 配置Tunnel1与VXLAN 20关联。
[DeviceC] vsi vpnb
[DeviceC-vsi-vpnb] vxlan 20
[DeviceC-vsi-vpnb-vxlan-20] tunnel 1
[DeviceC-vsi-vpnb-vxlan-20] quit
[DeviceC-vsi-vpnb] quit
# 在接入Device F的接口Bridge-Aggregation5上创建以太网服务实例2000,该实例用来匹配VLAN 3的数据帧。
[DeviceC] interface bridge-aggregation 5
[DeviceC-Bridge-Aggregation5] service-instance 2000
[DeviceC-Bridge-Aggregation5-srv2000] encapsulation s-vid 3
# 配置以太网服务实例2000与VSI实例vpnb关联。
[DeviceC-Bridge-Aggregation5-srv2000] xconnect vsi vpnb
[DeviceC-Bridge-Aggregation5-srv2000] quit
[DeviceC-Bridge-Aggregation5] quit
# 创建VSI虚接口VSI-interface1,并为其配置IP地址和MAC地址,该IP地址作为VXLAN 10内虚拟机的网关地址,指定该VSI虚接口为分布式本地网关接口。
[DeviceC] interface vsi-interface 1
[DeviceC-Vsi-interface1] ip address 10.1.1.1 255.255.255.0
[DeviceC-Vsi-interface1] mac-address 1-1-1
[DeviceC-Vsi-interface1] distributed-gateway local
[DeviceC-Vsi-interface1] local-proxy-arp enable
[DeviceC-Vsi-interface1] quit
# 创建VSI虚接口VSI-interface2,并为其配置IP地址和MAC地址,该IP地址作为VXLAN 20内虚拟机的网关地址,指定该VSI虚接口为分布式本地网关接口。
[DeviceC] interface vsi-interface 2
[DeviceC-Vsi-interface2] ip address 20.1.1.1 255.255.255.0
[DeviceC-Vsi-interface2] mac-address 2-2-2
[DeviceC-Vsi-interface2] distributed-gateway local
[DeviceC-Vsi-interface2] local-proxy-arp enable
[DeviceC-Vsi-interface2] quit
# 开启分布式网关的动态ARP表项同步功能。
[DeviceC] arp distributed-gateway dynamic-entry synchronize
# 配置VXLAN 10所在的VSI实例和接口VSI-interface1关联。
[DeviceC] vsi vpna
[DeviceC-vsi-vpna] gateway vsi-interface 1
[DeviceC-vsi-vpna] quit
# 配置VXLAN 20所在的VSI实例和接口VSI-interface2关联。
[DeviceC] vsi vpnb
[DeviceC-vsi-vpnb] gateway vsi-interface 2
[DeviceC-vsi-vpnb] quit
# 将所有参与VXLAN业务的接口配置为保留接口。
[DeviceC] m-lag mad exclude interface loopback 0
[DeviceC] m-lag mad exclude interface ten-gigabitethernet 3/0/4
[DeviceC] m-lag mad exclude interface vsi-interface 1
[DeviceC] m-lag mad exclude interface vsi-interface 2
[DeviceC] m-lag mad exclude interface vlan-interface 13
(5) 配置Device D
# 开启L2VPN能力。
<DeviceD> system-view
[DeviceD] l2vpn enable
# 配置peer-link链路上动态AC的报文匹配规则,有如下两个方案。Device C和Device D上采用的方案必须相同。
¡ 方案一:采用VXLAN ID映射方式生成peer-link链路上动态AC的报文匹配规则。
[DeviceD] l2vpn m-lag peer-link ac-match-rule vxlan-mapping
¡ 方案二:根据用户侧以太网服务实例的报文匹配规则创建peer-link链路上的AC。
无需执行其他配置,默认采用该方案。
# 配置M-LAG系统。
[DeviceD] m-lag system-mac 2-2-2
[DeviceD] m-lag system-number 2
[DeviceD] m-lag system-priority 10
[DeviceD] m-lag keepalive ip destination 60.2.1.1 source 60.2.1.2
[DeviceD] m-lag restore-delay 180
# 创建二层聚合接口4。
[DeviceD] interface bridge-aggregation 4
[DeviceD-Bridge-Aggregation4] quit
# 分别将端口Ten-GigabitEthernet3/0/2和Ten-GigabitEthernet3/0/3加入到聚合组4中。
[DeviceD] interface ten-gigabitethernet 3/0/2
[DeviceD-Ten-GigabitEthernet3/0/2] port link-aggregation group 4
[DeviceD-Ten-GigabitEthernet3/0/2] quit
[DeviceD] interface ten-gigabitethernet 3/0/3
[DeviceD-Ten-GigabitEthernet3/0/3] port link-aggregation group 4
[DeviceD-Ten-GigabitEthernet3/0/3] quit
# 配置二层聚合接口4该接口为动态口且为peer-link接口。
[DeviceD] interface bridge-aggregation 4
[DeviceD-Bridge-Aggregation4] link-aggregation mode dynamic
[DeviceD-Bridge-Aggregation4] port m-lag peer-link 1
[DeviceD-Bridge-Aggregation4] quit
# 创建动态二层聚合接口5,并配置该接口为M-LAG接口4。
[DeviceD] interface bridge-aggregation 5
[DeviceD-Bridge-Aggregation5] link-aggregation mode dynamic
[DeviceD-Bridge-Aggregation5] port m-lag group 5
[DeviceD-Bridge-Aggregation5] quit
# 将端口Ten-GigabitEthernet3/0/5加入到聚合组5中。
[DeviceD] interface ten-gigabitethernet 3/0/5
[DeviceD-Ten-GigabitEthernet3/0/5] port link-aggregation group 6
[DeviceD-Ten-GigabitEthernet3/0/5] quit
# 创建VLAN 3。
[DeviceD] vlan 3
[DeviceD-vlan3] quit
# 配置二层聚合接口5为Trunk端口,并允许VLAN 3的报文通过。
[DeviceD] interface bridge-aggregation 5
[DeviceD-Bridge-Aggregation5] port link-type trunk
[DeviceD-Bridge-Aggregation5] port trunk permit vlan 3
[DeviceD-Bridge-Aggregation5] quit
# 创建VSI实例vpna和VXLAN 10。
[DeviceD] vsi vpna
[DeviceD-vsi-vpna] vxlan 10
[DeviceD-vsi-vpna-vxlan-10] quit
[DeviceD-vsi-vpna] quit
# 创建VSI实例vpnb和VXLAN 20。
[DeviceD] vsi vpnb
[DeviceD-vsi-vpnb] vxlan 20
[DeviceD-vsi-vpnb-vxlan-20] quit
[DeviceD-vsi-vpnb] quit
# 配置接口Loopback0的IP地址,作为隧道的源端地址。
[DeviceD] interface loopback 0
[DeviceD-Loopback0] ip address 2.2.2.2 255.255.255.255
[DeviceD-Loopback0] quit
# 在Device D和Device A、Device B之间建立VXLAN隧道。
[DeviceD] interface tunnel 1 mode vxlan
[DeviceD-Tunnel1] source 2.2.2.2
[DeviceD-Tunnel1] destination 1.1.1.1
[DeviceD-Tunnel1] quit
# 配置Tunnel1与VXLAN 10关联。
[DeviceD] vsi vpna
[DeviceD-vsi-vpna] vxlan 10
[DeviceD-vsi-vpna-vxlan-10] tunnel 1
[DeviceD-vsi-vpna-vxlan-10] quit
[DeviceD-vsi-vpna] quit
# 配置Tunnel1与VXLAN 20关联。
[DeviceD] vsi vpnb
[DeviceD-vsi-vpnb] vxlan 20
[DeviceD-vsi-vpnb-vxlan-20] tunnel 1
[DeviceD-vsi-vpnb-vxlan-20] quit
[DeviceD-vsi-vpnb] quit
# 在接入Device F的接口Bridge-Aggregation5上创建以太网服务实例2000,该实例用来匹配VLAN 3的数据帧。
[DeviceD] interface bridge-aggregation 5
[DeviceD-Bridge-Aggregation5] service-instance 2000
[DeviceD-Bridge-Aggregation5-srv2000] encapsulation s-vid 3
# 配置以太网服务实例2000与VSI实例vpnb关联。
[DeviceD-Bridge-Aggregation5-srv2000] xconnect vsi vpnb
[DeviceD-Bridge-Aggregation5-srv2000] quit
[DeviceD-Bridge-Aggregation5] quit
# 创建VSI虚接口VSI-interface1,并为其配置IP地址和MAC地址,该IP地址作为VXLAN 10内虚拟机的网关地址,指定该VSI虚接口为分布式本地网关接口。
[DeviceD] interface vsi-interface 1
[DeviceD-Vsi-interface1] ip address 10.1.1.1 255.255.255.0
[DeviceD-Vsi-interface1] mac-address 1-1-1
[DeviceD-Vsi-interface1] distributed-gateway local
[DeviceD-Vsi-interface1] local-proxy-arp enable
[DeviceD-Vsi-interface1] quit
# 创建VSI虚接口VSI-interface2,并为其配置IP地址和MAC地址,该IP地址作为VXLAN 20内虚拟机的网关地址,指定该VSI虚接口为分布式本地网关接口。
[DeviceD] interface vsi-interface 2
[DeviceD-Vsi-interface2] ip address 20.1.1.1 255.255.255.0
[DeviceD-Vsi-interface2] mac-address 2-2-2
[DeviceD-Vsi-interface2] distributed-gateway local
[DeviceD-Vsi-interface2] local-proxy-arp enable
[DeviceD-Vsi-interface2] quit
# 开启分布式网关的动态ARP表项同步功能。
[DeviceD] arp distributed-gateway dynamic-entry synchronize
# 配置VXLAN 10所在的VSI实例和接口VSI-interface1关联。
[DeviceD] vsi vpna
[DeviceD-vsi-vpna] gateway vsi-interface 1
[DeviceD-vsi-vpna] quit
# 配置VXLAN 20所在的VSI实例和接口VSI-interface2关联。
[DeviceD] vsi vpnb
[DeviceD-vsi-vpnb] gateway vsi-interface 2
[DeviceD-vsi-vpnb] quit
# 将所有参与VXLAN业务的接口配置为保留接口。
[DeviceD] m-lag mad exclude interface loopback 0
[DeviceD] m-lag mad exclude interface ten-gigabitethernet 3/0/4
[DeviceD] m-lag mad exclude interface vsi-interface 1
[DeviceD] m-lag mad exclude interface vsi-interface 2
[DeviceD] m-lag mad exclude interface vlan-interface 14
(6) 配置Device E
# 创建二层聚合接口3,并配置该接口为动态聚合模式。
<DeviceE> system-view
[DeviceE] interface bridge-aggregation 3
[DeviceE-Bridge-Aggregation3] link-aggregation mode dynamic
[DeviceE-Bridge-Aggregation3] quit
# 分别将端口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2加入到聚合组3中。
[DeviceE] interface range ten-gigabitethernet 3/0/1 to ten-gigabitethernet 3/0/2
[DeviceE-if-range] port link-aggregation group 3
[DeviceE-if-range] quit
# 创建VLAN 2。
[DeviceE] vlan 2
[DeviceE-vlan2] quit
# 配置二层聚合接口3为Trunk端口,并允许VLAN 2的报文通过。
[DeviceE] interface bridge-aggregation 3
[DeviceE-Bridge-Aggregation3] port link-type trunk
[DeviceE-Bridge-Aggregation3] port trunk permit vlan 2
[DeviceE-Bridge-Aggregation3] quit
# 创建接口Vlan-interface2,并配置其IP地址。
[DeviceE] interface vlan-interface 2
[DeviceE-vlan-interface2] ip address 10.1.1.100 24
[DeviceE-vlan-interface2] quit
(7) 配置Device F
# 创建二层聚合接口5,并配置该接口为动态聚合模式。
<DeviceF> system-view
[DeviceF] interface bridge-aggregation 5
[DeviceF-Bridge-Aggregation5] link-aggregation mode dynamic
[DeviceF-Bridge-Aggregation5] quit
# 分别将端口Ten-GigabitEthernet3/0/1和Ten-GigabitEthernet3/0/2加入到聚合组5中。
[DeviceF] interface range ten-gigabitethernet 3/0/1 to ten-gigabitethernet 3/0/2
[DeviceF-if-range] port link-aggregation group 5
[DeviceF-if-range] quit
# 创建VLAN 3。
[DeviceF] vlan 3
[DeviceF-vlan3] quit
# 配置二层聚合接口5为Trunk端口,并允许VLAN 3的报文通过。
[DeviceF] interface bridge-aggregation 5
[DeviceF-Bridge-Aggregation5] port link-type trunk
[DeviceF-Bridge-Aggregation5] port trunk permit vlan 3
[DeviceF-Bridge-Aggregation5] quit
# 创建接口Vlan-interface3,并配置其IP地址。
[DeviceF] interface vlan-interface 3
[DeviceF-vlan-interface3] ip address 20.1.1.100 24
[DeviceF-vlan-interface3] quit
# 配置从设备(Device B)进入维护模式,相关路由和聚合均自动下发隔离,流量切换到主设备(Device A)。
<DeviceB> system-view
[DeviceB] gir system-mode maintenance
Collecting commands... Please wait.
Configuration to be applied:
bgp 200
isolate enable
isis 1
isolate enable
isis 2 vpn-instance vpna
isolate enable
ospf 1 router-id 11.11.11.11
isolate enable
ospfv3 1
isolate enable
sleep instance 1 interval 30
link-aggregation lacp isolate
Do you want to continue? [Y/N]: y
Generated a snapshot: before_maintenance.
Applying: bgp 200
Applying: isolate enable
Applying: isis 1
Applying: isolate enable
Applying: isis 2 vpn-instance vpna
Applying: isolate enable
Applying: ospf 1 router-id 11.11.11.11
Applying: isolate enable
Applying: ospfv3 1
Applying: isolate enable
Applying: sleep instance 1 interval 30
Applying: link-aggregation lacp isolate
Waiting 120 seconds to release the CLI.
Changed to maintenance mode successfully.
# 保存配置。如果不保存配置,升级成功重新启动后,设备为普通模式,流量回切会有丢包。
[DeviceB] save
The current configuration will be written to the device. Are you sure? [Y/N]:y
Please input the file name(*.cfg)[flash:/startup.cfg]
(To leave the existing filename unchanged, press the enter key):
Validating file. Please wait...
The startup.cfg file already exists.
Compared with the startup.cfg file, The current configuration adds 6 commands and deletes 0 commands.
If you want to see the configuration differences, please cancel this operation, and then use the display diff command to show the details.
If you continue the save operation, the file will be overwritten.
Are you sure you want to continue the save operation? [Y/N]:y
Saving the current configuration to the file. Please wait...
Configuration is saved to device successfully.
[DeviceB] quit
(2) 指定升级文件并重新启动设备
# 指定下次启动使用的启动文件。
<DeviceB> boot-loader file flash:/s9850_6850-f6633.ipe all main
# (可选)指定下次启动使用的配置文件。
<DeviceB> startup saved-configuration flash:/m-lag_new.cfg
# 查看设备下次启动所用的启动软件是否为新加载的启动软件和配置文件。
<DeviceB> display boot-loader
Software images on slot 1:
Current software images:
flash:/s9850_6850-cmw710-boot-f6632.bin
flash:/s9850_6850-cmw710-system-f6632.bin
Main startup software images:
flash:/s9850_6850-cmw710-boot-f6633.bin
flash:/s9850_6850-cmw710-system-f6633.bin
Backup startup software images:
None
<DeviceB> display startup
MainBoard:
Current startup saved-configuration file: flash:/m-lag_old.cfg
Next main startup saved-configuration file: flash:/m-lag_new.cfg
Next backup startup saved-configuration file: NULL
# 重启设备。
<DeviceB> reboot
Start to check configuration with next startup configuration file, please wait.........DONE!
Current configuration may be lost after the reboot, save current configuration? [Y/N]:y
Please input the file name(*.cfg)[flash:/m-lag_old.cfg]
(To leave the existing filename unchanged, press the enter key):startup.cfg
Validating file. Please wait...
Saved the current configuration to mainboard device successfully.
This command will reboot the device. Continue? [Y/N]:y
(3) 验证维护模式下的M-LAG升级方式是否成功
# 检查版本文件是否已升级为目标文件,配置文件是否为目的配置文件。
<DeviceB> display boot-loader
Software images on slot 1:
Current software images:
flash:/s9850_6850-cmw710-boot-f6633.bin
flash:/s9850_6850-cmw710-system-f6633.bin
Main startup software images:
flash:/s9850_6850-cmw710-boot-f6633.bin
flash:/s9850_6850-cmw710-system-f6633.bin
Backup startup software images:
None
<DeviceB> display startup
MainBoard:
Current startup saved-configuration file: flash:/m-lag_new.cfg
Next main startup saved-configuration file: flash: /m-lag_new.cfg
Next backup startup saved-configuration file: NULL
# 检查设备运行状态是否正常。
<DeviceB> display device
Slot Type State Subslot Soft Ver Patch Ver
1 S6850-56HF Master 0 S6850-56HF-6633 None
# 检查配置是否恢复。
启动完成后,在任意视图下使用display current-configuration命令查看设备当前的配置信息。可以在任意视图下使用display diff current-configuration configfile flash:/XXX.cfg比较当前的配置文件与存储设备中保存的配置文件,查看是否存在配置丢失或更改的情况。
# 查询M-LAG状态,设备正常工作下的“Peer-link interface state (cause)”字段应该为“UP”。
<DeviceB> display m-lag summary
Flags: A -- Aggregate interface down, B -- No peer M-LAG interface configured
C -- Configuration consistency check failed
Peer-link interface: BAGG2
Peer-link interface state (cause): UP
Keepalive link state (cause): UP
M-LAG interface information
M-LAG IF M-LAG group Local state (cause) Peer state Remaining down time(s)
BAGG3 3 DOWN (A) UP -
(4) 流量回切
# 将从设备切回到普通模式,流量回切到从设备。
[DeviceB] undo gir system-mode maintenance
Collecting commands... Please wait.
Configuration to be applied:
undo link-aggregation lacp isolate
sleep instance 1 interval 30
ospfv3 1
undo isolate enable
ospf 1 router-id 11.11.11.11
undo isolate enable
isis 1
undo isolate enable
isis 2 vpn-instance vpna
undo isolate enable
bgp 200
undo isolate enable
Do you want to continue? [Y/N]: y
Applying: undo link-aggregation lacp isolate
Applying: sleep instance 1 interval 30
Applying: ospfv3 1
Applying: undo isolate enable
Applying: ospf 1 router-id 11.11.11.11
Applying: undo isolate enable
Applying: isis 1
Applying: undo isolate enable
Applying: isis 2 vpn-instance vpna
Applying: undo isolate enable
Applying: bgp 200
Applying: undo isolate enable
Waiting 120 seconds to generate a snapshot.
Generated a snapshot: after_maintenance.
Changed to normal mode successfully.
(5) 流量回切完成后,验证业务是否正常
检查业务是否正常的两种方法:
· 将收集的各种表项(如路由表、FIB表、MAC地址表等)与升级之前的表项进行对比,检查是否有丢失;对比升级前后的业务流量是否一致。
· 与运维人员一起查看当前业务是否正常,服务器等能否正常运行。
(6) 检查设备是否处于普通模式
(7) 保存配置,从设备升级完成
升级Device A的步骤与“1. 升级从设备(Device B)”的步骤一致,这里不再赘述。
升级Device D的步骤与“1. 升级从设备(Device B)”的步骤一致,这里不再赘述。
升级Device C的步骤与“1. 升级从设备(Device B)”的步骤一致,这里不再赘述。
如果用户对业务收敛时间要求较高,且故障设备可以切换到维护模式,也可以在维护模式下替换设备,请按如下步骤替换:
(1) 故障设备执行gir system-mode maintenance命令从普通模式切换到维护模式,并保存配置。
(2) 将故障设备的配置文件导入到新设备上。
(3) 在新设备上指定版本文件和配置文件,重启新设备,使指定版本文件和配置文件生效。
(4) 将新设备下电或关闭所有物理端口。
(5) 关闭故障设备所有物理端口或故障设备下电(待替换设备较多时建议采用下电的方式)。
(6) 替换故障设备。
(7) 为新设备连接线缆。
(8) 新设备上电或开启所有物理端口。
(9) 新设备执行undo gir system-mode maintenance命令从维护模式切回普通模式并保存配置。
(1) 以Device A为例,验证分布式聚合设备
# 查看Device A上的Tunnel接口信息,可以看到VXLAN模式的Tunnel接口处于up状态,并且隧道源地址为1.1.1.1。
<DeviceA> display interface Tunnel 1
Tunnel1
Current state: UP
Line protocol state: UP
Description: Tunnel1 Interface
Bandwidth: 64 kbps
Maximum transmission unit: 1464
Internet protocol processing: Disabled
Output queue - Urgent queuing: Size/Length/Discards 0/100/0
Output queue - Protocol queuing: Size/Length/Discards 0/500/0
Output queue - FIFO queuing: Size/Length/Discards 0/75/0
Last clearing of counters: Never
Tunnel source 1.1.1.1, destination 2.2.2.2
Tunnel protocol/transport UDP_VXLAN/IP
Last 300 seconds input rate: 1 bytes/sec, 8 bits/sec, 0 packets/sec
Last 300 seconds output rate: 80 bytes/sec, 640 bits/sec, 0 packets/sec
Input: 26 packets, 1974 bytes, 0 drops
Output: 340 packets, 29514 bytes, 0 drops
# 查看Device A上的VSI信息,可以看到设备自动在IPL上创建了AC,并将其与VSI关联。
<DeviceA> display l2vpn vsi verbose
VSI Name: vpna
VSI Index : 0
VSI State : Up
MTU : 1500
Bandwidth : -
Broadcast Restrain : -
Multicast Restrain : -
Unknown Unicast Restrain: -
MAC Learning : Enabled
MAC Table Limit : -
MAC Learning rate : -
Drop Unknown : -
Flooding : Enabled
Statistics : Disabled
Gateway Interface : VSI-interface 1
VXLAN ID : 10
Tunnels:
Tunnel Name Link ID State Type Flood proxy
Tunnel1 0x5000001 UP Manual Disabled
ACs:
AC Link ID State Type
BAGG3 srv1000 0 Up Manual
BAGG2 srv2 1 Up Dynamic (M-LAG)
VSI Name: vpnb
VSI Index : 1
VSI State : Up
MTU : 1500
Bandwidth : -
Broadcast Restrain : -
Multicast Restrain : -
Unknown Unicast Restrain: -
MAC Learning : Enabled
MAC Table Limit : -
MAC Learning rate : -
Drop Unknown : -
Flooding : Enabled
Statistics : Disabled
Gateway Interface : VSI-interface 2
VXLAN ID : 20
Tunnels:
Tunnel Name Link ID State Type Flood proxy
Tunnel1 0x5000001 UP Manual Disabled
(2) 验证主机之间可以互访
虚拟机Device E和Device F之间可以互访。Device E与Device A或Device B相连的链路断开后,Device E和Device F之间仍然可以通过另一台设备互访。
(3) 验证升级丢包情况
在升级Device A过程中监控Device G与Device E直接流量的丢包情况,经验值Device G与Device E之间无丢包情况发生。
· Device A:
#
vlan 1
#
vlan 2
#
vlan 11
#
l2vpn enable
#
vsi vpna
gateway vsi-interface 1
vxlan 10
tunnel 1
#
vsi vpnb
gateway vsi-interface 2
vxlan 20
tunnel 1
#
interface Bridge-Aggregation2
port link-type trunk
port trunk permit vlan all
link-aggregation mode dynamic
port m-lag peer-link 1
#
interface Bridge-Aggregation3
port link-type trunk
port trunk permit vlan 1 to 2
link-aggregation mode dynamic
port m-lag group 3
#
service-instance 1000
encapsulation s-vid 2
xconnect vsi vpna
#
interface Bridge-Aggregation4
#
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
#
interface Vlan-interface2
#
interface Vlan-interface11
ip address 11.1.1.1 255.255.255.0
#
interface Ten-GigabitEthernet3/0/4
port link-mode route
ip address 60.1.1.1 255.255.255.0
#
interface Ten-GigabitEthernet3/0/1
port link-mode bridge
port access vlan 11
#
interface Ten-GigabitEthernet3/0/5
port link-mode bridge
port link-type trunk
port trunk permit vlan 1 to 2
port link-aggregation group 3
#
interface Ten-GigabitEthernet3/0/2
port link-mode bridge
port link-type trunk
port trunk permit vlan all
port link-aggregation group 2
#
interface Ten-GigabitEthernet3/0/3
port link-mode bridge
port link-type trunk
port trunk permit vlan all
port link-aggregation group 2
#
interface Vsi-interface1
ip address 10.1.1.1 255.255.255.0
mac-address 0001-0001-0001
distributed-gateway local
#
interface Vsi-interface2
ip address 20.1.1.1 255.255.255.0
mac-address 0002-0002-0002
distributed-gateway local
#
interface Tunnel1 mode vxlan
source 1.1.1.1
destination 2.2.2.2
#
m-lag restore-delay 180
m-lag system-mac 0001-0001-0001
m-lag system-number 1
m-lag system-priority 10
m-lag keepalive ip destination 60.1.1.2 source 60.1.1.1
m-lag mad exclude interface Ten-GigabitEthernet3/0/2
m-lag mad exclude interface LoopBack0
m-lag mad exclude interface Vlan-interface11
m-lag mad exclude interface Vsi-interface1
m-lag mad exclude interface Vsi-interface2
#
arp distributed-gateway dynamic-entry synchronize
· Device B(略)
· Device C(略)
· Device D(略)
· Device E:
#
vlan 1
#
vlan 2
#
interface Bridge-Aggregation3
port link-type trunk
port trunk permit vlan 1 to 2
link-aggregation mode dynamic
#
interface Vlan-interface2
ip address 10.1.1.100 255.255.255.0
#
interface Ten-GigabitEthernet3/0/1
port link-mode bridge
port link-type trunk
port trunk permit vlan 1 to 2
port link-aggregation group 3
#
interface Ten-GigabitEthernet3/0/2
port link-mode bridge
port link-type trunk
port trunk permit vlan 1 to 2
port link-aggregation group 3
· Device F(略)
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!