For When You Can't Have The Real Thing
[ start | index | login ]
start > Linux > CentOS > 7 > VLAN interfaces from command line

VLAN interfaces from command line

Created by dave. Last edited by dave, 56 days ago. Viewed 83 times. #1
[edit] [rdf]
labels
attachments
(2017-10-19)

Problem

Define VLAN interfaces using the command line.

Solution

# ip link add link $INTERFACE name $INTERFACE.$VID type vlan id $VID
# ip link set dev $INTERFACE.$VID up
# ip link delete $INTERFACE.$VID

(>>Source)

no comments | post comment

Virtual Dave Megaplex:

Internet Explorer 6 Users >>Click Here

(read this note about local search)

Logged in Users: (0)
… and 7 Guests.


Editing: snipsnap-help, Image Macro

(Et auditum est, et idcirco ego nunc simulare)

Installed 6 years and 336 days ago
Powered By >>SnipSnap Version 1.0b1-uttoxeter

This is a collection of techical information, much of it learned the hard way. Consider it a lab book or a /info directory. I doubt much of it will be of use to anyone else.

Useful:


snipsnap.org | Copyright 2000-2002 Matthias L. Jugel and Stephan J. Schmidt