Presentation on theme: "Microsoft Standard TCP/IP Port Monitor Futures"— Presentation transcript:
1 Microsoft Standard TCP/IP Port Monitor Futures WHDC PowerPoint Template Notes & HandoutsMonday, March 27, 2017Microsoft Standard TCP/IP Port Monitor FuturesMike Fenelon – Software Design EngineerWindows Digital Document Platforms & Solutions GroupNovember 2004Microsoft Confidential - Windows Hardware & Driver Central
2 Agenda Standard TCP/IP Port Monitor (TCPMon) Port Id feature TCPMon Print Device Type detectionTCPMon Network Card detection
3 Standard TCP/IP Port Monitor Port Id feature Read Network Card information from the MIB-2Request MIB-2.system.sysDescr OID ( )Compare sysDescr against expressions inn TCPMON.INIList of regular expressions describing supported network cardsOnce matched lookup the section that contains the default port parameters for the network cardUse parameters to configure the new TCPMon portIntegrated network card or single port device simply create the new portMulti port devices allow user to select which device port to use for printing
4 TCPMon Print Device Type detection Additional step after port identificationNew Parameter in the Port Install sectionAdded to TCPMon in Windows Server 2003 SP1DEVICEIDOID# - location within the network device that contains the 1284 DeviceId for the printer attached to the current portOID is specified per network deviceEach port on the device has a separate OID for printer identificationUsed in Windows Server 2003 R2 option pack to enable automatic discovery and installation of print queues
5 Evolution of TCPMon Network Card detection Current system using TCPMON.INI works fine for existing devicesSupporting new devices is problematicExisting OSes don’t recognize the network cards in TCPMON.INITCPMON.INI can be updated in future Service Packs, but there will always be lag for network adminsCurrent servicing model doesn’t work for Microsoft or IHVsIHV knows the best parameters for their own network cardsQ: Where can TCPMON.INI info be stored to enable support for new devices as they are released? A: In the network card itself
6 TCPMON.INI parameters in the device Create a new MIB section that contains the basic TCPMON.INI information or the network cardEntry to describe number of output ports device supportsTable containing an entry or each output portTable Entry describes default parameters for an output portContains the information defined in TCPMON.INI syntax as OIDs.Also contains a new entry for the 1284 Device ID of the printer reachable through the port
7 Port Table Entry specifics PortName: OCTET_STRING – User friendly name of the port. Helps the user select the port on multi-port devicesProtocol: ENUMERATION – identifies the default protocol in TCPMON (RAW or LPR)RAW Mode only parametersPortNumber: INTEGER – specifies the TCP Port to use when communicating with the PrinterLPR Mode only parametersLPRQueueName: OCTET_STRING – Queue name for LPR modeLPRByteCountEnabled: INTEGER – Enables/Disables byte counting
8 Port Table Entry specifics (cont.) SNMP Status paramtersSnmpStatusEnabled: INTEGER – Enables/Disables staus queries for te printer using SNMPSnmpCommunityName: OCTET_STRING – Community name used when making SNMP status queriesSNMPResourceDeviceIndex: INTEGER – Device index of the current Port as defined in Host Resource MIB (RFC 2790)IEEE1284Id: OCTET_STRING – String containing the 1284 Device ID for the printer connected to the current output port.
9 New TCPMon port creation procedure During Port Creation TCPMon will look for this NumberOfPorts OIDIf found walk through the SNMP table to retrieve default parametersUse retrieved data to help user create the TCPMON portSetup integrated ports automaticallyAsk user to select which port on multi-port devicesOnce port is created check for IEEE1284Id, if availbale try to install the printer driver automaticallyIf new OID not found fall back to MIB-2 sysDescr and use TCPMON.INI
10 Where to go from here…Complete the definition of the new MIB table and associated OIDsSmall group of interested parties working together& teleconferenceFigure out where this new MIB extension belongsPrinter MIB?Host Resource MIB?MIB-2?Finish all this in time for Longhorn Beta 1
Your consent to our cookies if you continue to use this website.