Entering commands that control tables, Adding table entries, Entering commands that control tables -20 – Enterasys Networks Security Router X-PeditionTM User Manual

Page 56: Adding table entries -20

Advertising
background image

Utilizing the Command Line Interface

2-20 Managing the XSR

Switched: When configuring a switched BRI connection, three serial sub-interfaces are
automatically created when you enter:

interface bri 2/1
isdn switch-type basic-ni1

The following sub-interfaces are added:

interface serial 2/1:0
interface serial 2/1:1
interface serial 2/1:2

These serial sub-interfaces are removed with the

no isdn switch-type

command:

interface bri 2/1
no isdn switch-type

+

This deletes serial ports 2/1:0, 2/1:1 and 2/1:2

Entering Commands that Control Tables

A number of CLI commands configure entries in tables such as

arp

and

access-list

in the XSR.

Two types of tables are configurable:

• Single-instance table: The ARP table, for example, in which one table holds many rows and

each row is a complete entry. Entries are not displayed in the same order they are entered.

• Multiple-instance table: The Access-List table, for example, in which there are multiple

tables identified by number with each table containing many rows and each row is a
complete entry. Entries are not displayed in the same order they are entered.

With few exceptions, you must be in Global mode before issuing table commands.

Adding Table Entries

Depending on the type of table configured, the parameter list can be optional or required. For
example the ARP table has three required parameters and some optional values depending on the
context. For example, using the following command:

arp ip-address mac-address

you may type:

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

+

where arp is the command and type of table to be filled or modified, 1.1.1.1 is the IP address corresponding to the MAC

address e45e.ffe5.ffee

.

A second example is entered as follows:

XSR(config)#access-list 1 deny any

+

where access-list is the command and the type of table to be filled or modified, 1 is the ID of the table to be modified,

deny is the type of operation authorized and any is the host that should be denied.

Note: ARP is a table type, as well as a command, that fills or modifies entries in the ARP table.

Advertising