This repository has been archived by the owner on Jul 13, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Feature: basic
Terencio Agozzino edited this page May 23, 2018
·
24 revisions
The basic
feature allows you to configure the basic settings for a switch and/or router.
basic:
# Configure the name of the router
name: R1
# Disable DNS Lookup
disable_dns: True
# Encrypts system passwords
password_encryption: True
# Sets MOTD banner
banner: The router is for authorized personnel only.
# Configures interfaces
interfaces:
- interface: G0/0
# <ip address> <subnet mask>
ip: 172.16.20.1 255.255.255.128
description: Link to the Fa0/1 interface.
# Point-to-Point Protocol over Ethernet
pppoe: True
lldp:
receive: True
transmit: True
activate: True
# Available values:
# auto: Enable AUTO duplex configuration
# full: Force full duplex operation
# half: Force half-duplex operation
duplex: auto
# Available values:
# 10: Force 10 Mbps operation
# 100: Force 100 Mbps operation
# 1000: Force 1000 Mbps operation
# auto: Enable AUTO speed configuration
speed: auto
# Configures static routes
routes:
# <destination network address> <subnet mask> <next hop address or interface name>
- route: 172.16.18.0 255.255.255.0 10.1.0.10
- route: 172.16.19.0 255.255.255.0 10.1.0.20
# Default
- route: 0.0.0.0 0.0.0.0 10.1.0.30
# Sets global CDP configuration subcommands
cdp: True
# Configure time-of-day clock
timezone:
name: CST
utc: -6
secure:
# Stores a secure copy of the primary bootset in persistent storage
boot_config: True
# Enables Cisco IOS image resilience
boot_image: True
# Sets global LLDP configuration subcommands
lldp: True
# Configure virtual private dial-up network
vpdn: True
basic:
# Configure the name of the router
name: SW1
# Disable DNS Lookup
disable_dns: True
# Encrypts system passwords
password_encryption: True
# Sets MOTD banner
banner: The switch is for authorized personnel only.
# Sets the address to default gateway
gateway: 192.168.1.1
# Configures interfaces
interfaces:
- interface: F0/1
description: Link to Fa0/1 interface.
# Available values:
# auto: Enable AUTO duplex configuration
# full: Force full duplex operation
# half: Force half-duplex operation
duplex: auto
# Available values:
# 10: Force 10 Mbps operation
# 100: Force 100 Mbps operation
# 1000: Force 1000 Mbps operation
# auto: Enable AUTO speed configuration
speed: auto
lldp:
receive: True
transmit: True
activate: True
# Configures VLANs
vlans:
# Available values:
# <1-4094>
- id: 10
name: Users
remote_span: True
- id: 20
name: Voice
- id: 30
name: Management
# Sets MultiLayer Switching
mls: True
# Sets global CDP configuration subcommands
cdp: True
# Configure time-of-day clock
timezone:
name: CST
utc: -6
# Switching Database Manager
sdm:
# Available values:
# default: Default bias
# qos: Qos bias
bias: default
# Sets global LLDP configuration subcommands
lldp: True