Zyxel OLT2412 [167/326] Vlan translation command examples

Zyxel OLT2412 [167/326] Vlan translation command examples
Chapter 23 VLAN Stacking and Translation
OLT2412 User’s Guide
167
The following figure shows the relationship between the VLAN IDs in the UNI port VLAN and VLAN
translation commands.
Figure 45 VLANs in the UNI Port VLAN and VLAN Translation Commands
23.9 VLAN Translation Command Examples
This example enables VLAN translation on the OLT and creates a VLAN translation rule to translate
the VLAN ID from 123 to 234 in the packets received on port ge-5-1.
no vlan-translation
Disable VLAN translation on the port.
no vlan-translation all
Remove all VLAN translation rules on the port.
no vlan-translation name
<name>
Remove the specified VLAN translation rule on the port.
no vlan-xlate-miss-drop
Disable upstream VLAN translation miss drop on the port. The
OLT floods incoming tagged packets from the subscribers that do
not match an entry in the VLAN translation table.
no egr-vlan-xlate-miss-drop
Disable downstream VLAN translation miss drop on the port. The
OLT floods outgoing tagged packets destined for the subscribers
that do not match an entry in the VLAN translation table.
show interfaces uni-port
<aid>
Show all VLAN translation rules on the port.
aid: <xe|ge|pon>-<slot>-<port>
Table 86 VLAN Translation Commands (continued)
COMMAND DESCRIPTION
remote uniport uniport-12-4-2-1-1
queue tc 1 priority 1 weight 1 usbwprofname 100m dsbwprofname 100m dsoption olt bwswharegroupid 1
vlan 100 network 200 ingprof test aesencrypt disable TR156 disable
interface uni-port ge-12-4
vlan-translation name test ing-ovid 200 egr-svid 300 N1map 300
vlan-translation name test2 ing-ovid 201 egr-svid 300 N1map 300
exit
Subscriber ISP
ODN
ONT
VID 1:
Translates
100
VID 2:
200
OLT
OVID:
Translates
200
SVID:
300
OLT2412# configure
OLT2412(config)# interface uni-port ge-5-1
OLT2412(config-uniport)# vlan-translation name test ing-ovid 123 egr-svid 234 egr-spri 3
OLT2412(config-uniport)# vlan-translation

Содержание