Skip to content

Instantly share code, notes, and snippets.

@ccaum
Last active August 29, 2015 14:20
Show Gist options
  • Save ccaum/7f6da6eb14e40821f444 to your computer and use it in GitHub Desktop.
Save ccaum/7f6da6eb14e40821f444 to your computer and use it in GitHub Desktop.
NetDev Example
network_interface { 'Ethernet1':
enable => true,
description => 'Port channel link',
duplex => 'full',
speed => '10g',
mtu => 9000,
}
network_interface { 'Ethernet2':
enable => true,
description => 'Port channel link',
duplex => 'full',
speed => '10g',
mtu => 9000,
}
port_channel { 'Core LAG':
description => 'LAG to core switch',
mode => 'active',
interfaces => ['Ethernet1','Ethernet2'],
duplex => 'full',
}
syslog_server { 'syslog.inf.lightningbolt.net':
vrf => 'Management',
severity_level => 'info',
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment