< Home

snmp-agent protocol ipv6 source-ip

Function

The snmp-agent protocol ipv6 source-ip command configures a source IPv6 address for receiving and responding to NMS requests.

The undo snmp-agent protocol ipv6 source-ip command restores the default configuration.

By default, the source IPv6 address is not configured for receiving and responding to NMS requests.

Format

snmp-agent protocol ipv6 source-ip ipv6-address

undo snmp-agent protocol ipv6 source-ip

Parameters

Parameter Description Value

iipv6-address

Specifies a source IPv6 address.

The value consists of 128 octets, which are classified into 8 groups. Each group contains 4 hexadecimal numbers in the format X:X:X:X:X:X:X:X.

Views

System view

Default Level

3: Management level

Usage Guidelines

Usage Scenario

By default, any available IPv6 address can be used to receive and respond to NMS requests. This brings inconvenience to unified data management and causes low system security. To resolve these problems, run the snmp-agent protocol ipv6 source-ip command to specify a source IPv6 address for receiving and responding to SNMP requests.

Precautions

After the snmp-agent protocol ipv6 source-ip command is run, the NMS can communicate with the device only through the specified IPv6 address. Therefore, ensure that there are reachable routes between the NMS and the specified source IPv6 address.

Example

# Configure 1::1 as a source IPv6 address for receiving and responding to NM station requests.
<HUAWEI> system-view
[HUAWEI] snmp-agent protocol ipv6 source-ip 1::1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >