<Quidway> system-view
[Quidway] sysname S-switch-A
[S-switch-A] vlan 10
<Quidway> system-view
[Quidway] sysname S-switch-B
[S-switch-B] vlan 10
[S-switch-A] interface ethernet 0/0/1
[S-switch-A-Ethernet0/0/1] port link-type dot1q-tunnel
[S-switch-A-Ethernet0/0/1] port default vlan 10
[S-switch-A-Ethernet0/0/1] quit
[S-switch-B] interface ethernet 0/0/1
[S-switch-B-Ethernet0/0/1] port link-type dot1q-tunnel
[S-switch-B-Ethernet0/0/1] port default vlan 10
[S-switch-B-Ethernet0/0/1] quit
[S-switch-A] interface ethernet 0/0/2
[S-switch-A-Ethernet0/0/2] port trunk allow-pass vlan 10
[S-switch-A-Ethernet0/0/2] quit
[S-switch-B] interface ethernet 0/0/2
[S-switch-B-Ethernet0/0/2] port trunk allow-pass vlan 10
[S-switch-B-Ethernet0/0/2] quit
· #
· sysname S-switch-A
· #
· vlan batch 10
· #
· interface Ethernet0/0/1
· port link-type dot1q-tunnel
· port default vlan 10
· #
· interface Ethernet0/0/2
· port trunk allow-pass vlan 10
· #
return
· #
· sysname S-switch-B
· #
· vlan batch 10
· #
· interface Ethernet0/0/1
· port link-type dot1q-tunnel
· port default vlan 10
· #
· interface Ethernet0/0/2
· port trunk allow-pass vlan 10
· #
return