sys
vlan 10
vlan 20
int vlan 10
ip add 192.168.10.254 24
int vlan 20
ip add 192.168.20.254 24
int g0/0/1
port link-type trunk
port trunk pvid vlan 10
port trunk allow-pass vlan all
int g0/0/2
port link-type trunk
port trunk pvid vlan 20
port trunk allow-pass vlan all