H3C Technologies H3C S3100 Series Switches User Manual

Page 856

Advertising
background image

3-6

[Sysname-Ethernet1/0/4] bpdu-tunnel stp

# Enable VLAN-VPN and use VLAN 100 to transmit user data packets through BPDU tunnels.

[Sysname-Ethernet1/0/4] port access vlan 100

[Sysname-Ethernet1/0/4] vlan-vpn enable

# Configure the destination MAC address for the packets transmitted in the tunnel.

[Sysname-Ethernet1/0/4] quit

[Sysname] bpdu-tunnel tunnel-dmac 010f-e233-8b22

# Configure Ethernet1/0/3 as a trunk port that permits packets of all VLANs.

[Sysname] interface Ethernet 1/0/3

[Sysname-Ethernet1/0/3] port link-type trunk

[Sysname-Ethernet1/0/3] port trunk permit vlan all

Advertising