HP ProCurve NAC 800 User Manual page 376

Hide thumbs Also See for ProCurve NAC 800:
Table of Contents

Advertisement

802.1X Quarantine Method
Setting up the 802.1X Components
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
send exit
expect #
send exit
expect press <Return> or <Enter> to select option.
send -noreturn l
Figure 11-41. Nortel Exit Script
Expect Script Commands:
11-58

Advertisement

Table of Contents
loading

Table of Contents