660
mdc-admin
Parameters
default-gateway
gateway-ip
: Specifies the IP address of the default gateway.
Usage guidelines
For MFF to take effect, make sure ARP snooping is enabled on the device.
For a network (or VLAN) with IP addresses manually configured, the gateway IP address must be
manually configured. MFF checks for and denies only all-zero and all-one gateway IP addresses.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Enable MFF for VLAN 2 and specify the IP address of the default gateway.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] mac-forced-forwarding default-gateway 1.1.1.1
Related commands
mac-forced-forwarding server
mac-forced-forwarding gateway probe
Use
mac-forced-forwarding gateway probe
to enable periodic gateway probe.
Use
undo mac-forced-forwarding gateway probe
to disable periodic gateway probe.
Syntax
mac-forced-forwarding gateway probe
undo mac-forced-forwarding gateway probe
Default
Periodic gateway probe is disabled.
Views
VLAN view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
Make sure you have enabled MFF before enabling periodic gateway probe.
The probe interval is 30 seconds.
Examples
# Enable periodic gateway probe.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] mac-forced-forwarding gateway probe
Related commands
mac-forced-forwarding
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...