WDM

SDH

OTN

Ciena congiguration example

  • 基础配置

    NTP server

    ntp client add server <IP address | hostname > key-id <autokey>
    

    DNS client

    dns client add | remove server <IP address>  
    dns client enable | disable [server <ip address>]  
    

    System设置

    system set date | time | host-name  
    

    User account

    user create user <user-name> access-level <limited | admin | super> password <pwd>  
    user set user <user-name> access-level <limited | admin | super> password <pwd>  
    user delete user <user-name>  
    user show  
    
  • 线路侧波长配置

    配置线路侧速率(调制模式) 400Gbps, 200Gbps xcvr disable xcvr 2/1

    xcvr set xcvr 2/1 mode 56-400 | 35-200  
    

    (波特率-速率 56-400: 波长速率=400Gbps,波特率=56G,要求通道频谱=75GHz间隔,需要将线路端口连接在 ROADM端口上,或者新增加的100GHz间隔CMD单板上;配置400G模式时,4个100G客户侧端口都可使用​ 35-200, 波长速率=200Gbps, 波特率=35G,要求通道频谱=50GHz间隔,可以将线路端口连接在已有的M40/D40端口上,或者ROADM端口上​配置200G模式时,3/4, 7/8客户侧端口可用)

    xcvr enable xcvr 2/1  
    

    配置波长频率, 分配波长

    ptp disable ptp 2/1  
    ptp set ptp 2/1 frequency 194800.0 (设置波长中心频率,注意以GHz为单位  
    ptp enable ptp 2/1  
    

    调整波长Tx功率, 调整功率不影响业务(默认为-9dBm)

    ptp set ptp 2/1 tx-power <-9.0 .. 4.0>  
    

    查看线路侧波长配置

    ptp show [ptp <slot/port>], slot=1,2,3, port=1,2  
    xcvr show [xcvr <slot/port>]  slot=1,2,3, port=1,2 
    

    查看客户侧配置

    port show [port <slot/port>], slot=1,2,3, port=3, 4, …,10  
    xcvr show [xcvr <slot/port>]  slot=1,2,3, port=3, 4, …, 10  
    
  • SNMP 设置

    创建SNMP TargetAddrTable实例

    snmp create target (string) {addr (ip/mask) or host name>} {param-name (string)} [tag (string)][udp-port (0..65535)]  
    

    设置Target参数和安全名字

    snmp create target-parma <string> sec-name <string> sec-mode<v1 | v2c | v3>  
    

    使能SNMP

    snmp enable  
    

    查看SNMP配置
    snmp show target | target-parmas

  • 告警下插模式设置

    整个设备配置

    system defaults set conditioning-type <laser-off | none | Ethernet> [conditioning-holdoff<xx ms>]  
    

    设置某个端口

    port set port <slot/port> conditioning-type <none | laser-off | Ethernet | otn> [conditioning-holdoff <xx ms>]  
    
  • 查看性能
    pm show [ptp <slot/port>]  
    pm clear [ptp <slot/port>]  
    
  • 查看告警
    alarm show  
    
  • LLDP
    lldp enable | disable  
    lldp show neighbors  
    lldp set port <slot/port> mode <snoop | disable>  
    
  • 单板上电,连纤配置完成后,在未连接到线路dark fiber之前,可以使用OTU单板自带的ITS功能对站内单板,模块,连纤做环回测试,确认站内无异常

    单站连纤完成后,将CMD10 port13 IN/OUT口做环回,对OTU单板的每个100GE, 10GE光模块的客户侧Tx/Rx口做环回
    这样可以用来检查客户侧光模块,线路侧到CMD10连纤的整个单站路径上的是否正常。
    100GE端口

    port disable port 2/3  
    application its enable port 2/3  
    application its set port 2/3 duration xhymzs   x hours y minutes and z seconds, suggest 5分钟(根据站点工程师时间)  
    application its start port 2/3  
    application its show port 2/3 [status] [log-summary] [report]  
    

    10GE端口

    port disable port 2/5.1~4  
    application its enable port 2/5.1~4  
    application its set port 2/5.1~4 duration xhymzs  
    application its start port 2/5.1  
    application its show port 2/5.1~4 [status] [log-summary] [report]  
    

    测试完成后关闭ITS

    application its unset port 2/3 duration  
    application its unset port 2/5.1 duration  
    application its disable port 2/3  
    application its disable port 2/5.1~4   
    port enable port 2/3  
    port enable port 2/5.1~4
    
  • 只能对客户侧100GE, 10GE端口做ITS测试, 建议将物理端口做环回。

    //开始对客户端口做its测试,可以一次做一个端口,port slot#/port#, 也可以对一批端口一起做, PortList格式为 slot#/port#,slot#/port#,slot#/port#.1,
    其中用,隔开每个portid,中间不能有空格。40G扇出的4个10个子端口,用slot#/port#.1~4表示
    例如portlist=2/3,2/4,2/5.1,2/5.2,2/5.3,2/5.4,2/6.1,2/6.2,2/6.3,2/6.4,2/10.1,2/10.2,2/10.3,2/10.4,2/11.1,2/11.2,2/11.3,2/11.4,2/12.1,2/12.2,2/12.3,2/12.4

    portlist = 3/1,3/2,  
    port disable port 2/3  
    application its enable port 2/3  
    application its set port 2/3 duration 60s  
    application its start port 2/3  
    //  
    application its show port 2/3 status  
    application its show port 2/3 report  
    //测试完成后关闭该端口的its  
    application its unset port 2/3 duration  
    application its disable port 2/3  
    port enable port 2/3
    
  • 真实环境配置
    //connect to console port (USB-C or DB9) to set management IP address on each chassis
    dhcp client disabled  
    interface set interface local ip <xxx.xxx.xxx.xxx/26> gateway <yyy.yyy.yyy.yyy>  
    configuration save  
    //connect DCN port to switch, check LED light is green and using SSH  
    spli disable  
    //set system info, including host-name, SNMP server, time, date etc  
    system set host-name TEST  
    system set member-name TEST  
    license client set registration-id TEST  
    license file generate request  
    //upload the generated license request file to sftp server and sent to Ciena engineer to generate purchased license file  
    system xftp putfile sftp-server \<ip\> login-id \<username\> password \<pwd\> local-filename /license/request/TEST_regiseration.bin  
    snmp create target SNMP-1 addr xxx.xxx.xxx.xxx/32 param-name public-v2c  
    snmp create target-param public-v2c sec-name public sec-model v2c  
    snmp enable  
    ntp client add server xxx.xxx.xxx.xxx  
    ntp client enable  
    system set date 2021-3-20  
    system set time 10:00:00  
    system set time-offset 28800  
    //set client port conditioning type, default is ethernet.  
    system defaults set conditioning-type laser-off  
    system defaults set conditioning-holdoff 1000ms  
    //disable ilan port as all chassis are connected to DCN switch directly, no cascade chassis  
    chassis port disable port ilan-1  
    chassis port disable port ilan-2  
    //set each line port frequency, tx-power, mode(line rate 56-400)  
    // chassis-1, slot-2, 2x100GE+20x10GE (2-3 on fiber route1, 400G line rate @194.8THz)  
    xcxr disable xcvr 2/1  
    xcvr set xcvr 2/1 mode 56-400  
    xcvr enable xcvr 2/1  
    ptp disable ptp 2/1  
    ptp set ptp 2/1 frequency 194800.0  
    ptp set ptp 2/1 tx-power -9.0  
    ptp enable ptp 2/1  
    //chassis-1, slot-3, port1, 2x100GE (2-3 on fiber route1, 400G line rate@194.5THz)  
    xcvr disable xcvr 3/1  
    xcvr set xcvr 3/1 mode 56-400  
    xcvr enable xcvr 3/1  
    ptp disable ptp 3/1  
    ptp set ptp 3/1 frequency 194500.0  
    ptp set ptp 3/1 tx-power -9.0  
    ptp enable ptp 3/1  
    //chassis-1, slot-3, port2, 3x100GE (2-4, 400G line rate @194.8THz)  
    xcvr disable xcvr 3/2  
    xcvr set xcvr 3/2 mode 56-400  
    xcvr enable xcvr 3/2  
    ptp disable ptp 3/2  
    ptp set ptp 3/2 frequency 194800.0  
    ptp set ptp 3/2 tx-power -9.0  
    ptp enable ptp 3/2  
    // manually conmission CMD10 and OMS  
    ptp set ptp 1/13 auto-span-loss-compensation disabled  
    ptp set ptp 1/13 manual-span-loss 10.0  
    //when the link is up, check and calculate the span loss, and then re-set the span loss with calculated value  
    ptp show ptp 1/13 status  
    ptp set ptp 1/13 manual-span-loss xx.x  
    configuration save