#
sysname Switch
#
vlan batch 100 to 101
#
interface GigabitEthernet0/0/1
port link-type trunk
port trunk pvid vlan 100
port trunk allow-pass vlan 100 to 101
port-isolate enable group 1
#
interface GigabitEthernet0/0/2
port link-type trunk
port trunk allow-pass vlan 100 to 101
#
return
Router
的配置文件
#
sysname Router
#
vlan batch 101
#
interface Vlanif101
ip address GigabitEthernet1/0/0
port link-type trunk
port trunk allow-pass vlan 101
#
return
AC
的配置文件
#
sysname AC
#
vlan batch 100 to 101
#
dhcp enable
#
interface Vlanif100