1. Single-arm routing Switch:switch (config) #vlanTenSwitch (config-vlan) #vlan -Switch (config-VLAN) #exitSwitch (config) #intf0/1Switch (config-if) #switch Access VLANTenSwitch (config-if)#intf0/2Switch (config-if) #switch Access VLAN -Switch (config-if)#intf0/3Switch (config-if) #switch mode Trunkrouter:router (config) #intf0/0Router (config-if) #no shutdownrouter (config-if)#intf0/0.1Router (config-SUBIF) #encapsulation dot1qTenRouter (config-SUBIF) #ip Add10.0.0.1 255.0.0.0Router (config-SUBIF) #intf0/0.2Router (config-SUBIF) #encapsulation dot1q -Router (config-SUBIF) #ip Add20.0.0.1 255.0.0.02. Three-layer switching?3. DHCP Switch:switch (config) #intf0/1Switch (config-if) #switch mode Trunkr1:router (config) #intf0/1Router (config-if) #ip helper-address10.0.0.1Router (config-if) #ip Address192.168.1.1 255.255.255.0Router (config-if) #no shutdownrouter (config) #intf0/0Router (config-if) #ip add dhcprouter (config-if) #no shur2:router (config) #ip DHCP pool1Router (DHCP-config) #default-router192.168.1.1Router (DHCP-config) #network192.168.1.0 255.255.255.0Router (DHCP-config) #dns-server6.6.6.6Router (config) #ip DHCP pool2Router (DHCP-config) #default-router10.0.0.1Router (DHCP-config) #network10.0.0.0 255.0.0.0Router (DHCP-config) #dns-server6.6.6.6Router (config) #intf0/0Router (config-if) #ip Add10.0.0.1 255.0.0.0Router (config-if) #no shurouter (config) #ip Route192.168.1.0 255.255.255.0 10.0.0.2
0 Basic Learning Cloud computing and Big Data DBA Cluster Architect "Foundation December 17, 2015 Thursday"