Library Table of Contents Index Previous Next Comments

Checking and completing the Emulated LAN configuration

Saving the ATM configuration commands in the /etc/rc file

Saving the configuration commands  Top

By saving the ATM configuration information in the /etc/rc file, you avoid having to reconfigure the adapters manually each time the filer is restarted.

To save the configuration commands in the /etc/rc file for automatic execution at boot time, complete the following steps.

Step

Action

1

Mount the root file system and add the configuration commands to the /etc/rc file using a text editor, such as vi.

2

Save your changes.

Sample /etc/rc file with ATM configuration commands  Top

Following is a sample portion of an /etc/rc file containing configuration commands for three ATM adapters:

# unit 1
elconfig set -lecs -wellknown -unit 1
elconfig add default -if el0 -type ethernet -unit 1
ifconfig el0 172.20.12.19 netmask 255.255.252.0 up
# unit 2
elconfig set -lecs -wellknown -unit 2
elconfig add nineKMTU -if el1 -type ethernet -unit 2
ifconfig el1 201.201.201.219 netmask 255.255.255.0 up
# unit 3
elconfig set -lecs -wellknown -unit 3
elconfig add eighteenKMTU -if el2 -type ethernet -unit 3
ifconfig el2 201.201.210.219 netmask 255.255.255.0 up
elconfig add nineKMTU -if el3 -type ethernet -unit 3
ifconfig el3 201.201.210.220 netmask 255.255.255.0 up
elconfig wait

Library Table of Contents Index Previous Next Comments