Вы находитесь на странице: 1из 2

// khai bao siu//

starttransaction BLGR01
setmoattribute BLGR01 STN=0 stn_name BLGR01
//khai bao vlan, ip, interface//
createmo BLGR01 STN=0,EthernetInterface=Fastethernet0
setmoattribute BLGR01 STN=0,EthernetInterface=Fastethernet0 port Gigabit
setmoattribute BLGR01 STN=0,EthernetInterface=Fastethernet0 mode auto
setmoattribute BLGR01 STN=0,EthernetInterface=Fastethernet0 portNumber 0
setmoattribute BLGR01 STN=0,EthernetInterface=Fastethernet0 sendLinkAlarmAllowed
true
createmo BLGR01 STN=0,VLANGroup=WAN
setmoattribute BLGR01 STN=0,VLANGroup=WAN depLinkLayer STN=0,EthernetInterface=F
astethernet0
createmo BLGR01 STN=0,VLANGroup=WAN,VLAN=BLGR01
setmoattribute BLGR01 STN=0,VLANGroup=WAN,VLAN=BLGR01 tagValue 1004
createmo BLGR01 STN=0,IPInterface=BLGR01
setmoattribute BLGR01 STN=0,IPInterface=BLGR01 primaryIP_Address 10.36.104.153
setmoattribute BLGR01 STN=0,IPInterface=BLGR01 primarySubNetMask 255.255.255.252
setmoattribute BLGR01 STN=0,IPInterface=BLGR01 depLinkLayer STN=0,VLANGroup=WAN,
VLAN=BLGR01
setmoattribute BLGR01 STN=0,IPInterface=BLGR01 trustDSCP true
// khai bao ml - ppp//
createMO BLGR01 STN=0,ML-PPP=1
createmo BLGR01 STN=0,IPInterface=ML-PPP1
setmoattribute BLGR01 STN=0,IPInterface=ML-PPP1 primaryIP_Address 10.28.119.2
setmoattribute BLGR01 STN=0,IPInterface=ML-PPP1 primarySubNetMask 255.255.255.25
2
setmoattribute BLGR01 STN=0,ipinterface=ML-PPP1 defaultgateway 10.28.119.1
setMOAttribute BLGR01 STN=0,IPInterface=ML-PPP1 depLinkLayer STN=0,ML-PPP=1
setmoattribute BLGR01 STN=0,IPInterface=ML-PPP1 trustDSCP true
setmoattribute BLGR01 STN=0,synchronization=0 depIP_interface stn=0,IPInterface=
ML-PPP1
createMO BLGR01 STN=0,ML-PPP=1,PPP=0
createMO BLGR01 STN=0,ML-PPP=1,PPP=1
createMO BLGR01 STN=0,ML-PPP=1,PPP=2
createMO BLGR01 STN=0,ML-PPP=1,PPP=3
createMO BLGR01 STN=0,ML-PPP=1,PPP=4
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=0 startTS 1
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=1 startTS 1
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=2 startTS 1
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=3 startTS 1
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=4 startTS 1
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=0 endTS 31
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=1 endTS 31
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=2 endTS 31
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=3 endTS 31
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=4 endTS 31
createMO BLGR01 STN=0,E1T1Interface=0
createMO BLGR01 STN=0,E1T1Interface=1
createMO BLGR01 STN=0,E1T1Interface=2
createMO BLGR01 STN=0,E1T1Interface=3
createMO BLGR01 STN=0,E1T1Interface=4
setMOAttribute BLGR01 STN=0,E1T1Interface=0 type E1
setMOAttribute BLGR01 STN=0,E1T1Interface=1 type E1
setMOAttribute BLGR01 STN=0,E1T1Interface=2 type E1
setMOAttribute BLGR01 STN=0,E1T1Interface=3 type E1
setMOAttribute BLGR01 STN=0,E1T1Interface=4 type E1
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=0 depE1T1Interface 0
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=1 depE1T1Interface 1
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=2 depE1T1Interface 2
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=3 depE1T1Interface 3
setMOAttribute BLGR01 STN=0,ML-PPP=1,PPP=4 depE1T1Interface 4
createmo BLGR01 STN=0,RoutingTable=0,IPRoute=3G_DCN_BLGR01
setmoattribute BLGR01 STN=0,RoutingTable=0,IpRoute=3G_DCN_BLGR01 forwardingInter
face STN=0,IPInterface=BLGR01
setmoattribute BLGR01 STN=0,RoutingTable=0,IpRoute=3G_DCN_BLGR01 nextHopIpAddres
s 10.36.104.154
setmoattribute BLGR01 STN=0,RoutingTable=0,IpRoute=3G_DCN_BLGR01 destIpSubnet 10
.36.86.24/29
checkconsistency BLGR01
commit BLGR01
endTransaction BLGR01

Вам также может понравиться