In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
Basic View commands for OLT
Showrunning-config / / View the running configuration file
Show card// to view the online status and version information of the dashboard and line card
Show gpononu uncfg// view all unconfigured ONU of OLT
Show gpononu uncfg gpon-olt_1/3/2 / / View the unconfigured ONU under the port
Show gpononu state / / View all configured ONU of OLT
Parameter "PhaseState" may have the following values:
(1) offline, indicating that the ONU belongs to offline configuration, and the ONU was not found by OLT.
(2) logging, indicating that the ONU has been searched and is ranging
(3) syncMib, indicating that the ONU has finished ranging and is synchronizing data
(4) working, indicating the end of ONU synchronization and other configurations can be made.
(5) LOS, indicating that the optical link between ONU and OLT is faulty, resulting in ONU being dropped.
(6) DyingGasp, indicating that the ONU is powered off. It may be that the ONU is normally powered off, or the city power is cut off where the ONU is located.
Show gpononu state gpon-olt_1/2/1 / / View the ONU status under the port
Showmac / / View MAC address
Showversion-running// to view the currently running version information
Showonu-type / / query the ONU types currently supported by the system
Showgpon profile tcont / / View existing tcont templates
Showgpon profile traffic / / View existing traffic templates
Show vlansummary / / query the created VLAN
Show vlan2000 / / query the port bound by 813VLAN
Showrunning-config interface gpon-onu_1/2/8:20 / / View GPON-ONU port data
Showrunning-config interface gei_1/20/1 / / View gei_1/20/1 data that have been equipped with a row port
Show onurunning config gpon-onu_1/2/8:20 / / View data sent to ONU
The optical power of the ONU side received by show pon power olt-rx gpon-onu_1/2/8:20 at the pon port
Optical transmission power of show ponpower olt-tx gpon-olt_1/2/8 OLTpon port
Add a board
Add frame, rack, business board and upper connection board in order.
Add-rackrackno 1 racktype IEC19 / / ETSI_SHELF: 21-inch frame, IEC_SHELF: 19-inch frame
Add-shelfrackno 1 shelfno 1 shelftype IEC_SHELF
Add-cardrackno 1 shelfno 1 slotno 0 PRWG
Add-cardrackno 1 shelfno 1 slotno 1 PRWG
Add-cardrackno 1 shelfno 1 slotno 2 GTGO
Add-cardrackno 1 shelfno 1 slotno 3 ETGO
Add-cardrackno 1 shelfno 1 slotno 19 HUTQ
Add-cardrackno 1 shelfno 1 slotno 20 GUFQ / / add Pon board to which business slot, that is, fill in several
ZXAN (config) # showcard / / View board information
ZXAN (config) # del-cardslotno 2 / / Delete veneer
Confirm todelete card? [yes/no]: y
ZXAN#reset-cardslotno 5 / / reset veneer:
Confirm toreset card? [yes/no]: y
ZXAN#swap / / Master / Slave Control Board switching:
Confirm tomaster swap? [yes/no]: y
/ / users can also pull the board manually or press the RST button of the active swap control board.
Configure the ONU template
ZXAN (config) # pon
ZXAN (config-pon) # onu-typeZTE-F601 gpon description 1FE / / configure ONU type
ZXAN (config-pon) # onu-type-if ZTE-F601 eth_0/1
Configure the TCONT template
ZXAN (config) # gpon
Settings for the template:
ZXAN (config-gpon) # profiletcont T1-100m type 1 fixed 10000 / / the uplink bandwidth template name is T1-100m gravity TCONT type is 1, and the fixed rate is 10m. This bandwidth template is used to set the T-CONT uplink bandwidth of ONU. It takes 7800 to browse 128ONUport.
1-Fixed bandwidth fixed bandwidth
2-Assured bandwidth guarantees bandwidth
3-Assured bandwidth and Non-assured bandwidth guaranteed bandwidth and unguaranteed bandwidth
4-Best-effort bandwidth strives for bandwidth
5-Thesuper set of all of T-CONT types
Configure Traffic templates (traffic templates)
Settings of downlink template (this template is used for vport downlink speed limit):
ZXAN (config-gpon) # profiletraffic DOWN-100M sir 100000 pir 120000 / / set the downlink maximum bandwidth template, sir maximum bandwidth pir burst bandwidth
ZXAN (config) # traffic-profileDOWN-100M ip cir 100000 cbs 120000 pir 120000 pbs 100 / / configure traffic template with the name of DOWN-100M, guaranteed rate of 100m and peak rate of 120m.
Cir commitment bandwidth, cbs commitment burst size, pir peak burst bandwidth, pbs peak burst size
Note: because C300 does not support gemport downlink speed limit, and in this example, gemport and vport are mapped at 1:1, so downlink speed limit is implemented with vport speed limit.
VLAN establishment
Jsyx-c300-1 (config) # vlandatabase enters batch processing of vlan
Jsyx-c300-1 (vlan) # vlan2000-2239
Jsyx-c300-1 (vlan) # vlan 2
Register for ONU
ONU ID is unique under the same port, with a value of 1-128. Select the corresponding ONU type parameter according to the actual ONU terminal. There are three authentication methods for ONU registration. This instance is registered based on sn:
ZXAN (config) # interfacegpon-olt_1/14/1
ZXAN (config-if) # onu10 type ZTE-F601 sn ZTEGC6E24CDE
ZXAN (config-if) # exit
ZXAN (config) # interface gpon-onu_1/2/8:10 / / enter ONU interface mode
ZXAN (config-if) # authpass-control 10
Configure TCONT on the ONU side
ZXAN (config) # interface gpon-onu_1/2/8:10 / / enter ONU interface mode
ZXAN (config-if) # tcont1 name tcont1 profile T1-100m / / in interfacegpon-onu_1/2/8:10, configure a TCONT with serial number 1, and the referenced bandwidth template is T1-100m.
An OLT supports up to 8 tcont from 0 to 7, one tcont supports 128gemport, one gemport corresponds to 8 vlan, and one gemport corresponds to 8 indexes)
Configure GEMPort (ONU side)
(1) ZXAN (config-if) # gemport 1 namegemport-1 unicast tcont 1 dir both queue 1
/ / configure a gemport with sequence number 1, name gemport-1, TCONT 1, and priority queues for both upstream and downlink.
(2) ZXAN (config-if) # gemport1 traffic-limit downstream DOWN-100M / / call the profile downstream DOWN-100M template created globally under the pon port of ONU. Note that the name of DOWN-100M must be the same as that of the profile template created under the gpon port.
Queue mapping identification GEM port downstream queue map index under down-queue-map-id
Name GEM port name
Portid Realport id
State GEM port state
Traffic-limit traffic limit Configure traffic limit for gemport
Unicast unicast
Up-queue-map-id queuing map identifies GEM port upstream queue map index
Configure GEMPort business flow mapping
Configure VID filtering for flow associated with gemport to directly pass through both tag and UNTAG packets.
ZXAN (config) # pon-onu-mnginterface gpon-onu_1/2/8:10
ZXAN (gpon-onu-mng) # gemport1 flow1 / / flow1 is mapped into GEMPORT 1
Dot1p-list: 802.1p mapping list
Down-queue downlink bandwidth queue
Number of flow GPON Fram
Loop Gal circuit configuration
Traffic-limit traffic template
Up-queue-map Upstream traffic queue, cos mapping to queue
ZXAN (gpon-onu-mng) # flowmode 1 tag-filter vid-filter untag-filter discard / / defines how flow1 processes messages. 1. Filter tagged data according to VID. 2. Discard untagged data.
ZXAN (gpon-onu-mng) # flow1 priority 0 vid 1025 / / flow1 allows data whose vid is 1025 to pass through
ZXAN (gpon-onu-mng) # vlan port eth_0/1 mode tag vlan 1025 priority 0 / / set the first etheric port remotely
Configure qinq (virtual port VLAN)
1. Enter ONU interface mode
ZXAN (config) # interfacegpon-onu_1/14/1:10 / / enters ONU interface mode.
2. Configure QinQ,CVLAN1025,SVLAN2001 in VPORT 1.
Configure VLAN on VPORT 1. Set up in two ways:
① 1 is to enable the service-port setting, as follows:
Service-port1 vport 1 user-vlan 1025 user-etype PPPOE vlan 1025 svlan 2001 / / 1025 users dialed with PPPOE put the outer vlan2001 on the vlan
Service-port2 vport 1 user-vlan 1025 user-etype IPOE vlan 1025svlan 2002
Service-port3 vport 1 other-all tls-vlan 2002
Description: the vport to gemport mapping mode under the default configuration is an one-to-one correspondence between one-to-one mapping of one-to-one vport and gemport.
Another way to ② is to use switchport, as follows:
ZXAN (config-if) # switchportvlan 100 tag
Note: both service-port and switchport can be used in C300 devices, the difference is that swithport can only set one layer of VLAN, while service-port mode can use two layers of VLAN, so VLAN conversion and QINQ are carried out in this mode. But these two ways are mutually exclusive, and only one can be used.
ZXAN (config-if) # exit
Configure uplink port VLAN
Jsyx-c300-1 (config) # interfacegei_1/20/1
Jsyx-c300-1 (config-if) # switchportmode hybrid
Jsyx-c300-1 (config-if) # switchportvlan 2, 2001, 2003, 2005 tag
Jsyx-c300-1 (config-if) # switchportvlan 2007, 2009, 2011, 2013 tag
Jsyx-c300-1 (config-if) # switchportvlan 2015 tag 2017, 2017, 20119, 2021
Jsyx-c300-1 (config-if) # switchportvlan 2023 tag 2025 2027 tag
Jsyx-c300-1 (config) # interface gei_1/20/2
Jsyx-c300-1 (config-if) # switchport mode hybrid
Jsyx-c300-1 (config-if) # switchport vlan 2000 tag 2002, 2004 tag
Jsyx-c300-1 (config-if) # switchport vlan 2008 tag 2010 2010 2012 2014 tag
Jsyx-c300-1 (config-if) # switchport vlan 2016 tag 2018, 2020, 2022
Jsyx-c300-1 (config-if) # switchport vlan 2024 tag 2026 2028 tag
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.