4
Restoring the default settings for an Eth-channel interface
Restrictions and guidelines
CAUTION:
Restoring the default interface settings might interrupt ongoing network services. Make sure you are
fully aware of the impact of this command when you use it on a live network.
The
default
command might fail to restore the default settings for some commands for reasons
such as command dependencies and system restrictions. Use the
display this
command in
interface view to identify these commands. Then use their
undo
forms or follow the command
reference to individually restore their default settings. If your restoration attempt still fails, follow the
error message instructions to resolve the problem.
Procedure
1.
Enter system view.
system-view
2.
Enter Eth-channel interface view.
interface eth-channel interface-number
3.
Restore the default configurations.
default
Configuring an IP address for an Eth-channel interface of a
4G modem
About obtaining an IP address for an Eth-channel interface
An Eth-channel interface can communicate with other devices only after it obtains an IP address.
You can configure an IP address for an Eth-channel interface in the following ways:
•
DHCP
—The Eth-channel interface obtains the modem's IP address as its own IP address
through DHCP. The modem's IP address is automatically allocated by the service provider.
•
Modem manufacturer's proprietary protocol
—The Eth-channel interface obtains the
modem's IP address as its own IP address through the modem manufacturer's proprietary
protocol. The modem's IP address is automatically allocated by the service provider.
•
Manual
configuration
.
The ways for the Eth-channel interface to obtain an IP address are mutually exclusive. The most
recent configuration overrides the previous one.
Restrictions and guidelines
Changing the IP address will result in dialup interruption. Immediate re-dialup upon interruption
might not be supported by service providers.
Procedure
1.
Enter system view.
system-view
2.
Enter Eth-channel interface view.
interface eth-channel
interface-number
3.
Configure an IP address for the Eth-channel interface in one of the three ways.
{
Obtain an IP address by using DHCP.
ip address dhcp-alloc