You are on page 1of 9

**/protect uplink port

huawei(config)#link-aggregation 0/19 0 0/19 1 egress-ingress workmode lacp-stati


c
huawei(config)#protect
huawei(config-protect)#protect-group first 0/19/0 second 0/19/1 eth workmode
timedelay enable
eg to uplink vlan :::huawei(config)#port vlan 10 0/19 0-1
***************************
terminal user password**********
huawei(config)#terminal user password
User name (<=15 chars):huawei
New password(<=15 chars):huawei
Confirm Password(<=15 chars):huawei
Information takes effect
Repeat this operation? (y/n)[n]:n
*************************
>>User name:root
>>User password:
MA5680T>enable
MA5680T#config
MA5680T(config)#vlan 106 standard
MA5680T(config)#interface vlanif 106
MA5680T(config)#ip add 0.0.0.0 24
MA5680T(config)#interface eth 0/6
MA5680T(config-if-eth-0/6)#network-role uplink
MA5680T(config-if-eth-0/6)#quit
MA5680T(config)#undo isolate board 0/6
MA5680T(config)#undo isolate board 0/7
MA5680T(config)#Vlan 106 standard
MA5680T(config)#Vlan 128 to 500 smart
MA5680T(config)#Vlan 1806 smart
MA5680T(config)#Vlan 1820 smart
MA5680T(config)#Vlan 3042 smart
MA5680T(config)#Port vlan 106 0/6 0
MA5680T(config)#Port vlan 128 to 500 0/6 0
MA5680T(config)#Port vlan 1820 0/6 0
MA5680T(config)#Port vlan 1806 0/6 0
************************************************************************
MA5680T(config)#ont-profile add profile-id 22
MA5680T(config)#DBA-profile add profile-id 22 type1 fix 10240
**************************************************************************
MA5680T(config)#interface gpon 0/1
MA5680T(config-if-gpon-0/1)#port 0 ont-auto-find enable
MA5680T(config-if-gpon-0/1)#display ont autofind 0
-----------------------------------------------------------------------Number
F/ S/ P
SN
Password 323031310F2F2502
-----------------------------------------------------------------------1
0/ 1/ 0
323031310F341D02
-----------------------------------------------------------------------********************************************************************************

*****
MA5680T(config-if-gpon-0/1)#ont confirm 0 ontid 1 sn-auth 323031310F341D02 profi
le-id 22
MA5680T(config-if-gpon-0/1)#tcont bind-profile 0 1 1 profile-id 22
MA5680T(config-if-gpon-0/1)#gemport add 1 gemportid 128 eth
MA5680T(config-if-gpon-0/1)#ont gemport bind 0 1 128 1 priority-queue 0
MA5680T(config-if-gpon-0/1)#ont port vlan 0 1 eth 11 1-4
MA5680T(config-if-gpon-0/1)#ont port native-vlan 0 1 eth 1-4 vlan 11
MA5680T(config-if-gpon-0/1)#ont gemport mapping 0 1 128 vlan 11
service-port vlan 128 gpon 0/1/0 gemport 128 multi-service user-vlan 11 rx-cttr
5 tx-cttx 5
*********************************VOIP*******************************************
*************
VOIP
**tcount bind-profile 0 1 2 profile-id 6
MA5680T(config-if-gpon-0/1x#gemport add 0 gemportid 129 eth
MA5680T(config-if-gpon-0/1)#ont gemport bind 0 1 129 2 priority-queue 0
MA5680T(config-if-gpon-0/1)#ont gemport mapping 0 1 129 vlan 12
MA5680T(config-if-gpon-0/1)#ont port vlan 0 1 iphost 12 x
MA5680T(config-if-gpon-0/1)#ont port native-vlan 0 1 iphost vlan 12 priority 6
//MA5680T(config)#traffic table ip cir off priority user-cos 6 priority-policy t
ag-In-Package
MA5680T(config)#service-port vlan 1820 gpon 0/1/0 gemport 129 multi-service user
-vlan 12 rx-cttr 0 tx-cttr 0
*****************************************************IPTV***********************
**************
*/config)# traffic table ip index 8 cir 1024 priority 5 priority-policy tag-in p
ackage
*/config)# traffic table ip index 9 cir 5128 priority 5 priority-policy tag-in p
ackage
tcount bind-profile 1 0 3 profile-id 6
MA5680T(config-if-gpon-0/1)#gemport add 1 gemportid 130 eth
MA5680T(config-if-gpon-0/1)#ont gemport bind 0 1 130 1 priority-queue 0
MA5680T(config-if-gpon-0/1)#ont gemport mapping 0 1 130 vlan 13
MA5680T(config-if-gpon-0/1)#ont port vlan 0 1 eth 13
MA5680T(config-if-gpon-0/1)#ont port native-vlan 0 1 eth 2 vlan 13
*****
MA5680T(config-if-gpon-0/1)#quit
MA5680T(config)#service-port 0 vlan 128 gpon 0/1/0 gemport 128 multi-service use
r-vlan 11 rx-cttr 6 tx-cttr 6 (Internet)
MA5680T(config)#service-port 1 vlan 1806 gpon 0/1/0 gemport 130 multi-service us
er-vlan 13 rx-cttr 6 tx-cttr 6 (IPTV)
MA5680T(config)#btv
MA5680T(config-btv)#igmp user add service-port 1 no-auth quickleave mac-based
*/igmp mode proxy
MA5680T(config-mvlan1806)#igmp uplink-port 0/17/0
(ip tv 10.51.192.5- pc
255.255.248.0
10.51.192.1)
MA5680T(config-btv)#quit
MA5680T(config)multicast-vlan 1806

igmp multicast-vlan member service-port-list 1 *(service-port 4)


*//igmp multicast-vlan member port 0/2/0 gemport 152
*/igmp uplink-port-mode default
igmp mode snooping
igmp program add ip 226.13.2.1 index 1
igmp program add ip 226.13.2.2 index 2
igmp program add ip 226.13.2.3 index 3
igmp program add ip 226.13.2.4 index 4
igmp program add ip 226.13.2.5 index 5
igmp program add ip 226.13.2.6 index 6
igmp program add ip 226.13.2.7 index 7
igmp program add ip 226.13.2.8 index 8
igmp program add ip 226.13.2.9 index 9
igmp program add ip 226.13.2.10 index 10
igmp program add ip 226.13.2.11 index 11
igmp program add ip 226.13.2.12 index 12
igmp program add ip 226.13.2.13 index 13
igmp program add ip 226.13.2.14 index 14
igmp program add ip 226.13.2.15 index 15
igmp program add ip 226.13.2.16 index 16
igmp program add ip 226.13.2.17 index 17
igmp program add ip 226.13.2.18 index 18
igmp program add ip 226.13.2.19 index 19
igmp program add ip 226.13.2.20 index 20
igmp program add ip 226.13.2.21 index 21
igmp program add ip 226.13.2.22 index 22
igmp program add ip 226.13.2.23 index 23
igmp program add ip 226.13.2.24 index 24
igmp program add ip 226.13.2.25 index 25
igmp program add ip 226.13.2.26 index 26
igmp program add ip 226.13.2.27 index 27
igmp program add ip 226.13.2.28 index 28

igmp program add ip 226.13.2.29 index 29


igmp program add ip 226.13.2.30 index 30
igmp program add ip 226.13.2.31 index 31
igmp program add ip 226.13.2.32 index 32
igmp program add ip 226.13.2.33 index 33
igmp program add ip 226.13.2.34 index 34
igmp program add ip 226.13.2.35 index 35
igmp program add ip 226.13.2.36 index 36
igmp program add ip 226.13.2.37 index 37
igmp program add ip 226.13.2.38 index 38
igmp program add ip 226.13.2.39 index 39
igmp program add ip 226.13.2.40 index 40
igmp program add ip 226.13.2.41 index 41
igmp program add ip 226.13.2.42 index 42
igmp program add ip 226.13.2.43 index 43
igmp program add ip 226.13.2.44 index 44
igmp program add ip 226.13.2.45 index 45
igmp program add ip 226.13.2.46 index 46
igmp program add ip 226.13.2.47 index 47
igmp program add ip 226.13.2.48 index 48
igmp program add ip 226.13.2.49 index 49
igmp program add ip 226.13.2.50 index 50
igmp program add ip 226.13.2.51 index 51
igmp program add ip 226.13.2.52 index 52
igmp program add ip 226.13.2.53 index 53
igmp program add ip 226.13.2.54 index 54
igmp program add ip 226.13.2.55 index 55
igmp program add ip 226.13.2.56 index 56
igmp program add ip 226.13.2.57 index 57
igmp program add ip 226.13.2.58 index 58

igmp program add ip 226.13.2.59 index 59


igmp program add ip 226.13.2.60 index 60
igmp program add ip 226.13.2.61 index 61
igmp program add ip 226.13.2.62 index 62
igmp program add ip 226.13.2.63 index 63
igmp program add ip 226.13.2.64 index 64
igmp program add ip 226.13.2.65 index 65
igmp program add ip 226.13.2.66 index 66
igmp program add ip 226.13.2.67 index 67
igmp program add ip 226.13.2.68 index 68
igmp program add ip 226.13.2.69 index 69
igmp program add ip 226.13.2.70 index 70
igmp program add ip 226.13.2.71 index 71
igmp program add ip 226.13.2.72 index 72
igmp program add ip 226.13.2.73 index 73
igmp program add ip 226.13.2.74 index 74
igmp program add ip 226.13.2.75 index 75
igmp program add ip 226.13.2.76 index 76
igmp program add ip 226.13.2.77 index 77
igmp program add ip 226.13.2.78 index 78
igmp program add ip 226.13.2.79 index 79
igmp program add ip 226.13.2.80 index 80
igmp program add ip 226.13.2.81 index 81
igmp program add ip 226.13.2.82 index 82
igmp program add ip 226.13.2.83 index 83
igmp program add ip 226.13.2.84 index 84
igmp program add ip 226.13.2.85 index 85
igmp program add ip 226.13.2.86 index 86
igmp program add ip 226.13.2.87 index 87
igmp program add ip 226.13.2.88 index 88

igmp program add ip 226.13.2.89 index 89


igmp program add ip 226.13.2.90 index 90
igmp program add ip 226.13.2.91 index 91
igmp program add ip 226.13.2.92 index 92
igmp program add ip 226.13.2.93 index 93
igmp program add ip 226.13.2.94 index 94
igmp program add ip 226.13.2.95 index 95
igmp program add ip 226.13.2.96 index 96
igmp program add ip 226.13.2.97 index 97
igmp program add ip 226.13.2.98 index 98
igmp program add ip 226.13.2.99 index 99
igmp program add ip 226.13.2.100 index 100
igmp program add ip 226.13.2.101 index 101
igmp program add ip 226.13.2.102 index 102
igmp program add ip 226.13.2.103 index 103
igmp program add ip 226.13.2.104 index 104
igmp program add ip 226.13.2.105 index 105
igmp program add ip 226.13.2.106 index 106
igmp program add ip 226.13.2.107 index 107
igmp program add ip 226.13.2.108 index 108
igmp program add ip 226.13.2.109 index 109
igmp program add ip 226.13.2.110 index 110
igmp program add ip 226.13.2.111 index 111
igmp program add ip 226.13.2.112 index 112
igmp program add ip 226.13.2.113 index 113
igmp program add ip 226.13.2.114 index 114
igmp program add ip 226.13.2.115 index 115
igmp program add ip 226.13.2.116 index 116
igmp program add ip 226.13.2.117 index 117
igmp program add ip 226.13.2.118 index 118

igmp program add ip 226.13.2.119 index 119


igmp program add ip 226.13.2.120 index 120
igmp program add ip 226.13.2.121 index 121
igmp program add ip 226.13.2.122 index 122
igmp program add ip 226.13.2.123 index 123
igmp program add ip 226.13.2.124 index 124
igmp program add ip 226.13.2.125 index 125
igmp program add ip 226.13.2.126 index 126
igmp program add ip 226.13.2.127 index 127
igmp program add ip 226.13.2.128 index 128
igmp program add ip 226.13.2.129 index 129
igmp program add ip 226.13.2.130 index 130
igmp program add ip 226.13.2.131 index 131
igmp program add ip 226.13.2.132 index 132
igmp program add ip 226.13.2.133 index 133
igmp program add ip 226.13.2.134 index 134
igmp program add ip 226.13.2.135 index 135
igmp program add ip 226.13.2.136 index 136
igmp program add ip 226.13.2.137 index 137
igmp program add ip 226.13.2.138 index 138
igmp program add ip 226.13.2.139 index 139
igmp program add ip 226.13.2.140 index 140
igmp program add ip 226.13.2.141 index 141
igmp program add ip 226.13.2.142 index 142
igmp program add ip 226.13.2.143 index 143
igmp program add ip 226.13.2.144 index 144
igmp program add ip 226.13.2.145 index 145
igmp program add ip 226.13.2.146 index 146
igmp program add ip 226.13.2.147 index 147
igmp program add ip 226.13.2.148 index 148

igmp program add ip 226.13.2.149 index 149


igmp program add ip 226.13.2.150 index 150
igmp program add ip 226.13.2.151 index 151
igmp program add ip 226.13.2.152 index 152
igmp program add ip 226.13.2.153 index 153
igmp program add ip 226.13.2.154 index 154
igmp program add ip 226.13.2.155 index 155
igmp program add ip 226.13.2.156 index 156
igmp program add ip 226.13.2.157 index 157
igmp program add ip 226.13.2.158 index 158
igmp program add ip 226.13.2.159 index 159
igmp program add ip 226.13.2.160 index 160
igmp program add ip 226.13.2.161 index 161
igmp program add ip 226.13.2.162 index 162
igmp program add ip 226.13.2.163 index 163
igmp program add ip 226.13.2.164 index 164
igmp program add ip 226.13.2.165 index 165
igmp program add ip 226.13.2.166 index 166
igmp program add ip 226.13.2.167 index 167
igmp program add ip 226.13.2.168 index 168
igmp program add ip 226.13.2.169 index 169
igmp program add ip 226.13.2.170 index 170
igmp program add ip 226.13.2.171 index 171
igmp program add ip 226.13.2.172 index 172
igmp program add ip 226.13.2.173 index 173
igmp program add ip 226.13.2.174 index 174
igmp program add ip 226.13.2.175 index 175
igmp program add ip 226.13.2.176 index 176
igmp program add ip 226.13.2.177 index 177
igmp program add ip 226.13.2.178 index 178

igmp program add ip 226.13.2.179 index 179


igmp program add ip 226.13.2.180 index 180
igmp program add ip 226.13.2.181 index 181
igmp program add ip 226.13.2.182 index 182
igmp program add ip 226.13.2.183 index 183
igmp program add ip 226.13.2.184 index 184
igmp program add ip 226.13.2.185 index 185
igmp program add ip 226.13.2.186 index 186
igmp program add ip 226.13.2.187 index 187
igmp program add ip 226.13.2.188 index 188
igmp program add ip 226.13.2.189 index 189
igmp program add ip 226.13.2.190 index 190
igmp program add ip 226.13.2.191 index 191
igmp program add ip 226.13.2.192 index 192
igmp program add ip 226.13.2.193 index 193
igmp program add ip 226.13.2.194 index 194
igmp program add ip 226.13.2.195 index 195
igmp program add ip 226.13.2.196 index 196
igmp program add ip 226.13.2.197 index 197
igmp program add ip 226.13.2.198 index 198
igmp program add ip 226.13.2.199 index 199
igmp program add ip 226.13.2.200 index 200