Foundry NetIron M2404C and M2404F Metro Access Switches
Switch Setup and Maintenance (Rev. 03)
Saving and Displaying the Configuration
© 2008 Foundry Networks, Inc.
Page 30 of 35
Displaying the Switch Configuration
Table 13
lists the commands to save and delete the configuration on the switch.
Table 13: Commands to Display the Switch Configuration
Command
Description
write terminal
Displays current run-time information regarding the
configuration of the switch.
show running-config
Displays current run-time information regarding the
configuration of the switch.
show startup-config
Displays the switch configuration saved to NVRAM.
Displaying the Current Switch Configuration
The
write terminal
command and the
show running-config
command, in Privileged (Enable)
mode, display the device currently configured settings that differ from the factory default values.
The user can view the Running Configuration file starting from a given application.
Command Syntax
device-name
#
write terminal
device-name
#
show running-config
[
acl
|
dhcp
|
dns
|
dot1x
|
igmp
|
irdp
|
lag
|
ldp
|
log
|
monitor
-
session
|
oam
|
ospf
|
port
|
protocol
|
qos
|
rip
|
rmon
|
router
-
manager
|
rtr
|
snmp
|
super
-
vlan
|
sw
-
watchdog
|
switch
-
monitoring
|
time-server
|
vlan
|
vpls
|
web
]
Example 1
device-name
#
write terminal
Building the configuration ...
! Current Configuration:
!
Example 2
device-name
#
show running-config
Building the configuration ...
! Current Configuration:
!
! Version
2.0.00
Example 3
device-name
#
show running-config snmp
Building the configuration ...
! Snmp-server Configuration:
!
!
snmp-server enable
snmp-server view internet 1.3 included
snmp-server group public v1 read internet write none notify internet