Exalogic Ethernet交换机配置的备份与还原方法是什么

2023-05-17,

本篇内容主要讲解“Exalogic Ethernet交换机配置的备份与还原方法是什么”,感兴趣的朋友不妨来看看。本文介绍的方法操作简单快捷,实用性强。下面就让小编来带大家学习“Exalogic Ethernet交换机配置的备份与还原方法是什么”吧!

  1. 备份

PC>ping 10.135.162.152           //先对交换机ping一下确保与交换机之间的连线是相同的

Pinging 10.135.162.152 with 32 bytes of data:

Request timed out.

Reply from 10.135.162.152: bytes=32 time=0ms TTL=255//提示ping通

Reply from 10.135.162.152: bytes=32 time=1ms TTL=255

Reply from 10.135.162.152: bytes=32 time=0ms TTL=255

Ping statistics for 10.135.162.152:

    Packets: Sent = 4, Received = 3, Lost = 1 (25% loss),

Approximate round trip times in milli-seconds:

    Minimum = 0ms, Maximum = 1ms, Average = 0ms

PC>telnet 10.135.162.152                       //用telnet进行远程登录

Trying 10.135.162.152 ...Open

User Access Verification

Password:                       //输入telnet登录密码:

SW1>enable                    //进入交换机

Password:                       //输入进入密码:

SW1#copy running-config startup-config    //将运行配置文件覆盖启动配置文件。(将交换机所做的配置保存下来。)

Destination filename [startup-config]?    //指定目标文件[默认为startup-config]

Building configuration...

[OK]

SW1#copy running-config TFTP           //将运行配置文件(交换机的配置)保存到FTP服务器上

Address or name of remote host []? 10.135.20.72 //指定远程FTP服务器的地址

Destination filename [SW1-confg]? dm01sw-adm01-config      //指定保存到FTP服务器上的文件名

Writing running-config....!!

[OK - 1059 bytes]

1059 bytes copied in 3.005 secs (0 bytes/sec)

SW1#

2.还原

Switch#

Switch#config t

Enter configuration commands, one per line.  End with CNTL/Z.

Switch(config)#int vlan 1                 //进入VLAN1 

Switch(config-if)#ip add

Switch(config-if)#ip address 192.168.1.1 255.255.255.0    //配置VLAN1IP地址

Switch(config-if)#no shutdown            //启动生效

Switch(config-if)#

%LINK-5-CHANGED: Interface Vlan1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up

Switch(config-if)#exit

Switch(config)#exit

Switch#

%SYS-5-CONFIG_I: Configured from console by console

Switch#copy TFTP startup-config            //将FTP上的文件复制到启动配置文件中

Address or name of remote host []? 10.135.20.72    //来自FTP的地址是10.135.20.72

Source filename []? dm01sw-adm01-config          //来自FTP的dm01sw-adm01-config 文件

Destination filename [startup-config]?       //指定存放的目标文件为默认的startup-config

Accessing tftp://10.135.20.72/dm01sw-adm01-config....

Loading dm01sw-adm01-config from 10.135.20.72: !

[OK - 1059 bytes]                             //复制成功。

1059 bytes copied in 3.016 secs (351 bytes/sec)

Switch#

到此,相信大家对“Exalogic Ethernet交换机配置的备份与还原方法是什么”有了更深的了解,不妨来实际操作一番吧!这里是本站网站,更多相关内容可以进入相关频道进行查询,关注我们,继续学习!

《Exalogic Ethernet交换机配置的备份与还原方法是什么.doc》

下载本文的Word格式文档,以方便收藏与打印。