Router> enable Router# configure terminal Router(config)# hostname R1 R1(config)# interface GigabitEthernet0/0 R1(config-if)# ip address 10.0.12.1 255.255.255.252 R1(config-if)# ip mtu 1480 R1(config-if)# no shutdown R1(config-if)# exit R1(config)# router ospf 1 R1(config-router)# router-id 1.1.1.1 R1(config-router)# network 10.0.12.0 0.0.0.3 area 0 R1(config-router)# exit R1(config)# vlan 10 R1(config-vlan)# name USERS R1(config)# ip access-list standard FILTER R1(config-std-nacl)# permit 192.168.1.0 0.0.0.255 R1(config-std-nacl)# deny 192.168.2.0 0.0.0.255 R1(config)# line vty 0 4 R1(config-line)# transport input ssh R1(config-line)# login local R1(config)# end R1# copy running-config startup-config
Your streak, solved tasks, and saved configs are waiting. Sign in and get back to drilling.