CN107040526A - Increase the method for DHCP Option82 fields in a kind of EPON system - Google Patents
Increase the method for DHCP Option82 fields in a kind of EPON system Download PDFInfo
- Publication number
- CN107040526A CN107040526A CN201710184365.8A CN201710184365A CN107040526A CN 107040526 A CN107040526 A CN 107040526A CN 201710184365 A CN201710184365 A CN 201710184365A CN 107040526 A CN107040526 A CN 107040526A
- Authority
- CN
- China
- Prior art keywords
- dhcp
- terminal device
- onu
- fields
- local side
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/06—Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
- H04L61/5014—Internet protocol [IP] addresses using dynamic host configuration protocol [DHCP] or bootstrap protocol [BOOTP]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Increase the method for DHCP Option82 fields in a kind of EPON system, comprise the following steps:S1, when terminal device ONU authorize reach the standard grade when, access line line is handed down to terminal device ONU by local side apparatus OLT using the location information OAM of extension;S2, dhcp client initiate DHCP request message;S3, when DHCP message pass through terminal device ONU when, terminal device ONU enables dhcp relay feature, terminal device ONU will be combined to form character string from the local side apparatus OLT each field informations got according to following form, fills to the Option82 fields of DHCP request message and is forwarded;S4, when DHCP message pass through local side apparatus OLT when, local side apparatus OLT does not enable dhcp relay feature, and any operation, direct transparent transmission DHCP message to Dynamic Host Configuration Protocol server are not done yet.The present invention reduces the addition step of option82 fields, and terminal device opens relay function, and local side apparatus transparent transmission, local side need not open relay agent, it is not required that do any operation, simplify the implementation of access line line.
Description
Technical field
The present invention relates to the EPON of Optical Access Network, soft exchange local side and soft exchange field of terminal, and in particular to
Increase the method for DHCP Option82 fields in a kind of EPON system.
Background technology
Option is an option in DHCP message, and the option is the field of variable length, option in DHCP message
Partial charter party information, type of message etc. are contained in option.255 option can at most be included in option options, at least
For 1 option.
Option 82 is also known as relay agent information option (relay agent information option), is
A part for option contents in DHCP message.Option 82 defined in rfc3046, its position is before option 255
And after other option.Most 255 sub-option can be included in option 82, if defining option 82,
At least to define a sub-option.Commonly used in current option 82 be sub-option 1, sub-option 2,
Sub-option 3, sub-option 4 and sub-option 5, coded format is as follows.
Character string 1:{eth|trk}
Character string 2:NAS_slot/NAS_subslot/NAS_port:SVLAN.CVLAN
Character string 3:AccessNodeIdentifier/ANI_rack/ANI_frame/ANI_slot/ANI_subslot/
ANI_port/ONU_ID
Character string 4:[ONU_Slot/ONU_Subslot/Port_ID:{atm|eth}/Port_XPI.Port_XCI]
Character string 5:{EP|GP|XE|XG}
When dhcp client send request message to dhcp server, if desired by DHCP relay, then by DHCP
Option 82 is added in request message by relaying, to identify the positional information of user.
In the realization of current EPON system, it is desirable to which local side apparatus OLT and terminal device ONU serve as the angle of DHCP relay
Color, is required for adding respective option82 field contents in DHCP message, so, and DHCP message is needed by twice
Relaying, twice addition Option82 fields.
The content of the invention
The technical problem to be solved in the present invention is that the addition for Option82 fields in existing EPON system needs simultaneously
The deficiency of two trunkings is enabled there is provided the method for DHCP Option82 fields is increased in a kind of EPON system, use is simplified
The implementation of family line attachment (port) mark, it is more reasonable than the mode that former local side apparatus opens relay agent.
The technical solution adopted for the present invention to solve the technical problems is:
Increase the method for DHCP Option82 fields in a kind of EPON system, comprise the following steps:
S1, when terminal device ONU authorize reach the standard grade when, local side apparatus OLT by access line road (port) mark using expand
The location information OAM of exhibition is handed down to terminal device ONU;
S2, dhcp client initiate DHCP request message;
S3, when DHCP message is by terminal device ONU (terminal device ONU forward DHCP message), terminal device ONU
Dhcp relay feature is enabled, terminal device ONU carries out each field information got from local side apparatus OLT according to following form
Combine " AccessNodeIdentifier/ANI_rack/ANI_frame/ANI_slot/ANI_sub slot/ANI_port/
In ONU_ID " formation character strings, then the Option82 fields that the character string of combination is filled to DHCP request message are turned
Hair;
S4, when DHCP message pass through local side apparatus OLT when, local side apparatus OLT does not enable dhcp relay feature, does not also appoint
What is operated, direct transparent transmission DHCP message to Dynamic Host Configuration Protocol server.
By such scheme, in the step S1, privately owned OAM is configured between local side apparatus OLT and terminal device ONU, it is private
There is OAM to be used for the location information OAM that local side apparatus OLT issues privately owned extension to terminal device ONU.
By such scheme, the parameter of the location information OAM is specifically included:Access node (OLT) mark, access node machine
Frame number, access node frame number, access node groove number, access node pilot trench number, access node port numbers, ONU optical branch number.
By such scheme, the message format of the privately owned OAM uses the definition similar with telecommunication standard, whole message lattice
Formula is as follows:
By such scheme, in the message format of the privately owned OAM, Ext.Opcode action type is as follows:
Extended operation code (Ext.Opcode) | It is worth (16 system) | Definition |
Reserved | 0x00 | Ignore |
Extended Variable Request | 0x01 | Same telecommunication standard |
Extended Variable Response | 0x02 | Same telecommunication standard |
Set Request | 0x03 | Same telecommunication standard |
Set Response | 0x04 | Same telecommunication standard |
Reserved for future use | Other values | Retain |
By such scheme, in the message format of the privately owned OAM, PayLoad is divided to for two parts, variable index and variable
Content, wherein variable index are made up of branch and leaf nodes, and variant content is by user-defined variable value
Filling, particular content is as follows:
By such scheme, variable index branch extended attributes are 0xC7 (extended attribute and operation to the various objects of ONU
Management, the branch codings of its Variable variable are identical with telecommunication standard), branch is defined as follows shown in table:
Branch | context |
0xC7 | Custom Attributes |
0xC9 | Self-defining operation |
other | resvered |
By such scheme, variable index leaf point spreads attribute and its code are as follows:
Property Name | Description | Manage object | Leaf | Get | Set |
ONU location informations | ONU location informations | ONU | 0x001b | It is | It is |
Wherein, the Payload specific field contents of ONU location informations are as follows:
The present invention has the advantages that compared with prior art:The present invention reduces the addition step of option82 fields
Suddenly, it is not necessary to all added successively by terminal and local side apparatus, and only need to once add completion on the terminal device, terminal device
Relay function is opened, local side apparatus transparent transmission, local side need not open relay agent, it is not required that do any operation, simplify use
The implementation of family line attachment (port) mark, it is more reasonable than the mode that former local side apparatus opens relay agent.
Brief description of the drawings
Fig. 1 is the OAM interaction figures between local side apparatus OLT and terminal device ONU in EPON system of the present invention;
Fig. 2 is the flow chart of the method for increase DHCP Option82 fields in EPON system in the embodiment of the present invention.
Embodiment
Below in conjunction with principle and feature further description of the accompanying drawing to the present invention, example is served only for illustrating this
Invention, and non-limiting application of the invention.
As depicted in figs. 1 and 2, the embodiment of the present invention provides increase DHCP Option82 fields in a kind of EPON system
Method, specific implementation step is as follows:
Step S1:When terminal device ONU, which is authorized, to reach the standard grade, local side apparatus OLT issues the positioning of extension to terminal device ONU
Information OAM;
ONU receives the OAM after mandate is reached the standard grade, and specific OAM is:
Step S2:Dhcp client initiates DHCP request message;
Step S3:ONU enables dhcp relay feature:When DHCP message passes through terminal device ONU, terminal device ONU will
The field got from local side apparatus OLT is combined " AccessNodeIdentifier/ANI_rack/ according to following form
ANI_frame/ANI_slot/ANI_subslot/ANI_port/ONU_ID " formation character strings, then by the character string of combination
Forwarded after filling to the Option82 fields of DHCP protocol message;
Step S4:When DHCP message passes through local side apparatus OLT, local side apparatus OLT does not enable dhcp relay feature, also not
Do any operation, direct transparent transmission DHCP message to Dynamic Host Configuration Protocol server.
It should be appreciated that for those of ordinary skills, can according to the above description be improved or converted,
And all these modifications and variations should all belong to the protection domain of appended claims of the present invention.
Claims (8)
1. increase the method for DHCP Option82 fields in a kind of EPON system, it is characterised in that comprise the following steps:
S1, when terminal device ONU authorize reach the standard grade when, local side apparatus OLT by access line line using extension positioning believe
Breath OAM is handed down to terminal device ONU;
S2, dhcp client initiate DHCP request message;
S3, when DHCP message pass through terminal device ONU when, terminal device ONU enable dhcp relay feature, terminal device ONU will
Each field information got from local side apparatus OLT is combined " AccessNodeIdentifier/ANI_ according to following form
Rack/ANI_frame/ANI_slot/ANI_subslot/ANI_port/ONU_ID " formation character strings, then by the word of combination
Symbol string filling to the Option82 fields of DHCP request message are forwarded;
S4, when DHCP message pass through local side apparatus OLT when, local side apparatus OLT does not enable dhcp relay feature, and any behaviour is not yet
Make, direct transparent transmission DHCP message to Dynamic Host Configuration Protocol server.
2. increase the method for DHCP Option82 fields in EPON system according to claim 1, it is characterised in that institute
State in step S1, be configured with privately owned OAM between local side apparatus OLT and terminal device ONU, privately owned OAM be used for local side apparatus OLT to
Terminal device ONU issues the location information OAM of privately owned extension.
3. increase the method for DHCP Option82 fields in EPON system according to claim 2, it is characterised in that institute
The parameter for stating location information OAM is specifically included:Access node mark, access node shelf number, access node frame number, access section
Point groove number, access node pilot trench number, access node port numbers, ONU optical branch number.
4. increase the method for DHCP Option82 fields in EPON system according to claim 2, it is characterised in that institute
The message format for stating privately owned OAM uses the definition similar with telecommunication standard, and whole message format is as follows:
5. increase the method for DHCP Option82 fields in EPON system according to claim 4, it is characterised in that institute
In the message format for stating privately owned OAM, Ext.Opcode action type is as follows:
6. increase the method for DHCP Option82 fields in EPON system according to claim 4, it is characterised in that institute
In the message format for stating privately owned OAM, PayLoad is divided to for two parts, variable index and variant content, wherein variable index by
Branch and leaf nodes are constituted, and variant content is filled by user-defined variable value.
7. increase the method for DHCP Option82 fields in EPON system according to claim 5, it is characterised in that become
Amount index branch extended attributes are 0xC7.
8. increase the method for DHCP Option82 fields in EPON system according to claim 5, it is characterised in that become
Amount index leaf point spreads attribute and its code are as follows:
Wherein, the Payload specific field contents of ONU location informations are as follows:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710184365.8A CN107040526A (en) | 2017-03-24 | 2017-03-24 | Increase the method for DHCP Option82 fields in a kind of EPON system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710184365.8A CN107040526A (en) | 2017-03-24 | 2017-03-24 | Increase the method for DHCP Option82 fields in a kind of EPON system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107040526A true CN107040526A (en) | 2017-08-11 |
Family
ID=59534364
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710184365.8A Withdrawn CN107040526A (en) | 2017-03-24 | 2017-03-24 | Increase the method for DHCP Option82 fields in a kind of EPON system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107040526A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108184174A (en) * | 2017-12-29 | 2018-06-19 | 武汉长光科技有限公司 | A kind of method of self-defined OAM under EPON system |
CN109600308A (en) * | 2019-02-20 | 2019-04-09 | 盛科网络(苏州)有限公司 | Mac mouthfuls of data send, receive analysis method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101888324A (en) * | 2009-05-15 | 2010-11-17 | 华为技术有限公司 | Message transmission method, device and system in passive optical network |
CN102149024A (en) * | 2010-02-04 | 2011-08-10 | 华为技术有限公司 | Method, device and system for vicariously managing ONU (Optical Network Unit) by OLT (Optical Line Terminal) |
CN102395057A (en) * | 2011-06-30 | 2012-03-28 | 中兴通讯股份有限公司 | Configuration method of port positioning format and apparatus thereof |
-
2017
- 2017-03-24 CN CN201710184365.8A patent/CN107040526A/en not_active Withdrawn
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101888324A (en) * | 2009-05-15 | 2010-11-17 | 华为技术有限公司 | Message transmission method, device and system in passive optical network |
CN102149024A (en) * | 2010-02-04 | 2011-08-10 | 华为技术有限公司 | Method, device and system for vicariously managing ONU (Optical Network Unit) by OLT (Optical Line Terminal) |
CN102395057A (en) * | 2011-06-30 | 2012-03-28 | 中兴通讯股份有限公司 | Configuration method of port positioning format and apparatus thereof |
Non-Patent Citations (1)
Title |
---|
殷晶晶: ""基于EPON技术的光纤载波模块软件设计与实现"", 《中国优秀硕士学位论文全文数据库(电子期刊)》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108184174A (en) * | 2017-12-29 | 2018-06-19 | 武汉长光科技有限公司 | A kind of method of self-defined OAM under EPON system |
CN108184174B (en) * | 2017-12-29 | 2021-05-18 | 武汉长光科技有限公司 | Method for customizing OAM (operation administration and maintenance) under EPON (Ethernet Passive optical network) system |
CN109600308A (en) * | 2019-02-20 | 2019-04-09 | 盛科网络(苏州)有限公司 | Mac mouthfuls of data send, receive analysis method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111669362B (en) | Information processing method, network node, verification method and server | |
CN102882699B (en) | The distribution method of fringe node and device and fringe node controller | |
US10530744B2 (en) | Message processing method, access controller, and network node | |
CN101075962B (en) | Method and apparatus for realizing DHCP repeater in two-layer network exchanger | |
US20190306598A1 (en) | Method and apparatus for controlling data forwarding in pon | |
CN104604182B (en) | Service channel collocation method and optical line terminal and EPON | |
CN100471162C (en) | Method for releasing and processing virtual circuit information and supplier edge device | |
CN102088391A (en) | Processing method, equipment and system for Internet protocol version 6 (IPv6) message | |
CN106921437B (en) | A kind of method and apparatus for establishing virtual access node in optical access network | |
CN101816168A (en) | Vrrp and learning bridge cpe | |
CN103973569B (en) | Data message forwarding method, customer premises equipment and system | |
US20160149795A1 (en) | Overlay network-based original packet flow mapping apparatus and method therefor | |
EP4002865B1 (en) | Service configuration method and apparatus | |
CN107707474A (en) | A kind of route distribution method and system | |
CN106789748A (en) | A kind of distributed couple in multiplexer DAM stacking network system and its apparatus | |
CN103516760B (en) | A kind of Virtual Networking System cut-in method, apparatus and system | |
CN107040526A (en) | Increase the method for DHCP Option82 fields in a kind of EPON system | |
AU2011320276B2 (en) | Method and equipment for diffusing pseudo wire route | |
CN105790986A (en) | Method, apparatus and system for managing optical network unit DPU device | |
CN103051594A (en) | Method, network side equipment and system of establishing end-to-end security of marked net | |
CN107592225A (en) | A kind of system and method for merging physical machine, virtual machine and capacitor network and setting | |
CN101764789B (en) | A kind of method of reporting port information of access equipment and access device | |
CN106357483B (en) | Message transmission method, access node, access controller and access system | |
WO2020233217A1 (en) | Method and device for creating transmission network sub-slice, and system and storage medium | |
CN103002572B (en) | A kind of method and device for obtaining wireless local network user positional information |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20170811 |
|
WW01 | Invention patent application withdrawn after publication |