Giter VIP home page Giter VIP logo

arista-vlans's Introduction

Arista-Learn

Learning commands for Arista VLAN configuration ##FAQ #####How do you create a VLAN:

switch(config)#vlan 45
switch(config-vlan-45)#
  • The default name for VLAN 45 Is VLAN0045

#####How do you view all VLANs? show VLAN Shows all VLANs

show vlan [VLAN_LIST] [PORT_ACTIVITY]

VLAN_LIST PORT_ACTIVITY
show VLAN All n/a
show VLAN 40-60 40-60 n/a
show VLAN active-configuration All active
show VLAN configured-ports All active/inactive

e.g. This command displays status and ports of VLANs 1-1000.

switch>show vlan 1-1000

VLAN Name Status Ports
1 default active Po1
184 fet.arka active Cpu, Po1, Po2
262 mgq.net active PPo2, Po1
512 sant.test active Cpu, Et16, Po1
821 ipv6.net active Cpu, Po1, Po7

#####Other VLAN commands

| Command | Description | | ------------- |:-------------:| -----:| | >show vlan dynamic | displays the source and quantity of dynamic VLANs on the switch. | | >show vlan internal allocation policy | the list of VLANs that are allocated to routed ports along with the direction by which VLANs are allocated | | >show vlan internal usage | displays the VLANs that are allocated to routed ports. | | >show vlan private-vlan | lists the VLAN type and attached ports configuration of the private VLANs |
| >show vlan summary | Returns number of VLANs on this switch |
|>show vlan [VLAN_LIST] trunk group' | displays the trunk group membership of all configured VLANs|

#####How do I change VLAN transmission state? state active | allows traffic state suspend | blocks traffic

switch(config)#vlan 100-102
switch(config-vlan-100-102)#state suspend
switch(config-vlan-100-102)#

#####What is switchport mode?

There are 5 switching modes:

Mode Description
access
trunk
dot1q-tunnel
tap
tool

You can restore switchport modes by using >default switchport mode

arista-vlans's People

Contributors

vlall avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.