beautypg.com

Configuring port binding, Port binding configuration example, Network requirements – H3C Technologies H3C S3600 Series Switches User Manual

Page 218

background image

2-2

Configuring Port Binding

Follow these steps to configure port binding:

To do...

Use the command...

Remarks

Enter system view

system-view

In system
view

am user-bind mac-addr mac-address ip-addr
ip-address [ interface interface-type
interface-number
]

interface interface-type interface-number

Create a
port-MAC-IP
binding entry

In Ethernet
port view

am user-bind { ip-addr ip-address | mac-addr
mac-address [ ip-addr ip-address ] }

Either is
required.

By default,
no binding is
configured.

z

Ensure that the IP address or MAC address in a port binding is unique in all port bindings.

z

For the same port, port-IP-MAC binding is mutually exclusive with port-IP binding.

Displaying and Maintaining Port Binding Configuration

To do...

Use the command...

Remarks

Display port binding
information

display am user-bind [ interface interface-type
interface-number
| ip-addr ip-addr | mac-addr
mac-addr ]

Available in any view

Port Binding Configuration Example

Port Binding Configuration Example

Network requirements

It is required to bind the MAC and IP addresses of Host A to Ethernet 1/0/1 on Switch A, so as to prevent

malicious users from using the IP address they steal from Host A to access the network.

This manual is related to the following products: