hostname L2-switch ! boot-start-marker boot-end-marker ! ! ! no aaa new-model ! ! ! ! ! no ip routing ! ! ! no ip cef no ipv6 cef ! ! ! spanning-tree mode pvst spanning-tree extend system-id ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface GigabitEthernet0/0 description to GigabitEthernet0/2.L3-switch switchport trunk allowed vlan 2,32,40,51,151 switchport trunk encapsulation dot1q switchport trunk native vlan 2 switchport mode trunk ip arp inspection trust no negotiation auto ! interface GigabitEthernet0/1 switchport access vlan 151 switchport mode access no negotiation auto ! interface GigabitEthernet0/2 switchport access vlan 51 switchport mode access no negotiation auto ! interface GigabitEthernet0/3 no negotiation auto ! interface Vlan2 ip address 10.0.2.11 255.255.255.0 no ip route-cache ! ip default-gateway 10.0.2.1 ip forward-protocol nd ! ip http server ip http secure-server ! ip ssh server algorithm encryption aes128-ctr aes192-ctr aes256-ctr ip ssh client algorithm encryption aes128-ctr aes192-ctr aes256-ctr ! ! ! ! ! ! control-plane ! line con 0 line aux 0 line vty 0 4 ! ! end