HP 800 User Manual page 357

Network access controller 800
Hide thumbs Also See for 800:
Table of Contents

Advertisement

Initialization script – This script is used to log in to the device, enter
enable mode and set up the state necessary to execute the re-authen-
tication command. It is executed the first time a connection to the
device is opened or if the connection to the device is reset.
Re-authentication script – This script is used to perform endpoint re-
authentication. It is executed once for each endpoint re-authentica-
tion while the connection to the device remains active (until the
connection goes bad or the idle time inactivity timeout is reached).
Exit script – This script is used to exit the console. It is executed when
the idle time timeout is reached.
When testing configuration settings from the NAC 800 user interface, all three
scripts are executed once in sequence and the connection is closed. If any
output is returned by a command sent in the re-authentication script, it is
logged and returned to the user. If an expect command times out the current
expect buffer is logged and returned to the user.
As an example, the following figures show the initial scripts used for a Nortel
device in the NAC 800 user interface.
expect Enter Ctrl-Y to begin.
send -noreturn \031
expect -ifset USERNAME Username:
send -ifset USERNAME ${USERNAME}
expect -ifset PASSWORD Password:
send -ifset PASSWORD ${PASSWORD}
expect press <Return> or <Enter> to select option.
send -noreturn c
expect >
send enable
expect -ifset ENABLE_USERNAME Username:
send -ifset ENABLE_USERNAME ${USERNAME}
expect -ifset ENABLE_PASSWORD Password:
send -ifset ENABLE_PASSWORD ${ENABLE_PASSWORD}
expect #
send configure terminal
expect (config)#
Figure 11-39. Nortel Initialization Script
send interface FastEthernet ${PORT}
expect (config-if)#
send eapol re-authenticate
expect (config-if)#
send exit
expect (config)#
Figure 11-40. Nortel Re-authentication Script
802.1X Quarantine Method
Setting up the 802.1X Components
11-57

Advertisement

Table of Contents
loading

This manual is also suitable for:

Procurve nac 800

Table of Contents