UMN:CLI

User Manual

 

SURPASS hiD 6615 S223/S323 R1.5

 

 

 

7.13.1.1Registering ARP Table

The contents of ARP table are automatically registered when MAC address corresponds to MAC address is founded. The network administrator could use MAC address of spe- cific IP address in Network by registering on ARP table.

To make specific IP address to be accorded with MAC address, use the following com- mand.

Command

Mode

Description

 

 

 

 

 

Sets a static ARP entry, enter the IP address and the

arp A.B.C.D MACADDR

 

MAC address.

 

 

MACADDR: enter the MAC address.

 

Global

 

 

Sets a static ARP entry, enter the IP address, the MAC

arp A.B.C.D MACADDR INTER-

 

address and enter an interface name.

FACE

 

INTERFACE: enter an interface name.

 

 

MACADDR: enter the MAC address.

 

 

 

To delete registered IP address and MAC address or change all the contents of ARP table, use one of the following command.

Command

Mode

Description

 

 

 

no arp A.B.C.D

 

Negates a command or set sets its default

 

Global

 

no arp A.B.C.D INTERFACE

Negates a command or set sets its default, enter the IP

 

address and enter the interface name.

 

 

 

 

 

clear arp

Enable

Deletes all the contents of ARP table.

 

 

 

Deletes all the contents of ARP table, enter the inter-

clear arp INTERFACE

Global

face name.

 

 

 

 

 

7.13.1.2Displaying ARP Table

To display ARP table registered in switch, use one of the following command.

Command

Mode

Description

 

 

 

show arp

Enable

Shows ARP table.

 

 

 

Shows ARP table for specified interface, enter the in-

show arp {INTERFACE A.B.C.D}

Global

terface name or IP address. (br1, br2, ...).

 

 

 

 

 

The following is an example of registering 10.1.1.1 as IP address and 00:d0:cb:00:00:01 as MAC address. This command displays ARP table.

SWITCH(config)# arp 10.1.1.1 00:d0:cb:00:00:01

SWITCH(config)# show arp

------------------------------------------------------------

AddressHWaddress Type Interface

------------------------------------------------------------

10.254.254.105

00:bb:cc:dd:ee:05

DYNAMIC

br4094

10.2.2.1

00:00:cd:01:82:d0

DYNAMIC

br2

SWITCH(config)#

 

 

 

166

A50010-Y3-C150-2-7619

Page 166
Image 166
Siemens S323, S223 user manual Registering ARP Table, Displaying ARP Table, 166 A50010-Y3-C150-2-7619