-149-
and Introduction
d is followed by note which is the meaning of the command.
5.4
The c
iew
command can be used in both User EXEC Mode and Privileged EXEC Mode while configuration
function can be only used in Privileged EXEC Mode.
Lan Mask: 255.255.255.0
TP-LINK
#
ip set lan mask 255.255.0.0
as 255.255.0.0.
5.4.2
ip-mac
The
ip-mac
command is used to view or configure the current IP-MAC Binding mode. View command
can be used in both User EXEC Mode and Privileged EXEC Mode while configuration function can be
only used in Privileged EXEC Mode. The IP-MAC Binding mode includes two types: normal mode and
mode.
5.4 Comm
TL-ER6120 provides a number of CLI commands for users to manage the router and user information.
For better understanding, each comman
.1 ip
ip
ommand is used to view or configure the IP address and subnet mask of the interfaces. V
TP-LINK
>
ip get lan
Lan Ip: 192.168.0.1
Get the configuration
information of LAN port.
TP-LINK
#
ip set lan address 192.168.0.20
Set the LAN IP address of the
router as 192.168.0.20.
Displaying
Operation
succeeded!
indicates the
operation is successful. It will
be prompted if an error
occurs.
Set the LAN subnet mask of
the router
restrict mode.
TP-LINK
>
ip-mac get mode
Ip-mac Bind Mode: normal
Get the current IP-MAC
binding mode.
TP-LINK
#
ip-mac set mode restrict
Set the current IP-MAC
binding mode to restrict