CNS Practice Skill-Based Routing/Switching Final

S1 EnableConfigure terminalIp default-gateway 172.31.1.254Inte vlan 1Ip address 172.31.1.250 255.255.255.0No shutdownVlan 2Name AdministratorVlan 3Name StudentsInte fa0/1Switchport mode accessSwitchport access vlan 2Inte fa0/2Switchport mode accessSwitchport access vlan 3Inte fa0/24Switchport mode trunkExitVtp domain CCNA3Vtp mode serverExit  S2 EnableConfigure terminalIp default-gateway 172.31.1.254Inte vlan 1Ip address 172.31.1.251 255.255.255.0No shutdownInte fa0/3Switchport mode accessSwitchport access vlan 2Inte fa0/4Switchport mode accessSwitchport access vlan 3Inte fa0/23Switchport mode trunkInte fa0/24Switchport mode trunkExitVtp domain CCNA3Vtp mode clientExit   R2 EnableConfigure terminalInt fa0/0No shutdownInt fa0/0.1Encapsulation dot1q 1Ip address 172.31.1.254 255.255.255.0Int fa0/0.2Encapsulation dot1q 2Ip address 172.31.2.254 255.255.255.0Int fa0/0.3Encapsulation dot1q 3Ip address 172.31.2.254 255.255.255.0ExitRouter ospf 1Network 172.31.1.0 0.0.0.255 area 0Network 172.31.2.0 0.0.0.255 area 0Network 172.31.3.0 0.0.0.255 area 0endcopy running-config startup-config   R1 EnableConfigure terminalRouter ospf 1Network 172.31.1.0 0.0.0.255 area 0EndCopy running-config startup-config