2 Replies Latest reply: Jun 21, 2010 10:23 AM by Kenard Lawson RSS

    Private-VLAN Configuration

    Kenard Lawson

      I am currently creating private-vlans on a 3560G switch. However it does not accept the the following commands when configuring the switchports;


      switchport mode private-vlan host
      switchport mode private-vlan promisc


      under the interfaces. Would that affect the operation of the private vlan? I am unable to test config as no end hosts are currently connected to switch. Config can be seen below..




      C3560G#sh version
      Cisco IOS Software, C3560 Software (C3560-ADVIPSERVICESK9-M), Version 12.2(35)SE, RELEASE SOFTWARE (fc2)
      Copyright (c) 1986-2006 by Cisco Systems, Inc.
      Compiled Sun 03-Dec-06 14:38 by yenanh



      C3560G#sh run
      Building configuration...


      00:29:38: %SYS-5-CONFIG_I: Configured from console by console
      Current configuration : 2461 bytes
      version 12.2
      no service pad
      service timestamps debug uptime
      service timestamps log uptime
      no service password-encryption
      hostname C3560G
      no aaa new-model
      system mtu routing 1500
      vtp domain lab
      vtp mode transparent
      ip subnet-zero
      no file verify auto
      spanning-tree mode pvst
      spanning-tree extend system-id
      vlan internal allocation policy ascending
      vlan 10-12
      vlan 20
        private-vlan primary
        private-vlan association 25-26
      vlan 25
        private-vlan isolated
      vlan 26
        private-vlan community


      interface GigabitEthernet0/1
      switchport private-vlan mapping 20 25-26
      switchport mode access
      interface GigabitEthernet0/2
      switchport private-vlan host-association 20 25
      interface GigabitEthernet0/3