< Home

source ipv6-address

Function

The source ipv6-address command configures the IPv6 address and port number used by a switch to communicate with the NMS through NETCONF.

The undo source ipv6-address command deletes the IPv6 address and port number used by a switch to communicate with the NMS through NETCONF.

By default, no IPv6 address and port number are configured for a switch to communicate with the NMS using NETCONF.

Format

source ipv6-address { ipv6-address [ vpn-instance vpn-instance-name ] | interface interface-type interface-number } [ port port-number ]

undo source ipv6-address

Parameters

Parameter Description Value
ipv6-address

Specifies the IPv6 address of a switch.

The total length of the value is 128 bits, which are divided into eight groups. Each group contains four hexadecimal digits. The value is in the format of X:X:X:X:X:X:X:X.

vpn-instance vpn-instance-name

Specifies the name of a VPN instance to which the IPv6 address of the switch belongs.

The value must be an existing VPN instance name.
interface interface-type interface-number

Specifies the interface to which the IPv6 address used by the switch belongs.

The interface must be an existing Layer 3 interface on the switch.
  • interface-type specifies the interface type.
  • interface-number specifies the interface number.
port port-number

Specifies the port number used by the switch and NMS.

The value is 830 or an integer in the range 55552 to 55807. The default value is 830.

Views

NETCONF view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

If the NMS needs to configure and manage a switch using an IPv6 address in NETCONF over SSH mode, run the source ipv6-address command to configure the IPv6 address and port number of the switch.

Precautions

When you run the source ipv6-address command to configure or change the port number for IPv6 communication between the switch and NMS, the port number for IPv4 communication between the two systems configured using the source ip command will be changed accordingly.

Changing the IPv6 address or port number will cause communication interruption between the switch and NMS.

Example

# Set the IPv6 address and port number used by the switch to communicate with the NMS through NETCONF to FC00::1 and 55555, respectively.

<HUAWEI> system-view
[HUAWEI] netconf
[HUAWEI-netconf] source ipv6-address FC00::1 port 55555
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >