661
mac-forced-forwarding network-port
Use
mac-forced-forwarding network-port
to configure the Ethernet port as a network port.
Use
undo mac-forced-forwarding network-port
to restore the default.
Syntax
mac-forced-forwarding network-port
undo mac-forced-forwarding network-port
Default
The Ethernet port is a user port.
Views
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
You should configure the following ports as network ports:
•
Upstream ports connected to a gateway.
•
Ports connected to the MFF devices in a cascaded network (a network with multiple MFF
devices connected to one another).
•
Ports between devices in a ring network.
You can configure multiple ports as network ports.
You can configure a port as a network port regardless of whether MFF is enabled for the VLAN of the
port. However, the configuration takes effect only after MFF is enabled.
Link aggregation is supported by network ports in an MFF-enabled VLAN, but is not supported by
user ports in the VLAN. To cancel the network port configuration of a link aggregation member port in
a MFF-enabled VLAN, remove the network port from the link aggregation group first. For more
information about link aggregation, see
Layer 2—LAN Switching Configuration Guide
.
Examples
# Configure Ten-GigabitEthernet 1/0/1 as a network port.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] mac-forced-forwarding network-port
Related commands
mac-forced-forwarding
mac-forced-forwarding server
Use
mac-forced-forwarding server
to specify the IP addresses of servers.
Use
undo mac-forced-forwarding server
to remove server IP addresses.
Syntax
mac-forced-forwarding server server-ip
&<1-10>