3 line console 0
login
passw cisco
4 interface f0/0
ip address 192.168.1.1 255.255.255.0
5 int s0/0/0
ip address 192.168.1.125 255.255.255.0
clock rate 64000
description diretly connecte to Router2
6 ip dhcp pool LAN
network 172.16.0.0 255.255.0.0
default-router 172.16.1.100
exit
ip dhcp exce 172.16.1.100—172.16.1.103
A、B:
vlan 10
name VLAN10
vlan 20
name VLAN20
interface rang f0/22-23
swi tr en do
swi mo tr
A:
inter rang f0/2-10
swi mo acc
swi acc vlan 10
B:
interface rang f0/2-10
swi mo ac
swi acc vlan 20