<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Help with inline VLAN Pair and switch configuration in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/help-with-inline-vlan-pair-and-switch-configuration/m-p/1285516#M68686</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to IPS and IDS in general, but I have an IPS-4255 and a couple of Catalyst 2900 switches to experiment with. I'm currently trying to enable an Inline VLAN Pair configuration on the IPS and have a simple setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SW1 and SW2 have vlans 100 and 200 configured. PC1 and PC2 are on the same IP range (no routing). PC1 on vlan 100 connects to Sw1. PC2 on vlan 200 connects to SW2. The IPS connects to a SW2 trunking port, and SW1 and SW2 are connected together on another trunking port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that my trunking is working because PC1 and PC2 can ping each other whenever they are on the same vlan of either switch. But, they can't ping when on the separate vlans.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I've read, the IPS with an Inline VLAN Pair acts as a bridge between the two vlans and should forward the traffic if it passes inspection. However, the IPS does not appear to see any traffic at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My IPS is configured with inline VLAN pair 100-&amp;gt;200 and associated to vs0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have I missed something in my config somewhere? Or am I misunderstanding how inline VLAN Pairs are supposed to work? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are my configs for the switches and the IPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;IPS Config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;service interface&lt;/P&gt;&lt;P&gt;physical-interfaces GigabitEthernet0/0&lt;/P&gt;&lt;P&gt;no description&lt;/P&gt;&lt;P&gt;admin-state enabled&lt;/P&gt;&lt;P&gt;duplex auto&lt;/P&gt;&lt;P&gt;speed auto&lt;/P&gt;&lt;P&gt;alt-tcp-reset-interface interface-name GigabitEthernet0/3&lt;/P&gt;&lt;P&gt;subinterface-type inline-vlan-pair&lt;/P&gt;&lt;P&gt;subinterface 1&lt;/P&gt;&lt;P&gt;description test&lt;/P&gt;&lt;P&gt;vlan1 100&lt;/P&gt;&lt;P&gt;vlan2 200&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;service analysis-engine&lt;/P&gt;&lt;P&gt;virtual-sensor vs0&lt;/P&gt;&lt;P&gt;physical-interface GigabitEthernet0/0 subinterface-number 1&lt;/P&gt;&lt;P&gt;inline-TCP-session-tracking-mode vlan-only&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SW1 and SW2 config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface FastEthernet0/1&lt;/P&gt;&lt;P&gt; switchport access vlan 100&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;interface FastEthernet0/9&lt;/P&gt;&lt;P&gt; switchport access vlan 200&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;interface FastEthernet0/18&lt;/P&gt;&lt;P&gt; switchport trunk encapsulation dot1q&lt;/P&gt;&lt;P&gt; switchport mode trunk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface FastEthernet0/24 (Sw 2 only)&lt;/P&gt;&lt;P&gt; description IPS port&lt;/P&gt;&lt;P&gt; switchport trunk encapsulation dot1q&lt;/P&gt;&lt;P&gt; switchport mode trunk&lt;/P&gt;</description>
    <pubDate>Sun, 10 Mar 2019 11:45:14 GMT</pubDate>
    <dc:creator>cmorillotx</dc:creator>
    <dc:date>2019-03-10T11:45:14Z</dc:date>
    <item>
      <title>Help with inline VLAN Pair and switch configuration</title>
      <link>https://community.cisco.com/t5/network-security/help-with-inline-vlan-pair-and-switch-configuration/m-p/1285516#M68686</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to IPS and IDS in general, but I have an IPS-4255 and a couple of Catalyst 2900 switches to experiment with. I'm currently trying to enable an Inline VLAN Pair configuration on the IPS and have a simple setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SW1 and SW2 have vlans 100 and 200 configured. PC1 and PC2 are on the same IP range (no routing). PC1 on vlan 100 connects to Sw1. PC2 on vlan 200 connects to SW2. The IPS connects to a SW2 trunking port, and SW1 and SW2 are connected together on another trunking port.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know that my trunking is working because PC1 and PC2 can ping each other whenever they are on the same vlan of either switch. But, they can't ping when on the separate vlans.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From what I've read, the IPS with an Inline VLAN Pair acts as a bridge between the two vlans and should forward the traffic if it passes inspection. However, the IPS does not appear to see any traffic at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My IPS is configured with inline VLAN pair 100-&amp;gt;200 and associated to vs0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have I missed something in my config somewhere? Or am I misunderstanding how inline VLAN Pairs are supposed to work? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below are my configs for the switches and the IPS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be appreciated. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;IPS Config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;service interface&lt;/P&gt;&lt;P&gt;physical-interfaces GigabitEthernet0/0&lt;/P&gt;&lt;P&gt;no description&lt;/P&gt;&lt;P&gt;admin-state enabled&lt;/P&gt;&lt;P&gt;duplex auto&lt;/P&gt;&lt;P&gt;speed auto&lt;/P&gt;&lt;P&gt;alt-tcp-reset-interface interface-name GigabitEthernet0/3&lt;/P&gt;&lt;P&gt;subinterface-type inline-vlan-pair&lt;/P&gt;&lt;P&gt;subinterface 1&lt;/P&gt;&lt;P&gt;description test&lt;/P&gt;&lt;P&gt;vlan1 100&lt;/P&gt;&lt;P&gt;vlan2 200&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;service analysis-engine&lt;/P&gt;&lt;P&gt;virtual-sensor vs0&lt;/P&gt;&lt;P&gt;physical-interface GigabitEthernet0/0 subinterface-number 1&lt;/P&gt;&lt;P&gt;inline-TCP-session-tracking-mode vlan-only&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;exit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SW1 and SW2 config&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface FastEthernet0/1&lt;/P&gt;&lt;P&gt; switchport access vlan 100&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;interface FastEthernet0/9&lt;/P&gt;&lt;P&gt; switchport access vlan 200&lt;/P&gt;&lt;P&gt;!&lt;/P&gt;&lt;P&gt;interface FastEthernet0/18&lt;/P&gt;&lt;P&gt; switchport trunk encapsulation dot1q&lt;/P&gt;&lt;P&gt; switchport mode trunk&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;interface FastEthernet0/24 (Sw 2 only)&lt;/P&gt;&lt;P&gt; description IPS port&lt;/P&gt;&lt;P&gt; switchport trunk encapsulation dot1q&lt;/P&gt;&lt;P&gt; switchport mode trunk&lt;/P&gt;</description>
      <pubDate>Sun, 10 Mar 2019 11:45:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/help-with-inline-vlan-pair-and-switch-configuration/m-p/1285516#M68686</guid>
      <dc:creator>cmorillotx</dc:creator>
      <dc:date>2019-03-10T11:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help with inline VLAN Pair and switch configuration</title>
      <link>https://community.cisco.com/t5/network-security/help-with-inline-vlan-pair-and-switch-configuration/m-p/1285517#M68687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It has been awhile since I've dealt with a 2900 switch to I am just trying to guess at what may be wrong with your setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I noticed that neither of your trunk port configuration are specifically stating which vlans are allowed on the trunks.&lt;/P&gt;&lt;P&gt;It is possible that for the trunk between the 2 switches there may be some protocol negotiation so the switches can determine which vlans to trunk, BUT no such negotiation will happen with the sensor.  If I remember right you will need to specifically state which vlans the trunk to the sensor should carry.  If I remember right the commmand would be something like:&lt;/P&gt;&lt;P&gt;switchport trunk allowed-vlan 100,200&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will want to find the show command on your switch that will show you which vlans are actually being trunked by the port.  It might be something like "show switchport trunk"&lt;/P&gt;&lt;P&gt;And you will want to verify that the switch is actually trunking vlans 100 and 200 to your sensor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On your sensor you will want to execute "show interfaces" and look at the statistics for Gig0/0 to see if it is receiving packets on vlan 100 and 200.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also run "packet display GigabitEthernet0/0" to see if any packets are making it to your sensor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will also want to check Link status and make sure your sensor is linking up properly with your switch.  A common mistake is to connect the wrong ports, as some sensors do not have the port numbers clearly marked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NOTE: If the above doesn't help, then take the additional step of eliminating the second switch.  Attach both pcs to the same SW2 switch (1 in each vlan).  The second switch isn't necessary to test the inline vlan pair functionality.  Connecting both PCs to the same switch will help eliminate any possibility of misconfiguration between the 2 switches.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2009 20:12:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/help-with-inline-vlan-pair-and-switch-configuration/m-p/1285517#M68687</guid>
      <dc:creator>marcabal</dc:creator>
      <dc:date>2009-08-28T20:12:49Z</dc:date>
    </item>
  </channel>
</rss>

