beautypg.com

1 registering arp table, 2 displaying arp table – Siemens S223 User Manual

Page 166

background image

UMN:CLI User Manual

SURPASS hiD 6615 S223/S323 R1.5

166 A50010-Y3-C150-2-7619

7.13.1.1 Registering

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

arp

A.B.C.D MACADDR

Sets a static ARP entry, enter the IP address and the
MAC address.
MACADDR: enter the MAC address.

arp

A.B.C.D MACADDR INTER-

FACE

Global

Sets a static ARP entry, enter the IP address, the MAC
address and enter an interface name.
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

no arp

A.B.C.D INTERFACE

Global

Negates a command or set sets its default, enter the IP
address and enter the interface name.

clear arp

Deletes all the contents of ARP table.

clear arp

INTERFACE

Enable

Global

Deletes all the contents of ARP table, enter the inter-
face name.

7.13.1.2 Displaying

ARP

Table

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

Command Mode

Description

show arp

Shows ARP table.

show arp

{INTERFACE | A.B.C.D}

Enable

Global

Shows ARP table for specified interface, enter the in-
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

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

Address

HWaddress

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)#

This manual is related to the following products: