[cisco]Configure private VLAN

Posted jbite9057

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[cisco]Configure private VLAN相关的知识,希望对你有一定的参考价值。

技术图片

 

 

 

 

 

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的主要内容,如果未能解决你的问题,请参考以下文章

小菜鸟之Cisco

cisco查看ip流量的命令

cisco防火墙配置的基本配置

Cacti监控Cisco CPU 以及内存

cisco路由器配置命令中no keepalive有啥作用

Cisco交换机下载IOS