TP-Link TL-ER6020 TL-ER6020 v1 User Guide - Page 157
Command Introduction, ip-mac
View all TP-Link TL-ER6020 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 157 highlights
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 Get the configuration information of LAN port. TP-LINK # ip set lan address 192.168.0.20 TP-LINK # ip set lan mask 255.255.0.0 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 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 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 mode. -152-