home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
chilidog.highland.cc.ks.us
/
chilidog.highland.cc.ks.us.zip
/
chilidog.highland.cc.ks.us
/
backup
/
bradford.20110711.bsc-campusMgr-master_loader-telnetMibs.tar.gz
/
bradford.20110711.bsc-campusMgr-master_loader-telnetMibs.tar
/
bsc
/
campusMgr
/
master_loader
/
telnetMibs
/
Symbol.mib
< prev
next >
Wrap
Text File
|
2011-03-16
|
4KB
|
181 lines
//Default for Symbol.. Modified the login to change the prompt since we will have
//trouble parsing some the tables that contain a "#" as a header value.
//process is as follows :
// 1) when we get the login prompt, enter cli to get to the cli view.
// 2) when we get the Username prompt, enter the user name
// 3) when we get the password prompt, enter the password
// 4) type enable
// 5) when/if we get the enable password prompt, type the enable password. -- try to test later --
// 6) once logged in, go to the configuration terminal
// 7) change the prompt to [Bradford] for ease of parsing.
// 8) exit back to the enable level
TELNET_PARAMETERS=
{
WAITFOR=login:
WRITE=cli
WAITFOR=Username:
WRITE=PARAM.USER
WAITFOR=Password:
WRITE=PARAM.PASSWORD
WAITFOR=PARAM.SSH_WAITFOR_1
WRITE=PARAM.SSHUSER
WAITFOR=PARAM.SSH_WAITFOR_2
WRITE=PARAM.SSHPASSWORD
WAITFOR=>
WRITE=enable
WAITFOR=#
}
// Not sure what this sequence accomplishes!
TELNET_CONTROL_WORDS=
{
WAITFOR=<SPACE>
WRITE=SPACE
WAITFOR=(yes
WRITE=YES
WAITFOR=MORE
WRITE=SPACE
WAITFOR=(q)
WRITE=SPACE
WAITFOR=now?
WRITE=no
WAITFOR=(y/n)
WRITE=y
}
// No sure what this is needed for!
TELNET_CONTROL_CHARS_ALLOWED=
{
ALLOW_CONTROL=10
ALLOW_CONTROL=13
ALLOW_CONTROL=9
}
// adds the MAC address specified in argument {0} to the blacklist
// {1} indicates the index to use for our blacklist entry.
ATTRIBUTE_NAME=BlacklistClient
{
GROUP=BlacklistClient
ATTRIBUTE=BlacklistClient
SET=config terminal
WAITFOR=#
SET=wireless
WAITFOR=#
SET=no mobile-unit {0} add-to-mac-auth-local {1}
WAITFOR=#
SET=exit
WAITFOR=#
}
// removes the MAC address from the blacklist
// {1} is the index of the acl entry
ATTRIBUTE_NAME=UnBlacklistClient
{
GROUP=UnBlacklistClient
ATTRIBUTE=UnBlacklistClient
SET=config terminal
WAITFOR=#
SET=wireless
WAITFOR=#
SET=no mac-auth-local {1}
WAITFOR=#
SET=exit
WAITFOR=#
}
// adds the MAC address specified in argument {0} to the blacklist
ATTRIBUTE_NAME=BlacklistClient
{
GROUP=BlacklistClient
ATTRIBUTE=BlacklistClient
SET=config terminal
WAITFOR=#
SET=wireless
WAITFOR=#
SET=no mobile-unit {0} add-to-mac-auth-local 200
WAITFOR=#
SET=exit
WAITFOR=#
}
// removes the MAC address from the blacklist
ATTRIBUTE_NAME=UnBlacklistClient
{
GROUP=UnBlacklistClient
ATTRIBUTE=UnBlacklistClient
SET=config terminal
WAITFOR=#
SET=wireless
WAITFOR=#
SET=no mac-auth-local 200
WAITFOR=#
SET=exit
WAITFOR=#
}
// Take 2: Command sequence to drop an end station off the controller.
//--- Obsolete ---
ATTRIBUTE_NAME=ClearClient
{
GROUP=ClearClient
ATTRIBUTE=ClearClient
SET=config terminal
WAITFOR=#
SET=wireless
WAITFOR=#
SET=no mobile-unit {0} add-to-mac-auth-local 200
WAITFOR=#
SLEEP=15
SET=no mac-auth-local 200
WAITFOR=#
SET=exit
WAITFOR=#
}
//Command sequence to list all APs known to controller.
ATTRIBUTE_NAME=ListAPs
{
GROUP=ListAPs
ATTRIBUTE=ListAPs
WRITE=configure terminal
WAITFOR=#
WRITE=show wireless ap
RETVAL=)#
WRITE=exit
WAITFOR=#
}
//Command sequence to read arp cache
ATTRIBUTE_NAME=ShowArp
{
GROUP=ShowArp
ATTRIBUTE=ShowArp
WRITE=show ip arp
RETVAL=#
}
//Command sequence to read forwarding data
ATTRIBUTE_NAME=ShowWirelessMU
{
GROUP=ShowWirelessMU
ATTRIBUTE=ShowWirelessMU
WRITE=show wireless mobile-unit
RETVAL=#
}
//Command sequence to read vlans
ATTRIBUTE_NAME=ShowVlans
{
GROUP=ShowVlans
ATTRIBUTE=ShowVlans
WRITE=show ip interface brief
RETVAL=#
}
ATTRIBUTE_NAME=Logout
{
GROUP=Logout
ATTRIBUTE=Logout
WRITE=exit
}