Lab4:1SmallEnterpriseGroup - echadbourne/NET-330 GitHub Wiki

To console into the switch, refer to the instructions here

Multilayer switch config

To reset a switch's configuration:

  • #write erase
  • #reload

Set the first switch's hostname: hostname Yonder-MLS after getting to the configure terminal

  • Enable routing with ip routing
  • Set up vlan 400: vlan 400 > name clinic
  • vlan 410: vlan 410 > name admin

Set the following ip addresses for each vlan:

  • int vlan 400 > ip address 192.168.40.1 255.255.255.0
  • int vlan 410 > ip address 192.168.41.1 255.255.255.0

Set the trunk ports:

  • int ga4/0/45 > switchport mode trunk > switchport trunk encapsulation dot1q
  • int ga4/0/47 > switchport mode trunk > switchport trunk encapsulation dot1q

Save the configuration: #copy run start

*Make sure all interfaces, vlan or otherwise, are running with no shut

Configure Edge Switches

Clinic switch

Set the hostname of the clinic switch

#hostname yonder-clinic-sw

Configure vlans with their proper name

vlan 400 > name clinic

vlan 410 > name admin

Configure port 19 as a trunk port

int gi1/0/19 > switchport mode trunk > switchport trunk encapsulation dot1q

Configure the access ports for the proper vlan

int gi1/0/1 > switchport access vlan 400

Admin switch

This is basically the same as the clinic switch but with changed names

Set the hostname of the admin switch

#hostname yonder-admin-sw

Configure vlans with their proper name

vlan 400 > name clinic

vlan 410 > name admin

Configure port 19 as a trunk port

int gi1/0/19 > switchport mode trunk > switchport trunk encapsulation dot1q

Configure the access ports for the proper vlan

int gi2/0/1 > switchport access vlan 410

Troubleshooting

We ran into some problems with the end devices connecting to the router, turns out we had not configured the trunk ports AS trunk ports with switchport mode trunk, once we did that everything worked properly.