分类:
2008-10-16 19:33:33
vlan 2 interface vlan2 ip address 192.168.0.254 255.255.255.0 int f0/1 switchport mode access switchport access vlan 2 (联接router1) int f0/2 switchport mode access switchport access vlan 2 (联接router2) int f0/3 switchport mode access switchport access vlan 2 (联接router3) intvlan 3 interface vlan3 ip address 192.168.1.254 255.255.255.0 int f0/10 switchport mode access switchport access vlan 3 (联接switch 1) vlan 4 interface vlan4 ip address 192.168.2.254 255.255.255.0 int f0/11 switchport mode access switchport access vlan 4 (联接switch 2) ip routing ip route 10.1.1.0 255.255.255.0 192.168.0.1(route1) ip route 10.2.2.0 255.255.255.0 192.168.0.2(route2) ip route 10.3.3.0 255.255.255.0 192.168.0.3(route3)