vlan 100 private-vlan isolated ! vlan 200 private-vlan community ! vlan 300 private-vlan primary private-vlan association 100,200 ! ! ! ! interface GigabitEthernet0/0 switchport access vlan 300 switchport private-vlan mapping 300 100,200 switchport mode private-vlan promiscuous media-type rj45 negotiation auto ! interface GigabitEthernet0/1 switchport access vlan 100 switchport private-vlan host-association 300 100 switchport mode private-vlan host media-type rj45 negotiation auto ! interface GigabitEthernet0/2 switchport access vlan 100 switchport private-vlan host-association 300 100 switchport mode private-vlan host media-type rj45 negotiation auto ! interface GigabitEthernet0/3 switchport access vlan 200 switchport private-vlan host-association 300 200 switchport mode private-vlan host media-type rj45 negotiation auto ! interface GigabitEthernet1/0 switchport access vlan 200 switchport private-vlan host-association 300 200 switchport mode private-vlan host media-type rj45 negotiation auto
[cisco]Configure private VLAN
猜你喜欢
转载自www.cnblogs.com/jbite9057/p/12290333.html
今日推荐
周排行