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
/
ciscoNexus.mib
< prev
next >
Wrap
Text File
|
2011-03-16
|
5KB
|
239 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=#
}
TELNET_CONTROL_WORDS=
{
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=#
}
ATTRIBUTE_NAME=RunningConfiguration
{
GROUP=RunningConfiguration
ATTRIBUTE=RunningConfiguration
WRITE=show run
RETVAL=#
}
ATTRIBUTE_NAME=VlanBrief
{
GROUP=VlanBrief
ATTRIBUTE=VlanBrief
WRITE=show vlan brief
RETVAL=#
}
ATTRIBUTE_NAME=TrunkBrief
{
GROUP=TrunkBrief
ATTRIBUTE=TrunkBrief
WRITE=show interfaces trunk
RETVAL=#
}
ATTRIBUTE_NAME=PortSecurity
{
GROUP=PortSecurity
ATTRIBUTE=PortSecurity
WRITE=show port security
RETVAL=#
}
ATTRIBUTE_NAME=SnmpV3Context
{
GROUP=SnmpV3Context
ATTRIBUTE=SnmpV3Context
WRITE=show snmp context
RETVAL=#
}
ATTRIBUTE_NAME=MacAddressTableShowSecure
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableShowSecure
WRITE=show mac-address-table secure
RETVAL=#
}
ATTRIBUTE_NAME=MacAddressTableDynamic
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableDynamic
WRITE=show mac-address-table | exclude STATIC|static
RETVAL=#
}
ATTRIBUTE_NAME=MacAddressTable
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTable
WRITE=show mac-address-table
RETVAL=#
}
// {0} is the port name.
ATTRIBUTE_NAME=MacAddressTableSelect
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableSelect
SET=show mac-address-table interface {0}
RETVAL=#
}
ATTRIBUTE_NAME=MacAddressTableStatic
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableStatic
WRITE=show mac-address-table static
RETVAL=#
}
ATTRIBUTE_NAME=MacAddressTableAddStatic
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableAddStatic
WRITE=config terminal
WAITFOR=#
SET=mac-address-table static {0} {2} vlan {1}
WAITFOR=#
WRITE=end
WAITFOR=#
}
ATTRIBUTE_NAME=MacAddressTableRemoveStatic
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableRemoveStatic
WRITE=config terminal
WAITFOR=#
SET=no mac-address-table static {0}
WAITFOR=#
WRITE=end
WAITFOR=#
}
ATTRIBUTE_NAME=MacAddressTableSecure
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableSecure
WRITE=config terminal
WAITFOR=#
SET=mac-address-table secure {0} {1} vlan {2}
WAITFOR=#
WRITE=end
WAITFOR=#
}
ATTRIBUTE_NAME=MacAddressTableUnsecure
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableUnsecure
WRITE=config terminal
WAITFOR=#
SET=no mac-address-table secure {0} vlan {2}
WAITFOR=#
WRITE=end
WAITFOR=#
}
ATTRIBUTE_NAME=ShowInterface
{
GROUP=ShowInterface
ATTRIBUTE=ShowInterface
WRITE=show interface
RETVAL=#
}
ATTRIBUTE_NAME=ShowArp
{
GROUP=ShowArp
ATTRIBUTE=ShowArp
WRITE=show ip arp
RETVAL=#
}
// {0} is the VRF instance name
ATTRIBUTE_NAME=ShowArpVRF
{
GROUP=ShowArp
ATTRIBUTE=ShowArpVRF
WRITE=configure terminal
WAITFOR=)#
SET=show ip arp vrf {0}
RETVAL=)#
WRITE=exit
WAITFOR=#
}
ATTRIBUTE_NAME=ShowVRFInstances
{
GROUP=ShowVRFInstances
ATTRIBUTE=ShowVRFInstances
WRITE=show vrf
RETVAL=#
}
ATTRIBUTE_NAME=SwitchPortVlanAccess
{
GROUP=SwitchPortVlanAccess
ATTRIBUTE=SwitchPortVlanAccess
WRITE=config terminal
WAITFOR=#
SET=interface {0}
WAITFOR=#
SET=switchport access vlan {1}
WAITFOR=#
WRITE=end
WAITFOR=#
}
// WRITE=config terminal
// WAITFOR=#
// SET=interface {0}
// WAITFOR=#
// SET=switchport trunk native vlan {1}
// WAITFOR=#
// WRITE=end
// WAITFOR=#
ATTRIBUTE_NAME=SwitchPortVlanTrunk
{
GROUP=SwitchPortVlanTrunk
ATTRIBUTE=SwitchPortVlanTrunk
}
// WRITE=config terminal
// WAITFOR=#
// SET=interface {0}
// WAITFOR=#
// WRITE=switchport trunk encapsulation dot1q
// WAITFOR=#
// WRITE=switchport mode trunk
// WAITFOR=#
// SET=switchport trunk native vlan {1}
// WAITFOR=#
// SET=switchport voice vlan {2}
// WAITFOR=#
// WRITE=snmp trap mac-notification added
// WAITFOR=#
// WRITE=snmp trap mac-notification removed
// WAITFOR=#
// WRITE=end
// WAITFOR=#
ATTRIBUTE_NAME=CreatePortVlanTrunk
{
GROUP=CreatePortVlanTrunk
ATTRIBUTE=CreatePortVlanTrunk
}
ATTRIBUTE_NAME=Logout
{
GROUP=Logout
ATTRIBUTE=Logout
WRITE=exit
}