1
00:00:09,730 --> 00:00:16,600
This video I'm going to discuss of raftered ports on ethernet switches in this ingenious Threet apology.

2
00:00:16,600 --> 00:00:24,030
I have to Iowas V layer two switches and an Iowas of the router.

3
00:00:24,190 --> 00:00:27,310
The devices have no configuration.

4
00:00:27,490 --> 00:00:34,520
So they've just booted up and bypassed the initial configuration dialog on the router.

5
00:00:36,150 --> 00:00:40,470
And let's start by configuring host names on the switches

6
00:00:44,320 --> 00:00:54,580
and I'll configure a hostname on the router so no configuration has been done on these devices at all.

7
00:00:54,580 --> 00:00:59,680
They're using the default configuration and I've simply changed the hostname.

8
00:00:59,680 --> 00:01:07,570
So show CGP neighbors on switch one shows me that switch to is available on the gigabit 00 interface

9
00:01:08,460 --> 00:01:16,770
CD was advertising switch to with the name switch until I changed it on switched to shoyu CTP neighbor.

10
00:01:16,900 --> 00:01:21,520
We can see switch one connected to Gigabit 00.

11
00:01:21,520 --> 00:01:29,380
We don't see the router on gigabit to 0 1 because a rod as interfaces are shut down by default show

12
00:01:29,830 --> 00:01:35,390
interface gigabit 00 switch port.

13
00:01:35,430 --> 00:01:36,630
Here's the command.

14
00:01:36,760 --> 00:01:40,970
We can see that the interface is enabled as a switch port.

15
00:01:41,010 --> 00:01:51,070
It's using dynamic orda DTP mode or dynamic trunking protocol mode the villain that the port belongs

16
00:01:51,070 --> 00:01:58,100
to is villaine one because it wasn't able to negotiate trunking with switch to.

17
00:01:58,150 --> 00:02:00,520
There are no trunk's configured on the switch.

18
00:02:00,940 --> 00:02:07,690
So show interface kickabout to 0 0 such port we can see that it's a static access port negotiation of

19
00:02:07,690 --> 00:02:13,680
trunking is enabled but it hasn't negotiated trunking with the other side.

20
00:02:14,410 --> 00:02:19,700
The interface belongs to the land one on switch two.

21
00:02:19,720 --> 00:02:21,090
We would see something similar.

22
00:02:21,100 --> 00:02:24,590
So show interface gigabit 00 switch port.

23
00:02:24,730 --> 00:02:31,800
The interface is enabled as a switch port using dynamic Warda mode.

24
00:02:31,840 --> 00:02:42,280
So when we look at the villans at the moment only the land one and the other default villans are configured

25
00:02:42,490 --> 00:02:44,260
on the switches.

26
00:02:44,260 --> 00:02:49,340
We're not going to worry about FDDI and Token Ring in these videos.

27
00:02:49,680 --> 00:02:58,090
What I could do is create a switch to a virtual interface is vi you do that by using the interface movieland

28
00:02:58,130 --> 00:03:01,940
command we can see that the interface has gone down.

29
00:03:02,450 --> 00:03:09,640
But what I could do is configure an IP address on this interface and then shut it.

30
00:03:09,650 --> 00:03:18,010
I could then also do something similar create an ace VI or switch to a virtual interface for a villain

31
00:03:18,010 --> 00:03:18,520
one

32
00:03:21,160 --> 00:03:30,670
and give the switch an IP address and no shut the VI interfaces come up on both sides.

33
00:03:30,670 --> 00:03:39,610
So we should be able to ping switch to from switch one there's the ping again and we should be able

34
00:03:39,610 --> 00:03:44,120
to ping switch one from switch to.

35
00:03:44,140 --> 00:03:53,770
So the physical interface is a layer to interface gigabit to 00 is enabled as a switch port interface.

36
00:03:53,770 --> 00:03:59,920
It's a layer to interface it supports protocols such as spanning tree.

37
00:04:00,070 --> 00:04:07,960
Notice this port is the root port on switch 2 and it's forwarding show spending tree here shows that

38
00:04:08,000 --> 00:04:16,480
gigabit 00 is the designated port on the switch and it's also forwarding protocols such as DTP and spending

39
00:04:16,480 --> 00:04:21,440
tree run across switch ports all lead to ports.

40
00:04:21,480 --> 00:04:32,880
But what I could do as an example on switch to is make the port a routed port by using the command no

41
00:04:32,910 --> 00:04:40,830
switch port interfaces come up and now when we tap the show interface gigabit 00 switch port.

42
00:04:40,890 --> 00:04:49,200
Notice we told that the switch port has disabled Whereas on this side it's still enabled as a switch

43
00:04:49,200 --> 00:04:54,210
port and we can see the access feelin that the port belongs to.

44
00:04:54,570 --> 00:04:57,240
We'll also be able to see whether it becomes a trunk.

45
00:04:57,660 --> 00:05:00,890
But that's not true on the rodded port.

46
00:05:00,900 --> 00:05:08,860
Another difference between a rodded port and a switch port is you can configure an IP address directly

47
00:05:09,340 --> 00:05:11,120
on the interface.

48
00:05:11,140 --> 00:05:14,580
Do show run interface gigabit 00.

49
00:05:15,010 --> 00:05:23,150
Notice it's disabled as a switch port and an IP address has been configured directly on the interface.

50
00:05:23,500 --> 00:05:32,320
Whereas if I tried that here and try and configure an IP address it's not recognized.

51
00:05:32,350 --> 00:05:37,260
So at this point all just change that IP address to make it consistent.

52
00:05:37,930 --> 00:05:39,980
Because this is switch to.

53
00:05:40,400 --> 00:05:50,020
But notice the IP address command is not available on this side because it's currently a switch port.

54
00:05:50,530 --> 00:06:00,300
But if I type a no switch port and then IP address notice I can configure the IP address on the interface

55
00:06:00,930 --> 00:06:09,850
to show interface gigabit 00 or switch port it is disabled as a switch port.

56
00:06:10,190 --> 00:06:16,640
But I can pain switch to through that interface.

57
00:06:16,640 --> 00:06:27,570
So shows spending tree notice spending tree is not enabled on gigabit 00 previously gigabit 00 was a

58
00:06:27,570 --> 00:06:29,130
designated port.

59
00:06:29,370 --> 00:06:38,910
But now it's not shown in the output because spending tree and dynamic trunk protocol do not run on

60
00:06:38,910 --> 00:06:40,150
rodded ports.

61
00:06:40,170 --> 00:06:48,630
Gigabit 00 does also not appear on the side show run interface but 00.

62
00:06:48,660 --> 00:06:52,360
Shows us that an IP address is configured on the interface.

63
00:06:52,410 --> 00:07:00,070
If I enable this port is a switch port and look at the running config of that interface again.

64
00:07:00,150 --> 00:07:07,390
Notice the IP address has been removed and spending tree is running on that interface.

65
00:07:07,410 --> 00:07:19,020
Once again its interface but 00 no switch port IP address 10 1 to 2

66
00:07:23,170 --> 00:07:33,400
shows spending tree spending tree is not running on gigabit 00 I should be able to ping switch one.

67
00:07:33,730 --> 00:07:42,190
So show IP interface brief shows us that the interface has an IP address configured on it whereas this

68
00:07:42,190 --> 00:07:50,410
interface is a layer to interface and the FBI will switch to a virtual interface is used as the layer

69
00:07:50,410 --> 00:08:00,070
3 interface so Chauvelin brief notice can give it a 00 is not in the list of interfaces that belonged

70
00:08:00,070 --> 00:08:03,160
to villaine one this interface.

71
00:08:03,220 --> 00:08:13,680
Gigabit 0 1 is a layer to interface and belongs to the land one and has as it's a layer 3 IP address.

72
00:08:13,680 --> 00:08:24,780
So basically when you type no switch port you're turning that interface into a routed interface so it

73
00:08:24,840 --> 00:08:27,540
acts like a router.

74
00:08:28,970 --> 00:08:31,080
So gigabit is 0 1 now.

75
00:08:31,260 --> 00:08:39,260
Just configure it as a routed interface and on a router we would do something very similar.

76
00:08:39,290 --> 00:08:46,580
No shut the interface and configure an IP address directly on the interface and we should be able to

77
00:08:46,580 --> 00:08:53,520
ping switch to true that routed interface which we can.

78
00:08:53,900 --> 00:08:58,930
We could also enable a writing protocol.

79
00:08:59,300 --> 00:09:11,820
So Ali Nabl your job on all interfaces could do the same here router here job p 1 and enable your job

80
00:09:11,850 --> 00:09:20,000
pian all interfaces show IP your job interfaces its enabled and all interfaces and the neighbor relationship

81
00:09:20,000 --> 00:09:21,360
has been established.

82
00:09:21,620 --> 00:09:28,490
Show IP your GOP neighbor the neighbor relationship is established on the gigabit 01 interface not on

83
00:09:28,490 --> 00:09:42,830
the VI but once again if we changed gigabit 00 to a switch port and then enabled your GOP on this side.

84
00:09:42,880 --> 00:09:46,850
Notice the difference in the neighbor relationships.

85
00:09:47,070 --> 00:09:55,470
So show IPY GOP neighbor no neighbor relationship is established because I need to make this a switch

86
00:09:55,470 --> 00:10:00,820
port to put them back in the same subnet.

87
00:10:01,000 --> 00:10:08,470
So let's check Ping's can wrote it to ping Rotto one at the moment it Koncz and that's probably because

88
00:10:08,470 --> 00:10:10,340
of spending tree.

89
00:10:10,500 --> 00:10:12,770
Notice that port is learning.

90
00:10:12,810 --> 00:10:20,440
So we've got to wait for spending tree to converge before the GOP can form a neighbor relationship.

91
00:10:20,640 --> 00:10:30,210
Rodded ports however don't use spending tree so they will converge quicker than a spending tree portable.

92
00:10:30,520 --> 00:10:33,490
So the convergence has just taken place.

93
00:10:33,730 --> 00:10:35,870
Your GOP neighbor relationship is established.

94
00:10:35,890 --> 00:10:37,580
So show me your job.

95
00:10:37,580 --> 00:10:40,680
He never noticed the difference.

96
00:10:40,680 --> 00:10:49,340
The snakebit which is switch 1 has been learnt on line 1 whereas the router has been learnt on the gigabit

97
00:10:49,380 --> 00:10:55,830
zero or one interface to show run interface gigabit to 0 0 and 0 1.

98
00:10:55,840 --> 00:11:03,910
Notice the difference switch port is enabled on gigabit 00 no switch port has been configured on gigabit.

99
00:11:03,950 --> 00:11:08,190
0 1 when be paying from switch to switch one.

100
00:11:08,210 --> 00:11:19,120
We using the VI interface but when we paying from switch to two Rotto one way using the physical interface.

101
00:11:19,410 --> 00:11:25,370
So router ports are typically used between switches and routers for example where a router connects

102
00:11:25,370 --> 00:11:32,870
you to the Internet switched of virtual interfaces and switch port interfaces are typically used in

103
00:11:32,870 --> 00:11:41,270
a campus environment where you need to tag multiple villans across an interface a routed port doesn't

104
00:11:41,270 --> 00:11:48,320
have the concept of villans they are no villans you don't run spending tree and you don't run DTP or

105
00:11:48,320 --> 00:11:50,110
Dometic trunk protocol.

106
00:11:50,180 --> 00:11:55,580
The port is a routed port in the same way that you configure a routed port on a router.

107
00:11:55,940 --> 00:11:58,700
So again show IP your GOP neighbor.

108
00:11:58,970 --> 00:12:03,910
Notice the difference in how the neighbor relationships are formed.

109
00:12:03,910 --> 00:12:07,540
I hope you found this video useful if it's been of benefit to you.

110
00:12:07,610 --> 00:12:11,650
Please like it please subscribe to my YouTube channel.

111
00:12:11,660 --> 00:12:13,180
I wish you all the very best.
