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
/
cisco4006.mib
< prev
next >
Wrap
Text File
|
2011-03-16
|
4KB
|
169 lines
//Default for all cisco IOS
TELNET_PARAMETERS=
{
WAITFOR=PARAM.USER_WAITFOR
WRITE=PARAM.USER
WAITFOR=assword:
WRITE=PARAM.PASSWORD
WAITFOR=PARAM.ENABLE_WAITFOR_1
WRITE=PARAM.ENABLE_WRITE
WAITFOR=PARAM.ENABLE_WAITFOR_2
WRITE=PARAM.ENABLE
WAITFOR=)
SET=PARAM.REMOTE
WAITFOR=PARAM.WAITFOR
}
TELNET_CONTROL_WORDS=
{
WAITFOR=[n]?
WRITE=YES
WAITFOR=--More--
WRITE=SPACE
}
TELNET_CONTROL_CHARS_ALLOWED=
{
ALLOW_CONTROL=10
ALLOW_CONTROL=13
}
ATTRIBUTE_NAME=Configuration
{
GROUP=Configuration
ATTRIBUTE=Configuration
SET_SINGLE_VAL= {0}
WAITFOR=(enable)
}
ATTRIBUTE_NAME=RunningConfiguration
{
GROUP=RunningConfiguration
ATTRIBUTE=RunningConfiguration
WRITE=wr ter
RETVAL=(enable)
}
ATTRIBUTE_NAME=VlanBrief
{
GROUP=VlanBrief
ATTRIBUTE=VlanBrief
WRITE=show vlan
RETVAL=(enable)
}
ATTRIBUTE_NAME=PortSecurity
{
GROUP=PortSecurity
ATTRIBUTE=PortSecurity
WRITE=show port security
RETVAL=(enable)
}
ATTRIBUTE_NAME=MacAddressTableDynamic
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableDynamic
WRITE=show cam dynamic
RETVAL=(enable)
}
ATTRIBUTE_NAME=MacAddressTable
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTable
WRITE=show cam
RETVAL=(enable)
}
ATTRIBUTE_NAME=MacAddressTableStatic
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableStatic
WRITE=show mac-address-table static
RETVAL=#
}
// {0} is the port name.
ATTRIBUTE_NAME=MacAddressTableSelect
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableSelect
SET=show mac-address-table interface {0}
RETVAL=#
}
ATTRIBUTE_NAME=MacAddressTableAddStatic
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableAddStatic
WRITE=config terminal
WAITFOR=#
SET=mac-address-table static {0} vlan {1} interface {2}
WAITFOR=#
WRITE=end
WAITFOR=#
}
ATTRIBUTE_NAME=MacAddressTableRemoveStatic
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableRemoveStatic
WRITE=config terminal
WAITFOR=#
SET=no mac-address-table static {0} vlan {1} interface {2}
WAITFOR=#
WRITE=end
WAITFOR=#
}
ATTRIBUTE_NAME=MacAddressTableShowSecure
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableShowSecure
WRITE=show cam secure
RETVAL=(enable)
}
// set port security 3/1 enable 01-02-03-04-05-06
ATTRIBUTE_NAME=MacAddressTableSecure
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableSecure
SET=set port security {1} {0}
WAITFOR=(enable)
}
// clear port security 4/1 00-11-22-33-44-55
ATTRIBUTE_NAME=MacAddressTableUnsecure
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableUnsecure
SET=clear port security {1} {0}
WAITFOR=(enable)
}
ATTRIBUTE_NAME=ShowInterface
{
GROUP=ShowInterface
ATTRIBUTE=ShowInterface
WRITE=show interface status
RETVAL=(enable)
}
ATTRIBUTE_NAME=ShowArp
{
GROUP=ShowArp
ATTRIBUTE=ShowArp
SET=session {0}
WAITFOR=PARAM.ROUTER_USER_WAITFOR
WRITE=PARAM.USER_1
WAITFOR=Password:
WRITE=PARAM.PASSWORD_1
WAITFOR=PARAM.ROUTER_ENABLE_WAITFOR_1
WRITE=PARAM.ROUTER_ENABLE_WRITE
WAITFOR=PARAM.ROUTER_ENABLE_WAITFOR_2
WRITE=PARAM.ENABLE_1
WAITFOR=#
WRITE=show arp
RETVAL=#
}
// set vlan 850 3/4
ATTRIBUTE_NAME=SwitchPortVlanAccess
{
GROUP=MacAddressTable
ATTRIBUTE=SwitchPortVlanAccess
SET=set vlan {1} {0}
WAITFOR=(enable)
}
ATTRIBUTE_NAME=Logout
{
GROUP=Logout
ATTRIBUTE=Logout
WRITE=exit
}