Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 12xx CDATA OLT.
- Настройка влан на ОНУ
- The desired vlan can config in the different ont-line profile, Then use the policy-auth or predetermine
- method 1 :
- OLT(config)# ont policy-auth enable
- OLT(config)# ont policy-auth mode model-auth to mac-auth always
- OLT(config)# ont policy-auth policy model-auth 0x4F4E5431 ont-lineprofile-id 100 ont-srvprofile-id 100
- OLT(config-interface-epon-0/0)# ont authmode 3 adaptive
- OLT(config-interface-epon-0/0)# ont policy-auth 3 enable
- Method2:
- OLT(config-interface-epon-0/0)# ont authmode 3 auto
- OLT(config-interface-epon-0/0)# ont predetermine 3 1-64 ont-lineprofile-id 100 ont-srvprofile-id 100
- ****
- Транк на ОНУ в автоконфиге
- test(config)# show current-config
- Current configuration:
- !
- ont-lineprofile epon profile-id 0 profile-name lineprofile_0
- dba-threshold 1 q1 0
- llid 1 dba-profile-id 0
- commit
- exit
- !
- ont-srvprofile epon profile-id 0 profile-name srvprofile_0
- ont-port eth adaptive pots adaptive catv adaptive
- port vlan eth 1 translation 100 user-vlan 100
- port vlan eth 1 translation 200 user-vlan 200
- port native-vlan eth 1 100
- commit
- exit
- !
- interface epon 0/0
- ont add 1 1 mac-auth E0:67:B3:00:00:01
- ont add 1 2 mac-auth E0:67:B3:6E:D7:32
- ont add 1 3 mac-auth E0:67:B3:DE:15:1B
- ont add 1 4 mac-auth E0:67:B3:31:F5:4D
- ont add 1 5 mac-auth E0:67:B3:31:F5:4A
- ont add 4 1 mac-auth E0:67:B3:DE:15:1B
- ont add 4 2 mac-auth E0:67:B3:31:F5:4A
- exit
- !
- vlan 100,200
- !
- interface ge 0/0
- vlan mode 3 trunk
- vlan native-vlan 3 100
- no vlan trunk 3 1
- vlan trunk 3 200
- vlan mode 4 trunk
- exit
- !
- btv
- exit
- !
- interface vlanif 1
- ip address 192.168.53.201 255.255.255.0
- exit
- !
- interface vlanif 100
- ip address 192.168.52.225 255.255.255.0
- exit
- !
- ip route 0.0.0.0/0 192.168.52.1
- sysname "test"
- autosave interval off
- autosave time off
- !
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement