1、EX3200交换机简单维护手册EX3200交换机简单维护手册1、日常维护的两种方式日常维护时我们可以通过两种方式登录EX3200交换机,console口和web登录,设备初始化配置时和系统故障时,我们可以通过console线连接交换机,使用下面的步骤连接路由器的Console接口:1. 准备好EX交换机设备自带的Console线缆(如果没有的话,采用Cisco或者安耐特等厂家的Console线也可可以)2. 将Console线缆的DB9插头一头插到PC或者笔记本电脑的COM口上,另外一端插到路由器的CONSOLE口上。3. 打开计算机中的终端软件工具。例如:CRT或者Windows自带的超级终
2、端。设置如下: 端口:选择第二步中Console线缆插入到PC上的端口,通常为COM 1或者COM 2 波特率:9600 数据位:8位 奇偶校验:无 停止位:1位 数据流控制:无4. 打开配置到的CRT或者超级终端,按“Enter”键,屏幕出现登陆的提示符,即连接成功。如果没有显示,请检查线缆或者终端的配置是否正确。2、EX3200交换机配置详细说明下面我们以仪征农信社配置为例来对配置加以详细说明:YZ_YZ_KF_SW_1 (ttyu0)login: jsnxPassword:#设备登录的用户名/密码:jsnx/juniper123 #- JUNOS 10.0R4.7 built 2010-
3、08-22 02:54:43 UTCjsnxYZ_YZ_KF_SW_1 jsnxYZ_YZ_KF_SW_1 configure Entering configuration mode#进入设备配置模式#editjsnxYZ_YZ_KF_SW_1# run show configuration |display set et version 10.0R4.7set system host-name YZ_YZ_KF_SW_1set system time-zone Asia/Shanghai#设备命名为YZ_YZ_KF_SW_1(扬州地区_仪征_开发网_交换机_1)#set system roo
4、t-authentication encrypted-password $1$.QxXIQNC$suZg5pmx8bOXUM1ytZQSd1set system login user jsnx uid 2000set system login user jsnx class super-userset system login user jsnx authentication encrypted-password $1$zPDEH7v8$XtL3zeN8fHagcfXQdtobn/set system services ssh root-login denyset system service
5、s telnetset system services web-management http port 8480set system syslog user * any emergencyset system syslog file messages any noticeset system syslog file messages authorization infoset system syslog file interactive-commands interactive-commands anyset chassis alarm management-ethernet link-do
6、wn ignore#设置设备的超级用户密码、开启http服务和telnet服务#set interfaces ge-0/0/1 unit 0 family ethernet-switchingset interfaces ge-0/0/2 unit 0 family ethernet-switchingset interfaces ge-0/0/3 unit 0 family ethernet-switchingset interfaces ge-0/0/4 unit 0 family ethernet-switchingset interfaces ge-0/0/5 unit 0 famil
7、y ethernet-switchingset interfaces ge-0/0/6 unit 0 family ethernet-switchingset interfaces ge-0/0/7 unit 0 family ethernet-switchingset interfaces ge-0/0/8 unit 0 family ethernet-switchingset interfaces ge-0/0/9 unit 0 family ethernet-switchingset interfaces ge-0/0/10 unit 0 family ethernet-switchin
8、gset interfaces ge-0/0/11 unit 0 family ethernet-switchingset interfaces ge-0/0/12 unit 0 family ethernet-switchingset interfaces ge-0/0/13 unit 0 family ethernet-switchingset interfaces ge-0/0/14 unit 0 family ethernet-switchingset interfaces ge-0/0/15 unit 0 family ethernet-switchingset interfaces
9、 ge-0/0/16 unit 0 family ethernet-switchingset interfaces ge-0/0/17 unit 0 family ethernet-switchingset interfaces ge-0/0/18 unit 0 family ethernet-switchingset interfaces ge-0/0/19 unit 0 family ethernet-switchingset interfaces ge-0/0/20 unit 0 family ethernet-switchingset interfaces ge-0/0/21 unit
10、 0 family ethernet-switchingset interfaces ge-0/0/22 unit 0 family ethernet-switchingset interfaces ge-0/0/23 unit 0 family ethernet-switchingset interfaces ge-0/1/0 unit 0 family ethernet-switchingset interfaces xe-0/1/0 unit 0 family ethernet-switchingset interfaces ge-0/1/1 unit 0 family ethernet
11、-switchingset interfaces xe-0/1/1 unit 0 family ethernet-switchingset interfaces ge-0/1/2 unit 0 family ethernet-switchingset interfaces ge-0/1/3 unit 0 family ethernet-switching#设置设备的接口是二层交换模式#set interfaces lo0 unit 0 family inet address 66.192.250.1/32#设置设备的loopback0接口的IP地址#set interfaces me0 uni
12、t 0 family inet address 192.168.254.1/30#设置设备背后的管理口的IP地址#set interfaces vlan unit 64 description OAset interfaces vlan unit 64 family inet address 66.192.64.254/24#设置Vlan 64为OA网段,配置其IP地址#set interfaces vlan unit 97 description kaifawangset interfaces vlan unit 97 family inet address 66.192.97.254/24
13、#设置Vlan 97为开发网段,配置其IP地址#set interfaces vlan unit 128 description SHIPINset interfaces vlan unit 128 family inet address 66.192.128.254/24#设置Vlan 128为视频网段,配置其IP地址#set protocols ospf enableset protocols ospf area 0.0.0.0 interface ge-0/0/0.0set protocols ospf area 0.0.0.0 interface vlan.64set protocol
14、s ospf area 0.0.0.0 interface vlan.128set protocols ospf area 0.0.0.0 interface vlan.97set protocols ospf area 0.0.0.0 interface lo0.0#启用OSPF路由协议,加入网段和L0接口#set protocols igmp-snooping vlan allset protocols rstpset protocols lldp interface allset protocols lldp-med interface allset ethernet-switching
15、-options storm-control interface allset vlans vlan128 vlan-id 128set vlans vlan128 interface ge-0/0/10.0set vlans vlan128 interface ge-0/0/11.0set vlans vlan128 interface ge-0/0/12.0set vlans vlan128 interface ge-0/0/13.0set vlans vlan128 l3-interface vlan.128set vlans vlan64 vlan-id 64set vlans vla
16、n64 interface ge-0/0/2.0set vlans vlan64 interface ge-0/0/3.0set vlans vlan64 interface ge-0/0/4.0set vlans vlan64 interface ge-0/0/5.0set vlans vlan64 interface ge-0/0/6.0set vlans vlan64 interface ge-0/0/7.0set vlans vlan64 interface ge-0/0/8.0set vlans vlan64 interface ge-0/0/9.0set vlans vlan64
17、l3-interface vlan.64set vlans vlan97 vlan-id 97set vlans vlan97 interface ge-0/0/14.0set vlans vlan97 interface ge-0/0/15.0set vlans vlan97 interface ge-0/0/16.0set vlans vlan97 interface ge-0/0/17.0set vlans vlan97 interface ge-0/0/18.0set vlans vlan97 interface ge-0/0/19.0set vlans vlan97 interfac
18、e ge-0/0/20.0set vlans vlan97 interface ge-0/0/21.0set vlans vlan97 interface ge-0/0/22.0set vlans vlan97 interface ge-0/0/23.0set vlans vlan97 l3-interface vlan.97#设置交换机的端口加入不同的网段#set poe interface all disable#关闭交换机上POE供电的功能#3、EX3200交换机上信息命令行查看在EX3200的交换机上我们可以通过以下命令来参看一些日常的维护信息:通过run show vlans命令我们
19、可以查看到现有EX3200交换机各端口所属Vlan的信息。通过run show ospf neighbor命令我们可以查看线路正常时连接到扬州市郊联社的OSPF邻居关系。通过run show ospf route命令我们可以查看OSPF中的路由条目。通过run show ospf database命令我们可以查看OSPF中的RouterID(打星号的LoopBack0端口地址)。通过run show chassis hardware命令我们可以查看到现有EX3200交换机所有设备的序列号,包括一台EX3200-24T主机、4*GE SFP模块2个SFP-SX多模千兆光纤模块。4、EX3200交
20、换机的Web登录查看日常维护时我们可以直接通过Web登录EX3200交换机,可以输入各县联社交换机上的开发、OA或者视频网段的网关,或者通过pc机直连交换机后的管理口,同时将PC的IP地址设为192.168.254.2/30,登录时输入http:/192.168.254.1:8480(IP地址可以是不同的网端网关,但是登录的端口一定是8480),然后输入用户名/密码:jsnx/juniper123如下图:接下来我们就可以登录到设备,在主页面下我们可以很方便的观察到设备的内存、CPU利用率、风扇状态等,还可以看到设备的JUNOS的版本号,系统时间等。在设备的面板图上,如果有端口变绿,就可以看到端
21、口的协议状态:在port菜单下可以看到端口所属的Vlan、IP地址等信息:同时在ConfigureSystem PropertiesUser Managenet菜单下可以修改设备的用户名和密码:同时在ConfigureSwitchingVLAN菜单下可以修改设备端口所属的Vlan和Vlan的IP地址:在ConfigureInterfacesPorts菜单下可以修改设备端口为trunk模式:同时在ConfigureRoutingOSPF菜单下可以增减OSPF路由中的网段:日常维护时我们可以点击MoniterInterfaces菜单即可以看到交换机上任意端口数据的进出流量,端口的故障报文数量和分类:我们还可以点击MoniterSystem ViewChassis Information菜单即可以看到交换机设备序列号等信息:我们还可以点击MoniterSystem ViewProcess Details菜单可以看到详细的CPU和内存使用情况信息:通过点击MoniterRoutingOSPF Information菜单则可以看到详细的OSPF路由信息统计:
copyright@ 2008-2022 冰豆网网站版权所有
经营许可证编号:鄂ICP备2022015515号-1