Here I're make VLAN's and routing
eth0 - ctrl access (MGMT) 1.serious
eth3 - I'm going to put 10.serious
eth5 - I'm going to put 20.serious
now the work is eth3 and 5 will going to communicate each other
step one login your switch through ssh
cli
>edit
#
Set Ethernet
interfaces {
ge-0/0/0 {
unit 0 {
family ethernet-switching {
vlan {
members MGMT;
}
}
}
}
ge-0/0/3 {
unit 0 {
family ethernet-switching {
vlan {
members TEN_SERIOUS;
}
}
}
}
ge-0/0/5 {
unit 0 {
family ethernet-switching {
vlan {
members TWENTY_SERIOUS;
}
}
}
}
}
Set VLAN as
vlan {
unit 0 {
family inet;
}
unit 10 {
family inet {
address 192.168.1.1/24;
}
}
unit 20 {
family inet {
address 192.168.10.254/24;
}
}
unit 30 {
family inet {
address 192.168.20.100/24;
}
}
}
Set Routing Information Protocol
Create VLAN
configure-switching-vlan- add vlan with vlan id, ipaddress
Interface to VLAN
select interface-edit-vlanoption-select vlan member(as you want)
Add RIP
routing-rip-add-neighbor-select communicating vlans
eth0 - ctrl access (MGMT) 1.serious
eth3 - I'm going to put 10.serious
eth5 - I'm going to put 20.serious
now the work is eth3 and 5 will going to communicate each other
step one login your switch through ssh
cli
>edit
#
Set Ethernet
interfaces {
ge-0/0/0 {
unit 0 {
family ethernet-switching {
vlan {
members MGMT;
}
}
}
}
ge-0/0/3 {
unit 0 {
family ethernet-switching {
vlan {
members TEN_SERIOUS;
}
}
}
}
ge-0/0/5 {
unit 0 {
family ethernet-switching {
vlan {
members TWENTY_SERIOUS;
}
}
}
}
}
Set VLAN as
vlan {
unit 0 {
family inet;
}
unit 10 {
family inet {
address 192.168.1.1/24;
}
}
unit 20 {
family inet {
address 192.168.10.254/24;
}
}
unit 30 {
family inet {
address 192.168.20.100/24;
}
}
}
Set Routing Information Protocol
protocols {
rip {
group TEST {
neighbor
vlan.1;
neighbor
vlan.2;
}
}
igmp-snooping {
vlan all;
}
rstp;
lldp {
interface all;
}
lldp-med {
interface all;
}
}
ethernet-switching-options {
storm-control {
interface all;
}
}
vlans {
TEN_SERIOUS {
vlan-id 20;
l3-interface
vlan.20;
}
TWENTY_SERIOUS {
vlan-id 30;
l3-interface
vlan.30;
}
MGMT {
vlan-id 10;
l3-interface
vlan.10;
}
}
poe {
interface all;
}
Create VLAN
configure-switching-vlan- add vlan with vlan id, ipaddress
Interface to VLAN
select interface-edit-vlanoption-select vlan member(as you want)
Add RIP
routing-rip-add-neighbor-select communicating vlans
0 Comments