TP-Link TL-ER6020 Command Introduction, ip-mac, 5.4.1 ip, TP-LINK ip get lan Lan Ip Lan Mask

Models: TL-ER6020

1 168
Download 168 pages 1.21 Kb
Page 157
Image 157

5.4 Command Introduction

TL-ER6020 provides a number of CLI commands for users to manage the Router and user information. For better understanding, each command is followed by note which is the meaning of the command.

5.4.1 ip

The ip command is used to view or configure the IP address and subnet mask of the interfaces. 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.

TP-LINK > ip get lan

Lan Ip: 192.168.0.1

Lan Mask: 255.255.255.0

TP-LINK # ip set lan address 192.168.0.20

Get the configuration information of LAN port.

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.

TP-LINK # ip set lan mask 255.255.0.0

Set the LAN subnet mask of

 

the Router as 255.255.0.0.

5.4.2ip-mac

The ip-maccommand 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 restrict mode.

TP-LINK > ip-mac get mode

Ip-mac Bind Mode: normal

TP-LINK # ip-mac set mode restrict

Get the current IP-MAC binding mode.

Set the current IP-MAC binding mode to restrict mode.

-152-

Page 157
Image 157
TP-Link TL-ER6020 Command Introduction, ip-mac, 5.4.1 ip, TP-LINK ip get lan Lan Ip Lan Mask, TP-LINK # ip set lan address