Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


create vlan and interface
#configuration of the interfaces
set interfaces xe-0/0/1 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/1 unit 0 family ethernet-switching vlan members vlan2srv11

set interfaces xe-0/0/2 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/2 unit 0 family ethernet-switching vlan members vlan2srv11

#create an layer 3 interface: IRB integrated Routedd & Bridging ( RVI on EX ) 
set interfaces irb unit 0 family inet address 10.10.1.1/24

#create vlan
set vlans default vlan-id 1
set vlans vlan2srv11 vlan-id 10     <<< vlan-id = none   will stop forwarding traffic!
set vlans vlan2srv11 l3-interface irb.0



show states
{master:0}
vagrant@vqfx-re> show vlans brief

Routing instance        VLAN name             Tag          Interfaces
default-switch          default               1

default-switch          vlan2srv11            10
                                                           xe-0/0/1.0*
                                                           xe-0/0/2.0*


{master:0}
vagrant@vqfx-re> show vlans vlan2srv11 detail

Routing instance: default-switch
VLAN Name: vlan2srv11                     State: Active
Tag: 10
Internal index: 3, Generation Index: 4, Origin: Static
MAC aging time: 300 seconds
VXLAN Enabled : No
Interfaces:
    xe-0/0/1.0*,untagged,access
    xe-0/0/2.0*,untagged,access
Number of interfaces: Tagged 0    , Untagged 2
Total MAC count: 2





show commands
{master:0}
vagrant@vqfx-re> 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
    vlan2srv11          08:00:27:6d:f5:a6   D             -   xe-0/0/2.0             0         0
    vlan2srv11          08:00:27:90:e5:db   D             -   xe-0/0/1.0             0         0

{master:0}
vagrant@vqfx-re> show ethernet-switching interface
Routing Instance Name : default-switch
Logical Interface flags (DL - disable learning, AD - packet action drop,
                         LH - MAC limit hit, DN - interface down,
                         MMAS - Mac-move action shutdown,  AS - Autostate-exclude enabled,
                         SCTL - shutdown by Storm-control, MI - MAC+IP limit hit)

Logical         Vlan                   TAG   MAC    MAC+IP STP         Logical          Tagging
interface       members                      limit  limit  state       interface flags
xe-0/0/2.0                                   8192   8192                                untagged
                vlan2srv11             10    1024   1024   Forwarding                   untagged
xe-0/0/1.0                                   8192   8192                                untagged
                vlan2srv11             10    1024   1024   Forwarding                   untagged


{master:0}
vagrant@vqfx-re> show ethernet-switching statistics
   Local interface: xe-0/0/2.0, Index: 556
     Multicast packets:                     0
     Multicast bytes  :                     0
     Flooded packets  :                     0
     Flooded bytes    :                     0
     Current MAC count:                     1 (Limit 8192)
   Local interface: xe-0/0/1.0, Index: 567
     Multicast packets:                     0
     Multicast bytes  :                     0
     Flooded packets  :                     0
     Flooded bytes    :                     0
     Current MAC count:                     1 (Limit 8192)



{master:0}
vagrant@vqfx-re> show ethernet-switching ?
Possible completions:
  flood                Show bridging flooding information
  global-information   Show process-related information
  global-mac-count     Show layer-2 global mac address count
  global-mac-ip-count  Show global MAC+IP bindings count
  instance             Show routing instances
  interface            Show interface
  mac-learning-log     Show MAC address learning log
  mac-notification     Display MAC notification information
  nh-learn-entity      Display information on all RNH_LE entries
  redundancy-groups    Show redundancy-groups
  satellite            Show satellite control ethernet-switching information
  statistics           Show vlan statistics information
  table                Show media access control table
  vxlan-tunnel-end-point  Display VXLAN tunnel endpoint information




  • No labels