1、掌握交换机配置基本命令sytem-viewsysNameSwitchuser-interface console 1interface vlanif 1ip address 192.181.1.2interface gigabitethernet 0/0/1
2、掌握路由器基本配置命令interface gigabitethernet 0/0/2ip address 192.168.3.4undo shutdowndis current-configuration
3、掌握交换机VLAN配置命令vlan bath 40 50port link-type accessport default vlan 32port link-type trunkport turnk allow-pass vlan all
4、掌握路由器协议配置命令RIP协议ip rout-static 192.168.1.0 24 10.23.3.4OSPF协议ospf 1area 0network 192.168.1.0 0.0.0.255DHCP协议——全局dhcp enableip pool dhcppoolnamenetwork 192.68.1.0lease day 4gateway-list 192.168.1.253exclued-ip-addressdns-list 9.9.9.9dhcp select globalDHCP协议——接口dhcp select interfacedchp server lease day 4dhcp server exclude-ip-addressdhcp server dns-list 9.9.9.9另外还有ACL协议、NAT和NAPT
5、掌握三层交换VLAN路由配置interface vlanif 20ip address 192.168.1.250 24interface vlanif 30ip address 192.168.2.250 24这样设置好就可以。