R0106-HP MSR Router Series Layer 2 - WAN Command Reference(V7)

238
ip address cellular-alloc
Use ip address cellular-alloc to enable an Eth-channel interface to obtain an IP address by using the
modem-manufacturer's proprietary protocol.
Use undo ip address cellular-alloc to restore the default.
Syntax
ip address cellular-alloc
undo ip address cellular-alloc
Default
An Eth-channel interface does not obtain an IP address by using the modem-manufacturer's proprietary
protocol.
Views
Eth-channel interface view
Predefined user roles
network-admin
Usage guidelines
To enable an interface to obtain an IP address from the modem by using the modem-manufacturer's
proprietary protocol, use the ip address cellular-alloc command.
To enable an interface to obtain an IP address from the modem by using DHCP, use the ip address
dhcp-alloc command.
The IP address of the modem is automatically allocated by the service provider.
Examples
# Channelize Cellular 2/0/0 into an Eth-channel interface. Enable the Eth-channel interface to obtain an
IP address by using the modem-manufacturer's proprietary protocol.
<Sysname> system-view
[Sysname] controller cellular 2/0/0
[Sysname-Cellular2/0/0] eth-channel 0
[Sysname-Cellular2/0/0] quit
[Sysname] interface eth-channel 2/0/0:0
[Sysname-Eth-channel2/0/0:0] ip address cellular-alloc
mtu
Use mtu to set the maximum transmission unit (MTU) for an interface.
Use undo mtu to restore the default.
Syntax
mtu size
undo mtu
Default
The MTU of an interface is 1500 bytes.