Saturday, 16 August 2025

Cisco ACI - Node states - Unknown vs discovering vs undiscovered vs Unsupported vs decommissioned vs inactive Vs active

 In Cisco ACI, node states describe the status of a fabric node (like a leaf or spine switch) in relation to the APIC controller and the overall fabric. Here's a breakdown of the common node states you mentioned:


🔹 Active

  • The node is fully discovered, registered, and operational in the fabric.
  • It is participating in policy enforcement and forwarding traffic.

🔹 Inactive

  • The node is known to the APIC but is not currently participating in the fabric.
  • This could be due to administrative shutdown or connectivity issues.

🔹 Discovering

  • The APIC has detected the node and is in the process of gathering its information.
  • This is a transitional state before becoming active.

🔹 Undiscovered

  • The node is not yet detected by the APIC.
  • It may be powered off, disconnected, or not properly cabled.

🔹 Unknown

  • The APIC cannot determine the state of the node.
  • This could be due to communication failure or misconfiguration.

🔹 Unsupported

  • The node is running a software version or hardware type that is not compatible with the current ACI fabric.
  • It cannot be managed or used until upgraded or replaced.

🔹 Decommissioned

  • The node has been intentionally removed from the fabric.
  • It no longer participates in any fabric operations and is not expected to return unless re-commissioned.

🧠 Summary Table


Node StateDescriptionCommon Causes
ActiveNode is fully discovered and operational within the fabric.Successful discovery, proper cabling, compatible firmware.
InactiveNode is known to APIC but not participating in the fabric.Admin shutdown, link issues, or configuration mismatch.
DiscoveringNode is in the process of being onboarded into the fabric.Initial connection, waiting for LLDP adjacency or infra VLAN.
UndiscoveredNode is not detected by APIC.Cabling issues, powered off, wrong port type, or missing infra VLAN.
UnknownAPIC cannot determine the node’s state.Communication failure, misconfigured switch, or APIC database inconsistency.
UnsupportedNode hardware or software is incompatible with the current ACI fabric.Outdated firmware, non-ACI image, or unsupported model.
DecommissionedNode has been intentionally removed from the fabric.Manual decommissioning via APIC or CLI.

JSON Demystified: {} vs [] — What’s the Real Difference?

 

JSON is a data exchange format and open standard. It is based on a subset of JavaScript and is a text format that is completely language-independent.

JSON Demystified: {} vs [] — What’s the Real Difference?

When diving into JSON, two symbols often spark confusion: {} and []. They may look simple, but they define the very structure of your data. Let’s break it down in a way that’s both clear and memorable.

🧱 {} — The Architect of Structure (JSON Object)

Think of {} as the blueprint of a building. It defines named rooms (keys) and what’s inside them (values).

  • Purpose: Represents an object — a collection of key-value pairs.
  • Analogy: Like a dictionary or a contact card.
  • Example:

Each key is a label, and each value is the data associated with it.


📦 [] — The Organizer of Items (JSON Array)

Now, [] is your box of items. It holds things in order, without naming them individually.

  • Purpose: Represents an array — an ordered list of values.
  • Analogy: Like a playlist or a shopping list.
  • Example:

Each item is accessed by its position, not by a name.


🔄 Together in Harmony

JSON often combines both structures to model complex data:

Here:

  • {} defines the overall structure (devices).
  • [] holds multiple device entries.
  • Each device is again an object ({}) with its own properties.

🧠 Quick Tip to Remember

Symbol

Represents

Think of it as...

{}

Object

A labeled folder

[]

Array

A stack of items

 

Saturday, 9 August 2025

L3Out Subnet Scope Options in Cisco ACI

 

L3Out Subnet Scope Options in Cisco ACI

Scope Option

Purpose

Export Route Control Subnet

Advertises specific transit routes out of the ACI fabric. Used for controlling which external routes are exported.

Import Route Control Subnet

Allows specific external routes to be imported into the ACI fabric using BGP or OSPF.

External Subnets for External EPG (Security Import Subnet)

Enables data plane traffic between external EPGs and internal EPGs. Without this, traffic is dropped even if routes are learned.

Shared Route Control Subnet

Used in inter-VRF route leaking. Marks subnets that should be advertised across VRFs.

Shared Security Import Subnet

Similar to External Subnets, but for shared L3Outs. Enables traffic flow between shared external and internal EPGs.

Aggregate Export/Import/Shared Routes

Used to summarize routes, e.g., adding /32 in front of 0.0.0.0/0 for default route aggregation.


🧠 Key Notes

  • These scope options are critical for controlling route advertisement and enabling secure communication between different parts of the network.
  • Cisco ACI uses a contract-based model, so even if routes are advertised, traffic will be dropped unless explicitly allowed by contracts and security prefixes 

FX Vs FX2 Vs FX3 Vx GX - Cisco ACI switches

 

🔧 Platform Comparison

Platform

ASIC

Key Features

EOL Status

EX

LSE

Entry-level, limited telemetry, no FC/FCoE, basic MACsec

EOL announced for models like N9K-C93108TC-EX

1

FX

LS1800FX

Better telemetry, some FC/FCoE support, improved MACsec

EOL announced for models like N9K-C93108TC-FX

1

FX2

LS3600FX2

Higher performance, enhanced telemetry, better scalability

Still active (no EOL notice found)

FX3

Updated ASIC

Further telemetry improvements, SyncE support, no unified ports

Still active

GX

LS6400GX

High-performance, 400G support, cloud-scale deployments

Still active

S6400

S6400

Used in high-density models like 9364C, optimized for speed and scale

Still active


🧠 Key Takeaways

  • EX and FX platforms are older and have EOL notices for several models 
  • FX2, FX3, GX, and S6400 are newer and designed for cloud-scaletelemetry-rich, and high-speed environments.
  • FC/FCoE support is available in some FX and FX2 models, but not all — so check model-specific specs 
  • Telemetry and MACsec capabilities improve progressively from EX → FX → FX2 → FX3.

XML vs JSON

 

🔄 XML vs JSON

Feature

XML (eXtensible Markup Language)

JSON (JavaScript Object Notation)

Syntax Style

Tag-based (like HTML)

Key-value pairs (JavaScript-like)

Readability

More verbose, harder to read

Lightweight and human-readable

Data Structure

Supports complex structures (attributes, nesting)

Simpler, supports arrays and objects

Use in APIs

Common in legacy systems and enterprise APIs

Preferred in modern web APIs

Parsing

Requires XML parsers

Easily parsed with built-in functions in most languages

Data Size

Larger due to tags

Smaller and faster to transmit

Support for Comments

Yes

No (not officially supported)

Schema Validation

Strong (via XSD, DTD)

Limited (via JSON Schema)


🧠 Summary

  • Use JSON for modern web applications where speed, simplicity, and readability matter.
  • Use XML when you need rich metadatadocument validation, or are working with legacy systems.

Ansible vs Terraform

 

🔧 Ansible vs Terraform

Feature

Ansible

Terraform

Primary Purpose

Configuration management & automation

Infrastructure provisioning (IaC)

Language Used

YAML (Playbooks)

HCL (HashiCorp Configuration Language)

Execution Model

Agentless (uses SSH)

Declarative, state-based

State Management

No persistent state

Maintains state files to track infrastructure

Use Case

Installing software, configuring systems

Creating cloud resources (VMs, networks, etc.)

Cloud Support

Supports cloud tasks but not cloud-native

Designed for multi-cloud provisioning

Learning Curve

Easier for beginners

Requires understanding of state and dependencies

Idempotency

Yes

Yes

Community & Ecosystem

Large, with many modules

Large, with many providers and modules


🧠 Summary

  • Use Ansible when you want to configure servers, install packages, manage users, or automate operational tasks.
  • Use Terraform when you want to provision infrastructure like virtual machines, networks, databases, and cloud services.

Tool Comparison for Development Collaboration, Trello Vs Jira Vs Slack, Cisco Webex, Hipchat

 

Tool Comparison for Development Collaboration

Tool

Type

Key Features

Best For

Trello

Project Management

Kanban boards, task tracking, checklists, automation

Visual task organization

Slack

Communication

Real-time messaging, channels, integrations with dev tools

Team communication & alerts

Cisco Webex

Communication & Meetings

Video conferencing, screen sharing, team messaging

Remote meetings & collaboration

Jira

Issue & Project Tracking

Agile boards, sprint planning, bug tracking, reporting

Software development workflows

HipChat (now part of Slack)

Communication

Group chat, file sharing, integrations

Team messaging (legacy use)


🧩 How They Work Together

  • Slack + Jira: Get real-time updates on issues and commits.
  • Trello + Slack: Notify teams when cards are moved or updated.
  • Webex + Jira: Discuss sprint progress in meetings with live issue tracking.

Trello Vs Jira

Feature

Trello

Jira

Purpose

Simple task and project management

Advanced project tracking, especially for software development

Interface

Visual Kanban boards

Agile boards (Scrum, Kanban), backlog, roadmap

Ease of Use

Very user-friendly, minimal setup

More complex, requires setup and configuration

Best For

Small teams, personal projects, marketing, content

Software development, DevOps, IT teams

Customization

Power-Ups for added features

Highly customizable workflows, issue types

Integrations

Slack, Google Drive, GitHub, etc.

Bitbucket, Confluence, GitHub, CI/CD tools

Reporting

Basic activity tracking

Advanced reporting, burndown charts, velocity

Pricing

Freemium model

Tiered pricing based on features and users