snmp-agent protocol ipv6 source-ip

Function

The snmp-agent protocol ipv6 source-ip command specifies an IPv6 source address for SNMP to receive and respond to requests from an NMS.

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

The snmp-agent proxy protocol ipv6 source-ip command specifies an IPv6 source address for the SNMP proxy to receive and respond to requests from the CCU.

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

The snmp-agent protocol ipv6 physic-isolate source-interface source-ip command specifies an IPv6 isolate source address for SNMP to receive and respond to requests from an NMS.

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

The snmp-agent proxy protocol ipv6 physic-isolate source-interface source-ip command specifies an IPv6 isolate source address for the SNMP proxy to receive and respond to requests from the CCU.

The undo snmp-agent proxy protocol ipv6 physic-isolate source-interface source-ip command restores the default configuration.

By default, no IPv6 source address is specified for SNMP to receive and respond to requests from an NMS. The function that allows all IPv6 addresses on the device to be used by SNMP to receive and respond to requests from an NMS is not enabled. No source interface is specified for SNMP to receive and respond to requests from an NMS. The function that allows all interfaces on the device to be used by SNMP to receive and respond to requests from an NMS is not enabled. No source interface/IPv6 source address is specified for the SNMP proxy to receive and respond to requests from the CCU. The function that allows all interfaces or IPv6 addresses on the device to be used by the SNMP proxy to receive and respond to requests from the CCU is not enabled.

Format

snmp-agent protocol ipv6 source-ip ip-address [ vpn-instance vpn-instance-name ]

snmp-agent proxy protocol ipv6 source-ip ip-address [ vpn-instance vpn-instance-name ]

snmp-agent proxy protocol ipv6 physic-isolate source-interface { protocol-interface-type protocol-interface-number | protocol-interface-name } source-ip ip-address

snmp-agent protocol ipv6 physic-isolate source-interface { protocol-interface-type protocol-interface-number | protocol-interface-name } source-ip ip-address

undo snmp-agent protocol ipv6 source-ip ip-address [ vpn-instance vpn-instance-name ]

undo snmp-agent proxy protocol ipv6 source-ip ip-address [ vpn-instance vpn-instance-name ]

undo snmp-agent protocol ipv6 physic-isolate source-interface { protocol-interface-type protocol-interface-number | protocol-interface-name } source-ip ip-address

undo snmp-agent proxy protocol ipv6 physic-isolate source-interface { protocol-interface-type protocol-interface-number | protocol-interface-name } source-ip ip-address

Parameters

Parameter Description Value
vpn-instance vpn-instance-name

Specifies the name of a VPN instance.

The value is a string of 1 to 31 characters. It cannot contain spaces.

source-ip ip-address

Specifies an IPv6 source address for SNMP to receive and respond to requests from an NMS.

The value is a 32-digit hexadecimal number, in the format of X:X:X:X:X:X:X:X.

protocol-interface-type

Specifies the type of a source interface.

-

protocol-interface-number

Specifies the number of a source interface.

The value is a string of 1 to 63 case-sensitive characters, spaces not supported.

protocol-interface-name

Specifies the name of a source interface.

The value is a string of 1 to 63 case-sensitive characters, spaces not supported.

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
snmp write

Usage Guidelines

Usage Scenario

To specify an IPv6 source address for SNMP to receive and respond to requests from an NMS, run the snmp-agent protocol ipv6 source-ip command.

To specifiesan IPv6 isolate source address for SNMP to receive and respond to requests from an NMS, run the snmp-agent protocol ipv6 physic-isolate source-interface source-ip command.

To allow data to be managed in a unified manner, you can specify the IPv6 source address for the SNMP proxy to receive and respond to requests from the CCU or configure the function that allows all IPv6 addresses on the device to be used by the SNMP proxy to receive and respond to requests from the CCU.

Precautions

The snmp-agent protocol ipv6 source-ip command can be used to specify a maximum of 20 IPv6 source addresses for SNMP to receive and respond to requests from an NMS.

The snmp-agent proxy protocol ipv6 source-ip command can be used to specify a maximum of 20 IPv6 source addresses for the SNMP proxy to receive and respond to requests from the CCU.

Similarly, a maximum of 20 snmp-agent protocol ipv6 physic-isolate source-interface and snmp-agent proxy protocol ipv6 physic-isolate source-interface can be configured.

Other specifications:

  • In scenarios such as interface unnumbered scenarios, if the isolate source interface and common source interface (not isolated) are configured and the source interface listens to the same IP address and VPN, the common source interface takes effect.
  • Both all-zero listening and isolate source interface are configured. The source interface is matched based on the quintuple. If the isolation configuration is matched, the isolation configuration takes effect. If the isolation configuration is not matched, all-zero listening takes effect.
  • The IP address specified for the isolation source interface is decoupled from the interface IP address. The IP address does not need to be on the specified interface.

Example

# Configure FC00::1 as the IPv6 source address for SNMP to receive and respond to requests from an NMS.
<HUAWEI> system-view
[~HUAWEI] snmp-agent protocol ipv6 source-ip FC00::1
# Configure GigabitEthernet0/1/0 as a isolate source interface for SNMP to receive and respond to requests from an NMS.
<HUAWEI> system-view
[~HUAWEI] snmp-agent protocol ipv6 physic-isolate source-interface GigabitEthernet 0/1/0 source-ip 2001:db8:1::1/64
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >