1 OLT配置
查看板卡信息
Raisecom#show card
创建板卡
Raisecom(fttx)#create card slot 1 type 2pon
Raisecom(fttx)#create card slot 6 type 4ge|2ge
查看各槽位板卡软件版本
Raisecom#show version slot 1-13
查看端口对应表
Raisecom(fttx)#show port-mapping
PON端口VLAN配置
设置端口的VLAN模式
Raisecom(config-port)# switchport mode (access|trunk)
设置端口的Access VLAN
Raisecom(config-port)# switchport access vlan vid
设置Trunk端口允许通过的VLAN:
Raisecom(config-port)# switchport trunk allowed vlan (all | vlan-list | add add-vlan-list | remove remove-vlan-list)
上联GE端口VLAN配置
设置端口的VLAN模式
Raisecom(config-port)# switchport mode (access | hybrid [double-tagging]| trunk [double-tagging]| dot1q-tunnel)
设置端口的Access VLAN
Raisecom(config-port)# switchport access vlan vid
设置Trunk端口允许通过的VLAN:
Raisecom(config-port)# switchport trunk allowed vlan (all | vlan-list | add add-vlan-list | remove remove-vlan-list)
显示端口VLAN属性配置
Raisecom#show interface port switchport
2 ONU配置
配置ONU注册自动授权
Raisecom(fttx)#interface olt 1/1
Raisecom(fttx-olt1:1)# automatic-authorization enable
关闭ONU注册自动授权
Raisecom(fttx-olt1:1)# automatic-authorization disable
自动创建的ONU设备转变为用户显式创建(必须配置)
Raisecom(fttx)#interface onu 1/1/1
Raisecom(fttx-onu1/1:1)#creation-type automatic-to-manual
查询OLT注册授权模式
Raisecom(fttx)#show interface olt 1/1 information
查看ONU版本信息
Raisecom#show version onu 1/1/1-32
查询ONU 信息
Raisecom #show interface onu 1/1/1-32 information
查询ONU 创建信息
Raisecom #show interface onu 1/1/1-32 creation-information
查询ONU状态和测距
Raisecom #show interface onu 1/1/1-32 online-information
ONU设备进行MAC地址的重新绑定
Raisecom(fttx-onu2/1:1)#rebind mac 000e.5e00.0001
ONU以太网端口的VLAN配置
Raisecom(fttx-onu-uni1/1/1:1)vlan mode (transparent|tagged|translation)
配置ONU以太网端口VLAN标签中的VID
Raisecom(fttx-onu-uni1/1/1:1)vlan vid vlan-id
显示ONU以太网端口的VLAN信息
Raisecom #show interface onu slot-id/olt-id/onu-id uni ethernet [uni] vlan
3 VLAN配置实例
EPON系统中VLAN 的配置分为:OLT的PON口的上行VLAN配置,OLT的PON口的下行VLAN配置(实际上配置的就是ONU的交换端口),OLT的交换端口VLAN配置。
在通常的应用情况下,建议OLT侧PON接口处VLAN为透传模式(缺省即为该模式),更复杂的VLAN功能如QinQ等建议在交换接口侧配置。ONU侧建议仅配置为TAG模式使设备能够添加VLAN标签,从而能够识别不同业务。以下是一个配置实例:
图1:网络拓扑
如图1,ISCOM5800的6槽位4GE板卡的第一个千兆口连接客户网络的IP城域网交换机(对应交换端口11,可以通过show port-mapping查看),第一槽位2PON板的第一个PON口接分光器并下挂ONU,要求ONU起VLAN标签上来,则其配置如下:
OLT 上联GE端口VLAN配置
Raisecom(config)# create vlan 100 active
Raisecom(config)#interface port 11
Raisecom(config-range)#switchport mode trunk
Raisecom(config-range)#switchport trunk allowed vlan 100
OLT PON端口VLAN配置
Raisecom(config)#interface port 1
Raisecom(config-range)#switchport mode trunk
Raisecom(config-range)#switchport trunk allowed vlan 100
ONU以太网端口VLAN配置
Raisecom(fttx)#interface onu 1/1/1
Raisecom(fttx-onu1/1:1)#uni ethernet 1
Raisecom(fttx-onu-uni1/1/1:1)#vlan mode tagged
Set successfully
Raisecom(fttx-onu-uni1/1/1:1)#vlan vid 100
注:ACL一般配置应用在交换端口上,具体见交换机的ACL配置。
4 速率功能配置
配置ONU链路下行速率
Raisecom(fttx)#interface onu 1/1/1
Raisecom (fttx-onu1/1:1)#policing downstream rate 999994
配置ONU链路上行DBA速率(峰值带宽,保证带宽,固定速率)
Raisecom (fttx-onu1/1:1)#sla pir 51200 //上行峰值带宽设置为 50M
Raisecom (fttx-onu1/1:1)#sla cir 512
Raisecom (fttx-onu1/1:1)#sla fir 0
查看上行带宽信息
Raisecom (fttx-onu1/1:1)#show interface onu 1/1/1 sla
FIR: Fixed information rate
CIR: Commited information rate
PIR: Peak information rate
ONU ID FIR (Kbps) CIR(Kbps) PIR(Kbps) Priority
-----------------------------------------------------------------
1/1/1 0 512 51200 0
配置ONU的以太网端口下行速率
Raisecom(fttx-onu-uni1/1/1:1)#policing engress enable
Raisecom(fttx-onu-uni1/1/1:1)#policing egress cir 100000
配置ONU的以太网端口上行速率
Raisecom(fttx-onu-uni1/1/1:1)#policing igress enable
Raisecom(fttx-onu-uni1/1/1:1)#policing ingress cir 100000
5.网管配置
配置读共同体123
Raisecom(config)#snmp-server community 123 ro
配置网管服务器IP:192.168.4.100,网管上告告警端口号162,读共同体123
Raisecom(config)#snmp-server host 192.168.4.100 version 2c 123 udpport 162
Set successfully
卢艳良
2009-5-13