Using a dscp session

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.

StepsTo open a session with the interfaces file

  1. 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>>
    

StepsTo list all open sessions

  1. Enter:

    sess
    

StepsTo switch to another open session

  1. 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.

StepsTo close a session

  1. 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.