Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Code Block
titlebasic config : minimum commands
collapsetrue
Single unit:   only unit 0 !!!!
default encapsulation and default family

>>>> flexible-vlan-tagging: will allow more unit with diff vlan id.

root@QFX5110-2# run show configuration interfaces ge-0/0/12
. . . 
ge-0/0/12 {
    flexible-vlan-tagging;
    unit 0 {
        vlan-id 200;
    }
}

root@QFX5110-2# run show configuration vlans
. . .
vlan200 {
    vlan-id 200;
    interface ge-0/0/12.0;
}


#set commands:
set interfaces ge-0/0/12 flexible-vlan-tagging
set interfaces ge-0/0/12 unit 0 vlan-id 200

set vlans vlan200 vlan-id 200
set vlans vlan200 interface ge-0/0/12.0



Code Block
titleshow extensive
collapsetrue
Default Value:
ge-0/0/12
  Link-level type: Ethernet,
MTU: 1522,
                 other option are:  Flexible-Ethernet, Extended-VLAN-Bridge, ....

ge-0/0/12.0
    Flags: Up SNMP-Traps 0x4000 VLAN-Tag [ 0x8100.200 ]  Encapsulation: ENET2



root@QFX5110-2> show interfaces ge-0/0/12 extensive
Physical interface: ge-0/0/12, Enabled, Physical link is Up
  Interface index: 652, SNMP ifIndex: 526, Generation: 143
  Link-level type: Ethernet, MTU: 1522, LAN-PHY mode, Link-mode: Full-duplex, Speed: 1000mbps, Source filtering: Disabled
  Link-mode: Full-duplex, BPDU Error: None, Loop Detect PDU Error: None, Ethernet-Switching Error: None, MAC-REWRITE Error: None,
  Loopback: Disabled, Flow control: Disabled, Auto-negotiation: Enabled, Remote fault: Online, Media type: Copper,
  IEEE 802.3az Energy Efficient Ethernet: Disabled, Auto-MDIX: Enabled
  Device flags   : Present Running
  Interface flags: SNMP-Traps Internal: 0x4000
  CoS queues     : 12 supported, 12 maximum usable queues
  Hold-times     : Up 0 ms, Down 0 ms
  Current address: d0:07:ca:23:be:0f, Hardware address: d0:07:ca:23:be:0f
  Last flapped   : 2018-09-28 18:53:34 UTC (5w6d 01:26 ago)
  Statistics last cleared: Never
  Traffic statistics:
   Input  bytes  :                    0                    0 bps
   Output bytes  :             39937132                  584 bps
   Input  packets:                    0                    0 pps
   Output packets:               128261                    0 pps
   IPv6 transit statistics:
   Input  bytes  :                    0
   Output bytes  :                    0
   Input  packets:                    0
   Output packets:                    0
  Input errors:
    Errors: 0, Drops: 0, Framing errors: 0, Runts: 0, Policed discards: 0, L3 incompletes: 0, L2 channel errors: 0,
    L2 mismatch timeouts: 0, FIFO errors: 0, Resource errors: 0
  Output errors:
    Carrier transitions: 3, Errors: 0, Drops: 0, Collisions: 0, Aged packets: 0, FIFO errors: 0, HS link CRC errors: 0,
    MTU errors: 0, Resource errors: 0
  Egress queues: 12 supported, 5 in use
  Queue counters:       Queued packets  Transmitted packets      Dropped packets
    0                                0                   20                    0
    3                                0                    0                    0
    4                                0                    0                    0
    7                                0               128242                    0
    8                                0                    0                    0
  Queue number:         Mapped forwarding classes
    0                   best-effort
    3                   fcoe
    4                   no-loss
    7                   network-control
    8                   mcast
  Active alarms  : None
  Active defects : None
  PCS statistics                      Seconds
    Bit errors                             0
    Errored blocks                         0
  Ethernet FEC statistics              Errors
    FEC Corrected Errors                    0
    FEC Uncorrected Errors                  0
    FEC Corrected Errors Rate               0
    FEC Uncorrected Errors Rate             0
  MAC statistics:                      Receive         Transmit
    Total octets                             0         39937132
    Total packets                            0           128261
    Unicast packets                          0                0
    Broadcast packets                        0               20
    Multicast packets                        0           128241
    CRC/Align errors                         0                0
    FIFO errors                              0                0
    MAC control frames                       0                0
    MAC pause frames                         0                0
    Oversized frames                         0
    Jabber frames                            0
    Fragment frames                          0
    VLAN tagged frames                       0
    Code violations                          0
  MAC Priority Flow Control Statistics:
    Priority :  0                             0                0
    Priority :  1                             0                0
    Priority :  2                             0                0
    Priority :  3                             0                0
    Priority :  4                             0                0
    Priority :  5                             0                0
    Priority :  6                             0                0
    Priority :  7                             0                0
  PRBS Statistics : Disabled
  Autonegotiation information:
    Negotiation status: Complete
    Link partner:
        Link mode: Full-duplex, Flow control: None, Remote fault: OK, Link partner Speed: 100 Mbps
    Local resolution:
        Flow control: None, Flow control tx: None, Flow control rx: None, Remote fault: Link OK
  Packet Forwarding Engine configuration:
    Destination slot: 0 (0x00)
  CoS information:
    Direction : Output
    CoS transmit queue               Bandwidth               Buffer Priority   Limit
                              %            bps     %           usec
    0 best-effort             5       50000000     5              0      low    none
    3 fcoe                   35      350000000    35              0      low    none
    4 no-loss                35      350000000    35              0      low    none
    7 network-control         5       50000000     5              0      low    none
    8 mcast                  20      200000000    20              0      low    none
  Interface transmit statistics: Disabled
  MACSec statistics:
    Output
        Secure Channel Transmitted
        Protected Packets               : 0
        Encrypted Packets               : 0
        Protected Bytes                 : 0
        Encrypted Bytes                 : 0
     Input
        Secure Channel Received
        Accepted Packets                : 0
        Validated Bytes                 : 0
        Decrypted Bytes                 : 0

  Logical interface ge-0/0/12.0 (Index 563) (SNMP ifIndex 527) (Generation 170)
    Flags: Up SNMP-Traps 0x4000 VLAN-Tag [ 0x8100.200 ]  Encapsulation: ENET2
    Tenant Name: (null)
    Traffic statistics:
     Input  bytes  :                    0
     Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
    Local statistics:
     Input  bytes  :                    0
     Output bytes  :                    0
     Input  packets:                    0
     Output packets:                    0
    Transit statistics:
     Input  bytes  :                    0                    0 bps
     Output bytes  :                    0                    0 bps
     Input  packets:                    0                    0 pps
     Output packets:                    0                    0 pps

  Logical interface ge-0/0/12.32767 (Index 573) (SNMP ifIndex 551) (Generation 169)
    Flags: Up SNMP-Traps 0x4004000 VLAN-Tag [ 0x0000.0 ]  Encapsulation: ENET2
    Traffic statistics:
     Input  bytes  :                    0
     Output bytes  :                12228
     Input  packets:                    0
     Output packets:                   31
    Local statistics:
     Input  bytes  :                    0
     Output bytes  :                12228
     Input  packets:                    0
     Output packets:                   31
    Transit statistics:
     Input  bytes  :                    0                    0 bps
     Output bytes  :                    0                    0 bps
     Input  packets:                    0                    0 pps
     Output packets:                    0                    0 pps

{master:0}
root@QFX5110-2>