802.1X Quarantine Method
281
no
vd
ocx
(e
n)
24
Ma
rch 20
09
Expect Script Variables
Variables referenced with the syntax
${VARIABLE_NAME}
will be substituted with the value of
the variable at execution time.
The following variables may be referenced anywhere:
USERNAME
— The username used to log in to the device
PASSWORD
— The password used to log in to the device
ENABLE_USERNAME
— The username used to enter enable mode
ENABLE_PASSWORD
— The password used to enter enable mode
IS_TELNET
— Set to "true" for a telnet connection (otherwise unset)
IS_SSH
— Set to "true" for an SSH connection (otherwise unset)
The following variables may be referenced from re-authentication script:
PORT
— The endpoint's port
PORT_ID
— The endpoint's port ID, usually the same as
PORT
MAC
— The MAC address of the endpoint in colon/hex format (hh:hh:hh:hh:hh:hh)
MAC_DOTTED_DECIMAL
— The MAC address of the endpoint in dotted decimal format
(ddd.ddd.ddd.ddd.ddd.ddd)
MAC_DOTTED_HEX
— The MAC address of the endpoint in dotted hex format
(hhhh.hhhh.hhhh)
IP_ADDRESS
— The IP address of the endpoint in dotted decimal format
IS_MAC_AUTH
— Set to "true" if the username from the switch is a MAC address (otherwise
unset)
IS_DOT1X
— Set to "true" if the username from the switch is not a MAC address (otherwise
unset)
Escape Sequences
Special characters can be included by escaping them as "\XXX" where XXX is an octal value
representing an ASCII character, or as "\uXXXX" where XXXX is a hexadecimal value
representing a unicode character.
Comments
Lines that start with the # character are ignored.
Examples
Initialization script:
expect Enter Ctrl-Y to begin.
send -noreturn \031
expect -ifset IS_TELNET Username:
send -ifset IS_TELNET ${USERNAME}
expect -ifset IS_TELNET Password:
send -ifset IS_TELNET ${PASSWORD}
expect press or to select option.
Содержание ZENworks Network Access Control 5.0
Страница 4: ...4 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 14: ...14 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 Glossary 525 ...
Страница 136: ...136 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 156: ...156 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 216: ...216 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 224: ...224 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 226: ...226 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 Figure 8 1 Inline Installations ...
Страница 227: ...High Availability and Load Balancing 227 novdocx en 24 March 2009 Figure 8 2 DHCP Installation ...
Страница 234: ...234 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 294: ...294 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 310: ...310 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 328: ...328 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 378: ...378 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 384: ...384 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 392: ...392 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 436: ...436 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 442: ...442 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 450: ...450 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 460: ...460 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 524: ...524 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...
Страница 534: ...534 Novell ZENworks Network Access Control Users Guide novdocx en 24 March 2009 ...