Network Management Concepts Models and Languages Mani Subramanian
Network Management Concepts: Models and Languages* *Mani Subramanian “Network Management: Principles and practice”, Addison-Wesley, 2000.
Network Management Concepts: Models and Languages q Network Management Systems q Origin of Network Management q OSI Management Models q Organization q Information q Communication q Functional q Abstract Syntax Notation 1 (ASN. 1) q Basic Encoding Rules, BER
Network Management Systems (NMS) q A NMS is an integrated collection of tools for network monitoring and control q Network management is concerned with system resources (e. g. , hubs, bridges, routers, etc. ) and the connectivity among them q NME and NMA: collection of software devoted for NM task Network control host (Manager) Server (agent) NMA NME Appl Comm OS Router (agent) Workstation (agent) NME Comm NME Appl Comm OS OS
Elements of NMS q Network Management Entity (NME) o o Collect statistics on communication and related activities Store statistics locally Responds to commands from the network control center (e. g. report its object status, etc. ) Generate messages to the network control center when local conditions change (e. g. , port failure) q Network Management Application (NMA) o Interface allowing authorized users to manage the network o Display mgnt information and issue control commands to NME q To maintain high availability, two or more network control hosts (managers) are used!
Network Management Components q Network Agent monitors its respective objects either in response to a query from the NMS or triggered by a local alarm q The agent communicates the relevant data to the NMS Network Agent Network Objects
Network Management Components q A NMS manages all the components connected to a network which may be coming from different vendors q This might require installing multiple NMS or a single NMS capable of managing multiple vendor components (Interoperability). q Therefore, standards are required (2 major standards emerged: the Internet and OSI) NMS Network Agent Network Objects
Interoperability Objects Vendor A Management related applications e. g. , fault and configuration management) Application Services Management Protocol Objects Case of two service providers: each managed independently. Some mgnt information can be shared Objects Vendor B Objects Transport Protocols
Distributed Network Management Manager Centralized management q central control (makes sense when key resources reside in a central site and services are provided to remote users). q Enables managers to maintain control over the entire configuration, balancing resources against needs, and optimizing the overall resource utilization Drawbacks q traffic overhead, scalability and “single point of failure” NMA NME Appl Comm OS Server (agent) NME Appl Comm OS Router (agent) Workstation (agent) NME Appl Comm OS NME Comm OS
Distributed Network Management Distributed management Advantages: q replaces the single network q Traffic overhead is minimized: control with interoperable workstations located on distributed LANs. q local control for managers over their own segments. q Hierarchical architecture is typically used where a central workstation (with backup) has global access rights and the ability to manage all network resources much of the traffic is confined to the local environment q Greater scalability: more workstations can be deployed to provide additional management q Eliminate the single “point of failure” by using multiple networked management stations
Distributed Network Management clients (PCs, workstations) Each may have access to one or more mgnt servers Network Management server Management application MIB Network Devices with different Devices to management protocols be managed Proxy Network resources with management agents (servers, routers, etc. ) Proxy MIB
Proxies r Ideally, all network components that are to be managed should include a network management entity (NME) with common network management software across all managers and agents. r This may actually not be practical or possible: m m Proprietary management systems Some components (e. g. , modems) may not support additional software r It is common to have agents acting as proxies: m A proxy acts on behalf of other nodes m A manager communicates with a proxy to get information for a specific node
Proxies Management application Proprietary management interface Proxy manager Client stub Server stub Protocol stack Standard operations and event reports Client proxy stub Protocol stack Server proxy stub Protocol stack Proprietary operations and event reports
Polling and Event Reporting r Information that is useful MANAGER for monitoring is collected and stored by agents and is made available to one or more manager systems. r Polling and event reporting are two techniques used for this purpose by both network managers and agents. ing ll Po ing e t. R E MIB n ve rt po AGENTS
Polling and Event Reporting Polling r A “request-response” interaction between a manager and agent. r A query is made by a manager to an authorized agent to request values for various information elements r The agent responds with information from its MIB r The request may take any shape: m asking for some specific values or could be about the structure used for the MIB Event Reporting r the agent initiates, and the manager acts as a listener waiting for incoming information r A “reporting period” may be defined and configured by the manager r When a significant (unusual) event occurs (e. g. , a fault), the agent reports to the manager m Reporting is more efficient than polling, especially for monitoring objects whose values change only infrequently
Polling and Event Reporting r A network monitoring system employs both polling and reporting schemes r Traditional TMN relies on event reporting whereas SNMP relies on polling and OSI falls in between r The choice of either depends on number of factors: m Amount of traffic generated m Robustness in critical situations m Delays in notifying m Amount of processing in managed devices m Reliable vs. unreliable transport m Network monitoring applications supported m Robustness of notification devices
Network Management Concepts: Models and Languages q Network Management Systems q Origin of Network Management q OSI Management Models q Organization q Information q Communication q Functional q Abstract Syntax Notation 1 (ASN. 1) q Basic Encoding Rules, BER
ICMP: Internet Control Message Protocol r used by hosts & routers to communicate network-level information m error reporting: unreachable host, network, port, protocol m echo request/reply (used by ping) r network-layer “above” IP: m ICMP msgs carried in IP datagrams r ICMP message: type, code plus first 8 bytes of IP datagram causing error Type 0 3 3 3 4 Code 0 0 1 2 3 6 7 0 8 9 10 11 12 0 0 0 description echo reply (ping) dest. network unreachable dest host unreachable dest protocol unreachable dest port unreachable dest network unknown dest host unknown source quench (congestion control - not used) echo request (ping) route advertisement router discovery TTL expired bad IP header
Traceroute and ICMP r Source sends series of UDP segments (probes) to dest m m m First has TTL =1 Second has TTL=2, etc. Provide also unlikely port number r When nth datagram arrives to nth router: m m m Router discards datagram And sends to source an ICMP message (type 11, code 0) Message includes name of router& IP address r When ICMP message arrives, source calculates RTT r Traceroute does this 3 times Stopping criterion r UDP segment eventually arrives at destination host r Destination returns ICMP “host unreachable” packet (type 3, code 3) r When source gets this ICMP, stops.
PING and ICMP r PING (Packet Internet Groper) is a simple management tool that depends on ICMP protocol m m Measure round trip delays, packet loss, etc. Isolates points of failure and areas of congestion r Ping, ”Sends ICMP ECHO_REQUEST packets to network hosts”, used to: m Test destination reachability, m compute round trip time m m count the # of hops to destination may provide record route option r Ping failure does not guarantee un-reachability m Firewalls may filter pings
Origin of NM r Internet currently m m m growth in the number of attached hosts, number of distinct administrative domains, multi-vendor equipment, etc. r PING capability was not satisfactory! need for automated capabilities r Standardized protocols with more functionalities than PING and yet as simple! r SNMP (Simple Network Management Protocol) and CMIP (Common Management Information protocol) over TCP/IP have emerged and were approved by the IAB
NM Standards Standard OSI / CMIP Salient Points n n n n SNMP/Internet n n TMN n n IEEE n n Web-based Management n n International standard (ISO / OSI) Management of data communications network - LAN and WAN Deals with all 7 layers Most complete Object oriented Well structured and layered Consumes large resource in implementation Industry standard (IETF) Originally intended for management of Internet components, currently adopted for WAN and telecommunication systems Easy to implement Most widely implemented International standard (ITU-T) Management of telecommunications network Based on OSI network management framework Addresses both network and administrative aspects of management IEEE standards adopted internationally Addresses LAN and MAN management Adopts OSI standards significantly Deals with first two layers of OSI Web-Based Enterprise Management (WBEM) Java Management Application Program Interface (JMAPI)
NM Standards OSI (Open System Interconnection) NM r Adopted by the ISO (International Standards Organization) r Its management protocol is the CMIP (Common Management Information Protocol) r Very comprehensive and addresses the 7 layers of OSI r Managed objects are based on object classes and inheritance rules r Management of data communications network - LAN and WAN r Complex and consumes large resource in implementation r designed 1980’s: too slowly standardized
NM Standards Simple Network Management protocol (SNMP) r Industry standard (IETF) r Managed objects are defined as scalars with few characteristics such as data types, read-only, read-write attributes r Originally intended for management of Internet components, currently adopted for WAN and telecommunication systems r Easy to implement r Most widely implemented NM: most vendor equipment supports SNMP
NM Standards Telecommunication Management Network (TMN) IEEE r International Standard (ITU) r Addresses LAN/MAN r Based on OSI Network Management r Management of telecommunications networks r Addresses both network and administrative aspects of management r Adopted Internationally management r Based on OSI Network Management r Deals with first two layers of OSI (physical and data link layers)
NM Standards Web-based Management r Based on Web technology (web servers and browsers) r Still an evolving technology r Web-Based Enterprise Management (WBEM) m m Desktop Management Task Force (DMTF) is actively developing specs for WBEM DMTF had chosen Microsoft OO management model r Java Management Extensions (JMX) m Based on JAVA applets developed by Sun Microsystems
Network Management Concepts: Models and Languages q Network Management Systems q Origin of Network Management q OSI Management Models q Organization q Information q Communication q Functional q Abstract Syntax Notation 1 (ASN. 1) q Basic Encoding Rules, BER
Network Management Models Network Management Organization Model Information Model Communication Model Functional Model Organization Model Information Model r the components of a NM r Structure of Management system, their functions, and relationships (it defines manager, agent, object) Information (SMI: Syntax and semantics) r Management Information Base (MIB: Organization of management information)
Network Management Models Network Management Organization Model Information Model Communication Model r Transfer syntax with bi- directional messages; Transfer structure (PDU) Communication Model Functional Model r Application functions m m m Configure components Monitor components Measure performance Secure information Usage accounting
Organization Model Managed object r A network element that is MDB Manager managed (e. g. , routers, bridges, hubs, etc. ) r Houses SNMP management agent Managed objects Unmanaged objects r Objects are classified into managed/unmanaged m Managed object has a running management agent MDB Management Database Agent process Two-Tier Network Management Organization Model
Organization Model Management Station (Manager) r Interface for network managers to MDB Manager monitor and control the network r Contains management applications (data analysis, fault recovery, etc. ) r Translation capabilities from manager’s requirements into actual monitoring and control of remote elements r Contains DB of information extracted from MIBs of all the managed entities in the Network Managed objects Unmanaged objects MDB Management Database Agent process Two-Tier Network Management Organization Model
Organization Model Management Agent r Gathers information from MDB Manager objects r Configures parameters of objects (e. g. , enable/disable a router port, shut down a port on a hub, etc. ) Managed objects Unmanaged objects r Responds to requests for information and actions from managers r Generates alarms and sends them to managers MDB Management Database Agent process Two-Tier Network Management Organization Model
Organization Model r Middle layer plays the dual role m m Agent to the top-level manager Manager to the managed objects • collects, processes and stores data locally • Performs statistical operation on the data and passes it to top level manager m The intermediate system could be at a local site and passes info. to a remote site. MDB Manager MDB Agent / Manager Managed objects MDB Management Database Agent process r Example of middle level: Remote monitoring agent (RMON) Three-Tier Network Management Organization Model
Organization Model Mo. M Manager of Managers NMS Network Management System Mo. M MDB Agent NMS Manager MDB Managed objects Different network domains, each managed locally r Agent NMS manages the domain r Mo. M presents integrated view of domains r Domain may be geographical, administrative, vendor-specific products, etc.
Communication Model SNMP MANAGER MIB AGENT q Resources are represented as objects (or data variables) q q q Collection of objects is a MIB (more later) A manager performs monitoring by retrieving the value of MIB objects A manager causes an action to take place or changes the configuration settings by modifying values of specific variables
Communication Model SNMP MANAGER MIB AGENT q Management stations and agents are linked by a network management protocol q SNMP is used for the management of TCP/IP networks o o o Get: manager or management station can retrieve the value of objects at the agent Set: set the values of objects at the agent Trap: agent notifies manager on significant events
Protocol Architecture -SNMP uses UDP port 161 - connection-less (e. g. , Ethernet, X. 25, ATM) Interprets SNMP messages and controls the agent’s MIB
Communication Model r Management data is communicated between agent and manager as well as between managers r Three aspects: m Transport medium of message exchange (transport protocol) m Message format (application protocol) m Actual message (commands and responses) Operations / Requests Manager Applications Responses Agent Notifications / Traps Network Elements Managed Objects Management Message Communication Model
Communication Model SNMP Manager UDP IP Layer 1 & 2 Application SNMP Messages Networ k Trap Get. Response Central MIB Set. Request manages object Get. Next. Request SNMP managed objects Get. Request Trap Get. Response Set. Request Get. Next. Request Get. Request Management application SNMP Agent UDP IP Layer 1 & 2
Trap-Directed Polling r SNMP encourages the manager to use trapdirected polling m m A manager may be responsible for a large number agents, each maintains a large number of managed objects It is impractical to regularly poll agents for all their readable objects (management overhead on the network may be very excessive!) managing entity managing data entity agent data managed device agent data network management protocol managed device agent data managed device
Trap-Directed Polling r Initially a manager may poll all the agents for some key managing entity information m e. g. , interface characteristics (# pckts in/out, etc. . ) r Then, each agent is responsible for notifying (through trap messages) the manager of any unusual event m e. g. , high pckt drop rate at some interface managing data entity agent data managed device agent data network management protocol managed device agent data managed device r Substantial savings in network capacity and agent processing (use network resources for the right reason!)
Information Model r The representation of objects and information relevant to their management r This information is usually communicated between agents and management processes r SMI (Structure of Management Information) defines the syntax and semantics of management information stored in MIB (Management Information Base) Example sys. Descr: { system 1 } Syntax: OCTET STRING Definition: "A textual description of the entity. " Access: read-only Status: mandatory MIB r Contains information about objects r Organized by grouping of related objects r Defines relationship between objects r Agent MIB vs. Manager MIB m m MIB Agent: local information MIB Manager: info. on all network components
Information Model r MDB physical database; e. g. . Oracle m Contains measured or administratively configured values of NEs r MIB virtual database; schema compiled into management software m Info necessary for processes to exchange info. (e. g. , #ports/hub) r An NMS can automatically discover (periodic broadcast of PING messages) a managed object, such as a hub, when added to the network m m Once detected, its information (e. g. , r The NMS can identify a new address, number of ports, etc. ) is added object only after the added to MDB MIB schema of the new MIB does not need to be updated if another hub from same vendor already added object is compiled exist into manager MIB.
Management Information Tree r Both Internet and OSI define objects uniquely by a tree structure r Each managed object q Designation of objects: iso org dod internet 1 1. 3. 6. 1 occupies a node in the tree underneath the root Root itu 0 Level 1 Level 2 Standard organizations: define management of objects under them iso-itu 2 org 3 dod 6 Level 3 Management Information Tree iso 1 Managed Objects internet 1 OSI Management Information Tree
Object Type and Instance Access: Access privilege object ID Object Type: Object ID and Descriptor circle unique ID and descriptor and name for the object syntax used to model the object access privilege to a managed object (read-only, etc) status implementation requirements (e. g. , optional or mandatory) definition textual description of the semantics of object type Status: Implementation requirements Syntax : model of object Definition: Semantics textual description Internet Perspective
Object Type and Instance unique ID and name for the object used to model the object access privilege to a managed object implementation requirements textual description of the semantics of object type object ID and descriptor syntax access status definition Object Class: Circular object Operations: Push : Attributes: circle, dimension Behavior Object Class: Elliptical object Notifications : Notify changes in attribute values Attributes: ellipse, dimension OSI Perspective
Object Type and Instance
Function Model r Configuration management m m r Fault management m Detection and isolation of failures in network Trouble ticket administration m Monitor performance of network m r r Performance management Security management m Authentication Authorization Encryption m Functional accounting of network usage m m r set and change network configuration and component parameters Set up alarm thresholds Accounting management
Network Management Concepts: Models and Languages q Network Management Systems q Origin of Network Management q OSI Management Models q Organization q Information q Communication q Functional q Abstract Syntax Notation 1 (ASN. 1) q Basic Encoding Rules, BER
Abstract and Transfer Syntaxes User is concerned with semantics of data User The user of data transfer comp. e. g. , SNMP, FTP, TELNET for TCP/IP User Presentation Mapping Local Storage Application Mapping Component Mechanisms for transfer of data between end systems (e. g. , TCP or UDP) User Abstract Syntax Application Component Encoding Rules Data Transfer Component Transfer Syntax Concerned with syntax of data Local Mapping Encoding Rules Data Transfer Component Binary representation of data Local Storage
Abstract and Transfer Syntaxes q For the application component, information is presented in an abstract syntax that deals with data types and data values o Abstract syntax is the set of rules used to specify data types and structures for storage of information q Abstract syntax is used to exchange info. between application components in systems o Makes application layer protocols independent of lower layer protocols q Abstract syntax must be mapped into some form for presentation to the human user q And to some local format for storage (e. g. of this mapping is in the case of MIB; however, elements within MIB are defined using abstract syntax)
Abstract and Transfer Syntaxes q The transfer syntax defines a unified representation of the data to be exchanged between data transfer components o Transfer syntax represents the set of rules for communicating information between systems q Mapping from abstract syntax to transfer syntax is accomplished by means of encoding o o A common representation for the exchange of data between different systems Can generate machine-readable code: Basic Encoding Rules (BER) is used in management modules q ASN. 1 is based on the Backus system and uses the formal syntax and grammar of the Backus-Nauer Form (BNF) q ASN. 1 is independent from lower layer protocols
Backus-Nauer Form (BNF) q Definition: <name> : : = <definition> where <entity> denotes “entity” and the symbol “: : =“ represents “defined as” q primitive definitions: q <digit> : : = 0|1|2|3|4|5|6|7|8|9 q <op> : : = +|-|x|/ q similarly, an entity number can be constructed from primitives: q <number> : : = <number> | <digit> <number> q Example: q 9 is primitive 9 q 19 is construct of 1 and 9 q 619 is construct of 6 and 19
ASN. 1 Assignments q Assignments <Boolean. Type> : : = BOOLEAN data type assignment (or name of the entity) <Boolean. Value> : : = TRUE | FALSE value assignment (assigned value to the data type) q Group of assignments: Modules q q q Start with capital letters Usually modules are built from primitive (atomic) data types (e. g. , INTEGER, REAL, etc. . ) May use ASN. 1 constructs (e. g. , SET, SEQUENCE, etc. ) Constructors are used to build structured data types Backward and forward references, and inline definition
ASN. 1 Modules Constructs: “list makers” A module Personnel. Record (a set of data types) Primitives data types Construct: alternatives Three construction mechanisms (develop structured data types): Alternatives: CHOICE List: SET and SEQUENCE Repetition: SET OF and SEQUENCE OF
ASN. 1 Modules Lists built with “SEQUENCE” maintains the correct order Personnel. Record is a set of different data types, each uniquely associated with a name and can be encoded and transmitted in any order. Example: “Smith”, “Manager”, {“North”, “Chile”} “Manager”, “Smith”, {“North”, “Chile”}, “Smith”, “Manager”
ASN. 1 Symbols Symbol : : = | -{} [] (). . Meaning Defined as or, alternative, options of a list Signed number Following the symbol are comments Start and end of a list Start and end of a tag Start and end of subtype Range
Data Types Data types are generally defined based on a structure and a tag: q q Structure: simple (or atomic), structured, etc. . Tag: class and a tag
ASN. 1 simple types q Basic Types o BOOLEAN o INTEGER o ENUMERATED o REAL o BIT STRING o OCTET STRING q Character String Types (various subsets of ISO 10646 -1) o Numeric. String (0 -9, <space>) o Printable. String (0 -9, A-Z, a z, <space>, <special>) o Visible. String o Graphic. String o Teletex. String o UTF 8 String o IA 5 String
ASN. 1 simple types q Syntax : <type name> : : = type q Example: counter : : = INTEGER Ip. Address : : = OCTET STRING Page. Number : : = INTEGER Chapter. Number: : = INTEGER Months : : = ENUMERATED {january (1), february (2), march (3), april (4), may (5), june (6), july (7 august (8), september (9), october (10), november (11), december (12)}
ASN. 1 simple types q A subtype is derived from a parent type q Syntax: <subtype name> : : = <type> ( <constraint> ) Examples: Counter : : = INTEGER ( 0. . 4294967295 ) Ip. Address : : = OCTET STRING ( SIZE(4) ) Spring : : = Months ( march | april | may ) Summer : : = Months ( june | july | august ) Small. Prime : : = INTEGER ( 2 | 3 | 5 | 7 | 11 )
ASN. 1 structured types q A data type is structured type when it contains other types (i. e. , have components) Book. Page. Number : : = SEQUENCE {Chapter. Number, Separator, Page. Number} separator is a Visible. String data type with value “-” Example: {1 -1, 2 -3, 3 -39} Book. Pages : : = SEQUENCE OF { Book. Page. Number } Book. Pages : : = SEQUENCE OF { SEQUENCE {Chapter. Number, Separator, Page. Number}} Example: {1 -1, 1 -2, . . , 2 -1, 2 -2, …. . }
ASN. 1 structured types q The pages of a book could also be specified as a collection of individual pages in random order Book. Pages : : = SET OF { SEQUENCE {Chapter. Number, Separator, Page. Number} }
ASN. 1 Tagged Types q Tag uniquely identifies a data type and is required for encoding the data types for communication q Comprises class and tag number q Class: o o Universal - similar to global variables Application - only in the application used Context-specific - specific context in application Private - used extensively by commercial vendors Example: BOOLEAN INTEGER research product-based Universal 1 Universal 2 Application [1] Context-specific under research [0]
ASN. 1 Tagged Types UNIVERSAL 1 BOOLEAN UNIVERSAL 2 INTEGER UNIVERSAL 3 BIT STRING - basic types UNIVERSAL 4 OCTET STRING UNIVERSAL 9 REAL UNIVERSAL 10 ENUMERATED UNIVERSAL 6 OBJECT IDENTIFIER UNIVERSAL 7 Object. Descriptor - object types UNIVERSAL 26 string Visible. String - character types UNIVERSAL 5 . . . NULL UNIVERSAL 23 UTCTime - miscellaneous types UNIVERSAL 24 Generalized. Time UNIVERSAL 16 types SEQUENCE [OF] - structured UNIVERSAL 17 SET [OF]
ASN. 1 Tagged Types Tag nb is 1 (overrides that of BOOLEAN) Application specific Context specific (subset of an application, and limited to the application)
ASN. 1 Object Types q Used to name and describe information objects q Such as standard documents, data structures, managed objects q In general, an information object is a class of information, e. g. , file format, rather than an instance of such a class (i. e. , individual file) q Object identifier is a unique identifier for a particular object and its value consist of a set of integers q Object descriptor is a human readable description of an information object
ASN. 1 Object Types root ccitt(0) iso(1) joint-iso-ccitt(2) org(3) internet(1) mgmt(2) mib-2(1) dod(6) private(4) experimental(3) enterprise(1) internet OBJECT IDENTIFIER : : = {iso(1) org(3) dod(6) 1 } private OBJECT IDENTIFIER : : = {internet 4 }
ASN. 1 Object Types r Private type is used extensively by vendors of network products r A vendor is assigned a node on the MIT, all branches and leaves under that node will be assigned private data types by the vendor ibm OBJECT IDENTIFIER : : = {iso(1) org(3) dod(6) internet(1) private(4) enterprize(1) 2}
Network Management Concepts: Models and Languages q Network Management Systems q Origin of Network Management q OSI Management Models q Organization q Information q Communication q Functional q Abstract Syntax Notation 1 (ASN. 1) q Basic Encoding Rules, BER
Encoding Structure q ASN. 1 syntax containing management information is encoded using the Basic Encoding Rules (BER) that is defined for the transfer syntax q BER is a specification developed and standardized by CCITT and OSI q ASCII data is converted to bit-oriented data q TLV, Type-Length-Value: is a specific encoding structure q q q Type: indicates the ASN. 1 type, class of the type Length: length of the actual value representation Value: the value of the ASN. 1 type as a string of octets
Encoding Structure 1 byte q P/C (1 -bit) specifies whether the structure is simple or a construct q q 0 for simple 1 for construct
Encoding Structure 1 byte q Class (2 bits): specifies the class being used
Encoding Structure 1 byte q Tag Number: designates the tag value in binary q Example: 00 0 00010 Universal class Primitive for encoding INTEGER Tag value = 2
Tag number < 31 Identifier Octet Bits 8 7 Class 6 5 P/C 4 3 2 Tag number 0 = Primitive 1 = Constructed 0 0 = Universal 0 1 = Application 1 0 = Context-specific 1 1 = Private 1
Tag number >= 31 Leading octet Class P/C 1 1 1 2 nd octet 1 Last octet. . . 1 +. . . + = Tag number 0 +
Encoding of Length Field q Short form ( L < 128 octets) one octet 0 Length L L octets Contents (or Value) field q Long form ( 128 L < 21008 octets) first octet 1 K K octets Length L Contents field Example, L = 128: 10000001 10000000 Binary equivalent of 128
BER, Examples distance INTEGER : : = 27 Type Length Value 02 01 1 B 00 0 00010 UNIVERSAL P today INTEGER : : = 129 02 02 2 00 81 Length is 2 to indicate 2 octets for Value Day. Of. Year : : = [APPLICATION 17] IMPLICIT INTEGER today Day. Of. Year : : = 129 51 02 01 0 10001 APPLICATION P 17 00 81
BER, Examples Birthday name day } : : = SEQUENCE { Visible. String, Day. Of. Year Type Definition UNIVERSAL 16 00 1 10000 Value Assignment my. Birthday : : = { name "Jane", day 129 } Birthday Length Contents 30 ? ? 0 A Visible. String 1 A Day. Of. Year 51 BER Encoding Length 04 Length 02 Contents "Jane" Contents 00 81
MACROS q Macro is used to create new data types
- Slides: 79