Command Descriptions, Continued

“del” Command

“display” Command

This command deletes selected items from the hub’s Source Address Table (SAT). The command offers options to delete all entries or se- lected entries by IP address or by MAC address. The command syntax is as follows:

del xx:xx:xx:xx:xx:xx or del xxx.xxx.xxx.xxx

where xx:xx:xx:xx:xx:xx is a MAC address in colon-separated hexadeci- mal format, and xxx.xxx.xxx.xxx is a dotted-decimal IP address. Note that in both cases, leading zeros must be included in the addresses. That is, if the IP address of an entry is “192.1.2.3,” the address must be en- tered as “192.001.002.003.” If the designated address is not found in the SAT, the hub-half displays an error message:

Address xx:xx:xx:xx:xx:xx not found or Address xxx.xxx.xxx.xxx not found

If the deletion is successful, the hub-half confirms it with a message:

Address xx:xx:xx:xx:xx:xx deleted or Address xxx.xxx.xxx.xxx deleted

The entire SAT may be cleared with the command:

del all

Note that the SAT always contains one entry that may not be deleted, for the hub-half itself.

Display the Source Address Table (SAT). This displays the MAC ad- dresses of all stations known to the hub-half. IP addresses are also shown for all stations whose IP addresses the hub-half has learned. The list is sorted by IP address; entries that do not include an IP address are listed following those that do. The port through which the station is reached is displayed in the right-hand column. This generates a display similar to the following:

local> display

 

 

 

MAC Address:

IP Address:

Port:

 

00:10:5A:19:08:76

172.16.8.208

Port 9

0

00:A0:24:11:EC:7D

172.16.8.209

Port 9

1

00:80:44:11:22:32

172.16.9.205

Port 1

2

02.11.22.44.32.10

172.16.9.206

Ethernet

3

00:60:47:8D:F6:20

172.16.9 207

Local

4

00.80.44.44.33.22

 

Crosslink

5

00:A0:24:11:DD:70

 

Port 3

6

total entries

in SAT: 7

 

 

local>

 

 

 

2000585-001

Command Summary 73

Page 81
Image 81
Siemens DataNET Hub (DNH) user manual Del Command Display Command