Utilizing the Command Line Interface

Deleting Table Entries

There are two ways to delete an entry from a table depending on the table type. Type (e.g.):

XSR(config)#no arp 1.1.1.1 e45e.ffe5.ffee

+removes the arp entry related to row 1.1.1.1. where no is the command that negates the previous operation and arp is the associated table type. A second example is entered as follows:

XSR(config)#no access-list 1

+removes access-list 1 where no is the command that clears the access-list.

Modifying Table Entries

For some tables, you must first remove the entry then add the same entry with new values. For the ARP table the syntax is similar to the add command where you enter the command and entry ID with a new value which replaces the old value in the ARP table.

For example, typing the following:

XSR(config)#arp 1.1.1.1 e45e.ffe5.efef

XSR(config)#arp 1.1.1.1 e45e.ffe5.3434

+first creates an arp entry of 1.1.1.1 associated with MAC address e45e.ffe5.efef. Then, this entry is modified to be associated with the new MAC address e45e.ffe5.3434.

Displaying Table Entries

You can display ARP table, access-list table, gateway-type prefix table, IP routing table, and other entries at privileged EXEC mode.

For example, enter show ip arp displays the following output:

XSR#show ip arp

Protocol

Address

Age(min)

Hardware Address

Type

Interface

Internet

192.168.12.16

0

0001.f4fe.2716

ARPA

FastEthernet2

Internet

192.168.14.64

12

0001.f4ee.2764

ARPA

FastEthernet2

Internet

192.168.12.40

18

00b0.d0fe.e292

ARPA

FastEthernet2

Internet

180.180.180.1

59

0030.ee1f.ef61

ARPA

FastEthernet2

Internet

192.168.12.1

8

00e0.631f.a45a

ARPA

FastEthernet2

Internet

192.168.12.81

60

0030.85ff.ef61

ARPA

FastEthernet2

Internet

192.168.12.17

44

0001.f4ef.2717

ARPA

FastEthernet2

Managing XSR Interfaces

You must be in Interface mode before configuring XSR ports. To enter Interface mode, type the following, for example:

XSR#configure terminal

XSR(config)#interface FastEthernet 1

XSR(config-if<F1>)#

XSR User’s Guide 2-21

Page 57
Image 57
Enterasys Networks X-PeditionTM manual Managing XSR Interfaces, Deleting Table Entries, Modifying Table Entries