- play_arrow Disclaimer
- play_arrow Junos PyEZ Overview
- play_arrow Install Junos PyEZ
- play_arrow Connect to and Retrieve Facts From a Device Using Junos PyEZ
- play_arrow Use Junos PyEZ to Manage Device Operations
- Use Junos PyEZ to Execute RPCs on Junos Devices
- Suppress RpcError Exceptions Raised for Warnings in Junos PyEZ Applications
- Use Junos PyEZ to Halt, Reboot, or Shut Down Junos Devices
- Use Junos PyEZ to Install Software on Junos Devices
- Use Junos PyEZ to Perform File System Operations
- Transfer Files Using Junos PyEZ
- Specify the XML Parser for a Junos PyEZ Session
- play_arrow Use Junos PyEZ to Manage the Configuration
- Use Junos PyEZ to Retrieve a Configuration
- Use Junos PyEZ to Compare the Candidate Configuration and a Previously Committed Configuration
- Use Junos PyEZ to Configure Junos Devices
- Use the Junos PyEZ Config Utility to Configure Junos Devices
- Use Junos PyEZ to Commit the Configuration
- Example: Use Junos PyEZ to Load Configuration Data from a File
- Example: Use Junos PyEZ to Roll Back the Configuration
- Use Junos PyEZ to Manage the Rescue Configuration on Junos Devices
- play_arrow Troubleshoot Junos PyEZ
Predefined Junos PyEZ Operational Tables (Structured Output)
Extract operational information from a Junos device by using predefined Junos PyEZ Tables and Views to select specific items from RPC XML output.
Junos PyEZ operational (op) Tables for structured output provide
a simple and efficient way to extract information from the XML output
of an RPC. The Junos PyEZ jnpr.junos.op
module provides predefined Table and View definitions for RPCs corresponding
to some common operational commands. Table 1 lists each of the modules,
the Table names defined in that module, and the general RPC and corresponding
CLI command for each Table. For information about the command options
provided to the RPC, the key for each item, and the fields selected
by the corresponding View, review the Table and View definitions in
the .yml file for that module.
For the most current list of Table and View definitions, see the Junos PyEZ GitHub repository at https://github.com/Juniper/py-junos-eznc/. You can also create your own custom Table and View definitions.
Module | Table | RPC | CLI Command |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(filtered for Ethernet interfaces) |
|
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
|
|
| |
|
|
| |
|
|
(filtered for Ethernet interfaces) |
|
|
(filtered for Ethernet interfaces) |
| |
|
(filtered for Ethernet interfaces) |
| |
|
|
|
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following video demonstrates how to use the RouteTable
Table.