Switch#sh conf Using 2114 out of 524288 bytes ! version 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname Switch ! ! no aaa new-model system mtu routing 1504 ip subnet-zero ip routing ! ! ! ! no file verify auto spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! ! interface Loopback0 ip address 1.1.1.1 255.255.255.255 ! interface FastEthernet0/1 ! interface FastEthernet0/2 no switchport ip address 10.1.3.253 255.255.255.0 ! interface FastEthernet0/3 ! interface FastEthernet0/4 ! interface FastEthernet0/5 ! interface FastEthernet0/6 ! interface FastEthernet0/7 ! interface FastEthernet0/8 ! interface FastEthernet0/9 ! interface FastEthernet0/10 ! interface FastEthernet0/11 ! interface FastEthernet0/12 ! interface FastEthernet0/13 ! interface FastEthernet0/14 ! interface FastEthernet0/15 ! interface FastEthernet0/16 ! interface FastEthernet0/17 ! interface FastEthernet0/18 ! interface FastEthernet0/19 ! interface FastEthernet0/20 ! interface FastEthernet0/21 ! interface FastEthernet0/22 ! interface FastEthernet0/23 switchport access vlan 505 spanning-tree portfast ! interface FastEthernet0/24 switchport access vlan 506 spanning-tree portfast ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface Vlan1 no ip address shutdown ! interface Vlan505 ip address 172.21.5.1 255.255.255.0 ip policy route-map Internet_Access ! interface Vlan506 ip address 172.21.3.1 255.255.255.0 ip ospf network point-to-point ! router ospf 10 router-id 1.1.1.1 log-adjacency-changes network 1.1.1.0 0.0.0.255 area 2 network 10.1.3.0 0.0.0.255 area 2 network 172.21.3.0 0.0.0.255 area 2 default-information originate always ! ip classless ip route 2.2.2.2 255.255.255.255 172.21.3.2 ip http server ! ! access-list 198 permit ip 172.21.5.0 0.0.0.255 any access-list 198 permit ip any any access-list 198 permit ip 172.21.6.0 0.0.0.255 any route-map Internet_Access permit 10 match ip address 198 set ip next-hop 10.1.3.254 ! ! control-plane ! ! line con 0 line vty 0 4 login line vty 5 15 login ! end