/
show running-config
show running-config
The show running-config command displays current configuration that has already been successfully committed.
Command Syntax
- Display current configuration in a tree structure hierarchy:
show running-config
- Display current configuration as a series of configuration mode command lines:
show running-config | display set
Parameter
None.
Usage Guidelines
To display the running configuration, use the CLI operational mode show running-config command from the “>” prompt.
The configuration can be displayed in a tree structure at the current hierarchy level or at a specified level.
To display a particular hierarchy in the configuration, add the corresponding module name after show running-config command. The module names are shown in the following example:
admin@Xorplus> show running-config Possible completions: <[Enter]> Execute this command class-of-service Class of service configuration firewall Configure Firewall interface Interface configuration ip Configure ip parameters multicast-interface Configure multicast interface policy Configure routing policies protocols Configure protocol parameters system Configure system parameters vlan-interface Configure network interfaces vlans VLAN configuration | Pipe through a command admin@Xorplus> show running-config vlans | display set set vlans vlan-id 30 l3-interface "vlan30" set vlans vlan-id 40 l3-interface "vlan40" set vlans vlan-id 50 l3-interface "vlan50" admin@Xorplus> show running-config interface | display set set interface gigabit-ethernet ge-1/1/2 family ethernet-switching native-vlan-id 30 set interface gigabit-ethernet ge-1/1/3 family ethernet-switching native-vlan-id 50 set interface gigabit-ethernet ge-1/1/10 family ethernet-switching native-vlan-id 40 set interface ethernet-switching-options analyzer 111 input ingress ge-1/1/2 set interface ethernet-switching-options analyzer 111 input egress ge-1/1/2 set interface ethernet-switching-options analyzer 111 output "ge-1/1/6" admin@Xorplus> show running-config interface gigabit-ethernet ge-1/1/3 family { ethernet-switching { native-vlan-id: 50 } } admin@Xorplus> show running-config interface gigabit-ethernet ge-1/1/3 |display set set interface gigabit-ethernet ge-1/1/3 family ethernet-switching native-vlan-id 50
Example
- Display current configuration that has already been successfully committed in a tree structure hierarchy.
admin@Xorplus> show running-config system { login { user abc { authentication { plain-text-password: "$1$Qy0UarFu$Tpg28rrvNp2VJ2cXY1Z5a/" } } } log-level: "info" }
- Display current configuration that has already been successfully committed as a series of configuration mode command lines.
admin@Xorplus> show running-config | display set set interface gigabit-ethernet ge-1/1/1 family ethernet-switching set system login user abc authentication plain-text-password "$1$Qy0UarFu$Tpg28rrvNp2VJ2cXY1Z5a/" set system log-level "info"
Copyright © 2025 Pica8 Inc. All Rights Reserved.