# Copyright (C) 2016-2017 Cumulus Networks, inc.
#
# All Rights reserved.
#
# This software is subject to the Cumulus Networks End User License Agreement available
# at the following locations:.
#
# Internet: https://cumulusnetworks.com/downloads/eula/latest/view/
#
# Cumulus Linux systems: /usr/share/cumulus/EULA.txt

Scenarios
=========


---- Create an IP interface to a VLAN for routing or other applications

switch# net add vlan 100 ip address 10.0.0.1/24
switch# net commit


---- Create a dual stack IP interface to a VLAN for routing or other applications

switch# net add vlan 100 ip address 10.0.0.1/24
switch# net add vlan 100 ipv6 address fd00:2:0:1::1/64
switch# net commit


---- Create a dual stack IP interface to a VLAN for routing or other applications
     along with a virtual interface for virtual routing redundancy.  The reserved
     range of MAC addresses for VRR is 00:00:5E:00:01:00 to 00:00:5E:00:01:ff.

switch# net add vlan 100 ip address 10.0.0.1/24
switch# net add vlan 100 ipv6 address fd00:2:0:1::1/64
switch# net add vlan 100 ip address-virtual 00:00:5e:00:01:01 10.0.0.254/24
switch# net add vlan 100 ipv6 address-virtual 00:00:5e:00:01:01 fd00:2:0:1::254/64
switch# net commit


