If you want to add a route or command every time the MC32 card reboots you can do the following.
1. Log into the card and further into vxWorksShell (For those who have appropriate access)
2. Go to the root directory with this command. [color red]cd "/c:"[/color]
3. Create a new directory called etc. mkdir [color red]"etc" [/color]
4. Go into the newly created directory. cd [color red]"etc"[/color]
5. Type in the following command. [color red]copy 0,"startup"[/color]
6. Type in the commands you want executed on startup ie: [color red]routeAdd "192.168.10.0","192.168.254.11"[/color]
7. Press [color red]Ctrl+D[/color] to save the file and exit.
8. Type in [color red]copy "startup"[/color] to read the contents of the file and verify.
9. Reset the card and see the commands are executed on startup. They should appear immediately after the vxWorks banner.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.