You can configure an IRB logical interface at the [edit interfaces ge-fpc /pic/port unit logical-unit-number] hierarchy level:
- [edit interfaces ge-fpc/pic/port]
-
unit logical-unit-number {
- }
You can configure Layer 3 information on the IRB logical interface by including the irb statement at the [edit interfaces] hierarchy level:
- [edit interfaces]
- irb {
-
-
unit logical-unit-number {
-
-
family inet {
- address address {
- }
- }
- }
- }
For examples of Layer 2 bridging configuration, see the JUNOS Routing Protocols Configuration Guide.
The following example configures an IRB logical interface and Layer 3 information on the interface.
- [edit interfaces]
- ge-1/0/0 {
- unit 0 {
- }
- }
- irb {
-
- unit 0 {
- family inet {
- address 192.168.12.1/28;
- }
- }
- }