An independent VPN is bound to a service interface so that only the service interface can receive management protocol packets.
Create an mVPN. Bind the mVPN to selected service interfaces and loopback interface and bind another VPN to the other service interfaces so that the interfaces in different VPNs cannot intercommunicate.
None
[~HUAWEI] ip vpn-instance management [*HUAWEI-vpn-instance-management] ipv4-family [*HUAWEI-vpn-instance-management] commit [~HUAWEI-vpn-instance-management-af-ipv4] quit [~HUAWEI-vpn-instance-management] display this # ip vpn-instance management ipv4-family # return
[~HUAWEI] interface gigabitethernet0/1/17 [~HUAWEI-GigabitEthernet0/1/17] ip binding vpn-instance management Info: All IPv4 and IPv6 related configurations on this interface are removed. [*HUAWEI-GigabitEthernet0/1/17] commit [~HUAWEI-GigabitEthernet0/1/17] quit [~HUAWEI] interface LoopBack0 [~HUAWEI-LoopBack0]ip binding vpn-instance management Info: All IPv4 and IPv6 related configurations on this interface are removed. [*HUAWEI-LoopBack0]commit
[~HUAWEI-GigabitEthernet0/1/17] ip address 10.3.1.1 24 [*HUAWEI-GigabitEthernet0/1/17] commit [~HUAWEI-GigabitEthernet0/1/17] display this # interface GigabitEthernet0/1/17 undo shutdown ip binding vpn-instance management ip address 10.3.1.1 255.255.255.0 # [~HUAWEI]interface LoopBack 0 [~HUAWEI-LoopBack0] ip address 1.1.1.1 32 [*HUAWEI-LoopBack0]commit [~HUAWEI-LoopBack0] display this # interface LoopBack0 ip binding vpn-instance management ip address 1.1.1.1 255.255.255.255 # return