Skip to content

I share the new template for Cisco NXOS command 'show interface breakout' #2182

@i-m-d

Description

@i-m-d

I share the new template for Cisco NXOS command 'show interface breakout'

Environment

  • ntc-templates version: 8.0.0

Proposed Functionality

The functionality is to obtain the output of the Cisco NXOS command 'show interface breakout'

Real example command:

# sh int breakout

--------------------------------------------------------------------------------
Parent                     Breakout Map    Breakout Ports
--------------------------------------------------------------------------------
Eth1/2                     10g-4x          Eth1/2/1-4
Eth1/3                     10g-4x          Eth1/3/1-4
Eth1/4                     10g-4x          Eth1/4/1-4
Eth1/5                     10g-4x          Eth1/5/1-4
Eth1/6                     10g-4x          Eth1/6/1-4
Eth1/11                    10g-4x          Eth1/11/1-4
Eth1/13                    10g-4x          Eth1/13/1-4
Eth1/14                    10g-4x          Eth1/14/1-4
Eth1/16                    10g-4x          Eth1/16/1-4
Eth1/19                    10g-4x          Eth1/19/1-4
Eth1/22                    10g-4x          Eth1/22/1-4

Use Case

In show interfaces this kind of interfaces (MPO) are NOT shown, so it is interesting to obtain them.

WORKING Template created for me

Value PARENT (\S+)
Value BREAKOUT_MAP (\S+)
Value BREAKOUT_PORTS (\S+)

Start
  ^${PARENT}\s+${BREAKOUT_MAP}\s+${BREAKOUT_PORTS}\s*$$ -> Record
  ^[Pp]arent\s+[Bb]reakout [Mm]ap\s+[Bb]reakout [Pp]orts\s*$$
  ^-+
  ^\s*$$
  ^. -> Error

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: action requiredThis issue requires additional information to be actionable

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions