Advertisement
skybetik

12xx CDATA OLT. Настройка влан на ОНУ

Jun 28th, 2022
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. 12xx CDATA OLT.
  2. Настройка влан на ОНУ
  3.  
  4.  
  5. The desired vlan can config in the different ont-line profile, Then use the policy-auth or predetermine
  6.  
  7. method 1 :
  8. OLT(config)# ont policy-auth enable
  9. OLT(config)# ont policy-auth mode model-auth to mac-auth always
  10. OLT(config)# ont policy-auth policy model-auth 0x4F4E5431 ont-lineprofile-id 100 ont-srvprofile-id 100
  11.  
  12. OLT(config-interface-epon-0/0)# ont authmode 3 adaptive
  13. OLT(config-interface-epon-0/0)# ont policy-auth 3 enable
  14.  
  15.  
  16. Method2:
  17. OLT(config-interface-epon-0/0)# ont authmode 3 auto
  18. OLT(config-interface-epon-0/0)# ont predetermine 3 1-64 ont-lineprofile-id 100 ont-srvprofile-id 100
  19.  
  20. ****
  21. Транк на ОНУ в автоконфиге
  22.  
  23. test(config)# show current-config
  24.  
  25. Current configuration:
  26. !
  27. ont-lineprofile epon profile-id 0 profile-name lineprofile_0
  28. dba-threshold 1 q1 0
  29. llid 1 dba-profile-id 0
  30. commit
  31. exit
  32. !
  33. ont-srvprofile epon profile-id 0 profile-name srvprofile_0
  34. ont-port eth adaptive pots adaptive catv adaptive
  35. port vlan eth 1 translation 100 user-vlan 100
  36. port vlan eth 1 translation 200 user-vlan 200
  37. port native-vlan eth 1 100
  38. commit
  39. exit
  40. !
  41. interface epon 0/0
  42. ont add 1 1 mac-auth E0:67:B3:00:00:01
  43. ont add 1 2 mac-auth E0:67:B3:6E:D7:32
  44. ont add 1 3 mac-auth E0:67:B3:DE:15:1B
  45. ont add 1 4 mac-auth E0:67:B3:31:F5:4D
  46. ont add 1 5 mac-auth E0:67:B3:31:F5:4A
  47. ont add 4 1 mac-auth E0:67:B3:DE:15:1B
  48. ont add 4 2 mac-auth E0:67:B3:31:F5:4A
  49. exit
  50. !
  51. vlan 100,200
  52. !
  53. interface ge 0/0
  54. vlan mode 3 trunk
  55. vlan native-vlan 3 100
  56. no vlan trunk 3 1
  57. vlan trunk 3 200
  58. vlan mode 4 trunk
  59. exit
  60. !
  61. btv
  62. exit
  63. !
  64. interface vlanif 1
  65. ip address 192.168.53.201 255.255.255.0
  66. exit
  67. !
  68. interface vlanif 100
  69. ip address 192.168.52.225 255.255.255.0
  70. exit
  71. !
  72. ip route 0.0.0.0/0 192.168.52.1
  73. sysname "test"
  74. autosave interval off
  75. autosave time off
  76. !
  77. end
  78.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement