3. Configuration Command Listings
3.1.
3.2. Switch – SWA
enable configure terminal hostname SWA enable secret hello
interface gigabitEthernet 0/1 switchport mode trunk switchport trunk native vlan 1 interface gigabitEthernet 0/2 switchport mode trunk switchport trunk native vlan 1 exit vlan 2 name Accouting vlan 3 name Finance vlan 4 name Marketing exit ip routing interface vlan 1 ip address 139.254.1.1 255.255.255.0 no shutdown interface vlan 2 ip address 139.254.2.1 255.255.255.0 no shutdown interface vlan 3 ip address 139.254.3.1 255.255.255.0 no shutdown interface vlan 4 ip address 139.254.4.1 255.255.255.0 no shutdown exit vtp domain ISAM5636 vtp mode server
ip domain-name uhcl.org ip dhcp pool VLAN1 network 139.254.1.0 255.255.255.0 default-router 139.254.1.1 dns-server 139.254.1.2 exit ip dhcp excluded-address 139.254.1.1 139.254.1.10 ip dhcp pool VLAN2 network 139.254.2.0 255.255.255.0 default-router 139.254.2.1 dns-server 139.254.1.2 exit ip dhcp excluded-address 139.254.2.1 255.255.255.0 ip dhcp excluded-address 139.254.2.1 139.254.2.10 ip dhcp pool VLAN3 network 139.254.3.0 255.255.255.0 default-router 139.254.3.1 dns-server 139.254.1.2 exit ip dhcp excluded-address 139.254.3.1 139.254.3.10
ip dhcp pool VLAN4 network 139.254.4.0 255.255.255.0 default-router 139.254.4.1 dns-server 139.254.1.2 exit ip dhcp excluded-address 139.254.4.1 139.254.4.10 line vty 0 15 password howdy login exit copy running-config startup-config
3.3. Switch - SWB
enable configure terminal hostname SWB enable secret hello vtp domain ISAM5636 vtp mode client interface gigabitEthernet 1/1 switchport mode trunk switchport trunk native vlan 1 exit interface vlan 1 ip address 139.254.1.11 255.255.255.0 no shutdown interface fa0/1 switchport access vlan 1 interface fa0/2 switchport access vlan 2 interface fa0/3 switchport access vlan 3