< Home

snmp-server target-host arp-sync

Function

The snmp-server target-host arp-sync command sets the IP address and community name of a target Layer-3 network device to obtain ARP entries using SNMP.

The undo snmp-server target-host arp-sync command deletes the IP address and community name of a configured target Layer-3 network device.

Format

snmp-server target-host arp-sync address ip-address [ vpn-instance vpn-instance-name ] community community-name v2c

snmp-server target-host arp-sync address ip-address [ vpn-instance vpn-instance-name ] usm-user v3 user-name [ authentication-mode {md5 | sha } password [ privacy-mode { 3des | aes128 | aes192 | aes256 | des56 } password ] ]

undo snmp-server target-host arp-sync ip-address [ vpn-instance vpn-instance-name ] community community-name

undo snmp-server target-host arp-sync ip-address [ vpn-instance vpn-instance-name ] usm-user v3 user-name

Parameters

Parameter Description Value
address ip-address

Specifies the IP address of the target Layer-3 network device to obtain ARP entries.

The value is in dotted decimal notation.
vpn-instance vpn-instance-name

Specifies a VPN instance. The VPN instance must exist and the route distinguisher (RD) has been configured for the VPN instance.

vpn-instance, address, and community identify a target Layer-3 network device.

-
community community-name

Specifies the community name of the target Layer-3 network device.

community and address specify one target Layer-3 network device's community name and IP address.

The community name must exist.
v2c

Indicates that the SNMP version is v2c.

-
v3

Indicates that the SNMP version is v3.

-
user-name

Specifies the user name of the target Layer-3 network device.

The user name must exist.
password

Specifies the authorization password or encrypted password.

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

In across-layer-3 MAC identification, the FW supports multiple Layer-3 network devices as SNMP clients to synchronize ARP entries. The device supports 64 Layer-3 network devices as SNMP clients to synchronize ARP entries.

Example

# Set the Agent client IP address to 10.10.90.7 and community name to Public@123.

<sysname> system-view
[sysname] snmp-server arp-sync enable
[sysname] snmp-server target-host arp-sync address 10.10.90.7 community Public@123 v2c
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic