Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
Update vlan.md
Browse files Browse the repository at this point in the history
Signed-off-by: Marek Pastorek <[email protected]>
  • Loading branch information
mpastorek committed Mar 26, 2020
1 parent c07e023 commit 9e150d9
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions Configuration datasets/network-instances/vlans/vlan.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@ frinx-openconfig-network-instance:network-instances/network-instance/default/vla
"vlan-id": {{vlan_id}},
"frinx-dasan-vlan-extension:eline": {{eline_enabled}},
"frinx-saos-vlan-extension:egress-tpid": "{{vlan_tpid}}"
},
"frinx-saos-virtual-ring-extension:rings": {
"ring": [
{
"name": "{{ring-name}}",
"config": {
"name": "{{ring-name}}"
}
}
]
}
}
]
Expand Down Expand Up @@ -44,6 +54,7 @@ bridge
#### CLI
<pre>vlan create vlan {{vlan_id}}
vlan set vlan {{vlan_id}} name {{vlan_name}}
vlan set vlan {{vlan_id}} egress-tpid {{vlan_tpid_e}}</pre>
vlan set vlan {{vlan_id}} egress-tpid {{vlan_tpid_e}}
ring-protection virtual-ring add ring {{ring-name}} vid {{vlan-id}}</pre>

{{vlan_tpid}} should be pure numberic, converted from oc-vlan-types:TPID_TYPES from openconfig
{{vlan_tpid}} should be pure numeric, converted from oc-vlan-types:TPID_TYPES from openconfig

0 comments on commit 9e150d9

Please sign in to comment.