You are on page 1of 24

#**********************Define HOST name***********************

exit all
config system name SHMLADRIESS001
exit all

#**********************Define port description***********************


exit all
config port eth 1 name "Alias: # TO-SHMLKNGRESR001-GE0/0/4-UBR #"
config port eth 2 name "Alias: # TO- #"
config port eth 3 name "Alias: # TO-SMALLCELL1 #"
config port eth 4 name "Alias: # TO-SMALLCELL2 #"
config port eth 5 name "Alias: # TO-SMALLCELL3 #"
config port eth 6 name "Alias: # TO-UTILITY #"
exit all

#**********************Queue_Block_Profile**************************************

config qos queue-block-profile q_block_WFQ


queue 0 scheduling wfq 20
queue 1 scheduling wfq 5
queue 2 scheduling wfq 100
queue 3 scheduling wfq 100
queue 4 scheduling wfq 80
queue 5 scheduling wfq 60
queue 6 scheduling wfq 60
queue 7 scheduling wfq 75
exit all

#**********************Define Queue Group***********************


exit all
config qos queue-group-profile QGN1

queue-block 0/1
profile q_block_WFQ

exit
queue-block 0/2
profile q_block_WFQ

exit
queue-block 0/3
profile q_block_WFQ

exit
queue-block 0/4
profile q_block_WFQ

exit
queue-block 0/5
profile q_block_WFQ

exit
queue-block 0/6
profile q_block_WFQ

exit
queue-block 0/7
profile q_block_WFQ
exit
queue-block 0/8
profile q_block_WFQ
exit all

#=========BIND queue-group profile to eth port 1 and 2 ====

exit all
config port eth 1 queue-group profile QGN1
exit all
config port eth 2 queue-group profile QGN1
exit all

#====================Define new queue-block ===========


exit all
con qos queue-group-profile "DefaultQueueGroup"
queue-block 0/3
exit
queue-block 0/4
exit
queue-block 0/5
exit
queue-block 0/6
exit
queue-block 0/7
exit
queue-block 0/8
exit all

#===============Define new SVI for MNG =====================


exit all
configure port svi 1
no shutdown
exit all

#===============Define new bridge ports for RING application====


exit all
configure bridge 1
vlan-aware
exit all

configure bridge 1
port 1
no shutdown
exit all

configure bridge 1
port 2
no shutdown
exit all

configure bridge 1
port 3
no shutdown
exit all

configure bridge 1
port 4
no shutdown
exit all

configure bridge 1
port 5
no shutdown
exit all

configure bridge 1
port 6
no shutdown
exit all

configure bridge 1
port 7
no shutdown
exit all

configure bridge 1
port 8
no shutdown
exit all

#===================== Define new dscp_to_pbit ===============


exit all
config qos marking-profile "dscp_to_pbit" classification ip-dscp method p-bit
color-aware none
mark 46 to 5
mark 34 to 5
mark 56 to 5
mark 26 to 4
mark 36 to 4
mark 32 to 3
mark 28 to 3
mark 48 to 6
mark 40 to 7
mark 38 to 7
mark 30 to 2
mark 18 to 2
mark 20 to 1
mark 22 to 1
mark 0..17 to 0

exit all
#================== Define new dscp_to_cos ===================
exit all
config qos cos-map-profile dscp_to_cos classification ip-dscp
map 0..17 to-cos 7
map 18 to-cos 5
map 19 to-cos 0
map 20 to-cos 6
map 21 to-cos 0
map 22 to-cos 6
map 23..25 to-cos 7
map 26 to-cos 3
map 27 to-cos 0
map 28 to-cos 4
map 29 to-cos 0
map 30 to-cos 5
map 31 to-cos 0
map 32 to-cos 4
map 33 to-cos 0
map 34 to-cos 2
map 35 to-cos 0
map 36 to-cos 3
map 37..45 to-cos 7
map 46 to-cos 2
map 47 to-cos 0
map 48 to-cos 1
map 49..55 to-cos 7
map 56 to-cos 2
map 57..63 to-cos 7
exit all

#=================== Define new classifier-profile =================


exit all
config flow
classifier-profile "all" match-any
match all
exit
classifier-profile "DATA1" match-any
match vlan 601
exit
classifier-profile "DATA2" match-any
match vlan 602
exit
classifier-profile "DATA3" match-any
match vlan 603
exit
classifier-profile "v888" match-any
match vlan 888
exit
classifier-profile unt match-any
match untagged
exit all
configure flow
classifier-profile "v581" match-any
match vlan 581
exit all
configure flow
classifier-profile "v585" match-any
match vlan 585
exit all
configure flow
classifier-profile "v615" match-any
match vlan 615
exit all
configure flow
classifier-profile "v604" match-any
match vlan 604
exit all
configure flow
classifier-profile "v400" match-any
match vlan 400
exit all
configure flow
classifier-profile "v945" match-any
match vlan 945
exit all
configure flow
classifier-profile "v951" match-any
match vlan 951
exit all
configure flow
classifier-profile "v952" match-any
match vlan 952
exit all
configure flow
classifier-profile "v953" match-any
match vlan 953
exit all
configure flow
classifier-profile "v908" match-any
match vlan 908
exit all
configure flow
classifier-profile "v901" match-any
match vlan 901
exit all
configure flow
classifier-profile "v890" match-any
match vlan 890
exit all

configure flow
classifier-profile "v605" match-any
match vlan 605
exit all
#============================== mng ============================
exit all

conf flow
flow "eth1_in"
classifier "v888"
ingress-port ethernet 1
egress-port bridge-port 1 1
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "eth2_in"
classifier "v888"
ingress-port ethernet 2
egress-port bridge-port 1 2
reverse-direction block 0/3
no shutdown
exit all

#=================Define 945 VLAN for WiFi connected after Small


cell===========================#
conf flow
flow "v945eth1_in"
classifier "v945"
no policer
ingress-port ethernet 1
egress-port bridge-port 1 1
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v945eth2_in"
classifier "v945"
no policer
ingress-port ethernet 2
egress-port bridge-port 1 2
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v945eth3_in"
classifier "v945"
no policer
ingress-port ethernet 3
egress-port bridge-port 1 5
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v945eth4_in"
classifier "v945"
no policer
ingress-port ethernet 4
egress-port bridge-port 1 6
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v945eth5_in"
classifier "v945"
no policer
ingress-port ethernet 5
egress-port bridge-port 1 7
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v945eth6_in"
classifier "v945"
no policer
ingress-port ethernet 6
egress-port bridge-port 1 8
reverse-direction block 0/4
no shutdown
exit all

#=================Define 604 VLAN for Small Cell Multicast


===========================#
conf flow
flow "v604eth1_in"
classifier "v604"
no policer
ingress-port ethernet 1
egress-port bridge-port 1 1
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v604eth2_in"
classifier "v604"
no policer
ingress-port ethernet 2
egress-port bridge-port 1 2
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v604eth3_in"
classifier "v604"
no policer
ingress-port ethernet 3
egress-port bridge-port 1 5
reverse-direction block 0/6
no shutdown
exit all

conf flow
flow "v604eth4_in"
classifier "v604"
no policer
ingress-port ethernet 4
egress-port bridge-port 1 6
reverse-direction block 0/6
no shutdown
exit all

conf flow
flow "v604eth5_in"
classifier "v604"
no policer
ingress-port ethernet 5
egress-port bridge-port 1 7
reverse-direction block 0/6
no shutdown
exit all

conf flow
flow "v604eth6_in"
classifier "v604"
no policer
ingress-port ethernet 6
egress-port bridge-port 1 8
reverse-direction block 0/6
no shutdown
exit all

#=================Define 400 VLAN for Small Cell Multicast


===========================#
conf flow
flow "v400eth1_in"
classifier "v400"
no policer
ingress-port ethernet 1
egress-port bridge-port 1 1
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v400eth2_in"
classifier "v400"
no policer
ingress-port ethernet 2
egress-port bridge-port 1 2
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v400eth3_in"
classifier "v400"
no policer
ingress-port ethernet 3
egress-port bridge-port 1 5
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v400eth4_in"
classifier "v400"
no policer
ingress-port ethernet 4
egress-port bridge-port 1 6
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v400eth5_in"
classifier "v400"
no policer
ingress-port ethernet 5
egress-port bridge-port 1 7
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v400eth6_in"
classifier "v400"
no policer
ingress-port ethernet 6
egress-port bridge-port 1 8
reverse-direction block 0/3
no shutdown
exit all
#=================Define 951 VLAN for Utility ===========================#
conf flow
flow "v951eth1_in"
classifier "v951"
no policer
ingress-port ethernet 1
egress-port bridge-port 1 1
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v951eth2_in"
classifier "v951"
no policer
ingress-port ethernet 2
egress-port bridge-port 1 2
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v951eth6_in"
classifier "v951"
no policer
ingress-port ethernet 6
egress-port bridge-port 1 8
reverse-direction block 0/3
no shutdown
exit all

#=================Define 952 VLAN for Future use ===========================#


conf flow
flow "v952eth1_in"
classifier "v952"
no policer
ingress-port ethernet 1
egress-port bridge-port 1 1
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v952eth2_in"
classifier "v952"
no policer
ingress-port ethernet 2
egress-port bridge-port 1 2
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v952eth6_in"
classifier "v952"
no policer
ingress-port ethernet 6
egress-port bridge-port 1 8
reverse-direction block 0/3
no shutdown
exit all

#=================Define 953 VLAN for Future Use ===========================#


conf flow
flow "v953eth1_in"
classifier "v953"
no policer
ingress-port ethernet 1
egress-port bridge-port 1 1
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v953eth2_in"
classifier "v953"
no policer
ingress-port ethernet 2
egress-port bridge-port 1 2
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v953eth6_in"
classifier "v953"
no policer
ingress-port ethernet 6
egress-port bridge-port 1 8
reverse-direction block 0/3
no shutdown
exit all

#=================Define 581 VLAN for Microwave Management


===========================#
exit all

conf flow
flow "v581eth1_in"
classifier "v581"
no policer
ingress-port ethernet 1
egress-port bridge-port 1 1
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v581eth2_in"
classifier "v581"
no policer
ingress-port ethernet 2
egress-port bridge-port 1 2
reverse-direction block 0/3
no shutdown
exit all

#=================Define 585 VLAN for UBR ===========================#


conf flow
flow "v585eth1_in"
classifier "v585"
no policer
ingress-port ethernet 1
egress-port bridge-port 1 1
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v585eth2_in"
classifier "v585"
no policer
ingress-port ethernet 2
egress-port bridge-port 1 2
reverse-direction block 0/3
no shutdown
exit all

#=================Define 908 MNG VLAN for Cisco Switch on which WiFi AP is


connected ===========================#
conf flow
flow "v908eth1_in"
classifier "v908"
no policer
ingress-port ethernet 1
egress-port bridge-port 1 1
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v908eth2_in"
classifier "v908"
no policer
ingress-port ethernet 2
egress-port bridge-port 1 2
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v908eth3_in"
classifier "v908"
no policer
ingress-port ethernet 3
egress-port bridge-port 1 5
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v908eth4_in"
classifier "v908"
no policer
ingress-port ethernet 4
egress-port bridge-port 1 6
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v908eth5_in"
classifier "v908"
no policer
ingress-port ethernet 5
egress-port bridge-port 1 7
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v908eth6_in"
classifier "v908"
no policer
ingress-port ethernet 6
egress-port bridge-port 1 8
reverse-direction block 0/4
no shutdown
exit all

#=================Define 901 VLAN for WiFi AP connected after cisco


===========================#
conf flow
flow "v901eth1_in"
classifier "v901"
no policer
ingress-port ethernet 1
egress-port bridge-port 1 1
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v901eth2_in"
classifier "v901"
no policer
ingress-port ethernet 2
egress-port bridge-port 1 2
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v901eth3_in"
classifier "v901"
no policer
ingress-port ethernet 3
egress-port bridge-port 1 5
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v901eth4_in"
classifier "v901"
no policer
ingress-port ethernet 4
egress-port bridge-port 1 6
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v901eth5_in"
classifier "v901"
no policer
ingress-port ethernet 5
egress-port bridge-port 1 7
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v901eth6_in"
classifier "v901"
no policer
ingress-port ethernet 6
egress-port bridge-port 1 8
reverse-direction block 0/4
no shutdown
exit all

#=================Define 890 VLAN for TechRoute Multicast


===========================#
conf flow
flow "v890eth1_in"
classifier "v890"
no policer
ingress-port ethernet 1
egress-port bridge-port 1 1
reverse-direction block 0/3
no shutdown
exit all

conf flow
flow "v890eth2_in"
classifier "v890"
no policer
ingress-port ethernet 2
egress-port bridge-port 1 2
reverse-direction block 0/3
no shutdown
exit all

#=================Define 605 VLAN for WiFi connected after Small


cell===========================#
conf flow
flow "v605eth1_in"
classifier "v605"
no policer
ingress-port ethernet 1
egress-port bridge-port 1 1
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v605eth2_in"
classifier "v605"
no policer
ingress-port ethernet 2
egress-port bridge-port 1 2
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v605eth3_in"
classifier "v605"
no policer
ingress-port ethernet 3
egress-port bridge-port 1 5
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v605eth4_in"
classifier "v605"
no policer
ingress-port ethernet 4
egress-port bridge-port 1 6
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v605eth5_in"
classifier "v605"
no policer
ingress-port ethernet 5
egress-port bridge-port 1 7
reverse-direction block 0/4
no shutdown
exit all

conf flow
flow "v605eth6_in"
classifier "v605"
no policer
ingress-port ethernet 6
egress-port bridge-port 1 8
reverse-direction block 0/4
no shutdown
exit all

#===================Define FLOW inband Mng vlan 888============================

conf flow
flow "mng_in"
classifier "v888"
no policer
vlan-tag pop vlan
ingress-port bridge-port 1 3
egress-port svi 1
no shutdown
exit

flow "mng_out"
classifier "unt"
vlan-tag push vlan 888 p-bit fixed 0
ingress-port svi 1
egress-port bridge-port 1 3
no shutdown
exit all

#============= Define Configure router interface IP v6 ==============


configure router 1
interface 1
bind svi 1
address 2405:200:115:400:7:2:888:805/120
no shutdown
exit
static-route 0::0/0 address 2405:200:115:400:7:2:888:803
exit all

#============= Define service 1 port to bridge vlan 601 ================


config flows flow P1vlan601
classifier DATA1
no policer
mark all
vlan 601
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 1
egress-port bridge-port 1 1 cos-map-profile dscp_to_cos
reverse-direction block 0/1
no shutdown
exit all

#============= Define service 2 port to bridge vlan 601 ================


config flows flow P2vlan601
classifier DATA1
no policer
mark all
vlan 601
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 2
egress-port bridge-port 1 2 cos-map-profile dscp_to_cos
reverse-direction block 0/1
no shutdown
exit all

#============= Define service 3 port to bridge vlan 601 ================


config flows flow P3vlan601
classifier DATA1
no policer
mark all
vlan 601
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 3
egress-port bridge-port 1 5 cos-map-profile dscp_to_cos
reverse-direction block 0/1
no shutdown
exit all

#================ Define service 4 port to bridge vlan 601 ==============

config flows flow P4vlan601


classifier DATA1
no policer
mark all
vlan 601
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 4
egress-port bridge-port 1 6 cos-map-profile dscp_to_cos
reverse-direction block 0/1
no shutdown
exit all

#===============Define service 5 port to bridge vlan 601 ================

config flows flow P5vlan601


classifier DATA1
no policer
mark all
vlan 601
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 5
egress-port bridge-port 1 7 cos-map-profile dscp_to_cos
reverse-direction block 0/1
no shutdown
exit all

#===============Define service 6 port to bridge vlan 601 =================

config flows flow P6vlan601_dscp


classifier DATA1
no policer
mark all
vlan 601
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 6
egress-port bridge-port 1 8 cos-map-profile dscp_to_cos
reverse-direction block 0/1
no shutdown
exit all

#============= Define service 1 port to bridge vlan 602 ================


config flows flow P1vlan602
classifier DATA2
no policer
mark all
vlan 602
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 1
egress-port bridge-port 1 1 cos-map-profile dscp_to_cos
reverse-direction block 0/1
no shutdown
exit all

#============= Define service 2 port to bridge vlan 602 ================


config flows flow P2vlan602
classifier DATA2
no policer
mark all
vlan 602
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 2
egress-port bridge-port 1 2 cos-map-profile dscp_to_cos
reverse-direction block 0/1
no shutdown
exit all

#============= Define service 3 port to bridge vlan 602 ================


config flows flow P3vlan602
classifier DATA2
no policer
mark all
vlan 602
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 3
egress-port bridge-port 1 5 cos-map-profile dscp_to_cos
reverse-direction block 0/1
no shutdown
exit all

#================ Define service 4 port to bridge vlan 602 ==============

config flows flow P4vlan602


classifier DATA2
no policer
mark all
vlan 602
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 4
egress-port bridge-port 1 6 cos-map-profile dscp_to_cos
reverse-direction block 0/1
no shutdown
exit all

#===============Define service 5 port to bridge vlan 602 ================

config flows flow P5vlan602


classifier DATA2
no policer
mark all
vlan 602
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 5
egress-port bridge-port 1 7 cos-map-profile dscp_to_cos
reverse-direction block 0/1
no shutdown
exit all

#===============Define service 6 port to bridge vlan 602 =================

config flows flow P6vlan602


classifier DATA2
no policer
mark all
vlan 602
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 6
egress-port bridge-port 1 8 cos-map-profile dscp_to_cos
reverse-direction block 0/1
no shutdown
exit all

#============= Define service 1 port to bridge vlan 603 ================


config flows flow P1vlan603
classifier DATA3
no policer
mark all
vlan 603
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 1
egress-port bridge-port 1 1 cos-map-profile dscp_to_cos
reverse-direction block 0/2
no shutdown
exit all

#============= Define service 2 port to bridge vlan 603 ================


config flows flow P2vlan603
classifier DATA3
no policer
mark all
vlan 603
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 2
egress-port bridge-port 1 2 cos-map-profile dscp_to_cos
reverse-direction block 0/2
no shutdown
exit all

#============= Define service 3 port to bridge vlan 603 ================


config flows flow P3vlan603
classifier DATA3
no policer
mark all
vlan 603
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 3
egress-port bridge-port 1 5 cos-map-profile dscp_to_cos
reverse-direction block 0/2
no shutdown
exit all

#================ Define service 4 port to bridge vlan 603 ==============

config flows flow P4vlan603


classifier DATA3
no policer
mark all
vlan 603
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 4
egress-port bridge-port 1 6 cos-map-profile dscp_to_cos
reverse-direction block 0/2
no shutdown
exit all

#===============Define service 5 port to bridge vlan 603 ================

config flows flow P5vlan603


classifier DATA3
no policer
mark all
vlan 603
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 5
egress-port bridge-port 1 7 cos-map-profile dscp_to_cos
reverse-direction block 0/2
no shutdown
exit all

#===============Define service 6 port to bridge vlan 603 =================

config flows flow P6vlan603


classifier DATA3
no policer
mark all
vlan 603
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 6
egress-port bridge-port 1 8 cos-map-profile dscp_to_cos
reverse-direction block 0/2
no shutdown
exit all

#============= Define PTP 1 port to bridge vlan 615 ================


exit all
config flows flow P1vlan615
classifier v615
no policer
mark all
vlan 615
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 1
egress-port bridge-port 1 1 cos-map-profile dscp_to_cos
reverse-direction block 0/2
no shutdown
exit all

#============= Define PTP 2 port to bridge vlan 615 ================


exit all
config flows flow P2vlan615
classifier v615
no policer
mark all
vlan 615
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 2
egress-port bridge-port 1 2 cos-map-profile dscp_to_cos
reverse-direction block 0/2
no shutdown
exit all

#============= Define PTP 3 port to bridge vlan 615 ================


exit all
config flows flow P3vlan615
classifier v615
no policer
mark all
vlan 615
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 3
egress-port bridge-port 1 5 cos-map-profile dscp_to_cos
reverse-direction block 0/2
no shutdown
exit all

#================ Define PTP 4 port to bridge vlan 615 ==============

config flows flow P4vlan615


classifier v615
no policer
mark all
vlan 615
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 4
egress-port bridge-port 1 6 cos-map-profile dscp_to_cos
reverse-direction block 0/2
no shutdown
exit all

#===============Define PTP 5 port to bridge vlan 615 ================

config flows flow P5vlan615


classifier v615
no policer
mark all
vlan 615
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 5
egress-port bridge-port 1 7 cos-map-profile dscp_to_cos
reverse-direction block 0/2
no shutdown
exit all

#===============Define PTP 6 port to bridge vlan 615 =================

config flows flow P6vlan615_dscp


classifier v615
no policer
mark all
vlan 615
marking-profile "dscp_to_pbit"
exit
ingress-port ethernet 6
egress-port bridge-port 1 8 cos-map-profile dscp_to_cos
reverse-direction block 0/2
no shutdown
exit all

#=========== Define Broadcast per eth(1-6) port 2%(20M)===============


exit all
config qos policer-profile Broadcast
traffic-type broadcast
bandwidth cir 20000 cbs 64000 eir 0 ebs 0
exit all
config port eth 1 policer profile Broadcast
config port eth 2 policer profile Broadcast
config port eth 3 policer profile Broadcast
config port eth 4 policer profile Broadcast
config port eth 5 policer profile Broadcast
config port eth 6 policer profile Broadcast
exit all

#==== Enable PM for Eth ports for performance monitoring==========


configure reporting
#**** Enable PM in device
pm
#==== Enable PM for Eth ports, collection interval=5 min==========
pm-collection eth interval 300
pm-collection system interval 300
exit all

#=======================Define SNTP ================

exit all
configure system date-and-time sntp
poll-interval 1
server 1
address 2405:200:115:400:7:2:888:803
prefer
no shutdown
exit all
configure system date-and-time
Zone utc +05:30
exit all

# ===================================================
# ===================== SNMP ========================
# ===================================================
configure management snmp
view internet 1
mask 1
type included
no shutdown
exit all

# ===================================================
# ============== ROUTER ACTIVATE RV =================
# ===================================================
configure management snmp
access-group initial usm no-auth-no-priv
context-match prefix
exit all

# ===================================================
# =============== TRAPS ACTIVATE RV =================
# ===================================================
configure management snmp
target-params p
message-processing-model snmpv3
version usm
security name initial level no-auth-no-priv
no shutdown
exit
target RADVIEW_PRI
target-params p
tag-list unmasked
address udp-ipv6-domain 2405:0200:081c:2884::4
no shutdown
exit
target RADVIEW_SEC
target-params p
tag-list unmasked
address udp-ipv6-domain 2405:0200:081c:2884::7
no shutdown
exit
notify unmasked
tag unmasked
no shutdown
exit all

#====================== Define Tacacsplus ===========================


exit all
Config management access auth-policy 1st-level tacacs+ 2nd-level local
Config management tacacsplus
group test
accounting shell system commands
exit
server 2405:200:802:756::6
key Rjio@55836
group test
no shutdown
exit
server 2405:200:804:757::4
key Rjio@55836
group test
no shutdown
exit all

#====================== Define Syslog ===========================


exit all
configure system
syslog device
no shutdown
exit
syslog server 1
address 2405:200:a60:fd2b::28

port 514
no shutdown
exit all

#====================== Define LLDP ===========================


exit all
configure system lldp
tx-interval 10
hold-time 10
hold-multiplier 2
shutdown
exit
exit

port
l2cp-profile "lldp"
mac 0x0e peer
exit

ethernet 1
l2cp profile "lldp"
tx-ssm
lldp
nearest-bridge-mode tx-rx
nearest-bridge-basic-management port-description sys-name sys-description sys-
capabilities
nearest-bridge-802.3 mac-phy-configuration max-frame-size
802.1-protocol-identity erp-v2
exit
exit
ethernet 2
l2cp profile "lldp"
tx-ssm
lldp
nearest-bridge-mode tx-rx
nearest-bridge-basic-management port-description sys-name sys-description sys-
capabilities
nearest-bridge-802.3 mac-phy-configuration max-frame-size
802.1-protocol-identity erp-v2
exit all

#====================== Define the physical port 3 to 6 as SHUT


===========================
configure port ethernet 3 shutdown
configure port ethernet 4 shutdown
configure port ethernet 5 shutdown
configure port ethernet 6 shutdown
configure port ethernet 101 shutdown
exit all
save

######## MBSS SCRIPT ################

exit all

configure management user Rjio level su password !Rji0@123

exit all

configure management login-user su


shut
yes
exit all
configure management login-user oper
shut
exit all
configure management login-user tech
shut
exit all
configure management login-user user
shut
exit all
configure management access
no telnet
exit all
configure system
login-message
'----------------------------------------------------------------------\n
!!! Warning!!!\n UNAUTHORIZED ACCESS TO THIS DEVICE IS PROHIBITED\n
You must have explicit, authorized permission to access\n or
configure this device..\n Unauthorized attempts and actions to access or use
this system may\n result in civil and/or criminal penalties.\n All
activities performed on this device are logged and
monitored.\n----------------------------------------------------------------------\
n'

save

You might also like