For more details, please see ourCookie Policy.

Ethernet Switches & Routers

Video: VLAN Routing with Router Interfaces

by DennisMSmith on ‎06-20-2016 07:57 AM - edited on ‎03-20-2017 09:24 AM by Community Manager (2,648 Views)

In this video we will show you how How to configure VLAN routing on Brocade campus switches.



Video Transcript:


0:00 – this is the Brocade campus feature explainer series I'm Terry Henry in

0:04 – this episode we're going to have a quick look at VLAN routing with the router

0:08 – interface command

0:11 – so as usual from config t what we're going to do is we need to from a vlan

0:19 – we're going to assign a router interface and then on that router

0:22 – interface we're going to apply an IP address to it

0:24 – so let's build two vlans we're going to build a vlan 10 and we're gonna assign

0:30 – interface so we'll tag interface Ethernet 1/2/1 for example and

0:38 – then under this VLAN we're going to create something called a router -

0:42 – interface and VE for virtual Ethernet and then we'll assign it a number so the

0:47 – number does not have to be the VLAN number but the best practice is that it

0:51 – should match because otherwise you're going to come back to this configuration

0:54 – later and you're not going to be able to figure out which VE matches which VLAN

0:59 – just by looking at it

1:01 – so we will assign it the same number so once that's done we now have an

1:06 – interface on this device called VE10 so I can just switch to interface ve10

1:12 – and we now have this interface so that so the configuration you can see the

1:17 – prompt changes to config the VAF for virtual interface 10 and we can assign

1:21 – an IP address right on the interface so let's say IP address

1:25 – and then we're going to go make another the feel and so let's

1:34 – say VLAN 20 and we'll tag

1:40 – e 1/1/1 so a different port in this case cover the same doesn't really

1:45 – matter

1:46 – we will assign a router interface ve 20

1:54 – ok and then an interface ve20 here we will give it an IP address IP address

2:04 – say

2:08 – so we now have to VE’s so let's look back at the running configuration here so we

2:13 – have our two vlans right tagged 1/2/1 and then 1/1/1 so interface ve10 is assigned

2:20 – to VLAN 10 and ve20 is assigned to VLAN 20

2:24 – so we look down at the configuration here we are going to see those ve’s with

2:30 – the IP address assigned

2:31 – so if we have a look at show say interface brief

2:38 – we're going to see all of our interfaces and right at the bottom here we see ve10

2:47 – which is up and ve20 which is down

2:50 – so there's actually nothing plugged into those we can do a show interface ve10

2:55 – to get detail on it so we can see that it's up and up

2:58 – we see if the IP addresses and to you etc and 20

3:03 – so 20 is down there is physically nothing plugged into it

3:06 – so what you're going to find is if I do a show if you're out you're going to see

3:10 – that we see the 10 subnet in the routing table

3:13 – via port ve10 and its d for directly connected but we don't see that 20 vlan

3:19 – so it only gets put in a in the routing table if we at least one port in that

3:25 – vlan is up and active

3:26 – otherwise there's no point putting around in the routing table that the

3:30 – device can't get to

3:31 – so if we plug that cable in to

3:35 – VLAN 20 and I show if you do a show up you're out again

3:41 – we now see ve10 + ve20 so as soon as I do this I now have those two directly

3:47 – connected routes in my routing table and I can now route from vlan to vlan

3:52 – so don't the other thing is you can do a show IP interface and under the show IP

4:01 – interface we see here is my 2 ve's with their IP’s assigned by the ok and their

4:08 – status their up protocol up and they're in the default vrf so if we had you know

4:13 – another vrf or multiple vrf’ss we can assign different ve’s to different vrf’s

4:17 – but in this case where everything is in the default and once we have those ve’s

4:22 – so if I go back to interface ve10 here this works just like a regular interface

4:26 – so I could say assign IP ospf area 0 to that interface or it could assign a ve

4:33 – to that interface of sorry ACL to that interface and so it it works just like a

4:38 – physical interface

4:39 – once it's you know up and active so that's it

4:43 – thanks for joining