中兴EPON C200 命令行操作手册(v1.0kU2T4 下载本文

内容发布更新时间 : 2024/6/12 16:19:45星期一 下面是文章的全部内容请认真阅读。

ZXPON C200 命令行操作手册 外部公开▲

6 单播配置命令

6.1 创建或删除单播地址条目

命令说明:创建或删除静态单播地址条目。

命令格式:configure unicast vlan vlanNo mac macAddress [unit unit] port port {create|delete} 参数说明:vlan—vlan号;mac—mac地址;unit—设备号;port—端口号。 mac地址的格式为:xx:xx:xx:xx:xx:xx。

取值范围:VLAN[1,4094],UNIT[1,3],PORT[1,28]。 使用举例:configure unicast vlan 2 mac 00:00:01:00:01:02 port 3 create 创建一个单播地址条目。

6.2 查询静态单播配置条目

命令说明:查询所有的或指定的静态单播配置

命令格式:show unicast config [vlan vlan] [mac mac] [unit unit] [port port] 参数说明:vlan—vlan号;mac—mac地址,unit—设备号,port—端口号。 取值范围:VLAN[1,4094];UNIT[1,3];PORT[1,28]。 使用举例:show unicast config vlan 2 mac 00:00:01:00:01:02 port 3 查询指定的静态单播的配置状态。 show unicast config 查询所有的静态单播信息。

6.3 查询单播地址配置信息

命令说明:查询所有的或某个指定的静动态单播地址条目信息。 命令格式:show unicast all [vlan vlan] [mac mac] [unit unit] [port port] 参数说明:vlan—vlan号;mac—mac地址,unit—设备号,port—端口号。 取值范围:VLAN[1,4094];UNIT[1,3];PORT[1,28]。 使用举例:show unicast all vlan 2 mac 00:00:01:00:01:02 port 3

本文中的所有信息归中兴通讯股份有限公司所有,未经允许,不得外传 第 27 / 89 页

ZXPON C200 命令行操作手册 外部公开▲

查询指定单播的配置状态。 show unicast all

查询所有静动态单播信息。

6.4 查询单播组数目

命令说明:查询已创单播地址表条目个数。 命令格式:show unicast num 参数说明:无。

使用举例:show unicast num

7 STP管理

7.1 使能STP协议

命令说明:打开或关闭STP协议。 命令格式:configure stp {enable|disable} 参数说明:无。

使用举例:configure stp enable 打开STP协议。 7.2 配置STP桥参数

命令说明:配置STP桥参数。

命令格式:configure stp bridge [priority priority] [maxage time] [hellotime time] [forwarddelay

time][forceversion version]

参数说明:forwarddelaytime从listening或learning状态转变到forwarding状态所经的时间间隔

hellotime是在任何端口上传送配置PDU之间的时间间隔,maxage是各个端口学习得到的stp信息被丢弃之前的最长生命期,priority是STP的优先级别,version是设置使用STP或RSTP协议。

取值范围:maxage[6,40],hellotime[1,10],forwarddelay[4,30], priority[0,65535],

version[stp|rstp]。

本文中的所有信息归中兴通讯股份有限公司所有,未经允许,不得外传 第 28 / 89 页

ZXPON C200 命令行操作手册 外部公开▲

使用举例:configure stp bridge priority 120 maxage 10 hellotime 3 forwarddelay 10

forceversion stp

7.3 配置STP端口信息

命令说明:设置一组STP端口的使能状态,路径代价和优先级。

命令格式:configure stp portProp [unit unit] ports portlist [{enable|disable}] [priority priority]

[pathcost pathcost] [nonstp nonstp] [edge edge] [p2p p2p]

参数说明:unit—设备号;ports—端口列表;priority—优先级;pathcost—路径代价;

nonstp—参与协议状态;edge—边缘端口;p2p—点对点端口。 取值范围:UNIT[1,3],PORT[1,28],COST[0,65535],PRIORITY[0,255],

nonstp[enable|disable],edge[true|false],p2p[auto|true|false]。 使用举例:configure stp portProp ports 3,4 enable 使能STP端口

configure stp portProp ports 3,4 priority 120 pathcost 20

7.4 查询STP桥配置和当前状态 命令说明:查询STP桥配置和当前状态信息,包括forwarddelaytime,hellotime,根桥,根端口,

根路径代价等。

命令格式:show stp bridge 参数说明:无。

使用举例:show stp bridge

7.5 查询STP端口状态

命令说明:查询STP端口信息,包括指定桥,指定端口,端口路径代价,端口的STP状态,优

先级等。支持批量查询。

命令格式:show stp portProp [unit unit] portlist 参数说明:unit—设备号,portlist—端口列表 取值范围:UNIT[1,3],PORT[1,28]。 使用举例:show stp portProp 3-5

本文中的所有信息归中兴通讯股份有限公司所有,未经允许,不得外传 第 29 / 89 页

ZXPON C200 命令行操作手册 外部公开▲

8 Trunking管理命令

8.1 配置Trunking模式

命令说明:配置Trunking模式

命令格式:configure trunking trunkId mode {srcMacBase|dstMacBase|srcdstMacBase |srcIpBase|dstIpBase|srcdstIpBase} 参数说明:trunkId—trunking组号,mode—trunking模式 取值范围:TRUNKID[1,128]。

使用举例:configure trunking 1 mode srcMacBase

配置trunking组1的模式为基于源mac地址

注意:配置模式之前,trunking组中需绑有端口,因为trunking组在端口的绑定过程中创建。

8.2 绑定或去绑定Trunking端口

命令说明:创建Trunking组并绑定端口或去绑定端口。 命令格式:configure trunking trunkId [unit unit] ports portlist [clear] 参数说明:trunkId—trunking组号,unit—设备号,ports—端口列表

取值范围:TRUNKID[1,128],UNIT[1,3],PORT[1,28]。 使用举例:configure trunking 1 unit 1 ports 3,4 创建Trunking组1,绑定端口3,4。

configure trunking 1 ports 4 clear 从Trunking组1中剔除端口4。

8.3 删除Trunking组

命令说明:删除Trunking组。

命令格式:configure trunking trunkId delete 参数说明:trunkId—trunking组号。

取值范围:TRUNKID[1,128]。 使用举例:configure trunking 1 delete

8.4 查询Trunking组信息

命令说明:查询指定Trunking组的配置信息,包括所绑定的端口,Trunking模式。 命令格式:show trunking [trunkId] 参数说明:trunkId—trunking组号。

取值范围:TRUNKID[1,128]。 使用举例:show trunking

本文中的所有信息归中兴通讯股份有限公司所有,未经允许,不得外传 第 30 / 89 页

ZXPON C200 命令行操作手册 外部公开▲

显示所有的Trunking组信息。 show trunking 1

显示Trunking组1的信息。

9 风暴控制命令

9.1 风暴控制状态配置

命令说明:使能组播、广播、洪泛风暴控制状态。

命令格式:configure stormCtrl type {broadcast|multicast|DLF} {enable|disable} 参数说明:无。

使用举例:configure stormCtrl type broadcast enable 使能广播风暴控制。

9.2 风暴控制速率设置

命令说明:设置风暴控制速率

命令格式:configure stormCtrl rate ratevalue

参数说明:rate—速率。范围:0-16000000,单位:pps(packet per second)。 使用举例:configure stormCtrl rate 16000 设置风暴控制速率为16000(pps)。

9.3 端口风暴控制速率设置 命令说明:配置指定端口的广播、组播或洪泛的风暴控制速率。

命令格式:configure stormCtrl type {broadcast|multicast|DLF} [unit unit] ports portlist

portRate ratevalue

参数说明:unit—设备号,ports—端口列表,portRate—速率

取值范围:UNIT[1,3];PORT[1,28];RATE[0,16000000],单位:pps(packet per second)。

使用举例::configure stormCtrl type broadcast unit 1 ports 3,4 portRate 10000 设置端口3,4的广播风暴控制速率为10000pps。

9.4 查询风暴控制状态

命令说明:查询风暴控制速率,广播、组播及洪泛的风暴控制使能状态。 命令格式:show stormCtrl cfg 参数说明:无

使用举例:show stormCtrl cfg

本文中的所有信息归中兴通讯股份有限公司所有,未经允许,不得外传 第 31 / 89 页