Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[ACX] Example: How to configure an L2 vlan-bridge domain on ACX5448

0

0

Article ID: KB35562 KB Last Updated: 21 Apr 2020Version: 1.0
Summary:

This article explains how to configure a vlan-bridge domain on ACX5448 devices with the help of an example. Such a configuration would be useful when customers want to use the ACX5448 device as only a Layer 2 device for specific link connections or VLANs.

 

Solution:

Topology

 

The following topology consists of two peer network devices with ACX5448 as the L2 device in between.

 

 

Configuration Example for Basic IP to IP Connectivity Between the Devices

 

Configuration on ACX5448

 
labroot@jtac-acx5448-r2004# show vlans
vlan10 {
    interface xe-0/0/0.0;
    interface xe-0/0/2.0;
}
 
[edit]
labroot@jtac-acx5448-r2004# show interfaces xe-0/0/0 
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
    encapsulation vlan-bridge;
    vlan-id 10;
    family ethernet-switching;
}
 
[edit]
labroot@jtac-acx5448-r2004# show interfaces xe-0/0/2 
flexible-vlan-tagging;
encapsulation flexible-ethernet-services;
unit 0 {
    encapsulation vlan-bridge;
    vlan-id 10;
    family ethernet-switching;
}
 
[edit]
labroot@jtac-acx5448-r2004# run show ethernet-switching table
 
MAC flags (S - static MAC, D - dynamic MAC, L - locally learned, P - Persistent static, C - Control MAC
           SE - statistics enabled, NM - non configured MAC, R - remote PE MAC, O - ovsdb MAC)
 
Ethernet switching table : 2 entries, 2 learned
Routing instance : default-switch
    Vlan                MAC                 MAC         Age    Logical                NH        RTR
    name                address             flags              interface              Index     ID
    vlan10              58:00:bb:c4:1b:54   D             -   xe-0/0/0.0             0         0      
    vlan10              58:00:bb:c4:1c:36   D             -   xe-0/0/2.0             0         0      
 

Configuration on ACX2200-1

 
labroot@jtac-ACX2200dc-r2001-re0> show configuration interfaces xe-0/3/0 
vlan-tagging;
unit 0 {
    vlan-id 10;
    family inet {
        address 1.1.1.2/30;
    }
}
 

Configuration on ACX2200-2

 

labroot@jtac-ACX2200dc-r2002-re0> show configuration interfaces xe-0/3/0 
vlan-tagging;
unit 0 {
    vlan-id 10;
    family inet {
        address 1.1.1.1/30;
    }
}

Ping from Peer 1 to Peer 2

 
labroot@jtac-ACX2200dc-r2002-re0> ping 1.1.1.2 
PING 1.1.1.2 (1.1.1.2): 56 data bytes
64 bytes from 1.1.1.2: icmp_seq=0 ttl=64 time=2.503 ms
64 bytes from 1.1.1.2: icmp_seq=1 ttl=64 time=1.030 ms
64 bytes from 1.1.1.2: icmp_seq=2 ttl=64 time=0.970 ms
64 bytes from 1.1.1.2: icmp_seq=3 ttl=64 time=1.101 ms
64 bytes from 1.1.1.2: icmp_seq=4 ttl=64 time=1.039 ms
64 bytes from 1.1.1.2: icmp_seq=5 ttl=64 time=1.014 ms
64 bytes from 1.1.1.2: icmp_seq=6 ttl=64 time=1.125 ms
64 bytes from 1.1.1.2: icmp_seq=7 ttl=64 time=1.053 ms
64 bytes from 1.1.1.2: icmp_seq=8 ttl=64 time=0.989 ms
64 bytes from 1.1.1.2: icmp_seq=9 ttl=64 time=1.047 ms
64 bytes from 1.1.1.2: icmp_seq=10 ttl=64 time=1.033 ms
64 bytes from 1.1.1.2: icmp_seq=11 ttl=64 time=0.990 ms
64 bytes from 1.1.1.2: icmp_seq=12 ttl=64 time=0.982 ms
64 bytes from 1.1.1.2: icmp_seq=13 ttl=64 time=0.982 ms
64 bytes from 1.1.1.2: icmp_seq=14 ttl=64 time=1.065 ms
64 bytes from 1.1.1.2: icmp_seq=15 ttl=64 time=1.061 ms
64 bytes from 1.1.1.2: icmp_seq=16 ttl=64 time=1.025 ms

 

Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search