dhcp snooping unicast cpu-forward disable

Function

The dhcp snooping unicast cpu-forward disable command disables CPU forwarding for DHCP snooping unicast packets.

The undo dhcp snooping unicast cpu-forward disable command restores the default configuration.

By default, CPU forwarding is enabled for DHCP snooping unicast packets.

Format

dhcp snooping unicast cpu-forward disable

undo dhcp snooping unicast cpu-forward disable

Parameters

None

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp write

Usage Guidelines

Usage Scenario

By default, DHCP snooping unicast packets in VPLS scenarios are forwarded using CPU, and the EXP values of MPLS packets sent to the tunnel side are mapped to DSCP values (equal to the EXP values) of IP packets. After the dhcp snooping unicast cpu-forward disable command is used to disable CPU forwarding for DHCP snooping unicast packets, DHCP snooping unicast packets in VPLS scenarios are forwarded using hardware. The EXP values of MPLS packets sent to the tunnel side are mapped to the DSCP values (6 by default) of IP packets based on the DSCP-EXP mappings specified using the host-packet dscp map command.

Prerequisites

DHCP snooping has been enabled using the dhcp snooping enable command.

Example

# Configure hardware forwarding for DHCP snooping unicast packets.
<HUAWEI> system-view
[~HUAWEI] dhcp enable
[*HUAWEI] dhcp snooping enable
[*HUAWEI] dhcp snooping unicast cpu-forward disable
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >