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.
| 1 | Mount the root file system and add the configuration commands to the /etc/rc file using a text editor, such as vi. |
| 2 |
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
Copyright © 1994-2003, Network Appliance, Inc. All rights
reserved.
Part No. 210-00321
File: atm17.htm
Last updated: 01/20/03 14:16:43