<?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: Enterasys C5 dynamic policy role/vlan assignment in ExtremeSwitching (EOS)</title>
    <link>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58111#M1263</link>
    <description>Matt,&lt;BR /&gt;
 show vlanauthorization does indeed seem to only show the untagged port information.    Do a &lt;BR /&gt;
&lt;BR /&gt;
show port egress ge.x.y       which should tell you all the VLANs associated with that port.&lt;BR /&gt;
Likewise show port vlan ge.x.y only tell you about the default (untagged ) VLAN.&lt;BR /&gt;
&lt;BR /&gt;
show mac port ge.x.y     should should you the MAC of both the phone and data device, unless of course they haven't talked or the bridging table timed out.&lt;BR /&gt;
&lt;BR /&gt;
When I did a show mac port, I actually saw 3 entries for a phone plus data.   The phone, for whatever reason popped up on both VLANs.   I don't understand why&lt;BR /&gt;
since the phone itself shouldn't be talking to that VLAN.      You might try changing your set multiauth port numusers 2    to 3 just incase you are seeing the same thing and the switch is dumping the 3rd entry, which in my case was the VOIP VLAN.&lt;BR /&gt;
   James&lt;BR /&gt;
&lt;BR /&gt;</description>
    <pubDate>Thu, 16 Apr 2015 02:21:00 GMT</pubDate>
    <dc:creator>JAMES_WIEDEL</dc:creator>
    <dc:date>2015-04-16T02:21:00Z</dc:date>
    <item>
      <title>Enterasys C5 dynamic policy role/vlan assignment</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58102#M1254</link>
      <description>How do I configure Enterasys C5 dynamic policy role/vlan assignment for 3com IP Phone?&lt;BR /&gt;
Basically what I need to happen is vlan 150 to be assigned as untagged and vlan 120 (voice vlan) assigned as tagged. The problem I am having is that vlan 150 although showing as untagged does not show up as the FID when entering the command show mac port ge.X.X. Anyone guidance would be much appreciated!&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Apr 2015 00:44:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58102#M1254</guid>
      <dc:creator>Matt_Dillion</dc:creator>
      <dc:date>2015-04-16T00:44:00Z</dc:date>
    </item>
    <item>
      <title>RE: Enterasys C5 dynamic policy role/vlan assignment</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58103#M1255</link>
      <description>To manually do what you are asking (I think) do the following:&lt;BR /&gt;
(Assuming the port is ge.1.4, data VLAN is 150 and voice VLAN is 120)&lt;BR /&gt;
&lt;BR /&gt;
set port vlan ge.1.4 150 modify       (the modify removes the port from all other VLANs )&lt;BR /&gt;
set vlan egress 120 ge.1.4 tagged&lt;BR /&gt;
&lt;BR /&gt;
show port egress ge.1.4 should now say something like&lt;BR /&gt;
  Port       Vlan      Egress          Registration &lt;BR /&gt;
  Number      Id        Status            Status&lt;BR /&gt;
  ------------------------------------------------------------&lt;BR /&gt;
ge.1.4      150       untagged        static    &lt;BR /&gt;
ge.1.4      120       tagged          static    &lt;BR /&gt;
&lt;BR /&gt;
You need to have the phone sending voice out tagged on vlan 1319 and the data port&lt;BR /&gt;
on the phone will be 1306.&lt;BR /&gt;
&lt;BR /&gt;
I strongly advise the use of the "modify" portion of the command to remove all other VLANs&lt;BR /&gt;
on the port.   Without it, it is possible to put multiple UNTAGGED VLANs onto a port and&lt;BR /&gt;
get you and the data flow very confused.  (Outbound from the switch would be no problem,&lt;BR /&gt;
but inbound...)&lt;BR /&gt;
&lt;BR /&gt;
You build trunk ports exactly the same way.    Set vlan egress for each VLAN;  the old assignments&lt;BR /&gt;
remain.   (clear vlan egress to remove a particular VLAN from a port)&lt;BR /&gt;
     James&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Apr 2015 02:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58103#M1255</guid>
      <dc:creator>JAMES_WIEDEL</dc:creator>
      <dc:date>2015-04-16T02:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Enterasys C5 dynamic policy role/vlan assignment</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58104#M1256</link>
      <description>James, thank you for the information. Setting up ports manually is not an issue, I am trying to use role based policy assignment via Radius. Most of this I have working except when it comes to our IP Phones. Vlan 120 (tagged) is applied as expected which i verified running the command (show mac port ge.X.X) where the FID is 120. Its applying vlan 150 (untagged). The mac address does not get added to the FID for vlan 150. see below configuration.&lt;BR /&gt;
&lt;BR /&gt;
#vlan&lt;BR /&gt;
set vlan create 120&lt;BR /&gt;
set vlan create 150&lt;BR /&gt;
set vlan create 4089&lt;BR /&gt;
set vlan name 120 "VoIP"&lt;BR /&gt;
set vlan name 150 "ITS"&lt;BR /&gt;
set vlan name 4089 "Guest"&lt;BR /&gt;
clear vlan egress 1 ge.1.1-48&lt;BR /&gt;
set vlan egress 120 ge.1.47-48 tagged&lt;BR /&gt;
set vlan egress 150 ge.1.47-48 tagged&lt;BR /&gt;
set vlan egress 4089 ge.1.47-48 tagged&lt;BR /&gt;
set vlan egress 4089 ge.1.1-24 untagged&lt;BR /&gt;
!&lt;BR /&gt;
!&lt;BR /&gt;
#eapol&lt;BR /&gt;
set dot1x enable &lt;BR /&gt;
set eapol enable&lt;BR /&gt;
set eapol auth-mode forced-auth ge.1.47&lt;BR /&gt;
set eapol auth-mode forced-auth ge.1.48&lt;BR /&gt;
!&lt;BR /&gt;
!&lt;BR /&gt;
#macauthentication&lt;BR /&gt;
set macauthentication enable&lt;BR /&gt;
set macauthentication auth-mode radius-username&lt;BR /&gt;
set macauthentication port  enable ge.1.1-46&lt;BR /&gt;
!&lt;BR /&gt;
!&lt;BR /&gt;
#multiauth&lt;BR /&gt;
set multiauth port mode opt-auth ge.1.1-46&lt;BR /&gt;
set multiauth port mode force-auth ge.1.47-48&lt;BR /&gt;
set multiauth port numusers 2 ge.1.1-46&lt;BR /&gt;
set multiauth precedence mac dot1x cep pwa &lt;BR /&gt;
!&lt;BR /&gt;
!&lt;BR /&gt;
&lt;BR /&gt;
#nodealias&lt;BR /&gt;
set nodealias disable ge.1.47&lt;BR /&gt;
set nodealias disable ge.1.48&lt;BR /&gt;
!&lt;BR /&gt;
!&lt;BR /&gt;
&lt;BR /&gt;
#policy&lt;BR /&gt;
set policy maptable response both&lt;BR /&gt;
set policy profile 1 name "Guest" cos-status enable cos 4 &lt;BR /&gt;
set policy profile 120 name "VoIP" pvid-status enable pvid 120 cos-status enable cos 5 egress-vlans 120 forbidden-vlans 4089 untagged-vlans 150&lt;BR /&gt;
set policy profile 150 name "FAcStaff" pvid-status enable pvid 150 &lt;BR /&gt;
set policy rule 1 udpsourceport 68  mask 16 forward &lt;BR /&gt;
set policy rule 1 udpdestport 53  mask 16 forward &lt;BR /&gt;
set policy rule 1 udpdestport 67  mask 16 forward &lt;BR /&gt;
set policy rule 1 tcpdestport 80  mask 16 forward &lt;BR /&gt;
set policy rule 1 tcpdestport 443  mask 16 forward &lt;BR /&gt;
set policy rule 1 tcpdestport 8080  mask 16 forward &lt;BR /&gt;
set policy rule 1 ether 0x806  mask 16 forward &lt;BR /&gt;
set policy rule 120 macsource 00-e0-00-00-00-00  mask 16 forward &lt;BR /&gt;
set policy rule 120 udpsourceport 68  mask 16 forward &lt;BR /&gt;
set policy rule 120 udpdestport 53  mask 16 forward &lt;BR /&gt;
set policy rule 120 udpdestport 67  mask 16 forward &lt;BR /&gt;
set policy rule 120 tcpdestport 80  mask 16 forward &lt;BR /&gt;
set policy rule 120 tcpdestport 443  mask 16 forward &lt;BR /&gt;
set policy rule 120 tcpdestport 8080  mask 16 forward &lt;BR /&gt;
set policy rule 120 ipproto 1  mask 8 forward &lt;BR /&gt;
set policy rule 120 ether 0x806  mask 16 forward &lt;BR /&gt;
set policy port ge.1.1-46 1 &lt;BR /&gt;
!&lt;BR /&gt;
!&lt;BR /&gt;
&lt;BR /&gt;
#port&lt;BR /&gt;
set port vlan ge.1.1-46 4089 &lt;BR /&gt;
!&lt;BR /&gt;
!&lt;BR /&gt;
&lt;BR /&gt;
#radius&lt;BR /&gt;
set radius enable&lt;BR /&gt;
set radius accounting enable&lt;BR /&gt;
set radius accounting server 10.1.11.1 1813 XXXXXXXXXXXXXXX&lt;BR /&gt;
set radius server 1 10.1.11.1 1812 XXXXXXXXXXX realm network-access&lt;BR /&gt;
!&lt;BR /&gt;
!&lt;BR /&gt;
&lt;BR /&gt;
#spantree&lt;BR /&gt;
set spantree adminedge ge.1.1-46 true&lt;BR /&gt;
&lt;BR /&gt;
TEST-SWITCH(su)-&amp;gt;show vlanauthorization &lt;BR /&gt;
&lt;BR /&gt;
Vlan Authorization:  - disabled&lt;BR /&gt;
&lt;BR /&gt;
  port     status   administrative   operational   authenticated     vlan id &lt;BR /&gt;
                        egress         egress       mac address&lt;BR /&gt;
 -------  --------  --------------   -----------  -----------------  -------&lt;BR /&gt;
 ge.1.1-48   enabled   untagged     &lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Apr 2015 02:08:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58104#M1256</guid>
      <dc:creator>Matt_Dillion</dc:creator>
      <dc:date>2015-04-16T02:08:00Z</dc:date>
    </item>
    <item>
      <title>RE: Enterasys C5 dynamic policy role/vlan assignment</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58105#M1257</link>
      <description>To  add to James comments, you will need to also  run the command   Set multiAuth port numusets users  to 2</description>
      <pubDate>Thu, 16 Apr 2015 02:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58105#M1257</guid>
      <dc:creator>Jason_Parker</dc:creator>
      <dc:date>2015-04-16T02:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Enterasys C5 dynamic policy role/vlan assignment</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58106#M1258</link>
      <description>Thank you for the information, I have responded to James's comment. On another note, would you clarify how policy works for me? My biggest question is when you create rules is there an inherant deny or permit? If I create rules to specifically allow traffic will all other traffic be discarded? If not what is the best way to create a rule like that? Is there a good document on Policy out there I can review besides the Feature Guides and Config Guides?&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Apr 2015 02:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58106#M1258</guid>
      <dc:creator>Matt_Dillion</dc:creator>
      <dc:date>2015-04-16T02:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Enterasys C5 dynamic policy role/vlan assignment</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58107#M1259</link>
      <description>I changed multiauth port numusers to 3 but no luck. When I perform a show mac port ge.X.X the only FID that shows up is 120, however when doing a show port egress ge.X.X I do see both vlan 150 (untagged) and vlan 120 (tagged). I think the problem is the MAC address of the phone isn't added to FID 150. Any thoughts?&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Apr 2015 02:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58107#M1259</guid>
      <dc:creator>Matt_Dillion</dc:creator>
      <dc:date>2015-04-16T02:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Enterasys C5 dynamic policy role/vlan assignment</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58108#M1260</link>
      <description>I got it working! I ended up changing the set policy profile from;&lt;BR /&gt;
&lt;BR /&gt;
(set policy profile 120 name "VoIP" pvid-status enable pvid 120  cos-status enable cos 5 egress-vlans 120 forbidden-vlans 4089  untagged-vlans 150)&lt;BR /&gt;
&lt;BR /&gt;
to;&lt;BR /&gt;
&lt;BR /&gt;
(set policy profile 120 name "VoIP" pvid-status enable pvid 150 cos 5 egress-vlans 12)&lt;BR /&gt;
&lt;BR /&gt;
So one last question, how are policy rules executed (in what order) or all they all at once? What would be the best way to deny all traffic after allowing only specific ports/protocols?&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Apr 2015 02:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58108#M1260</guid>
      <dc:creator>Matt_Dillion</dc:creator>
      <dc:date>2015-04-16T02:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Enterasys C5 dynamic policy role/vlan assignment</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58109#M1261</link>
      <description>Matt,&lt;BR /&gt;
   That is great news.&lt;BR /&gt;
As for the policy order, I believe they are executed sequentially, top to bottom, so you want to put any "allows" first,  then end with the "deny all".&lt;BR /&gt;
   James&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Apr 2015 02:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58109#M1261</guid>
      <dc:creator>JAMES_WIEDEL</dc:creator>
      <dc:date>2015-04-16T02:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Enterasys C5 dynamic policy role/vlan assignment</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58110#M1262</link>
      <description>Here is some food for thought from GTAC Knowledge, in answer to the two questions... &lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="https://gtacknowledge.extremenetworks.com/articles/How_To/Execution-Sequence-for-EOS-Policy-Rules" target="_blank" rel="nofollow noreferrer noopener"&gt;Execution Sequence for EOS Policy Rules&lt;/A&gt; &lt;BR /&gt;
&lt;A href="https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-Configure-EOS-Policy-to-Deny-all-other-traffic-after-Permitting-only-certain-traffic" target="_blank" rel="nofollow noreferrer noopener"&gt;How to Configure EOS Policy to Deny all other traffic after Permitting only certain traffic&lt;/A&gt; &lt;BR /&gt;
&lt;BR /&gt;
These were written for the EOS Modular (S/N/K/7100) products. The policy command set is slightly more limited with the EOS C5-Series, in that for instance the lowest precedence rule type is "VLANTag" rather than "Port" ('&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;show policy profile&lt;/PRE&gt;&lt;/DIV&gt;  &amp;lt;&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;profile_ID&lt;/PRE&gt;&lt;/DIV&gt;&amp;gt;'), and VLAN assignment is restricted unless numusers=1 ('&lt;DIV class="threadCode"&gt;&lt;B&gt;code:&lt;/B&gt;&lt;PRE spellcheck="false"&gt;show policy capability&lt;/PRE&gt;&lt;/DIV&gt;'). But it's sufficiently similar to provide guidance.</description>
      <pubDate>Thu, 16 Apr 2015 02:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58110#M1262</guid>
      <dc:creator>Paul_Poyant</dc:creator>
      <dc:date>2015-04-16T02:21:00Z</dc:date>
    </item>
    <item>
      <title>RE: Enterasys C5 dynamic policy role/vlan assignment</title>
      <link>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58111#M1263</link>
      <description>Matt,&lt;BR /&gt;
 show vlanauthorization does indeed seem to only show the untagged port information.    Do a &lt;BR /&gt;
&lt;BR /&gt;
show port egress ge.x.y       which should tell you all the VLANs associated with that port.&lt;BR /&gt;
Likewise show port vlan ge.x.y only tell you about the default (untagged ) VLAN.&lt;BR /&gt;
&lt;BR /&gt;
show mac port ge.x.y     should should you the MAC of both the phone and data device, unless of course they haven't talked or the bridging table timed out.&lt;BR /&gt;
&lt;BR /&gt;
When I did a show mac port, I actually saw 3 entries for a phone plus data.   The phone, for whatever reason popped up on both VLANs.   I don't understand why&lt;BR /&gt;
since the phone itself shouldn't be talking to that VLAN.      You might try changing your set multiauth port numusers 2    to 3 just incase you are seeing the same thing and the switch is dumping the 3rd entry, which in my case was the VOIP VLAN.&lt;BR /&gt;
   James&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Apr 2015 02:21:00 GMT</pubDate>
      <guid>https://community.extremenetworks.com/t5/extremeswitching-eos/enterasys-c5-dynamic-policy-role-vlan-assignment/m-p/58111#M1263</guid>
      <dc:creator>JAMES_WIEDEL</dc:creator>
      <dc:date>2015-04-16T02:21:00Z</dc:date>
    </item>
  </channel>
</rss>

