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
/
cisco6509IOS.mib
< prev
next >
Wrap
Text File
|
2011-03-16
|
8KB
|
334 lines
//Cisco IOS Software, C3560 Software (C3560-IPBASEK9-M), Version 12.2(35)SE1, RELEASE SOFTWARE (fc1)
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=#
WRITE=terminal length 0
WAITFOR=#
SET=PARAM.REMOTE
WAITFOR=PARAM.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=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=MacAddressTablePrivate
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTablePrivate
WRITE=show mac-address-table
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}
WAITFOR=#
WRITE=end
WAITFOR=#
}
ATTRIBUTE_NAME=MacAddressTableShowSecure
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableShowSecure
WRITE=show port-security address
RETVAL=#
}
ATTRIBUTE_NAME=MacAddressTableSecure
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableSecure
WRITE=config terminal
WAITFOR=#
SET=interface {1}
WAITFOR=#
SET=switchport port-security mac-address {0}
WAITFOR=#
WRITE=end
WAITFOR=#
}
ATTRIBUTE_NAME=MacAddressTableUnsecure
{
GROUP=MacAddressTable
ATTRIBUTE=MacAddressTableUnsecure
WRITE=config terminal
WAITFOR=#
SET=interface {1}
WAITFOR=#
SET=no switchport port-security mac-address {0}
WAITFOR=#
WRITE=end
WAITFOR=#
}
ATTRIBUTE_NAME=ShowInterface
{
GROUP=ShowInterface
ATTRIBUTE=ShowInterface
WRITE=show interface status
RETVAL=#
}
ATTRIBUTE_NAME=ShowArp
{
GROUP=ShowArp
ATTRIBUTE=ShowArp
WRITE=show arp
RETVAL=#
}
// {0} is the VRF instance name
ATTRIBUTE_NAME=ShowArpVRF
{
GROUP=ShowArp
ATTRIBUTE=ShowArpVRF
SET=show ip arp vrf {0}
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=#
}
ATTRIBUTE_NAME=SwitchPortVlanAccess
{
GROUP=MacAddressTable
ATTRIBUTE=SwitchPortVlanAccess
WRITE=config terminal
WAITFOR=#
SET=interface {0}
WAITFOR=#
SET=switchport mode access
WAITFOR=#
SET=switchport access vlan {1}
WAITFOR=#
WRITE=end
WAITFOR=#
}
ATTRIBUTE_NAME=SwitchPortVlanGuest
{
GROUP=MacAddressTable
ATTRIBUTE=SwitchPortVlanGuest
WRITE=config terminal
WAITFOR=#
SET=interface {0}
WAITFOR=#
SET=dot1x guest-vlan {1}
WAITFOR=#
WRITE=end
WAITFOR=#
}
// Remove normal vlan config
ATTRIBUTE_NAME=NoSwitchPortVlanAccess
{
GROUP=MacAddressTable
ATTRIBUTE=NoSwitchPortVlanAccess
WRITE=config terminal
WAITFOR=#
SET=interface {0}
WAITFOR=#
SET=no switchport access vlan {1}
WAITFOR=#
WRITE=end
WAITFOR=#
}
// {0} is the interface name (ie. fastethernet1/0/22)
// {1} is the primary vlan
// {2} is the secondary vlan (isolated or community)
ATTRIBUTE_NAME=SwitchPortPrivateVlanAccess
{
GROUP=MacAddressTable
ATTRIBUTE=SwitchPortPrivateVlanAccess
WRITE=config terminal
WAITFOR=#
SET=interface {0}
WAITFOR=#
SET=switchport mode private-vlan host
WAITFOR=#
SET=switchport private-vlan host-association {1} {2}
WAITFOR=#
WRITE=end
WAITFOR=#
}
// Remove private vlan config
// {0} is the interface name (ie. fastethernet1/0/22)
// {1} is the primary vlan
// {2} is the secondary vlan (isolated or community)
ATTRIBUTE_NAME=NoSwitchPortPrivateVlanAccess
{
GROUP=MacAddressTable
ATTRIBUTE=NoSwitchPortPrivateVlanAccess
WRITE=config terminal
WAITFOR=#
SET=interface {0}
WAITFOR=#
SET=no switchport mode private-vlan host
WAITFOR=#
SET=no switchport private-vlan host-association {1} {2}
WAITFOR=#
WRITE=end
WAITFOR=#
}
// For Older firmware where we need to set the trunk mode on the
// ports, issue the following commands for the SwitchPortVlanTrunk attribute:
// 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
}
// For older firmware where we need to set the trunk mode on the
// ports, issue the following commands for the CreatePortVlanTrunk attribute:
// 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=ShowDot1x
{
GROUP=ShowDot1x
ATTRIBUTE=ShowDot1x
SET=show dot1x interface {0}
RETVAL=#
}
ATTRIBUTE_NAME=Logout
{
GROUP=Logout
ATTRIBUTE=Logout
WRITE=exit
}
ATTRIBUTE_NAME=ShowVRFInstances
{
GROUP=ShowVRFInstances
ATTRIBUTE=ShowVRFInstances
WRITE=show ip vrf
RETVAL=#
}