< Home

Maintaining VXLANs

After VXLANs are configured, you can run display commands to view configuration results, tunnel information, and statistics. If necessary, you can clear VXLAN statistics.

Table 1 VXLAN maintenance operations

Operation

Command

View the BD configuration.

display bridge-domain [ bd-id ]

View the VNI configuration.

display vxlan vni [ vni-id [ verbose ] ]

View the MAC address table of a VXLAN.

display mac-address vxlan [ mac-address ] [ vni vni-id ]

Clear dynamic MAC address entries of VXLANs.

If VMs migrate from one VXLAN to another, you must clear related dynamic MAC address entries on the device.

undo mac-address dynamic [ mac-address ] vni { vni-id [peer ip-address ] | all | peer ip-address }

Enable the VXLAN packet statistics function.

This function affects VXLAN tunnel packet statistics.

You can run this command in the view of an NVE interface. By default, this function is disabled. Enabling the VXLAN packet statistics function affects device performance.

vxlan statistic enable

View VXLAN packet statistics.

display vxlan statistic

Clear VXLAN packet statistics.

reset vxlan statistic

View VXLAN tunnel information.

The information includes tunnel configurations, statuses, and packet statistics.

display vxlan tunnel [ [ vni vni-id ] [ peer ip-address ] [ verbose ] ]

Clear VXLAN tunnel packet statistics.

reset vxlan tunnel statistic [ peer ip-address ]

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >