Utilizing the Command Line Interface

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-typecommand:

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-listin 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-Listtable, 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.

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

A second example is entered as follows:

XSR(config)#access-list 1 deny any

+where access-listis 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.

2-20 Managing the XSR

Page 56
Image 56
Enterasys Networks X-PeditionTM manual Entering Commands that Control Tables, Adding Table Entries, You may type