R2511-HP MSR Router Series Terminal Access Command Reference(V5)

52
ip
Use ip to specify the terminal’s IP-to-MAC binding.
Use undo ip to restore the default.
Use undo mac to remove the binding.
Syntax
ip ip-address [ mac mac-address ]
undo { ip | mac }
Default
No IP-to-MAC binding is specified on the terminal.
Views
Terminal view
Default command level
2: System level
Parameters
ip-address: Specifies the IP address of the terminal in dotted decimal format.
mac mac-address: Specifies the MAC address of the terminal in H-H-H format.
Usage guidelines
To modify the IP address of a binding, use the ip ip-address command. To modify the MAC address of
a binding, use the ip ip-address mac mac-address command.
When a binding is specified for a terminal, the terminal must use the IP and MAC addresses to log in
successfully.
If terminals connect to the router through intermediate Layer 3 network devices, do not bind MAC
addresses for the terminals, because the MAC addresses contained in the packets arriving at the router
are not those of the terminals.
Examples
# Bind IP address 1.1.1.2 to MAC address 00e0-fc04-1234 for Terminal 1.
<Sysname> system-view
[Sysname] ipta terminal 1
[Sysname-ipta-terminal-1] ip 1.1.1.2 mac 00e0-fc04-1234
ipta bind
Use ipta bind to specify a MAC address or string for authentication with the server.
Use undo ipta bind to remove the configuration.
Syntax
ipta bind { mac-address interface interface-type interface-number | string string }
undo ipta bind
Default
No authentication is performed between the access router and server.