Viewing the configuration of interfaces (2024)

Viewing the running configuration of interfaces

To view the running configuration of interfaces,do one of the following:

  • Use the showrunning-config [structured] command to view the runningconfiguration of all interfaces. Include the structured optionto group the information in a logical manner.

  • Use the showrunning-config interface port-list command to view the runningconfiguration of the specified port interfaces. Include the structured option to group the informationin a logical manner.

  • Use the showrunning-config interface loopback <0-7> command toview the running configuration of the specified loopback interfaces.Include the structured option togroup the information in a logical manner.

  • Use the showrunning-config interface vlan <vlan-id-list> commandto view the running configuration of the specified VLAN interfaces.Include the structured option togroup the information in a logical manner.

For the 5400zl and 3800 switches, these commandsdisplay the following prompt when executed in enhanced secure mode:

Do you want to show sensitive information(y/n)?

If ‘y’ is entered, the normal command outputis displayed on the console. If ‘n’ is entered, all the sensitiveinformation is hidden and will be displayed as asterisks (‘*****’).The default option is ‘n’ when interactive mode is disabled. For moreinformation, see the "Secure Mode (5400zl and 3800)" inthe Access Security Guide for your switch.

Examples

Running configuration output in preview mode

switch(config)# preview-mode ATTENTION: You are entering preview mode on this product. This mode, the commands, features and functionality specific to this mode, and all outputfrom this mode are Hewlett Packard Enterprise Confidential and Proprietary.You may use this mode at your own risk. Any defects or issues encountered in this mode will be addressed per Hewlett Packard Enterprise's discretion.Continue (y/n)? y (Prev-mode)switch(config)# show running-configRunning configuration:; JL075A Configuration Editor; Created on release #KB.16.01.0000x; Ver #0c:01.7c.59.f4.7b.ff.ff.fc.ff.ff.3f.ef:hostname "Aruba-3810M-16SFPP-2s"module 1 type jl075xmodule 2 type jl075ymodule 3 type jl075zsnmp-server community "public" unrestrictedoobm ip address dhcp-bootp exitvlan 1 name "DEFAULT_VLAN" untagged 1-16 ip address dhcp-bootp exitpreview-mode

Running configuration output for interfaces A2 - A4

switch(eth-A2-A4)# show running-configRunning configuration:; J8698A Configuration Editor; Created on release #K.15.10.0001; Ver #02:0b:ef:e6hostname "switch"interface A2 disable name "test1" flow-control broadcast-limit 80 speed-duplex 100-full unknown-vlans Block qos priority 4 lacp Passive gvrp join-timer 30 gvrp leave-timer 60 gvrp leaveall-timer 700exitinterface A3 disable name "test1" flow-control broadcast-limit 80 speed-duplex 100-full unknown-vlans Block qos priority 4 lacp Passive gvrp join-timer 30 gvrp leave-timer 60 gvrp leaveall-timer 700exitvlan 1 name "DEFAULT_VLAN" untagged A1-A4,C1-C24,F1-F4 ip address dhcp-bootp exitinterface A2 dhcp-snooping trust bandwidth-min output 20 10 10 10 20 10 10 10 rate-limit bcast in percent 75 ipv6 access-group "check" in exitinterface A3 dhcp-snooping trust bandwidth-min output 20 10 10 10 20 10 10 10 rate-limit bcast in percent 75 ipv6 access-group "check" in exit

The following example shows an example of therunning config for a range of interfaces. The configuration informationfor interfaces A2 and A3 is now displayed together.

Running config output for a specified interface range

switch(config)# show running-config interface A2-A3Running configuration:interface A2 disable name "test1" flow-control broadcast-limit 80 speed-duplex 100-full unknown-vlans block qos priority 4 gvrp join-timer 30 leave-timer 60 leaveall-timer 700 dhcp-snooping trust lacp passive bandwidth-min output 20 10 10 10 20 10 10 10 rate-limit bcast in percent 75 ipv6 access-group "check" in untagged vlan 1 exitinterface A3 disable name "test1" flow-control broadcast-limit 80 speed-duplex 100-full unknown-vlans block qos priority 4 gvrp join-timer 30 leave-timer 60 leaveall-timer 700 dhcp-snooping trust lacp passive bandwidth-min output 20 10 10 10 20 10 10 10 rate-limit bcast in percent 75 ipv6 access-group "check" in untagged vlan 1 exit

The following example shows an example of therunning config file for a range of interfaces after some configurationchanges have been made.

Running config output for a range of interfaces

switch(config)# no stackswitch(config)# mesh 2-3Command will take effect after saving configuration and reboot.switch(config)# write memoryswitch(config)# reloadswitch# show running-config interface 2-3Running configuration:interface 2 untagged vlan 1 mesh exitinterface 3 flow-control untagged vlan 1 mesh exit

The following example is an example of the runningconfig output showing VLAN information.

Running config output showing VLAN information

switch(config)# show running-configRunning configuration:; J8698A Configuration Editor; Created on release #K.15.10.0001; Ver #02:0b:ef:e6hostname "switch"module 1 type J9309Amodule 3 type J8702Amodule 6 type J8702Aip routingvlan 1 name "DEFAULT_VLAN" untagged A1-A4,C1-C24,F1-F24 ip address dhcp-bootp exitvlan 2 name "test-vlan-2" ip helper-address 4.1.1.1 ip helper-address 5.1.1.1 ip address 1.1.1.1 255.255.255.0 ipv6 address 2001::/64 anycast ipv6 enable exitvlan 3 name "VLAN3" ip helper-address 7.1.1.1 ip forward-protocol udp 7.1.1.1 snmp ip forward-protocol udp 11.1.1.2 dns no ip address exitvlan 4 name "VLAN4" ip address 5.1.1.1 255.255.255.0 ip bootp-gateway 5.1.1.1 exitlogging 10.0.102.90logging system-module ospfip route 5.1.1.0 255.255.255.0 vlan 4 distance 3

In the following example, the configuration informationfor VLAN 4 is now displayed in one place.

Running config output for a range of VLANs

switch(config)# show running-config vlan 3-4Running configuration:vlan 3 name "VLAN3" ip helper-address 7.1.1.1 ip forward-protocol udp 7.1.1.1 snmp ip forward-protocol udp 11.1.1.2 dns no ip address exitvlan 4 name "VLAN4" ip address 5.1.1.1 255.255.255.0 ip bootp-gateway 5.1.1.1 ip route 5.1.1.0 255.255.255.0 distance 3 exit

Below is an example of the running config fora range of VLANs after configuration changes have been made to selectedVLANs.

Output for running config for a range of VLANs

switch(config)# dhcp-snoopingswitch(config)# vlan 14switch(vlan-14)# exitswitch(config)# vlan 15switch(vlan-15)# exitswitch(config)# vlan 23switch(vlan-23)# exitswitch(config)# dhcp-snooping vlan 14-15switch(config)# static-mac 00:11:22:33:44:55 vlan 23 interface A3switch(config)# spanning-tree instance 2 vlan 15switch(config)# show running-config vlan 14-15Running configuration:vlan 14 name "VLAN14" no ip address dhcp-snooping exitvlan 15 name "VLAN15" no ip address dhcp-snooping spanning-tree instance 2 exit

Viewing the startup configuration of interfaces

To view the startup configuration of interfaces,do one of the following:

  • Use the showconfig command to view the startup configuration of allinterfaces.

  • Use the showconfig interface port-list command to view the startup configurationof the specified port interfaces.

  • Use the showconfig interface loopback <0-7> command to view thestartup configuration of the specified loopback interfaces.

  • Use the showconfig interface vlan <vlan-id-list> command to viewthe startup configuration of the specified VLAN interfaces.

For the 5400zl and 3800 switches, these commandsdisplay the following prompt when executed in enhanced secure mode:

Do you want to show sensitive information(y/n)?

If ‘y’ is entered, the normal command outputis displayed on the console. If ‘n’ is entered, all the sensitiveinformation is hidden and will be displayed as asterisks (‘*****’).The default option is ‘n’ when interactive mode is disabled. For moreinformation, see the "Secure Mode (5400zl and 3800)" inthe Access Security Guide for your switch.

Examples

Startup configuration output

switch(config)# show configStartup configuration:; J8698A Configuration Editor; Created on release #K.14.54C; Ver #02:0b:ef:e6hostname "switch"module 1 type J9309Amodule 3 type J8702Amodule 6 type J8702Avlan 1 name "DEFAULT_VLAN" untagged A1-A4,C1-C9,C15-C24,F1-F24 ip address dhcp-bootp no untagged C10-C14 exitvlan 5 name "VLAN5" untagged C10-C14 ip address 5.1.1.1 255.255.255.128 exitinterface loopback 5 ip address 7.1.1.1 exitinterface loopback 7 ip address 12.1.1.1 exitsnmp-server community "public" unrestricted

Following is an example of the startup configoutput for a selected VLAN.

Startup config output for a specific VLAN

switch(vlan-5)# show config vlan 5Startup configuration:vlan 5 name "VLAN5" untagged C10-C14 ip address 5.1.1.1 255.255.255.128 exit

The following shows an example of the startupconfig output for a range of interfaces for a specific VLAN.

Startup config output for a range of interfaces for a specificVLAN

switch(vlan-5)# show config interface C10-C13Startup configuration:interface C10 untagged vlan 5 exitinterface C11 untagged vlan 5 exitinterface C12 untagged vlan 5 exitinterface C13 untagged vlan 5 exit
Viewing the configuration of interfaces (2024)
Top Articles
California's New State "Mini-CFPB" Is Not Very "Mini," but Very "CFPB" | Davis Wright Tremaine
FCG Dividend History, Dates & Yield - Stock Analysis
No Hard Feelings (2023) Tickets & Showtimes
Trevor Goodwin Obituary St Cloud
Jackerman Mothers Warmth Part 3
Zabor Funeral Home Inc
Fnv Turbo
Naturalization Ceremonies Can I Pick Up Citizenship Certificate Before Ceremony
Danielle Longet
Call Follower Osrs
Buying risk?
Craigslist Motorcycles Orange County Ca
Kitty Piggy Ssbbw
Michigan cannot fire coach Sherrone Moore for cause for known NCAA violations in sign-stealing case
Mzinchaleft
Hellraiser III [1996] [R] - 5.8.6 | Parents' Guide & Review | Kids-In-Mind.com
List of all the Castle's Secret Stars - Super Mario 64 Guide - IGN
Noaa Ilx
Danforth's Port Jefferson
Greenville Sc Greyhound
Atlases, Cartography, Asia (Collection Dr. Dupuis), Arch…
Craigslist Lake Charles
Timeline of the September 11 Attacks
From This Corner - Chief Glen Brock: A Shawnee Thinker
Progressbook Newark
The Monitor Recent Obituaries: All Of The Monitor's Recent Obituaries
APUSH Unit 6 Practice DBQ Prompt Answers & Feedback | AP US History Class Notes | Fiveable
Syracuse Jr High Home Page
Nicole Wallace Mother Of Pearl Necklace
Indiana Immediate Care.webpay.md
Scanning the Airwaves
Pinellas Fire Active Calls
Verizon Outage Cuyahoga Falls Ohio
Ursula Creed Datasheet
10 Rarest and Most Valuable Milk Glass Pieces: Value Guide
Nina Flowers
Craigslist Farm And Garden Reading Pa
Autum Catholic Store
Craigslist Food And Beverage Jobs Chicago
Silicone Spray Advance Auto
National Weather Service Richmond Va
Mybiglots Net Associates
Sara Carter Fox News Photos
Walmart Careers Stocker
The Many Faces of the Craigslist Killer
Windy Bee Favor
Barber Gym Quantico Hours
Lira Galore Age, Wikipedia, Height, Husband, Boyfriend, Family, Biography, Net Worth
Ingersoll Greenwood Funeral Home Obituaries
The Missile Is Eepy Origin
Ippa 番号
Latest Posts
Article information

Author: Dean Jakubowski Ret

Last Updated:

Views: 6419

Rating: 5 / 5 (70 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Dean Jakubowski Ret

Birthday: 1996-05-10

Address: Apt. 425 4346 Santiago Islands, Shariside, AK 38830-1874

Phone: +96313309894162

Job: Legacy Sales Designer

Hobby: Baseball, Wood carving, Candle making, Jigsaw puzzles, Lacemaking, Parkour, Drawing

Introduction: My name is Dean Jakubowski Ret, I am a enthusiastic, friendly, homely, handsome, zealous, brainy, elegant person who loves writing and wants to share my knowledge and understanding with you.