write Managing Router Configuration Files
Enterasys Matrix DFE-Gold Series Configuration Guide 16-9
ip address 192.168.100.1 255.255.255.255
no shutdown
!
interface vlan 10
ip address 99.99.2.10 255.255.255.0
no shutdown
!
router ospf 1
network 99.99.2.0 0.0.0.255 area 0.0.0.0
network 192.168.100.1 0.0.0.0 area 0.0.0.0
write
Usethiscommandtosaveordeletetherouterrunningconfiguration,ortodisplayittooutput
devices.
Syntax
write [erase | file [filename config-file] | terminal]
Parameters
Defaults
Ifnoparametersarespecified,therunningconfigurationwillbedisplayedtotheterminalsession.
Mode
Routercommand,PrivilegedEXEC:Matrix>Router#
Usage
ThewritefilecommandmustbeexecutedinordertosavetherouterconfigurationtoNVRAM.If
thiscommandisnotexecuted,routerconfigurationchangeswillnotbesaveduponreboot.
Example
Thisexampleshowshowtodisplaytherouter‐specificconfigurationtothe
terminal:Matrix>Router#writeterminal
Enable
Config t
interface vlan 1
iP Address 182.127.63.1 255.255.255.0
no shutdown
erase (Optional)Deletestherouter‐specificfile.
file (Optional)Savestherouter‐specificconfigurationtoNVRAM.
filenameconfig‐file (Optional)Savestherouter‐specificconfigurationtoafile.
terminal (Optional)Displaysthecurrentrouter‐specificconfigurationtothe
terminalsession.