Chapter 4 Where to Start with Network Automation?

For diagrams, tables, or exact code formatting, .

JOHN W. CAPOBIANCOPRINTED PAGE 74
snmp-server source-interface informs Loopback0 
ntp source Loopback0 
ntp server 192.168.100.100 
ntp server 192.168.100.101 prefer 
ip ssh source-interface Loopback0 
ip tftp source-interface Loopback0 
{%  else %} 
ip radius source-interface Vlan2 
logging source-interface Vlan2 
snmp-server trap-source Vlan2 
snmp-server source-interface informs Vlan2 
ip ssh source-interface Vlan2 
ip tftp source-interface Vlan2 
ntp source Vlan2 
ntp server 172.16.0.1 prefer 
{%  endif %} 
 
 
04_IOS_vsl.j2: 
o Virtual switch link configurations for VSS devices. 
o Applied at campus core and distribution layers.

 05_IOS_powerstack.j2: o Switch stack power configurations. o Applied at campus access layer.

 06_IOS_archive.j2: o Switch archive configurations. o Applied across enterprise.

 07_IOS_default_gateway.j2: o Standardizes the default gateway at the access layer. o Requires IP Address scheme with a per-building, per-floor approach. o Requries host_defaults.site variable in each host_vars YAML data model. o Sample:

{% if platform_defaults.type == 3750 or platform_defaults.type == 3850 %} ip default-gateway 172.16.{{ host_defaults.site }}.254 {% endif %}  08_IOS_energywise.j2: o Energy wise configurations. o Applied across enterprise.

 09_IOS_snmp.j2: o SNMP related configurations per-device. o Applied across enterprise.

 10_IOS_acls.j2: o Access control lists by platform function. o Applied globally or uniquely.

 11_IOS_mls_qos.j2: