html
LSW1:
int g0/0/2
port link-type access
port default vlan 10
int g0/0/3
port link-type access
port default vlan 20
int g0/0/1
port link-type trunk
port trunk allow-pass vlan 10 20
AR1:
int g0/0/0.10
dot1q termination vid 10
ip ad 192.168.10.1 255.255.255.0
arp broadcast enable
int g0/0/0.20
dot1q termination vid 20
ip ad 192.168.20.1 255.255.255.0
arp broadcast enable