Relay Device and Relay System
A logical port table retains a combination of a physical port and a VLAN identifier in association with a logical port. An FDB retains a correspondence relation between a MAC address and the logical port. When a frame is received at the physical port, a table processing unit acquires the logical port based on the logical port table. An FDB processing unit learns a source MAC address contained in the frame in association with the logical port acquired by the table processing unit to the FDB.
1 . A relay device comprising:
a physical port;
a logical port table retaining a combination of the physical port and a VLAN identifier in association with a logical port;
a table processing unit;
an FDB retaining a correspondence relation between a MAC address and the logical port; and
an FDB processing unit,
wherein when a frame is received at the physical port, the table processing unit acquires the logical port from the physical port which has received the frame and the VLAN identifier contained in the frame based on the logical port table, and
the FDB processing unit learns a source MAC address contained in the frame in association with the logical port acquired by the table processing unit to the FDB.
2 . The relay device according to claim 1 ,
wherein the logical port table retains a combination of the one physical port and one or a plurality of the VLAN identifiers in association with the one logical port.
3 . The relay device according to claim 1 ,
wherein the VLAN identifier retained in the logical port table is a service VLAN identifier based on IEEE802.1ad or a backbone VLAN identifier based on IEEE802.1ah.
4 . The relay device according to claim 1 ,
wherein the physical ports include a physical port for which the logical port is to be set and a physical port for which the logical port is not to be set, and
the FDB retains a correspondence relation between the MAC address and the physical port for the physical port for which the logical port is not to be set.
5 . The relay device according to claim 1 ,
wherein the physical port is a ring port connected to a ring network.
6 . The relay device according to claim 5 , further comprising:
a ring control unit controlling the ring network based on a predetermined ring protocol,
wherein when occurrence of a fault in the ring network is detected, the ring control unit issues a request for flushing the FDB with designating the logical port.
7 . A relay system comprising a plurality of relay devices connected via a communication line,
wherein at least one of the plurality of relay devices includes:
a physical port connected to another relay device via the communication line;
a logical port table retaining a combination of the physical port and a VLAN identifier in association with a logical port;
a table processing unit;
an FDB retaining a correspondence relation between a MAC address and the logical port; and
an FDB processing unit,
when a frame from another relay device is received at the physical port, the table processing unit acquires the logical port from the physical port which has received the frame and the VLAN identifier contained in the frame based on the logical port table, and
the FDB processing unit learns a source MAC address contained in the frame in association with the logical port acquired by the table processing unit to the FDB.
8 . The relay system according to claim 7 ,
wherein the logical port table retains a combination of the one physical port and one or a plurality of the VLAN identifiers in association with the one logical port.
9 . The relay system according to claim 7 ,
wherein the VLAN identifier retained in the logical port table is a service VLAN identifier based on IEEE802.1ad or a backbone VLAN identifier based on IEEE802.1ah.
10 . The relay system according to claim 7 ,
wherein the plurality of relay devices configure a plurality of ring networks,
at least one of the plurality of relay devices further includes a ring control unit controlling the plurality of ring networks based on a predetermined ring protocol, and
the physical port is a ring port shared among the plurality of ring networks.
11 . The relay system according to claim 10 ,
wherein when occurrence of a fault in any of the plurality of ring networks is detected, the ring control unit issues a request for flushing the FDB with designating the logical port.
12 . The relay system according to claim 10 ,
wherein the plurality of logical ports corresponding to the plurality of ring networks are set in the logical port table, and
when occurrence of a fault in any of the plurality of ring networks is detected, the ring control unit issues a request for flushing the FDB with designating the logical port corresponding to the ring network.
13 . The relay device according to claim 2 ,
wherein the VLAN identifier retained in the logical port table is a service VLAN identifier based on IEEE802.1ad or a backbone VLAN identifier based on IEEE802.1ah.
14 . The relay system according to claim 8 ,
wherein the VLAN identifier retained in the logical port table is a service VLAN identifier based on IEEE802.1ad or a backbone VLAN identifier based on IEEE802.1ah.