1-- ***************************************************************** 2-- BASIS-SERIAL-MIB: Serial Port MIB MGX8250 and MGX8220 products. 3-- 4-- May 2003, Subra Hegde 5-- 6-- Copyright (c) 2003 by cisco Systems, Inc. 7-- All rights reserved. 8-- **************************************************************** 9 10BASIS-SERIAL-MIB DEFINITIONS ::= BEGIN 11IMPORTS 12 MODULE-IDENTITY, 13 OBJECT-TYPE, 14 Integer32 FROM SNMPv2-SMI 15 MODULE-COMPLIANCE, 16 OBJECT-GROUP FROM SNMPv2-CONF 17 basisLines FROM BASIS-MIB 18 ciscoWan FROM CISCOWAN-SMI; 19 20basisSerialMIB MODULE-IDENTITY 21 LAST-UPDATED "200305030000Z" 22 ORGANIZATION "Cisco Systems, Inc." 23 CONTACT-INFO 24 " Cisco Systems 25 Customer Service 26 27 Postal: 170 W Tasman Drive 28 San Jose, CA 95134 29 USA 30 31 Tel: +1 800 553-NETS 32 33 E-mail: cs-wanatm@cisco.com" 34 DESCRIPTION 35 "The MIB module to configure serial ports 36 in Processor Module and different Service 37 Modules(cards) in MGX8850,MGX8250 and MGX8220 38 ATM Edge switches." 39 40 REVISION "200305030000Z" 41 DESCRIPTION 42 "Initial version of the MIB. 43 44 The content of this MIB was originally available 45 in CISCO-WAN-AXIPOP-MIB defined using SMIv1. 46 The applicable objects from CISCO-WAN-AXIPOP-MIB 47 are defined using SMIv2 in this MIB. Also the 48 descriptions of some of the objects have been 49 modified." 50 ::= { ciscoWan 69 } 51 52 53serialInterface OBJECT IDENTIFIER ::= {basisLines 1} 54 55-- *************************************************************** 56-- 57-- serial interface table 58-- 59-- *************************************************************** 60 61serialPortNumOfValidEntries OBJECT-TYPE 62 SYNTAX Integer32(1..2) 63 MAX-ACCESS read-only 64 STATUS current 65 DESCRIPTION 66 "This object contains number of serial ports. 67 This identifies the number of entries in 68 serialInterfacetable." 69 ::= { serialInterface 2 } 70 71serialInterfaceTable OBJECT-TYPE 72 SYNTAX SEQUENCE OF SerialInterfaceEntry 73 MAX-ACCESS not-accessible 74 STATUS current 75 DESCRIPTION 76 "This table represents Physical serial interfaces in 77 the module." 78 ::= { serialInterface 1 } 79 80serialInterfaceEntry OBJECT-TYPE 81 SYNTAX SerialInterfaceEntry 82 MAX-ACCESS not-accessible 83 STATUS current 84 DESCRIPTION 85 "An entry for each serial interface. 86 Each entry contains information on 87 port type, port speed." 88 INDEX { serialPortNum } 89 ::= { serialInterfaceTable 1} 90 91SerialInterfaceEntry ::= 92 SEQUENCE { 93 serialPortNum Integer32, 94 serialPortType INTEGER, 95 serialPortEnable INTEGER, 96 serialPortbps INTEGER 97 } 98 99serialPortNum OBJECT-TYPE 100 SYNTAX Integer32(1..2) 101 MAX-ACCESS read-only 102 STATUS current 103 DESCRIPTION 104 "This object identifies the serial port number. 105 106 The value 1 is used for Console Port. 107 The Console Port is also known as control port(CP). 108 109 The value 2 is used for Maintenance Port 110 and this can be used as SLIP 111 (Serial Line Internet Protocol) interface. 112 The Maintenance Port is also known as 113 Modem Port(MP)." 114 ::= { serialInterfaceEntry 1 } 115 116serialPortType OBJECT-TYPE 117 SYNTAX INTEGER { 118 main (1), 119 debug (2) 120 } 121 MAX-ACCESS read-only 122 STATUS current 123 DESCRIPTION 124 "This object identifies the type of port. 125 126 main(1) : This is applicable for Maintenance Port 127 debug(2) : This is applicable for Console Port." 128 ::= { serialInterfaceEntry 2 } 129 130serialPortEnable OBJECT-TYPE 131 SYNTAX INTEGER { 132 disable (1), 133 enable (2) 134 } 135 MAX-ACCESS read-write 136 STATUS current 137 DESCRIPTION 138 "This object is used for enabling/disabling 139 serial port." 140 ::= { serialInterfaceEntry 3 } 141 142serialPortbps OBJECT-TYPE 143 SYNTAX INTEGER { 144 bps9600 (1), 145 bps2400 (2), 146 bps19200 (3) 147 } 148 MAX-ACCESS read-write 149 STATUS current 150 DESCRIPTION 151 "This object identifies the baud rate of the ports." 152 DEFVAL { bps9600 } 153 ::= { serialInterfaceEntry 4 } 154 155 156-- conformance information 157 158basisSerialMIBConformance OBJECT IDENTIFIER ::= { basisSerialMIB 2 } 159 160basisSerialMIBGroups OBJECT IDENTIFIER ::= 161 { basisSerialMIBConformance 1 } 162 163basisSerialMIBCompliances OBJECT IDENTIFIER ::= 164 { basisSerialMIBConformance 2 } 165 166-- compliance statements 167 168basisSerialCompliance MODULE-COMPLIANCE 169 STATUS current 170 DESCRIPTION 171 "The compliance statement for objects related 172 to Serial Ports." 173 MODULE -- this module 174 MANDATORY-GROUPS { 175 basisSerialConfGroup 176 } 177 ::= { basisSerialMIBCompliances 1 } 178 179basisSerialConfGroup OBJECT-GROUP 180 OBJECTS { 181 serialPortNumOfValidEntries, 182 serialPortNum, 183 serialPortType, 184 serialPortEnable, 185 serialPortbps 186 } 187 STATUS current 188 DESCRIPTION 189 "The collection of objects which are used to represent 190 serial ports." 191 ::= { basisSerialMIBGroups 1 } 192 193END 194