vlan 1
port 21 untagged
exit
vlan 1001
port 21 tagged
port 18-19 untagged
exit
port 18-19
pvid 1001
exit
port 21
pvid 1
exit
设置port 21口为trunk口,且允许vlan1001通过。18、19口为access口
interface gigabitethernet0/21
switchport mode trunk
switchport trunk allowed vlan add 1001
switchport trunk pvid vlan 1
exit
发布者:admin,转转请注明出处:http://www.yc00.com/web/1744092704a4557377.html
评论列表(0条)