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.20120521.bsc-campusMgr-master_loader-telnetMibs.tar.gz
/
bradford.20120521.bsc-campusMgr-master_loader-telnetMibs.tar
/
bsc
/
campusMgr
/
master_loader
/
telnetMibs
/
cisco2900.mib
< prev
next >
Wrap
Text File
|
2011-03-16
|
5KB
|
207 lines
//Default for all cisco IOS
TELNET_PARAMETERS=
{
WAITFOR=assword:
WRITE=PARAM.PASSWORD
WAITFOR=-
WRITE=PARAM.ENABLE_WRITE
WAITFOR=PARAM.ENABLE_WAITFOR_2
WRITE=PARAM.ENABLE
WAITFOR=)
WRITE=set length 0
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=show run
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 cam static
RETVAL=(enable)
}
ATTRIBUTE_NAME=MacAddressTablePrivate
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTablePrivate
WRITE=show cam static
RETVAL=(enable)
}
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
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=#
}
ATTRIBUTE_NAME=ShowArpFireWall
{
GROUP=ShowArp
ATTRIBUTE=ShowArpFireWall
SET=session slot {0} processor 1
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=#
WRITE=exit
WAITFOR=(enable)
}
// set vlan 850 3/4
ATTRIBUTE_NAME=SwitchPortVlanAccess
{
GROUP=MacAddressTable
ATTRIBUTE=SwitchPortVlanAccess
SET=set vlan {1} {0}
WAITFOR=(enable)
}
// This is not necessary for 6000 series switches.
// However, it will be accessed when switching from
// a normal vlan to a private vlan.
ATTRIBUTE_NAME=NoSwitchPortVlanAccess
{
GROUP=SwitchPortVlanAccess
ATTRIBUTE=NoSwitchPortVlanAccess
}
ATTRIBUTE_NAME=SwitchPortPrivateVlanAccess
{
GROUP=MacAddressTable
ATTRIBUTE=SwitchPortVlanAccess
SET=set pvlan {1} {2} {0}
WAITFOR=(enable)
}
// This is not necessary for 6000 series switches.
// However, it will be accessed when switching from
// a private vlan to a normal vlan.
ATTRIBUTE_NAME=NoSwitchPortPrivateVlanAccess
{
GROUP=SwitchPortPrivateVlanAccess
ATTRIBUTE=NoSwitchPortPrivateVlanAccess
}
ATTRIBUTE_NAME=Logout
{
GROUP=Logout
ATTRIBUTE=Logout
WRITE=exit
}