- play_arrow Getting Started
- play_arrow Blueprints
- play_arrow Blueprint Analytics
- What are Blueprint Analytics
- play_arrow Dashboards
- What are Blueprint Analytics Dashboards
- Configure Auto-Enabled Blueprint Analytics Dashboards
- Instantiate Predefined Blueprint Analytics Dashboard
- Create Blueprint Analytics Dashboard
- Export Blueprint Analytics Dashboard
- Import Blueprint Analytics Dashboard
- Update Blueprint Analytics Dashboard
- Delete Blueprint Analytics Dashboard
- play_arrow Anomalies
- play_arrow Probes
- play_arrow Predefined Reports
- play_arrow Root Causes
- play_arrow Staged Datacenter Blueprints
- play_arrow Physical
- play_arrow Build
- play_arrow Topology
- play_arrow Nodes
- Nodes (Datacenter)
- Create Access Switch
- Delete Node
- Update Deploy Mode (Datacenter)
- Unassign Device (Datacenter)
- Execute CLI Show Command (Data Center Blueprint)
- play_arrow Change Hostnames / Names
- Change Assigned Interface Map
- Change Assigned ASN (Datacenter)
- Change Assigned Loopback IP Address (Datacenter)
- Edit Device Properties (Datacenter)
- Update Port Channel ID Range
- View Node's Static Routes
- Update Tags on Node (Datacenter)
- play_arrow Generic Systems (Internal/External)
- play_arrow Links
- Links (Datacenter)
- play_arrow Add Links
- play_arrow Cabling Map
- play_arrow Link Speeds
- play_arrow LAG
- Update Tags on Link (Datacenter)
- Change Assigned Link IP Addresses (Datacenter)
- Update Link Properties
- Fetch LLDP Data (Datacenter)
- Delete Link (Datacenter)
- play_arrow Interfaces
- play_arrow Racks
- play_arrow Pods
- play_arrow Planes
-
- play_arrow Virtual
- play_arrow Virtual Networks
- What are Virtual Networks
- Create Virtual Network
- Update Virtual Network Resource Assignments
- Reset Virtual Network Resource Group Override
- Import Virtual Network
- Export Virtual Network to CSV File
- Update Virtual Network Assignments
- Move Virtual Network to Different Routing Zone
- Update Virtual Network Tags
- Change Virtual Network Description
- Change Virtual Network Details
- Delete Virtual Network
- play_arrow Routing Zones
- play_arrow Static Routes
- play_arrow Protocol Sessions
- play_arrow Virtual Infrastructure
-
- play_arrow Policies
- play_arrow Endpoints
- play_arrow Security Policies
- play_arrow Interface Policies
- play_arrow Routing Policies
- play_arrow Routing Zone Constraints
- play_arrow Tenants
-
- play_arrow Data Center Interconnect (DCI)
- play_arrow Integrated Interconnect
- play_arrow Over the Top or External Gateways
- play_arrow Settings
- Update ESI MAC msb
-
- play_arrow Catalog
- play_arrow Logical Devices
- play_arrow Interface Maps
- play_arrow Property Sets
- play_arrow Configlets
- play_arrow AAA Servers
- play_arrow Tags
-
- play_arrow Tasks
- play_arrow Connectivity Templates
- Connectivity Templates Introduction
- play_arrow Primitives
- Primitive: Virtual Network (Single)
- Primitive: Virtual Network (Multiple)
- Primitive: IP Link
- Primitive: Static Route
- Primitive: Custom Static Route
- Primitive: BGP Peering (IP Endpoint)
- Primitive: BGP Peering (Generic System)
- Primitive: Dynamic BGP Peering
- Primitive: Routing Policy
- Primitive: Routing Zone Constraint
- User-defined
- Pre-defined
- Create Connectivity Template for Multiple VNs on Same Interface (Example)
- Create Connectivity Template for Layer 2 Connected External Router (Example)
- Update Connectivity Template Assignments
- Add / Remove Tags on Connectivity Template
- Update Connectivity Template
- Delete Connectivity Template
- play_arrow Fabric Settings
- play_arrow Fabric Policy
- play_arrow Severity Preferences
-
-
- play_arrow Staged Freeform Blueprints
- Freeform Introduction
- play_arrow Blueprints
- play_arrow Physical
- play_arrow Selection
- play_arrow Topology
- play_arrow Systems
- Systems Introduction (Freeform)
- Create Internal System (Freeform)
- Create External System (Freeform)
- Update Assigned Config Template(Freeform)
- Update System Name (Freeform)
- Update Hostname (Freeform)
- Change Assigned Device Profile (Freeform)
- Update System ID Assignment (Freeform)
- Update Deploy Mode (Freeform)
- Add / Remove Tags on System (Freeform)
- Delete System (Freeform)
- Device Context (Freeform)
- play_arrow Links
-
- play_arrow Resource Management
- Resource Management Introduction (Freeform)
- play_arrow Blueprint Resources
- play_arrow Allocation Groups
- play_arrow Local Pools
- play_arrow Catalog (Freeform)
- play_arrow Config Templates
- play_arrow Device Profiles
- play_arrow Property Sets
- play_arrow Tags
-
- play_arrow Tasks
- play_arrow Uncommitted Blueprints
- play_arrow Active Datacenter Blueprints
- play_arrow Time Voyager (Blueprints)
- play_arrow Devices
- Device Configuration Lifecycle
- What are Managed Devices
- Add Managed Device
- Drain Device Traffic
- Upgrade Device NOS
- Device AAA
- play_arrow Device
- play_arrow Agent
- play_arrow Pristine Config
- play_arrow Telemetry
- play_arrow Apstra ZTP
- What is Apstra ZTP
- Create User Profile for Communicating with ZTP Server
- Download and Deploy Apstra ZTP Server VM
- Configure Static Management IP Address for Apstra ZTP Server
- Replace SSL Certificate for Apstra ZTP Server GUI
- Create Vendor-specific Custom Configuration
- Configure Credentials for Apstra ZTP Server GUI
- Configure Apstra Server Connection Details
- Configure DHCP Server for Apstra ZTP
- ztp.json Keys
- Configure ztp.json with Configurator
- Configure ztp.json with CLI
- Show Apstra ZTP Logs
- Onboard Devices with Apstra ZTP
- Check ZTP Status of Devices and Services
- Reset Apstra ZTP GUI Admin Password
- Authenticate User (AZTP REST API)
- play_arrow Device Profiles
- play_arrow Design
- play_arrow Logical Devices
- play_arrow Interface Maps
- play_arrow Rack Types
- play_arrow Templates
- play_arrow Config Templates (Freeform)
- play_arrow Configlets (Datacenter)
- play_arrow Property Sets (Datacenter)
- play_arrow TCP/UDP Ports
- play_arrow Tags
-
- play_arrow Resources
- play_arrow Analytics - Telemetry
- play_arrow Analytics - Flow
- play_arrow Apstra Flow Overview
- play_arrow Dashboards
- play_arrow Supported Flow Records
- play_arrow Flow Enrichment
- play_arrow Monitor Apstra Flow
- play_arrow Configuration Reference
- play_arrow API
- play_arrow Additional Documentation
- play_arrow Knowledge Base
-
- play_arrow Analytics - Exploratory Analytics
- play_arrow External Systems (RBAC Providers)
- play_arrow Providers
- play_arrow Provider Role Mapping
-
- play_arrow Platform
- play_arrow User Management
- play_arrow Security
- play_arrow External Services
- play_arrow Streaming
- Event Log (Audit Log)
- Licenses
- play_arrow Apstra VM Clusters
- play_arrow Developers
- play_arrow Technical Support
- Check Apstra Versions and Patent Numbers
-
- play_arrow Favorites & User
- play_arrow Apstra Server Management
- Apstra Server Introduction
- Monitor Apstra Server via CLI
- Restart Apstra Server
- Reset Apstra Server VM Password
- Reinstall Apstra Server
- Apstra Database Overview
- Back up Apstra Database
- Restore Apstra Database
- Reset Apstra Database
- Migrate Apstra Database
- Replace SSL Certificate on Apstra Server with Signed One
- Replace SSL Certificate on Apstra Server with Self-Signed One
- Change Apstra Server Hostname
- FIPS 140-2 Support
- play_arrow Apstra CLI Utility
- play_arrow Guides
ON THIS PAGE
Juniper Junos Configlet Interface-Level Example on 4.0.2: gigether-options
Juniper Junos Configlet Example on 4.0.2: MTU (section Interface-Level: Delete)
Juniper Junos Configlet Example on 4.0.2 Example: SNMP (multiple sections)
Juniper Junos Configlet Example on 4.0.1 and 4.0.0: NTP (section SYSTEM)
Arista EOS Configlet Example: Interface Speed (section INTERFACE)
Enterprise SONiC Configlet Example: Static Route (section FRR)
Enterprise SONiC Configlet Example: sonic-cli Commands (section SYSTEM)
Configlet Examples (Design)
Juniper Junos Configlet Interface-Level Example on 4.0.2: gigether-options
When you're creating an interface-level configlet during the design phase, you won't
know interface names. It's not until you're working in the blueprint that you'll
have that information. Interface-level configlets for Junos are designed for you to
enter details without including the set interface
command. For
example, to change Junos interface "gigether-options", you can use a interface-level
hierarchical or set configlet.
gigether-options no-auto-negotiation gigether-options fec none
gigether-options { no-auto-negotiation; fec none; }
When you import the configlet into your blueprint, you'll specify interfaces such as
xe-0/0/0
. For a Junos Interface-Level set configlet Apstra
software will prepend the set commands:
set interfaces xe-0/0/0 gigether-options no-auto-negotiation set interfaces xe-0/0/0 gigether-options fec none
For a Junos Interface-Level hierarchical configlet Apstra software will load Junos structured configuration:
interfaces { xe-0/0/0 { gigether-options { no-auto-negotiation; fec none; } } }
Juniper Junos Configlet Example on 4.0.2: MTU (section Interface-Level: Delete)
If you want to use a Junos interface-level configlet to remove an existing
configuration, you can use an interface level delete configlet. Like the interface
level set configlet, when you are creating the configlet during the design phase,
you won't know interface names. It's not until you're working in the blueprint that
you'll have that information. Interface-level delete configlets for Junos are
designed for you to enter details without including the delete
interface
command. For example, to remove the Junos interface "mtu"
configuration.
mtu
When you import the configlet into your blueprint, you'll specify interfaces such as
xe-0/0/0
. For a Junos Interface-Level delete configlet Apstra
software will prepend the delete commands:
delete interfaces xe-0/0/0 mtu
Juniper Junos Configlet Example on 4.0.2 Example: SNMP (multiple sections)
You can create a configlet with a generator at the Top-Level to enable SNMP. To avoid
SNMP alarms on server-facing interfaces, for example, you can create a second
generator at the Interface-Level to set up no-traps
.
Top-Level template text is validated to begin with ‘set’ or ‘delete’. See below for example text.
set snmp community public authorization read-only set snmp description “this is configlet test” set snmp location “Apstra DC” set snmp contact “june at juniper dot net” set snmp trap-group authentication-traps targets 10.0.10.1 set snmp trap-group authentication-traps targets 192.168.15.27 set snmp trap-group authentication-traps categories authentication
Interface-Level template text is not validated because it's not a complete CLI command. See below for example text.
no-traps
When you import the configlet into your blueprint, you'll specify interfaces such as
ex-0/0/0
and Apstra software will prepend the set command as
.
set interface xe-0/0/0 no-traps
Juniper Junos Configlet Example on 4.0.1 and 4.0.0: NTP (section SYSTEM)
Sample text for configuring NTP servers on Junos devices. (On Apstra version 4.0.2 SYSTEM is called Top-Level/Hierarchical.)
system { ntp { boot-server 10.1.4.1; server 10.1.4.2; } }
Cisco NX-OS Configlet Example: Syslog (section SYSTEM)
Sample text for configuring Syslog on NX-OS devices.
logging server 192.168.0.30 logging facility local3 logging trap warning
no logging server 192.168.0.30 no logging facility local3 no logging trap warning
Arista EOS Configlet Example: NTP (section SYSTEM)
Sample text for configuring NTP servers on EOS devices. This configlet uses property sets for the NTP server IP addresses.
ntp server {{NTP_SERVER_1}} ntp server {{NTP_SERVER_2}}
no ntp server {{NTP_SERVER_1}} no ntp server {{NTP_SERVER_2}}
Arista EOS Configlet Example: Interface Speed (section INTERFACE)
Sample text for applying 'speed auto' to an interface. (You specify devices and interfaces when you import the configlet into a blueprint.)
speed auto
no speed auto
Enterprise SONiC Configlet Example: NTP (section SYSTEM)
Sample text for using the config
command to set up an NTP server to
use mgmt VRF on SONiC devices.
sonic-db-cli CONFIG_DB hset 'NTP |global' vrf mgmt config ntp add {{ntp_server}}
config ntp del {{ntp_server}}
Enterprise SONiC Configlet Example: SNMP (section SYSTEM)
Sample text for using the config
command to set up an SNMP snmptrap
to use mgmt VRF on SONiC devices.
config snmptrap modify 2 {{SNMP_SERVER}} -v mgmt -c mypass
config snmptrap del 2
Enterprise SONiC Configlet Example: Syslog (section SYSTEM)
Sample text for using the config
command to set the Syslog server
for SONiC devices.
config syslog add {{syslog_host}}
config syslog del {{syslog_host}}
Enterprise SONiC Configlet Example: Static Route (section FRR)
Sample text for adding a static route
ip route 4.2.2.2/32 {{static_route_next_hop}} ip route 4.2.2.3/32 {{static_route_next_hop}}
Enterprise SONiC Configlet Example: sonic-cli Commands (section SYSTEM)
Sample text for using the sonic-cli
command to set up the
delay-restore
option for SONiC mclag
. You must
use sudo -u admin
at the beginning, and surround terms that
contain spaces with single quotes
in each sonic-cli command, and
< /dev/console
at the end.
sudo -u admin sonic-cli -c config -c 'mclag domain 1' -c 'delay-restore 600' < /dev/console
sudo -u admin sonic-cli -c config -c 'mclag domain 1' -c 'no delay-restore' < /dev/console