Before you can view, add, or modify server entries, you must open a session so that you can interact with the interfaces file.
You can have multiple sessions open at one time.
To open a session with the interfaces file
Enter:
open InterfacesDriver
When you open a session, dscp provides the session’s number. For example, if you open a session using the open InterfacesDriver command, dscp displays the following message:
ok
Session 1 InterfacesDriver>>
To list all open sessions
Enter:
sess
To switch to another open session
Enter the following, where sess is the session number:
switch sess
For example, you are switched to session 3 if you enter:
switch 3
The switch keyword is optional. For example, entering “3” also switches you to session 3.
To close a session
Enter the following, where sess is the session number:
close sess
For example, session 3 closes if you enter:
close 3
If you do not specify a session number, dscp closes the current session.