<?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 Re: Setting a vlan to only unused ports in Network Security</title>
    <link>https://community.cisco.com/t5/network-security/setting-a-vlan-to-only-unused-ports/m-p/4757040#M1096940</link>
    <description>&lt;P&gt;EEM and TCL would be the easiest once they have been added to the switch configuration.&amp;nbsp; Alternatively you could look into using products like Cisco Prime or APIC EM.&amp;nbsp; And if you really want to start coding, you could go down the python route.&lt;/P&gt;
&lt;P&gt;Ansible could also be an option.&lt;/P&gt;
&lt;P&gt;But as for an "on the box" command.&amp;nbsp; The range command is the best you will get.&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jan 2023 21:21:49 GMT</pubDate>
    <dc:creator>Marius Gunnerud</dc:creator>
    <dc:date>2023-01-18T21:21:49Z</dc:date>
    <item>
      <title>Setting a vlan to only unused ports</title>
      <link>https://community.cisco.com/t5/network-security/setting-a-vlan-to-only-unused-ports/m-p/4756960#M1096932</link>
      <description>&lt;P&gt;Is there a command to add a vlan to only unused ports on switch.&amp;nbsp; We have existing production switches but we would like to add a unused vlan to all unused ports.&amp;nbsp;&amp;nbsp; I know the range command, but there are many active ports on the switch and wanted to find a quicker way to add this besides configuring each individual port.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 18:57:18 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/setting-a-vlan-to-only-unused-ports/m-p/4756960#M1096932</guid>
      <dc:creator>b1brock23</dc:creator>
      <dc:date>2023-01-18T18:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a vlan to only unused ports</title>
      <link>https://community.cisco.com/t5/network-security/setting-a-vlan-to-only-unused-ports/m-p/4756981#M1096934</link>
      <description>&lt;P&gt;You can try EEM and TCL script :&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.cisco.com/t5/network-management/eem-and-tcl-script-to-disable-inactive-ports/td-p/2226722#3928892" target="_blank"&gt;https://community.cisco.com/t5/network-management/eem-and-tcl-script-to-disable-inactive-ports/td-p/2226722#3928892&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 19:13:21 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/setting-a-vlan-to-only-unused-ports/m-p/4756981#M1096934</guid>
      <dc:creator>balaji.bandi</dc:creator>
      <dc:date>2023-01-18T19:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a vlan to only unused ports</title>
      <link>https://community.cisco.com/t5/network-security/setting-a-vlan-to-only-unused-ports/m-p/4756983#M1096935</link>
      <description>&lt;P&gt;the port by default assign to VLAN1, only make keep VLAN1 not use and hence you get what you want.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 19:14:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/setting-a-vlan-to-only-unused-ports/m-p/4756983#M1096935</guid>
      <dc:creator>MHM Cisco World</dc:creator>
      <dc:date>2023-01-18T19:14:05Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a vlan to only unused ports</title>
      <link>https://community.cisco.com/t5/network-security/setting-a-vlan-to-only-unused-ports/m-p/4757040#M1096940</link>
      <description>&lt;P&gt;EEM and TCL would be the easiest once they have been added to the switch configuration.&amp;nbsp; Alternatively you could look into using products like Cisco Prime or APIC EM.&amp;nbsp; And if you really want to start coding, you could go down the python route.&lt;/P&gt;
&lt;P&gt;Ansible could also be an option.&lt;/P&gt;
&lt;P&gt;But as for an "on the box" command.&amp;nbsp; The range command is the best you will get.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jan 2023 21:21:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-security/setting-a-vlan-to-only-unused-ports/m-p/4757040#M1096940</guid>
      <dc:creator>Marius Gunnerud</dc:creator>
      <dc:date>2023-01-18T21:21:49Z</dc:date>
    </item>
  </channel>
</rss>

