Switching

Expand all | Collapse all

Configure acx5448 function as switch?

Jump to Best Answer
  • 1.  Configure acx5448 function as switch?

    Posted 03-05-2020 22:37

    Hi all,

     

     

    May i know whether someone here can share how to configure ACX5448 as function layer 2 switch. I means trunk and access port configuration. As i'm check the acx5448 dont have know interface-mode trunk. So what knob that i need to use?

     

    Thanks and appreciate your feedback.

     

     



  • 2.  RE: Configure acx5448 function as switch?

     
    Posted 03-05-2020 22:56

    Hi 

     

    ACX Series routers do not support the creation of bridge domains by using access and trunk ports.


    On ACX Series routers, you can configure bridge domains by using the following methods:


    • Bridge domain without a vlan-id number statement
    • Bridge domain with the vlan-id value set to none
    • Bridge domain with a single vlan-id
    • Bridge domain with a vlan-id-list

     

    Source:

     

    Layer 2 Bridge Domains on ACX Series Overview
    https://www.juniper.net/documentation/en_US/junos/topics/concept/layer-2-services-bridging-overview-acx-series.html

     

    Configuring a Bridge Domain on ACX Series Routers
    https://www.juniper.net/documentation/en_US/junos/topics/task/configuration/layer-2-services-configuring-bridge-domain-acx-series.html

     


    If this solves your problem, please mark this post as "Accepted Solution" so we can help others too \:)/

    Regards,

    Lil Dexx
    JNCIE-ENT#863, 3X JNCIP-[SP-ENT-DC], 4X JNCIA [cloud-DevOps-Junos-Design], Champions Ingenius, SSYB



  • 3.  RE: Configure acx5448 function as switch?

    Posted 03-05-2020 23:55

    Hi Lidexx,

     

     

    Based on the url tat u give it's look like i'm need to look on url below right? Do u have exactly example configuration trunk port and access port on ACX5548 that has been tested working?

     

    https://www.juniper.net/documentation/en_US/junos/topics/topic-map/layer-2-understanding.html#id-layer-2-next-generation-mode-for-acx-series

     

    Thanks and appreciate any help.

     

     



  • 4.  RE: Configure acx5448 function as switch?
    Best Answer

     
    Posted 03-06-2020 13:40

    Hey kronicklez,

     

    This should do the job if the if your device is connected to another one that is trunking VLAN 10 and 20

     

    set interfaces xe-0/0/5 flexible-vlan-tagging
    set interfaces xe-0/0/5 encapsulation flexible-ethernet-services
    set interfaces xe-0/0/5 unit 10 encapsulation vlan-bridge
    set interfaces xe-0/0/5 unit 10 vlan-id 10
    set interfaces xe-0/0/5 unit 10 family ethernet-switching
    set interfaces xe-0/0/5 unit 20 encapsulation vlan-bridge
    set interfaces xe-0/0/5 unit 20 vlan-id 20
    set interfaces xe-0/0/5 unit 20 family ethernet-switching
    set interfaces irb unit 10 family inet address 10.10.10.2/24
    set interfaces irb unit 20 family inet address 20.20.20.2/24

     

    set vlans vlan10 vlan-id 10
    set vlans vlan10 interface xe-0/0/5.10
    set vlans vlan10 l3-interface irb.10
    set vlans vlan20 vlan-id 20
    set vlans vlan20 interface xe-0/0/5.20
    set vlans vlan20 l3-interface irb.20

     

    For the access interface can you try it without the VLAN ID? unfortunately, I don't have the resources to test this out. 

     

    There is also the option to use a native VLAN if you need untagged traffic on that same interface. 

     

    set interfaces xe-0/0/5 native-vlan-id 15

     

    Please let me know how it goes, eager to hear about it!


    If this solves your problem, please mark this post as "Accepted Solution" so we can help others too \:)/

     

    Regards,

    Lil Dexx
    JNCIE-ENT#863, 3X JNCIP-[SP-ENT-DC], 4X JNCIA [cloud-DevOps-Junos-Design], Champions Ingenius, SSYB



  • 5.  RE: Configure acx5448 function as switch?

    Posted 03-10-2020 03:00

    Hi Liddex,

     

    Below config not work. Error appear during commit.

     

     

    set interfaces xe-0/0/5 flexible-vlan-tagging
    set interfaces xe-0/0/5 encapsulation flexible-ethernet-services
    set interfaces xe-0/0/5 unit 10 encapsulation vlan-bridge
    set interfaces xe-0/0/5 unit 10 vlan-id 10
    set interfaces xe-0/0/5 unit 10 family ethernet-switching
    set interfaces xe-0/0/5 unit 20 encapsulation vlan-bridge
    set interfaces xe-0/0/5 unit 20 vlan-id 20
    set interfaces xe-0/0/5 unit 20 family ethernet-switching

     

     

    Thanks

     

     



  • 6.  RE: Configure acx5448 function as switch?

     
    Posted 03-10-2020 04:07

    Hi,

     

    Can you paste the error that you are getting while committing the config ?

    Have you created the vlan and attached to interface ?

     

    -Vishal



  • 7.  RE: Configure acx5448 function as switch?

    Posted 03-11-2020 23:34

    Hi ,

     

     

    To make the access port on ACX i try to not assign vlan-id on that interface but it throw the error. So do u have idea config access port on ACX.

     

     

    Thanks and appreciate your feedback