跳转到主内容

如何修改与LIF关联的子网的网络掩码

Views:
6
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
nas
Last Updated:

适用场景

  • ONTAP 9
  • 网络子网

问题描述

  • 使用关联的LIF更新子网的网络掩码失败、并显示以下错误、即使使用也是如此 -force-update-lif-associations true

Cluster01::> network subnet show -instance
           IPspace Name: Default
            Subnet Name: test
         Broadcast Domain: Default
          Layer 3 Subnet: 10.10.10.0/24
              Gateway: -
IP Addresses or IP Address Ranges: 10.10.10.21-10.10.10.30
        Total Address Count: 10
        Used Address Count: 5
      Available Address Count: 5

Cluster01::> network subnet modify -subnet-name test -subnet 10.10.10.0/22
Error: command failed: The subnet has one or more LIFs associated with it. Changing the netmask of existing LIFs through the subnet commands is not supported.

Cluster01::> network subnet modify -subnet-name test -subnet 10.10.10.0/22 -force-update-lif-associations true
Error: command failed: The subnet has one or more LIFs associated with it. Changing the netmask of existing LIFs through the subnet commands is not supported.

  • 更新与子网关联的LIF的网络掩码也不起作用

Cluster01::> network interface modify -vserver xyz -lif xyz1 -netmask-length 22
Error: command failed: Cannot update LIF associations for LIF "xyz1". The netmask of the LIF ("255.255.252.0") does not match the netmask of the subnet
    ("255.255.255.0").

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.