Ruijie(config)#int fa0/3
Ruijie(config-if-FastEthernet 0/3)# sw mode trunk //将接口0/3设置成trunk模式
Ruijie(config-if-FastEthernet 0/3)#sw trunk native vlan 10 //将vlan 10设置成native vlan(经过native vlan传送的数据包不用打上4个字节的VLAN号标签)
Ruijie(config-if-FastEthernet 0/3)#sw trunk allowed vlan remove 20//在trunk模式中移除vlan20
Ruijie(config-if-FastEthernet 0/3)#no shut
Ruijie(config-if-FastEthernet 0/3)#exit