(Optional) Configuring a Static Gateway Address
Context
A static gateway must be configured when users have static IP addresses. When users are assigned IP addresses statically, the MFF-enabled device cannot dynamically obtain gateway information through DHCP packets. In this case, configure a static gateway address for each VLAN.
Procedure
- Run system-view
The system view is displayed.
- Run vlan vlan-id
The VLAN view is displayed.
- Run mac-forced-forwarding static-gateway ip-address
A static gateway IP address is configured.
By default, no static gateway IP address is configured in a VLAN.
- Run commit
The configuration is committed.