在实验一的基础上加交换机和路由器
交换机代码:
vlan 10
vlan 20
interface range gi 1/0/1 to gi 1/0/2
port link-type trunk
port trunk permit vlan 10 20
interface gi 1/0/48
port link-type trunk
port trunk permit vlan 10 20
s1代码:
sys
sysname s1
intercace gi 0/0.10
vlan-type dot1q vid 10
ip address 192.168.10.254 24