千家论坛_弱电智能化技术与工程讨论(建筑智能,家居智能,人工智能)

电话交换机(PABX)
收藏本版 (3) |订阅

电话交换机(PABX) 今日: 2023 |主题: 11205|排名: 45 

发新帖
打印 上一主题 下一主题

Alcatel-Lucent交换机设置及维护之二常用命令...

[复制链接]
lwz198200 发布于: 2011-2-18 10:52 1157 次浏览 3 位用户参与讨论
跳转到指定楼层

Alcatel-Lucent交换机设置及维护之二常用命令

来源:深圳市天网通科技有限公司工程师

一、AOS系统常用命令

1、 设置访问权限

    -> aaa authentication telnet local
    -> aaa authentication ftp local
    -> aaa authentication http local
    -> aaa authentication snmp local
    -> aaa authentication default local
?
2、设置系统时间
   -> system time 18:35:00
   -> system date 11/27/2009
?
3设置系统备注
   -> system contact “JSmith X477 js@company.com  //指定一个管理联系人
   -> system name “Engineering Switch 3”           //指定系统名
   -> system location “NMS Lab-1”                  //指定交换机位置
   -> session prompt default "9700A->"                //修改提示符
4、运行目录和文件
   -> show running-directory
   -> ls
   -> cd working
   -> cd certified
   -> ?
  Tab键
5、显示交换机硬件信息(交换机硬件拆装时,需要带防静电环)
   -> show cmm
   -> show ni
   -> show hardware info
6、显示交换机软件信息
   -> show microcode
   -> show microcode history
7、显示交换机日志记录
   -> show log swlog
8、显示交换机配置
   -> show configuration snapshot
   -> show configuration snapshot qos
9、重启交换机
   -> reload working no rollback-timeout
   -> takeover
   -> reload
10、管理VLAN命令
1)VLAN设置
   -> vlan 2 name test
   -> ip interface vlan2 address 10.1.0.1 mask 255.255.255.0 vlan 2
   -> vlan 2 port default 1/1-5
   -> vlan 2 no port default 1/1-5
   -> show vlan 2 port
?
2)802.1q的VLAN端口
   -> vlan 2 802.1q 1/6
   -> vlan 2 no 802.1q 1/6
   -> show vlan 2 port
11、管理接口命令
?
1)管理通信模块
   -> no power ni slot 3
   -> power ni slot 3
?
2)启用或禁用一个端口
   -> interfaces 2/3 admin down
?
3)显示端口错误信息
   -> show interfaces counters errors
?
4)显示统计信息
   -> show interfaces counters
?
5)显示端口状态信息
   -> show interfaces status
12、配置接口命令
1)配置端口速率
  -> interfaces 5/1 speed 100
  -> interfaces 2/3 speed auto
?
2)配置在线双工模式
  -> interfaces 5/1 duplex full(half、auto)
?
3)设置端口自协商
  -> interfaces 3/1 autoneg disable
  -> interfaces 3/1-4 autoneg disable
?
4) 指定Combo口使用类型
  -> interfaces 1/47-48 hybrid preferred-copper
  -> interfaces 1/47-48 hybrid forced-fiber
  -> interfaces 1/47-48 hybrid forced-copper
13、管理路由命令
1) 设置路由
   -> ip static-route 0.0.0.0 mask 0.0.0.0 gateway 10.1.0.202
   -> ip static-route 202.96.22.0 mask 255.255.255.0 gateway 10.1.0.35
2) 显示路由信息
   -> show ip interface
   -> show ip router

 
回复

使用道具 举报

已有3人评论

新浪微博达人勋

千家认证

沙发
lwz198200 发表于 2011-2-18 10:54:00
二、6200常用命令
   console>enable
   console#configure
   console(config)#username admin password switch level 15
   console(config)#interface vlan 1
   console(config-if)#ip address 192.168.1.1 255.255.255.0
   console(config)#ip default-gateway 192.168.1.254
   console(config)# vlan database
   console(config-vlan)# vlan 2
   console(config)# interface ethernet e1
   console(config-if)# switchport access vlan 2  
   console(configure)#interface ethernet g1
   console(config-if)#switchport mode general
   console(config-if)# switchport general allowed vlan add 2
   console# copy running-config startup-config
回复 支持 反对

使用道具 举报

新浪微博达人勋

千家认证

板凳
lwz198200 发表于 2011-2-18 10:54:00
三、系统及配置文件的备份
1、AOS系统
   C:>ftp 192.168.1.254
   ftp> hash
   Hash mark printing On  ftp: (2048 bytes/hash mark) .
   ftp> binary
   200 Type set to I
   ftp> prompt
   Interactive mode Off .
   ftp> get boot.cfg d:\boot.cfg
   ftp> put d:\boot.cfg boot.cfg
   ftp> mget *.img d:\
 
2、6200系统
   console>enable
   console#copy startup-config tftp://192.168.0.2/config
   console#copy tftp://192.168.0.2/config startup-config
   console#copy image-1 tftp://192.168.0.2/backup.img
   注:6200系统的备份与升级均需使用tftp服务器
回复 支持 反对

使用道具 举报

新浪微博达人勋

千家认证

地板
lwz198200 发表于 2011-2-18 10:54:00
四、NTP设置
1、NTP基本介绍
1)Network Time Protocol(NTP)是用来使计算机时间同步化的一种协议,它可以使计算机对其服务器或时钟源(如石英钟,GPS等等)做同步化,它可以提供高精准度的时间校正(LAN上与标准间差小于1毫秒,WAN上几十毫秒),且可介由加密确认的方式来防止恶毒的协议攻击。
2)NTP协议是OSI参考模型的高层协议,符合UDP传输协议格式,拥有专用端口123。
3)如何创建NTP Server(可使用第三方的软件,也可使用windows系统自带的W32Time服务,以下为如何使用windows自带的NTP):
   A、默认情况下,独立服务器Windows Server 2003 和Windows XP是作为NTP客户端工作的,所以必须通过修改注册表,以使系统作为NTP服务器运行。工作之前请先备份注册表文件。
   B、修改键值HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer下的Enabled为1,打开NTP服务器功能(默认是不开启NTP Server服务,除非电脑升级成为域控制站
   C、修改键值HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\下的AnnounceFlags设定为5.该设定强制主机将它自身宣布为可靠的时间源,从而使用内置的互补金属氧化物半导体 (CMOS) 时钟。如果要采用外面的时间服务器就用默认的a值即可。
   D、重启Win32Time服务:net stop w32Time,net start w32Time
 
2、AOS系统NTP设置
   -> system timezone +8           //设置时区,格林威治+8,北京时间
   -> ntp server unsynchronized     //如果NTP服务器不是原子钟的,默认会被丢弃,需使用此命令来允许
   -> ntp server 192.168.0.2       //指定NTP服务器
   -> ntp client enable           //启用客户端同步
   -> show ntp server status
   -> show ntp client
 
3、6200系统NTP设置
   console(config)# clock source sntp             //设置时间源为sntp
   console(config)# clock timezone +8 zone GMT    //设置时区,格林威治+8,北京时间
   console(config)# sntp unicast client poll      //使用单播请求
   console(config)# sntp unicast client enable    //启用同步(若更换server地址,需重新enable一次)
   console(config)# sntp server 192.168.0.2       //设置sntp服务器的地址
   console# show sntp configuration
   console# show sntp status
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 新浪微博登陆 千家通行证登陆

本版积分规则

千家智客微信号
千家智客微信
玩物说商城
玩物说商城