Wired Intelligent Edge

 View Only
last person joined: 7 hours ago 

Bring performance and reliability to your network with the HPE Aruba Networking Core, Aggregation, and Access layer switches. Discuss the latest features and functionality of your switching devices, and find ways to improve security across your network to bring together a mobile-first solution
Expand all | Collapse all

rpvst and vlan translation

This thread has been viewed 11 times
  • 1.  rpvst and vlan translation

    Posted Mar 02, 2023 04:17 PM

    I have a 5412R connected to a 6200F in production and they're working great.  I need to extend one of the vlans that exists on the 6200 through the 5412 but that would cause a vlan id collision so I'm doing vlan translation to change the vlan id as it leaves the 6200.  The issue is that spanning tree shuts the vlan down on that link as soon as I configure it.  The vlan in question is only tagged on a single port on the 5412 (the port that goes to the 6200) so I know there isn't a loop.  How to I prevent spanning tree from shutting it down?  Here's the relevant config for the 6200

    CX-RFH(config-if)# show run cur
    interface 1/1/50
        no shutdown
        no routing
        vlan trunk native 1
        vlan trunk allowed 44,102,4016
        vlan translate 1044 44
        exit
    CX-RFH(config-if)# show run spanning-tree
    spanning-tree mode rpvst
    spanning-tree
    spanning-tree vlan 44,102
    

    And here's the relevant config from the 5412

    vlan 1044
       name "rf2fields"
       tagged K3
       no ip address
       exit
    spanning-tree
    spanning-tree mode rapid-pvst
    spanning-tree vlan 1044 

    When everything is setup here's the spanning tree status from the 6200

    CX-RFH(config)# show spanning-tree vlan 44
    
    VLAN44
    Spanning tree status : Enabled Protocol: RPVST
      Root ID    Priority   : 32768
                 MAC-Address: 44:5b:ed:27:8a:00
                 This bridge is the root
                 Hello time(in seconds):2  Max Age(in seconds):20
                 Forward Delay(in seconds):15
    
      Bridge ID  Priority  : 32768
                 MAC-Address: 44:5b:ed:27:8a:00
                 Hello time(in seconds):2  Max Age(in seconds):20
                 Forward Delay(in seconds):15
    
    Port         Role           State      Cost           Priority   Type       BPDU-Tx    BPDU-Rx    TCN-Tx     TCN-Rx
    ------------ -------------- ---------- -------------- ---------- ---------- ---------- ---------- ---------- ----------
    ...
    1/1/50       Disabled       Blocking   4              128        P2P        11220      0          0          0
    

    And from the 5412

    S-MILLER(vlan-1044)# show spanning-tree vlan 1044
    
     Spanning Tree Information
    
      STP Enabled              [No] : Yes
      Mode                          : RPVST
      Extended System ID            : Enabled
      Ignore PVID Inconsistency     : Disabled
      Switch MAC Address            : f40343-164d00
    
    
      VLAN ID                       : 1044
      RPVST Enabled                 : Enabled
    
    
      Root MAC Address              : f40343-164d00
      Root Priority                 : 49,152
      Root Path Cost                : 0
      Root Port                     : This switch is root
      Operational Hello Time (secs) : 2
      Topology Change Count         : 0
      Time Since Last Change        : 64 days
    
    
      Root Inconsistent Ports       :
      Loop Inconsistent Ports       :
      PVID Inconsistent Ports       : K3
    
                                                                 Designated
      Port  Type       Cost      Priority  Role       State      Bridge
      ----- ---------- --------- --------- ---------- ---------- -----------------
      K3    SFP+LR     2000      128       Designated Blocking   f40343-164d00
    

    How do I get those ports to stop blocking?



  • 2.  RE: rpvst and vlan translation

    MVP GURU
    Posted Mar 02, 2023 05:35 PM

    Hi, if I read this sentence correctly: "A port with a VLAN translation configuration allows traffic only for the translated VLAN and the native VLAN; if it is
    a member of more VLANS, it does not allow traffic for them." (see here at page 60) I understand that the 1/1/50 interface on the Aruba CX 6200F used as the uplink to the Aruba 5412R zl2 should be instead configured like:

    interface 1/1/50
    no shutdown
    no routing
    vlan trunk native 1
    vlan trunk allowed 44
    vlan translate 1044 44
    exit

    But, apart from the above detail, I'm pretty sure that your particular usage of RPVST between these two switches should be better addressed/explained.




  • 3.  RE: rpvst and vlan translation

    Posted Mar 07, 2023 11:41 AM

    Oh, wow!  That would be bad if it shut down all of my other vlans on that interface.  Fortunately it didn't.  I tried doing the same thing but using the native/untagged vlan instead of translation but RPVST still shut it down.  It's the strangest thing.  I have a spare pair of fibers so I can just light that up for this vlan but it seems weird that I have to do that just to get this working