文档库

最新最全的文档下载
当前位置:文档库 > 最详细的C300开局脚本

最详细的C300开局脚本

add-card rackno 1 shelfno 1 slotno 15 ETGO

add-card rackno 1 shelfno 1 slotno 16 ETGO

add-card rackno 1 shelfno 1 slotno 17 ETGO

add-card rackno 1 shelfno 1 slotno 18 CICG

add-card rackno 1 shelfno 1 slotno 19 GUSQ

add-card rackno 1 shelfno 1 slotno 20 GUSQ

添加板卡,如果当前插槽上没有板卡的话,就不要添加

hostname MXYQQ-C300-16

设备命名

命名规则为:局名缩写+分区缩写-设备名称-序列号

vlan database

vlan 1,6,9-39,2010-2039,2500-2699,3991-3992

vlan 3997,4000

ex

创建VLAN

interface vlan 9

ip address 10.169.104.41 255.255.255.0

ex

进入VLAN 9(OLT管理vlan)

添加IP地址和子网掩码

interface vlan3997

ip proxy-arp

Ex

进入VLAN 3997(VLAN 3997 为语音)

开启代理ARP

interface vlan 6

ip address 172.16.0.1 255.255.224.0

ex

进入VLAN 6(ONU管理VLAN)

添加IP地址

mpnat onu-mng-vlan 6

定义VLAN 6为ONU管理VLAN

ip route 123.124.120.0 255.255.255.0 10.169.104.1