Configure IRB
## Delete default
delete default switch
Bridging and VLANs
Understanding Bridging and VLANs on Switches
Network switches use Layer 2 bridging protocols to discover the topology of their LAN and to forward traffic toward destinations on the LAN. This topic explains the following concepts regarding bridging and VLANs:
## Create the VLAN by assigning it a name and a VLAN ID:
[edit]
user@switch# set vlans support vlan-id 111
## Assign an interface to the VLAN by specifying the logical interface (with the unit statement) and specifying the VLAN name as the member:
[edit]
user@switch# set interfaces ge-0/0/18 unit 0 family ethernet-switching vlan members support
## Create the subnet for the VLAN’s broadcast domain:
[edit]
user@switch# set interfaces irb unit 111 family inet address 10.10.10.x/24
Where the value of X can be any number between the range 1 to 254.
### Bind a Layer 3 interface with the VLAN:
[edit]
user@switch# set vlans support l3-interface irb.111
## Verify
user@switch> show interfaces irb terse
user@switch> show vlans
user@switch> show ethernet-switching table
## source :
https://www.juniper.net/documentation/en_US/junos/topics/topic-map/bridging-and-vlans.html#id-configuring-vlans-on-switches
https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/bridging-routed-vlan-interfaces-ex-series-cli.html
https://www.juniper.net/documentation/en_US/junos/topics/topic-map/irb-and-bridging.html
Version 18
Comments
Post a Comment