hostname L3-Switch ! boot-start-marker boot-end-marker ! ! vrf definition Mgmt-intf ! address-family ipv4 exit-address-family ! address-family ipv6 exit-address-family ! no logging console enable password x ! no aaa new-model ! ! ! ! ! vtp domain virl.lab vtp mode transparent ! ! ! no ip domain-lookup ip cef no ipv6 cef ! ! ! spanning-tree mode pvst spanning-tree extend system-id ! ! vlan 2 name MGMT ! vlan 32 name ABC ! vlan 40 name Server ! vlan 51 name Data ! vlan 151 name voice no cdp run ! ! ! ! ! ! ! interface Loopback0 description to no ip address shutdown ! interface GigabitEthernet0/2 description to GigabitEthernet0/0.L2-Switch switchport trunk allowed vlan 2,32,40,51,151 switchport trunk encapsulation dot1q switchport trunk native vlan 2 switchport mode trunk no negotiation auto ! interface Vlan2 description CISCO_MANAGEMENT ip address 10.0.2.1 255.255.255.0 ! interface Vlan32 ip address 10.80.32.2 255.255.255.0 ip ospf 1 area 0 ! interface Vlan40 description Server ip address 10.0.40.2 255.255.255.0 ! interface Vlan51 description Data ip address 10.0.51.254 255.255.255.0 ip ospf 1 area 0 ! interface Vlan151 description VOICE ip address 10.0.151.254 255.255.255.0 ip ospf 1 area 0 ! router ospf 1 router-id 4.4.4.4 network 10.0.2.0 0.0.0.255 area 0 network 10.0.40.0 0.0.0.255 area 0 network 10.0.51.0 0.0.0.255 area 0 network 10.0.151.0 0.0.0.255 area 0 network 10.80.32.0 0.0.0.255 area 0 ! ip forward-protocol nd ! no ip http server no ip http secure-server ! ip route 10.0.20.0 255.255.255.0 10.0.2.254 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 exec-timeout 0 0 password x line aux 0 line vty 0 4 exec-timeout 720 0 password x login transport input telnet ssh ! ! end