Chapter 38 Command Examples
OLT-1308 Series User’s Guide
284
Use these commands to create a VLAN profile for the downstream traffic. You can also create
VLAN profile for the upstream traffic, replace
downstream
with
upstream
.
The following shows an example rule on the incoming packets from the OLT to the ONU.
• Create a VLAN profile called
VProfile
on fiber port 1.
• Enable the service profile.
• Enable a rule for downstream traffic.
• Set the rule to check packets with a VLAN ID of 14.
• Set the rule action on the matched packets. This rule removes the VLAN tag from the
incoming packets.
action <delete|
exchange| none>
= Specify the action to perform on matched packets.
Enter
delete
to insert a VLAN tag to outgoing packets
or delete the VLAN tag from incoming packets.
Enter
exchange
to replace the VID with the one
specified in the VLAN ID field.
Select
none
to forward packets without any changes.
new-vid <1-4094>
= Enter a VLAN ID (from 1 to 4094) of the packet.
For the
exchange
action, this replaces the packet’s
VLAN ID.
Note: For downstream traffic, this field is
ignored. However, you cannot leave this
field blank. Enter any number.
priority-src
<original| priority-
profile>
= Enter
original
if you don’t want to change the priority
of the packets.
Enter
priority-profile
to change the packet priority
based on the settings in the priority profile configured for
the ONU. If no priority settings are configured for the
matched packets, the TOS-COS settings in the priority
profile apply.
type <ethertype| ipv4|
vlan>
= Sets the rule type.
value <ethertype<0-
65295>|ipv4<1-255>|vid
<1-4094>>
= Specify the Ethernet type, protocol type or VLAN ID.
sysname(config)# vlan-profile VProfile
sysname(config-vlan-profile)# active
sysname(config-vlan-profile)# downstream rule 1 active
sysname(config-vlan-profile)# downstream rule 1 type vlan
sysname(config-vlan-profile)# downstream rule 1 value 14
sysname(config-vlan-profile)# downstream rule 1 new-vid 14
sysname(config-vlan-profile)# downstream rule 1 action delete
sysname(config-vlan-profile)#
Summary of Contents for OLT-1308
Page 2: ......
Page 7: ...Safety Warnings OLT 1308 Series User s Guide 7 ...
Page 8: ...Safety Warnings OLT 1308 Series User s Guide 8 ...
Page 28: ...List of Tables OLT 1308 Series User s Guide 28 ...
Page 30: ...30 ...
Page 34: ...Chapter 1 Introducing the OLT OLT 1308 Series User s Guide 34 ...
Page 38: ...Chapter 2 Hardware Installation and Connection OLT 1308 Series User s Guide 38 ...
Page 44: ...44 ...
Page 58: ...Chapter 5 Initial Setup Example OLT 1308 Series User s Guide 58 ...
Page 72: ...Chapter 6 System Status and Port Statistics OLT 1308 Series User s Guide 72 ...
Page 94: ...Chapter 7 Basic Setting OLT 1308 Series User s Guide 94 ...
Page 96: ...96 ...
Page 106: ...Chapter 8 VLAN OLT 1308 Series User s Guide 106 ...
Page 116: ...Chapter 11 Spanning Tree Protocol OLT 1308 Series User s Guide 116 ...
Page 126: ...Chapter 15 Link Aggregation OLT 1308 Series User s Guide 126 ...
Page 132: ...Chapter 17 Queuing Method OLT 1308 Series User s Guide 132 ...
Page 138: ...Chapter 18 Classifier OLT 1308 Series User s Guide 138 ...
Page 143: ...Chapter 19 Policy OLT 1308 Series User s Guide 143 Figure 53 Policy Example ...
Page 144: ...Chapter 19 Policy OLT 1308 Series User s Guide 144 ...
Page 158: ...158 ...
Page 162: ...Chapter 22 Classification Filter Profile OLT 1308 Series User s Guide 162 ...
Page 172: ...Chapter 23 VLAN Profile OLT 1308 Series User s Guide 172 ...
Page 184: ...Chapter 26 Destination Filter OLT 1308 Series User s Guide 184 ...
Page 188: ...Chapter 27 Port Authentication OLT 1308 Series User s Guide 188 ...
Page 190: ...190 ...
Page 200: ...Chapter 29 Maintenance OLT 1308 Series User s Guide 200 ...
Page 212: ...Chapter 30 Access Control OLT 1308 Series User s Guide 212 ...
Page 218: ...Chapter 32 Syslog OLT 1308 Series User s Guide 218 ...
Page 224: ...Chapter 33 Cluster Management OLT 1308 Series User s Guide 224 ...
Page 228: ...Chapter 34 MAC Table OLT 1308 Series User s Guide 228 ...
Page 232: ...Chapter 36 IGMP Table OLT 1308 Series User s Guide 232 ...
Page 234: ...234 ...
Page 285: ...Chapter 38 Command Examples OLT 1308 Series User s Guide 285 ...
Page 286: ...Chapter 38 Command Examples OLT 1308 Series User s Guide 286 ...
Page 294: ...Chapter 39 Troubleshooting OLT 1308 Series User s Guide 294 ...
Page 296: ...296 ...
Page 302: ...Appendix B Legal Information OLT 1308 Series User s Guide 302 ...