Skip to content
This repository has been archived by the owner on Jul 13, 2020. It is now read-only.

Feature: basic

Terencio Agozzino edited this page Jun 4, 2018 · 24 revisions

The basic feature allows you to configure the basic settings for a switch and/or router.

Router

Basic settings

basic:
  # Configures the name of the router
  name: R1
  # Disables 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.
      # Sets ARP cache timeout
      # Available values:
      #   <1-2147483>
      arp_timeout: 10
      # 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
      # Sets MAC address for interface
      mac-address: 0000.0000.0001
      # Sets the interface throughput delay in tens of microseconds
      # Available values:
      #   <1-167772151>
      delay: 10
      # Point-to-Point Protocol over Ethernet
      pppoe: True
      lldp:
        receive: True
        transmit: True
      # Configures PA level transmit ring limit
      # Available values:
      #   <1-32767>
      ring_limit: 3
      activate: True
  # 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
  # Configures 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

Switch

Basic settings

basic:
 # Configures the name of the router
  name: SW1
  # Disables 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
      # Set Media Dependent Interface with Crossover
      mdix: 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
      # Configures PA level transmit ring limit
      # Available values:
      #   <1-32767>
      ring_limit: 3
      # Sets broadcast storm suppression level on this interface
      # Available values:
      #   <0.0-100.0>
      bstorm_level: 1.0
      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
  # Configures 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
Clone this wiki locally