! ========================================== ! Switch S2 (HQ Access Switch) ! Lab: Configuring Cisco IOS DHCPv4 Server and Relay Agent (PTL-0012) ! ========================================== enable configure terminal hostname S2 ! FastEthernet 0/1 connects to PC-Client-2 (HQ Client) interface FastEthernet0/1 description HQ Client Access Port switchport mode access switchport access vlan 1 no shutdown exit ! GigabitEthernet 0/1 connects to HQ Router R2 Gi0/0/0 interface GigabitEthernet0/1 description Uplink to HQ Router R2 Gi0/0/0 switchport mode access switchport access vlan 1 no shutdown exit end copy running-config startup-config