Experience: How to make a quick search of current config in a OLT
|
I would like to share an easy way to search in the current configuration of an OLT with an example. I used to need to check the current configuration of a lineprofile, and when you have a big amount of ONUs deployed it?s a little difficult to search one by one. If you know the lineprofile id or name you can do it like the following exaple:
tcont 1 dba-profile-id 11 tcont 3 dba-profile-id 14 tcont 4 dba-profile-id 15 tcont 5 dba-profile-id 12 tcont 10 dba-profile-id 1 gem add 0 eth tcont 10 priority-queue 3 gem add 1 tdm tcont 1 encrypt on gem add 2 tdm tcont 1 encrypt on gem add 3 eth tcont 5 gem add 5 eth tcont 3 gem add 6 eth tcont 4 gem add 7 eth tcont 4 gem add 8 eth tcont 5 gem add 9 eth tcont 5 gem add 10 eth tcont 5 gem add 11 eth tcont 5 gem mapping 0 0 vlan 114 gem mapping 1 1 e1 1 gem mapping 3 4 vlan 3100 gem mapping 5 2 vlan 2500 gem mapping 6 3 vlan 2501 gem mapping 7 3 vlan 2502 gem mapping 8 5 vlan 3044 gem mapping 9 5 vlan 3045 gem mapping 10 5 vlan 3046 gem mapping 11 5 vlan 3047 commit You can do this action with any part of the current configuration, you only need to know what you are looking for! Hope this can be useful for somebody! B.R. Felipe |
|
Yeah, its a good example on how to control the matched output by using the display current-configuration command. These keywords shown in the table are used for exact or fuzzy matched output.
Click the following link to see more abut this command :) http://support.huawei.com/hdx/hdx.do?tocLib=SE000070936731187392&tocV=02&id=GUID2B5C2D63-43AC-4C0E-9548-C5B8E7D25841&tocURL=resources%252fcmd%252fdisplay%255fcurrent%252dconfiguration%252ehtml&p=t&fe=1&ui=3
|

Favorite (0)