MLS/L3 Switch
|
MLS/L3 Switch |
|
|
Deze commando’s zijn een uitbreiding op L2 switches |
|
|
L3-SW1(config)# ip routing |
Activeert routeringen op een L3 switch. |
|
L3-SW1(config)# interface gigabitEthernet 1/0/24 L3-SW1(config-if)# no switchport L3-SW1(config-if)# ip address 172.16.0.2 255.255.255.0 L3-SW1(config-if)# no shutdown |
Routerpoort in plaats van switchpoort. Op een routerpoort kun je wel een IP adres instellen. |
|
L3-SW1(config)# interface gigabitEthernet 1/0/24 L3-SW1(config-if)# switchport |
Van routerpoort naar switchpoort. Als er een IP adres is ingesteld vervalt deze. |
|
L2 Switch – Router-on-a-stick met layer 2 switch |
R1(config)# interface gigabitEthernet 0/0 SW1(config)# interface gigabitEthernet 0/1
R1(config-if)# no shutdown SW1(config-if)# switchport mode trunk
R1(config-if)# exit SW1(config-if)# exit
R1(config)# interface gigabitEthernet 0/0.10 SW1(config)# interface gigabitEthernet 0/1
R1(config-subif)# encapsulation dot1Q 10 SW1(config-if)# switchport mode trunk
R1(config-subif)# ip address 192.168.10.254 255.255.255.0 SW1(config-if)# exit
R1(config-subif)# exit SW1(config)#interface range fastEthernet 0/1-12
R1(config)# interface gigabitEthernet 0/0.20 SW1(config-if-range)#switchport access vlan 10
R1(config-subif)# encapsulation dot1Q 20 SW1(config-if-range)#exit
R1(config-subif)# ip address 192.168.20.254 255.255.255.0 SW1(config)#interface range fastEthernet 0/13-24
R1(config-subif)# exit SW1(config-if-range)#switchport access vlan 20
|
MLS/L3 Switch – 1 L3 switch als router en 1 L3 switch als switch |
|
MLS/L3 Switch – 2 L3 switches als router en meerdere L2 switches |
L2
No comments to display
No comments to display