CN104348797B - A kind of dynamic vlan attribute logging method and device - Google Patents

A kind of dynamic vlan attribute logging method and device Download PDF

Info

Publication number
CN104348797B
CN104348797B CN201310328318.8A CN201310328318A CN104348797B CN 104348797 B CN104348797 B CN 104348797B CN 201310328318 A CN201310328318 A CN 201310328318A CN 104348797 B CN104348797 B CN 104348797B
Authority
CN
China
Prior art keywords
vlan
attribute
events
logging
information
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.)
Active
Application number
CN201310328318.8A
Other languages
Chinese (zh)
Other versions
CN104348797A (en
Inventor
孙策
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201310328318.8A priority Critical patent/CN104348797B/en
Publication of CN104348797A publication Critical patent/CN104348797A/en
Application granted granted Critical
Publication of CN104348797B publication Critical patent/CN104348797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4675Dynamic sharing of VLAN information amongst network nodes
    • H04L12/4679Arrangements for the registration or de-registration of VLAN attribute values, e.g. VLAN identifiers, port VLAN membership

Abstract

The invention provides a kind of dynamic vlan attribute logging method and device, technical scheme to be:Dynamic vlan attribute logging function is configured on the ED of this website;After this ED receives the VLAN attribute logging messages in station network, VLAN attribute logging information in VLAN attribute logging messages is sent to the ED for being configured with dynamic vlan attribute logging function remote station, the ED of remote station regenerates VLAN attribute loggings message corresponding to the VLAN attribute logging information and propagated in remote station.The present invention can realize the dynamic vlan attribute logging across data center.

Description

A kind of dynamic vlan attribute logging method and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of dynamic virtual LAN(VLAN)Attribute logging method and Device.
Background technology
Ethernet virtualization interconnection (Ethernet Virtualization Interconnection, EVI) is a kind of " MAC(Media Access Control, media access control)In IP " technologies, IP is based on for realizing(Internet Protocol, Internet Protocol)The L2VPN of core net(Layer2Virtual Private Network, two-layer virtual are special Net).EVI networks are made up of core network, station network and crossover network, wherein, station network is by one or more Edge device is connected to the double layer network with separate traffic function of core network;Crossover network is established between edge device Virtual network, there is provided two layers between station network interconnection, notice are connected to the MAC of edge device All hosts and router Address, multiple websites are interconnected to form two layers of bigger forwarding domain;Core network is the offer website carried by IP routing devices The network interconnected between network.
In the station network of EVI networks, the general VLAN attributes registration protocols of generally use(GARP VLAN Registration Protocol, GVRP), to assist to distribute, propagate and register VLAN letters in same LAN between each member Breath.The port of each participation agreement can be seen as an application entity in equipment, start it on port when GVRP applies Afterwards, the port just can be considered a GVRP application entity.GVRP application entities are stated to lead to by the statement or recovery sent out Other GVRP application entities are known to register or nullify the VLAN attribute informations of oneself, and the statement sent according to other entities or are returned Quiet down and bright register or nullify the VLAN attribute informations of other side.By GVRP mechanism, match somebody with somebody confidence in a GVRP application entity Breath can spread all over whole LAN rapidly.
Referring to Fig. 1, Fig. 1 be it is existing using GVRP mechanism carry out VLAN attribute loggings schematic diagram, the He of port 1 of device A Equipment B port 2 is connected, and port 1 and port 2 start GVRP applications, and VLAN attributes can be sent from port 1 to port 2 Statement or recovery statement, when the statement that the VLAN attributes sent from port 1 are received in port 2(Join messages)When, port 2 will The VLAN attributes included in the statement are registered, also port 2 is added in the VLAN;Sent out when being received in port 2 from port 1 The recovery statement of the VLAN attributes gone out(Leave messages)When, port 2 will nullify VLAN attributes included in the statement, namely The VLAN is exited into the port.
At present, GVRP only supports double layer network, and with the development of the big double layer network technology across data center, GVRP is herein Needs can not be met by being disposed in class networking.
Referring to Fig. 2, Fig. 2 is EVI networking schematic diagrams, and in the networking shown in the Fig. 2, station network site1 passes through edge Equipment ED1 is connected to core network, and station network site2 is connected to core network by edge device ED2, included in site1 Switching equipment SW-1 and SW-2, SW-1 newly add user equipment 1, and user equipment 1 is included in a VLAN100;In site2 User equipment 2 is newly added comprising switching equipment SW-3 and SW-4, SW-3, and user equipment 2 is included in VLAN100;Site1 and GVRP functions are all enabled on all devices in site2.
Because user equipment 1 and user equipment 2 are in different data centers(Station network), when GVRP logon messages arrive Up to data center edge device ED when, VLAN log-on messages can not be sent in the data center of opposite end by edge device ED, be led The data that can not carry out VLAN100 between user equipment 1 and user equipment 2 are caused to communicate.
In order to solve the above problems, the existing progress VLAN configurations in advance generally on the edge device ED of station network are right In there is new user equipment to be added to station network, and new user equipment is included in new VLAN(Before this in the station network In the absence of the user equipment for belonging to the VLAN)In the case of, then need using reserved VLAN modes, namely in the station network These reserved VLAN, such as VLAN100 are pre-configured with ED EVI interfaces, however, this can cause not having in station network In the case of VLAN100 user equipment, the VLAN100 of other websites broadcasting packet still can be flooded to the station network In.
The content of the invention
In view of this, it is an object of the invention to provide a kind of dynamic vlan attribute logging method and device, can realize Across the dynamic vlan attribute logging of data center.
To achieve the above object, technical scheme provided by the invention is:
A kind of dynamic vlan attribute logging method, the side of station network in interconnection EVI networks is virtualized applied to Ethernet Edge equipment ED, configures dynamic vlan attribute logging function on this ED in advance, and this method includes:
The VLAN attribute logging messages in website where this ED are received, the VLAN attribute loggings message is carried VLAN attribute loggings information is sent from the corresponding outgoing interface of the ED of the remote station with being configured with dynamic vlan attribute logging function Go out;
The VLAN attribute logging information that the ED of remote station is sent is received, reception is performed according to the VLAN attribute logging information The VLAN attribute loggings of interface, and VLAN attribute logging messages corresponding to the VLAN attribute logging information are generated, by being somebody's turn to do for generation VLAN attribute loggings message is sent from all of the port for enabling VLAN attribute logging functions;
Wherein, VLAN attribute loggings information includes attribute event and attribute value, and the attribute value is VLAN ID.
A kind of dynamic vlan attribute logging device, the side of station network in interconnection EVI networks is virtualized applied to Ethernet Edge equipment ED, the device include:Dispensing unit, Transmit-Receive Unit, control unit;
The dispensing unit, for configuring dynamic vlan attribute logging function on this ED in advance;
The Transmit-Receive Unit, for receiving the VLAN attribute logging messages in website where this ED, the VLAN is belonged to Property the VLAN attribute loggings information that carries of logon message from the ED of the remote station with being configured with dynamic vlan attribute logging function Corresponding outgoing interface is sent;And the VLAN attribute logging information sent for receiving the ED of remote station, and should VLAN attribute logging information is sent to control unit;
Described control unit, for receive Transmit-Receive Unit transmission VLAN attribute logging information when, according to the VLAN belong to Property log-on message perform the VLAN attribute loggings of receiving interface, and generate corresponding to the VLAN attribute logging information VLAN attributes and note Volume message;
The Transmit-Receive Unit, it is additionally operable to note the VLAN attribute loggings message of control unit generation from VLAN attributes are enabled The all of the port of volume function is sent;
Wherein, the VLAN attribute loggings information includes attribute event and attribute value, and the attribute value is VLAN ID。
In summary, the present invention is connect by configuring dynamic vlan attribute logging function on the edge device of station network The attribute logging message in station network is received, such as after GVRP messages, can be by VLAN attribute logging messages VLAN attribute logging information is sent to the ED for each remote station for being configured with dynamic vlan attribute logging function, by remote station ED regenerates VLAN attribute loggings message according to the VLAN attribute logging information and propagated in remote station, realizes across data The dynamic vlan attribute logging at center.
Brief description of the drawings
Fig. 1 is prior art general virtual Local Area Network attributes log-in protocol schematic diagram of mechanism;
Fig. 2 is prior art Ethernet virtualization interconnection networking schematic diagram;
Fig. 3 is dynamic virtual Local Area Network attributes register method flow chart of the embodiment of the present invention;
Fig. 4 is Neighbor TLV schematic diagrames of the embodiment of the present invention;
Fig. 5 is VLAN Registration TLV schematic diagrames of the embodiment of the present invention;
Fig. 6 is the structural representation of dynamic virtual Local Area Network attributes register device of the embodiment of the present invention.
Embodiment
For the objects, technical solutions and advantages of the present invention are more clearly understood, develop simultaneously embodiment referring to the drawings, right Scheme of the present invention is described in further detail.
In the embodiment of the present invention, in order to realize the dynamic vlan attribute logging across data center, for needing to support across number According to the station network of the dynamic vlan attribute logging function at center, dynamic can be configured on the edge device of the station network in advance VLAN attribute logging functions.When the ED of the station network receives the VLAN attribute logging messages in the station network, The VLAN attribute loggings information that VLAN attribute loggings message is carried is from the remote station for being configured with dynamic vlan attribute logging function Outgoing interface corresponding to the ED of spot net is sent, and eventually arrives at the ED of the remote station network, by the remote station network ED carries out VLAN attribute loggings in receiving interface, and regenerates VLAN attribute logging reports according to the VLAN attribute logging information Text, and propagated in the remote station network, so as to realize the dynamic vlan attribute logging across data center.
Below by the station network with EVI, during using GVRP mechanism to carry out VLAN attribute loggings in website, how to lead to ED is crossed to realize across data center(I.e. cross-site network)Process, technical scheme of the embodiment of the present invention is described in detail.
Referring to Fig. 3, Fig. 3 is dynamic virtual Local Area Network attributes register method flow chart of the embodiment of the present invention, this method application The edge device ED of station network, is mainly included the following steps that in EVI networks:
Step 301, dynamic vlan attribute logging function is configured on this ED in advance.
By taking Fig. 2 as an example, for station network site1, dynamic vlan attribute logging function is configured in ED1;For website Network site2, dynamic vlan attribute logging function is configured in ED2.
Wherein, dynamic vlan attribute logging function is configured on ED, shows that the ED supports to carry out VLAN between station network Attribute logging.
Step 302, the VLAN attribute logging messages received in station network where this ED, by the VLAN attribute loggings The VLAN attribute loggings information that message carries is corresponding from the ED of the remote station with being configured with dynamic vlan attribute logging function Outgoing interface is sent.
Outgoing interface corresponding to the ED of remote station is what is established on EVI interfaces, namely this ED between the ED of remote station Interface on EVI link.
Here VLAN attribute logging messages, just refer to that using the GVRP messages of GVRP mechanism, GVRP VLAN can be realized Dynamic configuration, be a kind of application based on GARP working mechanisms.
Wherein, exchanged for the information between GARP application entities, it may include there are three class messages(Also referred to as message), respectively For statement(Join)Message, cancellation(Leave)Message and cancellation all properties(LeaveAll)Message.Wherein,
Join message, it is divided into the unregistered attribute of statement(JoinEmpty)With the unregistered attribute of statement(JoinIn)Two kinds, area It is not:JoinEmpty represents attribute of one, the statement without registration itself, and JoinIn represents that one, statement itself is chartered Attribute.When a GARP application entity wishes that miscellaneous equipment registers the attribute information of oneself, it will externally send Join message; Some attributes are, it is necessary to which other GARP application entities are noted when the Join message or this equipment static configuration for receiving other entities During volume, it can also be sent out Join message.
Leave message is divided into canceling unregistered attribute(LeaveEmpty)With the registered attribute of cancellation(LeaveIn)Two kinds, It is distinguished as:LeaveEmpty represents that nullify one itself nullifies one and itself noted without the attribute registered, LeaveIn expressions The attribute of volume.When a GARP application entity wishes that miscellaneous equipment nullifies the attribute information of oneself, it will externally send Leave Message;After the Leave message for receiving other entities nullifies some attributes or static state has nullified some attributes, it also can be to outgoing Send Leave message.
Nullify all properties(LeaveAll)Message, for nullifying all attributes, so that other GARP application entities weights New registration originally physically all attribute information, the rubbish attribute in network is periodically removed with this(Such as some attribute It is deleted, but because equipment powers off suddenly, Leave message is not sent to notify other entities to nullify this attribute).Often After individual GARP application entities start, LeaveAll timers will be started simultaneously, GARP application entities will after the timer expiry Externally send LeaveAll message.
In embodiments of the present invention, in the case that VLAN attribute loggings message is GVRP messages, described VLAN attributes note Volume information specifically may include attribute event and attribute value, and wherein attribute event can be to nullify all properties(LeaveAll)Thing Part, the registered attribute of statement(JoinIn)Event, the unregistered attribute of statement(JoinEmpty)Event, nullify registered attribute (LeaveIn)Event or canceling unregistered attribute(LeaveEmpty)Event, attribute value identify for VLAN(ID).Certainly, it is right When using other attribute logging messages, can also there is same or similar attribute logging information.
Step 303, the VLAN attribute logging information that the ED of remote station is sent is received, perform the VLAN attributes of receiving interface Registration, generates VLAN attribute logging messages corresponding to the VLAN attribute logging information, and by the VLAN attribute logging messages of generation Sent from all of the port for enabling VLAN attribute logging functions.
The ED for being configured with the remote station network of dynamic vlan registering functional is received in remote station network During VLAN attribute logging messages, similarly can by the VLAN attribute loggings message carry VLAN attribute loggings information from configuration Outgoing interface corresponding to the ED of other station networks of dynamic vlan registering functional is sent.
After the ED of the site-local or ED of remote station receives the VLAN attribute logging information that other websites are sent, pass through VLAN attribute loggings message corresponding to generation, and sent by other ports, it can thus cause in each station network Equipment, as SW-1, SW-2, SW-3, SW-4 in Fig. 2 can thereon port register VLAN attributes, to ensure this Message in VLAN can be in station network, and is transmitted between station network.
In this step, this ED receive remote station ED send VLAN attribute logging information after, it is necessary to perform reception Interface(Receive the interface of the VLAN attribute logging information)VLAN attribute loggings, so, the receiving interface just can be to the VLAN Message handled.Wherein, the difference of attribute event in the VLAN attribute logging information received, noted according to the VLAN attributes The method for the VLAN attribute loggings that volume information performs receiving interface also differs, and is specially:
If attribute event is LeaveAll events in the VLAN attribute logging information, institute is nullified on the receiving interface There are VLAN attributes;
If attribute event is JoinIn events or JoinEmpty events in the VLAN attribute logging information, connect at this Receive and register all VLAN that attribute value includes in the VLAN attribute logging information on interface;
If attribute event is LeaveIn events or LeaveEmpty events in the VLAN attribute logging information, at this All VLAN that attribute value includes in the VLAN attribute logging information are nullified on receiving interface.
, can also be according to this after this ED receives the VLAN attribute logging information of ED transmissions of remote station in this step The local EVI extension VLAN of VLAN attribute loggings information modification, so, this ED cans be based on extension VLAN, and study is arrived pair The MAC Address answered, so that the message in VLAN effectively is accurately forwarded into corresponding device port.I.e. local EVI extends VLAN For the MAC Address of limits synchronization to remote station, only learn in each VLAN included by the local EVI extensions VLAN in ED To MAC Address just allow to be synchronized to remote station.
Wherein, the difference of attribute event in the VLAN attribute logging information received, according to the VLAN attribute logging information The local EVI extensions VLAN of modification method also differs, and is specially:
If attribute event is LeaveAll events in the VLAN attribute logging information, local EVI extensions are removed All dynamic vlans in VLAN;
If attribute event is JoinIn events or JoinEmpty events in the VLAN attribute logging information, should All VLAN that attribute value includes in VLAN attribute logging information are added in local EVI extensions VLAN;
If attribute event is LeaveIn events or LeaveEmpty events in the VLAN attribute logging information, should All VLAN that attribute value includes in VLAN attribute logging information remove from the EVI extensions VLAN of local.
It should be noted that attribute event is JoinIn events or JoinEmpty things in the VLAN attribute logging information In the case of part, all VLAN that attribute value includes in the VLAN attribute logging information are to be added to local as dynamic vlan EVI extension VLAN in.For the VLAN being pre-configured with ED, the present embodiment need not do special processing.
In the present embodiment, VLAN attribute logging messages refer to employ general VLAN attributes registration protocols(GVRP)Report Text, the method for VLAN attribute logging messages corresponding to ED generation VLAN attribute logging information is concretely:A GVRP messages are generated, Attribute event in the VLAN attribute logging information is inserted in the attribute event field of the GVRP messages, the VLAN attributes are noted Attribute value in volume information is inserted in the attribute value field of the GVRP messages.So, ED can be by the transmission of remote station VLAN attribute logging information, with GVRP message modes, VLAN attribute loggings are carried out according to normal GVRP mechanism in this website.
In the embodiment of the present invention shown in Fig. 3, in order to which after the GVRP messages in website are received, GVRP messages can be taken The VLAN attribute loggings information announcement of band is configured with dynamic to the remote station for being configured with dynamic vlan registering functional, it is necessary to know Outgoing interface corresponding to the ED of the remote station of VLAN registering functionals, acquisition method can have following two:
The first:Other configurations are pre-configured with or store on the ED of each website for being configured with dynamic vlan registering functional The ED of the website of dynamic vlan registering functional, so, according to the ED of the other remote stations stored on local ED, it is possible to obtain Outgoing interface corresponding to the ED of the remote station network of dynamic vlan registering functional is configured with the ED of this website.
Second:Progress dynamic vlan registering functional leads between being configured with the ED of the station network of dynamic vlan registering functional Accuse, outgoing interface corresponding to the ED of remote station is known in announcement process.
Specifically, it is configured with the ED of a certain station network after dynamic vlan registering functional, can be to remote station The ED of network sends the hello packet for carrying dynamic vlan attribute logging mark(Can also other EVI Intermediate System to Intermediate Systems messages), The hello packet for carrying dynamic vlan attribute logging mark that the ED of remote station network is sent also is received simultaneously, when receiving When what the ED of a certain remote station network was sent carries the hello packet of dynamic vlan attribute logging mark, it may be determined that this is remote The ED of end station spot net is configured with dynamic vlan attribute logging function, therefore the port for receiving the hello packet is recorded as into this Outgoing interface corresponding to the ED of remote station network.
Such as after being configured with dynamic vlan attribute logging function in fig. 2, on ED1, sent to ED2 and carry dynamic vlan category The hello packet of property monomark;After dynamic vlan attribute logging function is configured with ED2, is sent to ED1 and carry dynamic vlan The hello packet of attribute logging mark.Wherein, ED1 receives the carrying dynamic vlan attribute logging mark of ED2 transmissions After hello packet, the EVI interfaces for receiving the hello packet can be recorded as outgoing interface corresponding to ED2.Equally, ED2 is received After the hello packet for carrying dynamic vlan attribute logging mark that ED1 is sent, the EVI interfaces for receiving the hello packet can be remembered Record as outgoing interface corresponding to ED1.
It should be noted that due to only having two station networks in Fig. 2:Site1 and site2, therefore the ED1 in site1 The hello packet for carrying dynamic vlan attribute logging mark is only sent to other side with the ED2 in site2, if also existed in Fig. 2 Other station networks, then ED1 and ED2, which is both needed to send to the ED of other station networks, carries dynamic vlan attribute logging mark Hello packet, if the ED of other station networks is configured with dynamic vlan attribute logging function, similarly need to ED1, ED2 Send the hello packet for carrying dynamic vlan attribute logging mark.
, can be by increasing a Neighbor TLV in hello packet, with the Neighbor TLV in the present embodiment To carry dynamic vlan attribute logging mark.Such as the Neighbor TLV schematic diagrames of the embodiment of the present invention shown in Fig. 4, wherein,
The type field takes 1 byte, value 0x91, is shown to be Neighbor TLV;
Length fields take 1 byte, and its value is the length of Value fields;
Then include in Value fields:There is the Exist Smallest neighbor fields of minimum neighbours in sign, take 1 Bit;There is the Exist Lagest neighbor fields of maximum neighbours in sign, take 1 bit;VLAN Registration Field(Namely dynamic vlan attribute logging tag field), 1bit is taken, value 1, represents to support dynamic vlan attribute logging, Value is that dynamic vlan attribute logging is not supported in 0 expression;Retain(Resv)Field, take 4 bits;Neighbor records words Section, including fault bit, Resv, MTU, the several fields of MAC Address.In Value fields, Exist Smallest Neighbor field and Exist Lagest neighbor fields are mainly used in hello packet burst.
In the embodiment of the present invention shown in Fig. 3, the transmission of VLAN attribute logging information can also utilize hello packet to realize. Specifically, can be by increasing VLAN Registration TLV in hello packet, in the VLAN Registration The VLAN attribute logging information of GVRP messages carrying is inserted in TLV, carries VLAN Registration TLV's by sending Hello packet come realize GVRP messages carry VLAN attribute logging information transmission.Such as the embodiment of the present invention shown in Fig. 5 VLAN Registration TLV schematic diagrames, wherein,
The type field takes 1 byte, value 0x96, is shown to be VLAN Registration TLV;
Length fields take 1 byte, and its value is the length of Value fields;
Then include in Value fields:Sign whether the S fields for being minimum VLAN, take 1 bit;Whether sign is maximum VLAN L field, take 1 bit;Resv fields, take 5bit;VLAN attribute logging information(Attribute sub-TLV)Word Section.
In the Value fields, S fields and L field are used for hello packet burst.VLAN attribute logging information fields are also One TLV, the TLV type fields take 1 byte, wherein being marked corresponding to the attribute event in storage VLAN attribute logging information Note value, 5 kinds of values being shared, every kind of value represents a kind of attribute event, such as:0x00 represents LeaveAll events, and 0x01 is represented JoinEmpty events, 0x02 represent JoinIn events, and 0x03 represents LeaveEmpty events, and 0x04 represents LeaveIn events; The Length fields of the TLV take 1 byte, and value is the length of the Value fields of the TLV;Deposited in the Value fields of the TLV Put the attribute value in VLAN attribute logging information(VLAN ID);When the value of the type field in the TLV is LeaveAll events pair During the mark value 0x00 answered, the Value fields in the TLV are invalid.
In the embodiment of the present invention shown in Fig. 3, above-mentioned step 302 and step 303 can in no particular order sequentially.
In the invention described above embodiment of the method, only with the station network of EVI networks, VLAN category is carried out with GVRP mechanism Property registration when, how the ED in station network carries out cross-site internetwork dynamic VALN attribute loggings, those skilled in the art It is appreciated that in practical application, if website uses other attribute loggings, it again may be by ED and realizes across a network website Dynamic VALN attribute loggings, it is similar with use GVRP mechanism that it implements process, simply specific VLAN attribute loggings report The form of text is different, or specific implementation process can be different, to this embodiment of the present invention and is not particularly limited.
Dynamic vlan attribute logging method of the embodiment of the present invention is described in detail above, present invention also offers one Kind dynamic vlan attribute logging device, is illustrated with reference to Fig. 6.
Referring to Fig. 6, Fig. 6 is the structural representation of dynamic virtual Local Area Network attributes register device of the embodiment of the present invention, the dress Put, applied to the ED of station network in EVI networks, as shown in fig. 6, the device includes:Dispensing unit 601, Transmit-Receive Unit 602, Control unit 603;Wherein,
Dispensing unit 601, for configuring dynamic vlan attribute logging function on this ED in advance;
Transmit-Receive Unit 602, during for receiving the VLAN attribute logging messages where this ED in website, by the VLAN The VLAN attribute loggings information that attribute logging message carries is from the ED with being configured with dynamic vlan attribute logging function remote station Corresponding outgoing interface is sent;The VLAN attribute logging information that ED for receiving remote station is sent;
Control unit 603, the VLAN attribute logging information of the ED transmissions of remote station is received for Transmit-Receive Unit 602 When, the VLAN attribute loggings of receiving interface are performed according to the VLAN attribute loggings information, and generate the VLAN attribute logging information Corresponding VLAN attribute loggings message;
Transmit-Receive Unit 602, it is additionally operable to VLAN attribute loggings message that control unit 603 generates from enabling VLAN attributes The all of the port of registering functional is sent;
Wherein, the VLAN attribute loggings information includes attribute event and attribute value, and the attribute value is VLAN ID。
The present embodiment device can be deployed in station network, as ED, so that between can realizing different station networks In VLAN attribute loggings, it implements the explanation that can be found in the invention described above embodiment of the method.
In device shown in above-mentioned Fig. 6, the dispensing unit 601, it may also be used for storage configuration is dynamic in this ED in advance The ED of the remote station of state VLAN attribute logging functions;
Or
The Transmit-Receive Unit 602, it is further used for configuring dynamic vlan attribute logging work(on this ED in dispensing unit 601 After energy, the hello packet for carrying dynamic vlan attribute logging mark is sent to the ED of remote station;And receive remote station The hello packet for carrying dynamic vlan attribute logging mark that the ED of point is sent;
Described control unit 603, it is additionally operable to Transmit-Receive Unit 602 and receives the carrying dynamic vlan that the ED of remote station is sent During the hello packet of attribute logging mark, determine that the ED of the remote station is configured with dynamic vlan attribute logging function, will receive Interface is recorded as outgoing interface corresponding to the ED of the remote station.
In device shown in above-mentioned Fig. 6, described control unit 603, it may also be used for Transmit-Receive Unit 602 receives remote station The VLAN attribute logging information that sends of ED after, local EVI is changed according to the VLAN attribute loggings information and extends VLAN;
Wherein, attribute event is in the VLAN attribute logging information that Transmit-Receive Unit 602 receives from remote station LeaveAll events, JoinIn events, JoinEmpty events, LeaveIn events or LeaveEmpty events;
Described control unit 603 is used for when changing local EVI extension VLAN according to the VLAN attribute loggings information:
If attribute event is LeaveAll events in the VLAN attribute logging information, local EVI extensions are emptied VLAN;
If attribute event is JoinIn events or JoinEmpty events in the VLAN attribute logging information, should All VLAN that attribute value includes in VLAN attribute logging information are added in local EVI extensions VLAN;
If attribute event is LeaveIn events or LeaveEmpty events in the VLAN attribute logging information, should All VLAN that attribute value includes in VLAN attribute logging information remove from the EVI extensions VLAN of local.
In device shown in above-mentioned Fig. 6, described Transmit-Receive Unit 602 is noted from the ED of the remote station VLAN attributes received Volume information in attribute event be LeaveAll events, JoinIn events, JoinEmpty events, LeaveIn events or LeaveEmpty events;
Described control unit 603 according to the VLAN attribute loggings information perform receiving interface VLAN attribute loggings when, It is particularly used in:
If attribute event is LeaveAll events in the VLAN attribute logging information, institute is nullified on the receiving interface There are VLAN attributes;
If attribute event is JoinIn events or JoinEmpty events in the VLAN attribute logging information, connect at this Receive and register all VLAN that attribute value includes in the VLAN attribute logging information on interface;
If attribute event is LeaveIn events or LeaveEmpty events in the VLAN attribute logging information, at this All VLAN that attribute value includes in the VLAN attribute logging information are nullified on receiving interface.
In device shown in above-mentioned Fig. 6, the VLAN attribute loggings message concretely uses general VLAN attribute loggings Agreement GVRP message;
Described control unit 603 is used for when generating VLAN attribute logging messages corresponding to the VLAN attribute logging information: A GVRP messages are generated, the attribute event in the VLAN attribute logging information is inserted to the attribute event field of the GVRP messages In, the attribute value in the VLAN attribute logging information is inserted in the attribute value field of the GVRP messages.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.It is all Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements made etc., the protection of the present invention should be included in Within the scope of.

Claims (10)

1. a kind of dynamic virtual LAN VLAN attribute logging methods, website in interconnection EVI networks is virtualized applied to Ethernet The edge device ED of network, it is characterised in that configure dynamic vlan attribute logging function on this ED in advance so that this ED is supported VLAN attribute loggings are carried out between station network;This method includes:
The VLAN attribute logging messages in website where this ED are received, the VLAN that the VLAN attribute loggings message is carried belongs to The corresponding outgoing interface of the ED of property log-on message from the remote station with being configured with dynamic vlan attribute logging function is sent;Institute Outgoing interface corresponding to the ED of remote station is stated as the interface on the upper EVI link established between the ED of remote station of this ED;
The VLAN attribute logging information that the ED of remote station is sent is received, performs to receive according to the VLAN attribute loggings information and is somebody's turn to do The VLAN attribute loggings of the interface of VLAN attribute logging information, and generate VLAN attributes corresponding to the VLAN attribute logging information and note Volume message, the VLAN attribute loggings message of generation is sent from all of the port for enabling VLAN attribute logging functions;
Wherein, VLAN attribute loggings information includes attribute event and attribute value, and the attribute value is VLAN ID.
2. according to the method for claim 1, it is characterised in that also include:
The storage configuration ED of the remote station of dynamic vlan attribute logging function in this ED in advance;
Or
After configuring dynamic vlan attribute logging function on this ED, further comprise:
The hello packet for carrying dynamic vlan attribute logging mark is sent to the ED of remote station;
And when receiving the hello packet for carrying dynamic vlan attribute logging mark of ED transmissions of remote station, it is determined that should The ED of remote station is configured with dynamic vlan attribute logging function, and receiving interface is recorded as going out corresponding to the ED of the remote station Interface.
3. according to the method for claim 1, it is characterised in that the VLAN attributes note that the ED for receiving remote station is sent After volume information, in addition to:
VLAN is extended according to the EVI that VLAN attribute loggings information modification is local;
Wherein, attribute event is cancellation all properties LeaveAll things in the VLAN attribute logging information received from remote station Part, the registered attribute JoinIn events of statement, the unregistered attribute JoinEmpty events of statement, the registered attribute LeaveIn of cancellation Event or canceling unregistered attribute LeaveEmpty events;
It is described local EVI changed according to the VLAN attribute loggings information extend VLAN method be:
If attribute event is LeaveAll events in the VLAN attribute logging information, remove in local EVI extensions VLAN All dynamic vlans;
If attribute event is JoinIn events or JoinEmpty events in the VLAN attribute logging information, the VLAN is belonged to Property log-on message in all VLAN for including of attribute value be added to as dynamic vlan in local EVI extensions VLAN;
If attribute event is LeaveIn events or LeaveEmpty events in the VLAN attribute logging information, by the VLAN All VLAN that attribute value includes in attribute logging information remove from the EVI extensions VLAN of local.
4. according to the method for claim 1, it is characterised in that
Attribute event is LeaveAll events, JoinIn things in the VLAN attribute logging information received from the ED of remote station Part, JoinEmpty events, LeaveIn events or LeaveEmpty events;
The method of VLAN attribute loggings for performing receiving interface is:
If attribute event is LeaveAll events in the VLAN attribute logging information, nullified on the receiving interface all VLAN attributes;
If attribute event is JoinIn events or JoinEmpty events in the VLAN attribute logging information, connect in the reception All VLAN that attribute value includes in the VLAN attribute logging information are registered on mouth;
If attribute event is LeaveIn events or LeaveEmpty events in the VLAN attribute logging information, in the reception All VLAN that attribute value includes in the VLAN attribute logging information are nullified on interface.
5. according to the method for claim 1, it is characterised in that the VLAN attribute loggings message is specially using general VLAN attributes registration protocols GVRP message;
The method for generating VLAN attribute logging messages corresponding to the VLAN attribute logging information is:
A GVRP messages are generated, the attribute event in the VLAN attribute logging information is inserted to the attribute event word of the GVRP messages Duan Zhong, the attribute value in the VLAN attribute logging information is inserted in the attribute value field of the GVRP messages.
6. a kind of dynamic virtual LAN VLAN attribute logging devices, website in interconnection EVI networks is virtualized applied to Ethernet The edge device ED of network, it is characterised in that the device includes:Dispensing unit, Transmit-Receive Unit, control unit;
The dispensing unit, for configuring dynamic vlan attribute logging function on this ED in advance so that this ED is supported in website VLAN attribute loggings are carried out between network;
The Transmit-Receive Unit, for receiving the VLAN attribute logging messages in website where this ED, the VLAN attributes are noted The VLAN attribute loggings information that volume message carries is corresponding from the ED of the remote station with being configured with dynamic vlan attribute logging function Outgoing interface send;And the VLAN attribute logging information sent for receiving the ED of remote station, and the VLAN is belonged to Property log-on message is sent to control unit;Outgoing interface corresponding to the ED of the remote station be that this ED is upper and the ED of remote station it Between interface on the EVI link that establish;
Described control unit, for receive Transmit-Receive Unit transmission VLAN attribute logging information when, according to the VLAN attributes note Volume information performs the VLAN attribute loggings for the interface for receiving the VLAN attribute logging information, and generates the VLAN attribute logging information Corresponding VLAN attribute loggings message;
The Transmit-Receive Unit, the VLAN attribute loggings message by control unit generation is additionally operable to from enabling VLAN attribute logging work( The all of the port of energy is sent;
Wherein, the VLAN attribute loggings information includes attribute event and attribute value, and the attribute value is VLAN ID.
7. device according to claim 6, it is characterised in that
The dispensing unit, it is additionally operable to the storage configuration remote station of dynamic vlan attribute logging function in this ED in advance ED;
Or
The Transmit-Receive Unit, it is further used for after dispensing unit configures dynamic vlan attribute logging function on this ED, to The ED of remote station sends the hello packet for carrying dynamic vlan attribute logging mark;And for receiving the ED of remote station The hello packet for carrying dynamic vlan attribute logging mark of transmission;
Described control unit, it is additionally operable to Transmit-Receive Unit and receives the carrying dynamic vlan attribute logging mark that the ED of remote station is sent During the hello packet of note, determine that the ED of the remote station is configured with dynamic vlan attribute logging function, receiving interface is recorded as Outgoing interface corresponding to the ED of the remote station.
8. device according to claim 6, it is characterised in that
Described control unit, it is additionally operable to after the VLAN attribute logging information of ED transmissions that Transmit-Receive Unit receives remote station, VLAN is extended according to the EVI that VLAN attribute loggings information modification is local;
Wherein, in the VLAN attribute logging information that Transmit-Receive Unit receives from remote station attribute event be LeaveAll events, JoinIn events, JoinEmpty events, LeaveIn events or LeaveEmpty events;
Described control unit is specifically used for when changing local EVI extension VLAN according to the VLAN attribute loggings information:
If attribute event is LeaveAll events in the VLAN attribute logging information, remove in local EVI extensions VLAN All dynamic vlans;
If attribute event is JoinIn events or JoinEmpty events in the VLAN attribute logging information, the VLAN is belonged to Property log-on message in all VLAN for including of attribute value be added to as dynamic vlan in local EVI extensions VLAN;
If attribute event is LeaveIn events or LeaveEmpty events in the VLAN attribute logging information, by the VLAN All VLAN that attribute value includes in attribute logging information remove from the EVI extensions VLAN of local.
9. device according to claim 6, it is characterised in that
In the VLAN attribute logging information that Transmit-Receive Unit receives from the ED of remote station attribute event be LeaveAll events, JoinIn events, JoinEmpty events, LeaveIn events or LeaveEmpty events;
Described control unit is specific to use when performing the VLAN attribute loggings of receiving interface according to the VLAN attribute loggings information In:
If attribute event is LeaveAll events in the VLAN attribute logging information, nullified on the receiving interface all VLAN attributes;
If attribute event is JoinIn events or JoinEmpty events in the VLAN attribute logging information, connect in the reception All VLAN that attribute value includes in the VLAN attribute logging information are registered on mouth;
If attribute event is LeaveIn events or LeaveEmpty events in the VLAN attribute logging information, in the reception All VLAN that attribute value includes in the VLAN attribute logging information are nullified on interface.
10. device according to claim 6, it is characterised in that the VLAN attribute loggings message is specially using general VLAN attributes registration protocols GVRP message;
Described control unit is used for when generating VLAN attribute logging messages corresponding to the VLAN attribute logging information:Generation one GVRP messages, the attribute event in the VLAN attribute logging information is inserted in the attribute event field of the GVRP messages, by this Attribute value in VLAN attribute logging information is inserted in the attribute value field of the GVRP messages.
CN201310328318.8A 2013-07-31 2013-07-31 A kind of dynamic vlan attribute logging method and device Active CN104348797B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310328318.8A CN104348797B (en) 2013-07-31 2013-07-31 A kind of dynamic vlan attribute logging method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310328318.8A CN104348797B (en) 2013-07-31 2013-07-31 A kind of dynamic vlan attribute logging method and device

Publications (2)

Publication Number Publication Date
CN104348797A CN104348797A (en) 2015-02-11
CN104348797B true CN104348797B (en) 2017-12-15

Family

ID=52503611

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310328318.8A Active CN104348797B (en) 2013-07-31 2013-07-31 A kind of dynamic vlan attribute logging method and device

Country Status (1)

Country Link
CN (1) CN104348797B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107465561A (en) * 2017-09-22 2017-12-12 安徽皖通邮电股份有限公司 The implementation method that a kind of ether exchange network NE management is opened certainly

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6847620B1 (en) * 1999-05-13 2005-01-25 Intermec Ip Corp. Mobile virtual LAN
CN101119275A (en) * 2007-09-19 2008-02-06 杭州华三通信技术有限公司 Method, equipment and system for service provider equipment to obtain information
CN101483573A (en) * 2009-02-09 2009-07-15 杭州华三通信技术有限公司 Method and network node for GVRP dynamic learning
CN101945044A (en) * 2010-09-09 2011-01-12 中兴通讯股份有限公司 Attribute registration method for switched network and switching equipment
CN102594711A (en) * 2012-03-28 2012-07-18 杭州华三通信技术有限公司 Message forwarding method and edge device therefor
CN103095508A (en) * 2013-02-25 2013-05-08 杭州华三通信技术有限公司 Business access method and edge device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6847620B1 (en) * 1999-05-13 2005-01-25 Intermec Ip Corp. Mobile virtual LAN
CN101119275A (en) * 2007-09-19 2008-02-06 杭州华三通信技术有限公司 Method, equipment and system for service provider equipment to obtain information
CN101483573A (en) * 2009-02-09 2009-07-15 杭州华三通信技术有限公司 Method and network node for GVRP dynamic learning
CN101945044A (en) * 2010-09-09 2011-01-12 中兴通讯股份有限公司 Attribute registration method for switched network and switching equipment
CN102594711A (en) * 2012-03-28 2012-07-18 杭州华三通信技术有限公司 Message forwarding method and edge device therefor
CN103095508A (en) * 2013-02-25 2013-05-08 杭州华三通信技术有限公司 Business access method and edge device

Also Published As

Publication number Publication date
CN104348797A (en) 2015-02-11

Similar Documents

Publication Publication Date Title
CN104283980B (en) A kind of address resolution protocol pickup method and device
Kompella et al. Virtual private LAN service (VPLS) using BGP for auto-discovery and signaling
US8098656B2 (en) Method and apparatus for implementing L2 VPNs on an IP network
US7751399B2 (en) Scalable virtual private local area network service
CN104579954B (en) The cross-domain retransmission method of message, device and communication equipment
CN104009926B (en) Multicast method in EVI network and edge device ED
CN104243270B (en) A kind of method and apparatus for establishing tunnel
EP4131872A1 (en) Multicast traffic transmission method and apparatus, communication node, and storage medium
CN109861926A (en) The transmission of message, processing method and processing device, PE node, node
CN102413060B (en) User private line communication method and equipment used in VPLS (Virtual Private LAN (Local Area Network) Service) network
PH12015502297B1 (en) A method and system for updating distributed resilient network interconnect (drni) states
CN101110745A (en) Method, device and system for engaging second layer network and third layer network
CN103326918B (en) A kind of message forwarding method and equipment
WO2015074394A1 (en) Method and device for message forwarding
CN105637819B (en) It is used for transmission the method and system of broadcast data
CN104579728A (en) Network element equipment configuration and management method and device as well as network element equipment
Perlman et al. Introduction to TRILL
CN105187311B (en) A kind of message forwarding method and device
CN103326940A (en) Method for forwarding message in network and edge device of operator
WO2013139270A1 (en) Method, device, and system for implementing layer3 virtual private network
CN102571375B (en) Multicast forwarding method and device as well as network device
US20120099598A1 (en) Method, device and system for establishing a pseudo wire
CN108512669A (en) It is used for transmission the method and system of broadcast data
CN107018076A (en) A kind of monitoring messages method and apparatus
CN102710510B (en) Information processing method, apparatus and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Applicant after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Applicant before: Huasan Communication Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant