Cau Hinh Chuan MyTV & Internet Tren Omni6424

You might also like

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 11

Tao Vlan 8 va Vlan 9 tren 6424

system name OS6400


vlan 1 enable name "VLAN 1"
ethernet-service svlan 8 name "VoD"
ethernet-service ipmvlan 9 name "LiveTV"
ethernet-service svlan 70 name "Internet"
ip service all
ip interface "VLAN9" address 198.1.1.1 mask 255.255.255.0 vlan 9 ifindex 1
ip interface "VLAN8" address 172.24.104.1 mask 255.255.255.0 vlan 8 ifindex 2
ip multicast status enable
ip multicast querying enable
ip multicast zapping enable
ip multicast vlan 8 status enable
ip multicast vlan 9 status enable
ip multicast vlan 8 zapping enable
ip multicast vlan 9 zapping enable
ethernet-service svlan 8 nni 1/1
ethernet-service svlan 70 nni 1/1
ethernet-service sap-profile "Translate" cvlan-tag translate
ethernet-service service-name "VOD_CusA" svlan 8
ethernet-service sap 8 service-name "VOD_CusA"
ethernet-service sap 8 sap-profile "Translate"
ethernet-service sap 8 uni 1/2
ethernet-service sap 8 cvlan 8
ethernet-service service-name "HSI_CusA" svlan 70
ethernet-service sap 70 service-name "HSI_CusA"
ethernet-service sap 70 sap-profile "Translate"
ethernet-service sap 70 uni 1/2
ethernet-service sap 70 cvlan 70
vlan ipmvlan 9 sender-port port 1/1
vlan ipmvlan 9 receiver-port port 1/2
ethernet-service service-name "IPTV_CusA" ipmvlan 9
ethernet-service sap 9 service-name "IPTV_CusA"
ethernet-service sap 9 sap-profile "Translate"
ethernet-service sap 9 uni 1/2
ethernet-service sap 9 cvlan 8
vlan ipmvlan 9 address 232.84.1.1-232.84.1.254

-----------------------------------------------------------------------------------
-----------------------------------------------------------

Tao Vlan 11(thay cho Vlan 8) va Vlan 9 moi tren 6424

system name OS6400


vlan 1 enable name "VLAN 1"
ethernet-service svlan 11 name "VOD_Layer2"
ethernet-service ipmvlan 9 name "LiveTV"
ethernet-service svlan 80 name "Internet"
ip service all
ip interface "VLAN9" address 198.1.1.1 mask 255.255.255.0 vlan 9 ifindex 1
ip multicast status enable
ip multicast querying enable
ip multicast zapping enable
ip multicast vlan 11 status enable
ip multicast vlan 9 status enable
ip multicast vlan 11 zapping enable
ip multicast vlan 9 zapping enable
ethernet-service svlan 11 nni 1/1
ethernet-service svlan 80 nni 1/1
ethernet-service sap-profile "Translate" cvlan-tag translate
ethernet-service service-name "VOD_Layer2_CusA" svlan 11
ethernet-service sap 11 service-name "VOD_Layer2_CusA"
ethernet-service sap 11 sap-profile "Translate"
ethernet-service sap 11 uni 1/3
ethernet-service sap 11 cvlan 11
ethernet-service service-name "HSI_CusA" svlan 80
ethernet-service sap 80 service-name "HSI_CusA"
ethernet-service sap 80 sap-profile "Translate"
ethernet-service sap 80 uni 1/3
ethernet-service sap 80 cvlan 80
vlan ipmvlan 9 sender-port port 1/1
vlan ipmvlan 9 receiver-port port 1/3
ethernet-service service-name "IPTV_CusA" ipmvlan 9
ethernet-service sap 9 service-name "IPTV_CusA"
ethernet-service sap 9 sap-profile "Translate"
ethernet-service sap 9 uni 1/3
ethernet-service sap 9 cvlan 11
vlan ipmvlan 9 address 232.84.1.1-232.84.1.254

-----------------------------------------------------------------------------------
-----------------------------------------------------------

Tao them mot cong downlink moi tren 6424

ethernet-service sap 80 sap-profile "Translate"


ethernet-service sap 80 uni 1/2
ethernet-service sap 11 sap-profile "Translate"
ethernet-service sap 11 uni 1/2
vlan ipmvlan 9 receiver-port port 1/2
ethernet-service sap 9 sap-profile "Translate"
ethernet-service sap 9 uni 1/2

------------------------------

ethernet-service sap 8 sap-profile "Translate"


ethernet-service sap 8 uni 1/5
ethernet-service sap 70 sap-profile "Translate"
ethernet-service sap 70 uni 1/5
vlan ipmvlan 9 receiver-port port 1/5
ethernet-service sap 9 sap-profile "Translate"
ethernet-service sap 9 uni 1/5
vlan ipmvlan 9 address 232.84.1.1-232.84.1.254

-----------------------------------------------------------------------------------
-----------------------------------------------------------

Tao them mot cong downlink moi tren 6424

ethernet-service sap 8 sap-profile "Translate"


ethernet-service sap 8 uni 1/3
ethernet-service sap 80 sap-profile "Translate"
ethernet-service sap 80 uni 1/3
ethernet-service sap 70 sap-profile "Translate"
ethernet-service sap 70 uni 1/3
ethernet-service sap 71 sap-profile "Translate"
ethernet-service sap 71 uni 1/3
ethernet-service sap 72 sap-profile "Translate"
ethernet-service sap 72 uni 1/3
vlan ipmvlan 9 receiver-port port 1/3
ethernet-service sap 9 sap-profile "Translate"
ethernet-service sap 9 uni 1/3
vlan ipmvlan 9 address 232.84.1.1-232.84.1.254

-----------------------------------------------------------------------------------
-----------------------------------------------------------

Them mot Vlan VoiP moi vao cong uplink 1/1

ethernet-service svlan 3607 name "VoiP"


ip service all
ethernet-service svlan 3607 nni 1/1
ethernet-service service-name "VoiP_CusA" svlan 3607
ethernet-service sap 71 service-name "VoiP_CusA"
ethernet-service sap 71 sap-profile "Translate"
ethernet-service sap 71 uni 1/2
ethernet-service sap 71 cvlan 3607

-----------------------------------------------------------------------------------
--------------------------------------------------------

Cau hinh dich vu Q in Q SVLAN/CVLAN khong day tag

Them mot Vlan VPN-L3 moi vao cong uplink 1/1, cong UNI 1/21 va 1/22 cau hinh
untagged

ethernet-service svlan 2546 name "TEST1-MDU"


ethernet-service svlan 2546 nni 1/1
ethernet-service service-name "MDU_CusA" svlan 2546
ethernet-service sap 546 service-name "MDU_CusA"
ethernet-service sap 546 uni 1/21
ethernet-service sap 546 cvlan untagged

ethernet-service svlan 2547 name "TEST2-MDU"


ethernet-service svlan 2547 nni 1/1
ethernet-service service-name "MDU_CusB" svlan 2547
ethernet-service sap 547 service-name "MDU_CusB"
ethernet-service sap 547 uni 1/22
ethernet-service sap 547 cvlan untagged
--------------------------------------------------------

Cau hinh PPPoE QinQ untagged, dung trong truong hop CPE khong ho tro co tag,

viec dong them tag CVLAN se duoc thuc hien tren 7606, switch 6424 cau hinh chi co
SVLAN

ethernet-service svlan 1721 name "test"


ethernet-service svlan 1721 nni 1/1
ethernet-service service-name "HSI_test" svlan 1721
ethernet-service sap 15 service-name "HSI_test"
ethernet-service sap 15 uni 1/24
ethernet-service sap 15 cvlan untagged
--------------------------------------------------------

Cau hinh PPPoE QinQ tagged, dung trong truong hop CPE ho tro co day tag CVLAN, viec
dong them tag CVLAN se duoc thuc hien tren CPE,

switch 6424 chi cau hinh SVLAN.

ethernet-service svlan 2264 name "test"


ethernet-service svlan 3501 name "test-QinQ"
ethernet-service svlan 3501 nni 1/1
ethernet-service svlan 2264 nni 1/1
ethernet-service service-name "HSI-QinQ" svlan 3501
ethernet-service service-name "HSI_test" svlan 2264
ethernet-service sap 15 service-name "HSI_test"
ethernet-service sap 15 cvlan untagged
ethernet-service sap 15 cvlan 3501
ethernet-service sap 15 uni 1/15
ethernet-service sap 15 uni 1/24

-----------------------------------------------------------------------------------
----------------------------------------------------------------

Cau hinh 6424 Dot1.q trong truong hop dau noi duoi voi Switch 6424-01 truoc no hoac
cau hinh chia Vlan tao cac cong Access

hoac trunking nhu cac Switch L2 khac.

Cong 1/1 trunk vlan 8,70,71


Cong 1/2 access vlan 70 cho internet
Cong 1/3 trunk vlan 8, 71 cho internet & MyTV
Cong 10 den 24 access vlan 8 cho MyTV

Truong hop khac cau hinh Dot1.q tren 6424 va noi duoi voi mot switch khac (VFT 2824
chang han) khi cau hinh PPPoE chay QinQ dong SVLAN tren MEN,
tren 6424 chi trunking day cac VLAN xuong Switch phia duoi

* Cau hinh tren 6424

vlan 101 enable name "VLAN 101"


vlan 11 enable name "VLAN 11"
vlan9 enable name "VLAN 9"

Cong 1/1 trunk vlan 9,11,101(Cong Uplink dau noi voi 7606)
Cong 1/3 trunk vlan 9,11,101(Cho internet & MyTV-Cong downlink xuong Switch
VFT2824)

* Cau hinh tren VFT2824

------------------------------------------

Cau hinh vlan

vlan 70 enable name "VLAN 70"


vlan 71 enable name "VLAN 71"
vlan 8 enable name "VLAN 8"
------------------------------------------

Cau hinh cong 1/1 trunking

vlan 70 enable name "VLAN 70"


vlan 71 enable name "VLAN 71"
vlan 8 enable name "VLAN 8"
vlan 8 802.1q 1/1
vlan 70 802.1q 1/1
vlan 71 802.1q 1/1

-------------------------------------------

Cau hinh cong 1/3 trunking

vlan 71 enable name "VLAN 71"


vlan 8 enable name "VLAN 8"
vlan 8 802.1q 1/3
vlan 71 802.1q 1/3

--------------------------------------------

Cau hinh cong 1/2, 1/10 - 1/24 access

vlan 70 enable name "VLAN 70"


vlan 8 enable name "VLAN 8"
vlan 70 port default 1/2
vlan 8 port default 1/10-24

-----------------------------------------------------------------------------------
----------------------------------------------------------------

Them mot Vlan VPN-L2 moi vao cong uplink 1/1

ethernet-service svlan 2548 name "VPN-L2A"


ip service all
ethernet-service svlan 2548 nni 1/1
ethernet-service service-name "VPN_CusA" svlan 2548
ethernet-service sap 70 service-name "VPN_CusA"
ethernet-service sap 70 sap-profile "Translate"
ethernet-service sap 70 uni 1/2
ethernet-service sap 70 cvlan 2548

-----------------------------------------------------

ethernet-service svlan 2549 name "VPN-L2B"


ip service all
ethernet-service svlan 2549 nni 1/1
ethernet-service service-name "VPN_CusB" svlan 2549
ethernet-service sap 71 service-name "VPN_CusB"
ethernet-service sap 71 sap-profile "Translate"
ethernet-service sap 71 uni 1/4
ethernet-service sap 71 cvlan 2549

------------------------------------------------------

ethernet-service svlan 201 name "VPN-L2AB"


ip service all
ethernet-service svlan 201 nni 1/1
ethernet-service service-name "VPN_CusAB" svlan 201
ethernet-service sap 73 service-name "VPN_CusAB"
ethernet-service sap 73 sap-profile "Translate"
ethernet-service sap 73 uni 1/2
ethernet-service sap 73 cvlan 201

------------------------------------------------------

ethernet-service svlan 202 name "VPN-L2BA"


ip service all
ethernet-service svlan 202 nni 1/1
ethernet-service service-name "VPN_CusBA" svlan 202
ethernet-service sap 74 service-name "VPN_CusBA"
ethernet-service sap 74 sap-profile "Translate"
ethernet-service sap 74 uni 1/4
ethernet-service sap 74 cvlan 202

ethernet-service sap 73 sap-profile "Translate"


ethernet-service sap 73 uni 1/3

ethernet-service sap 74 sap-profile "Translate"


ethernet-service sap 74 uni 1/3

-----------------------------------------------------------------------------------
---------------------------------------------------------

Them mot Vlan Internet moi vao cong uplink 1/1

ethernet-service svlan 80 name "FiberInternet"


ip service all
ethernet-service svlan 80 nni 1/1
ethernet-service service-name "FiberInternet_CusA" svlan 80
ethernet-service sap 80 service-name "FiberInternet_CusA"
ethernet-service sap 80 sap-profile "Translate"
ethernet-service sap 80 uni 1/2
ethernet-service sap 80 cvlan 80

-----------------------------------------------------------------------------------
---------------------------------------------------------

Them mot Vlan VoiP moi vao cong uplink 1/1

ethernet-service svlan 72 name "FiberInternet"


ip service all
ethernet-service svlan 72 nni 1/1
ethernet-service service-name "VoiP72_CusA" svlan 72
ethernet-service sap 72 service-name "VoiP72_CusA"
ethernet-service sap 72 sap-profile "Translate"
ethernet-service sap 72 uni 1/2
ethernet-service sap 72 cvlan 72

-----------------------------------------------------------------------------------
----------------------------------------------------------------

Them mot Vlan 11 VOD-Layer2 moi vao cong uplink 1/1


ethernet-service svlan 11 name "VOD_Layer2"
ip service all
ethernet-service svlan 11 nni 1/1
ethernet-service service-name "VOD_Layer2_CusA" svlan 11
ethernet-service sap 72 service-name "VOD_Layer2_CusA"
ethernet-service sap 72 sap-profile "Translate"
ethernet-service sap 72 uni 1/2
ethernet-service sap 72 cvlan 11

-----------------------------------------------------------------------------------
--------------------------------------------------------------

Chuyen doi Vlan 8 khach hang sang Vlan 11 (Translate tren 6424 khong can thay doi
Vlan tren CPE)

ethernet-service svlan 11 name "VOD_Layer2"


ip service all
ethernet-service svlan 11 nni 1/1
ethernet-service sap-profile "Translate" cvlan-tag translate
ethernet-service service-name "VOD_Layer2_CusA" svlan 11
ethernet-service sap 11 service-name "VOD_Layer2_CusA"
ethernet-service sap 11 sap-profile "Translate"
ethernet-service sap 11 uni 1/2
ethernet-service sap 11 cvlan 8

-----------------------------------------------------------------------------------
--------------------------------------------------------------

Tao cac Frame packet MTU tren port 1/21 va 1/22

interfaces 1/21 max frame 1518

interfaces 1/22 max frame 1518

-----------------------------------------------------------------------------------
--------------------------------------------------------------

Thu nghiem option 82

TEST_SWITCH# show ip helper dhcp-snooping vlan


VLAN Opt82 MAC Addr
ID Insertion Verification
------+----------+--------------
8 Disabled Enabled

TEST_SWITCH# show ip helper dhcp-snooping port


Slot Trust IP Src Opt82 MAC Server Relay Binding
Port Mode Filtering Violation Violation Violation Violation Violation
------+-------+------------+----------+----------+----------+----------+----------
1/1 Trusted Disabled 0 0 0 0 0
1/2 Client Disabled 0 0 0 0 0
1/3 Client Disabled 0 0 0 0 0
1/9 Client Disabled 0 0 0 0 0

-----------------------------------------------------
Khoi tao DHCP snooping

ip helper dhcp-snooping vlan 8


ip helper dhcp-snooping vlan 8 option-82 data-insertion disable
ip helper dhcp-snooping binding enable
ip helper dhcp-snooping port 1/1 trust

ip helper dhcp-snooping option-82 data-insertion enable


ip helper dhcp-snooping vlan 72
ip helper dhcp-snooping port 1/1 trust
show ip helper dhcp-snooping vlan 72

Huy bo DHCP snooping

ip helper dhcp-snooping option-82 data-insertion disable


no ip helper dhcp-snooping vlan 72
ip helper dhcp-snooping binding disable

-----------------------------------------------------------------------------------
--------------------------------------------------------------

Cau hinh port mapping chong loop port (cach ly cac port voi nhau )

port mapping 1
port mapping 1 user-port 1/1 (cong access)
port mapping 1 user-port 1/3 (cong access)
port mapping 1 network-port 1/24 (cong uplink)
port mapping 1 enable

-----------------------------------------------------------------------------------
---------------------------------------------------------------------

Lenh mirro port 6424

TEST_SWITCH# port mirroring 1 destination 1/6


TEST_SWITCH# port mirroring 1 source 1/1
TEST_SWITCH# show port mirroring status

-----------------------------------------------------------------------------------
-----------------------------------------------------------------------

Cau hinh Vlan quan ly

ethernet-service svlan 3995


ethernet-service svlan 3995 nni 1/1
ethernet-service service-name "quanly" svlan 3995
ethernet-service sap 100 service-name "quanly"
ethernet-service sap 100 sap-profile "Translate"
ethernet-service sap 100 uni 1/2
ethernet-service sap 100 cvlan 3995
ip interface �IP_Mngt� address 172.31.8.9 mask 255.255.0.0 vlan 3995

-----------------------------------------------------------------------------------
------------------------------------------------------------------------

Ap QoS cho port 1/5 dung FiberVNN

policy condition condition5_egress destination port 1/5


policy condition condition5_ingress source port 1/5
policy action action5_egress maximum bandwidth 20.0M maximum depth 16.0M
policy action action5_ingress maximum bandwidth 20.0M maximum depth 16.0M
policy rule rule5_ingress condition condition5_ingress action action5_ingress
policy rule rule5_egress condition condition5_egress action action5_egress
qos apply

-------------------------------------------------------------

Ap QoS cho port 1/3 dung FiberVNN

policy condition condition3_egress destination port 1/3


policy condition condition3_ingress source port 1/3
policy action action3_egress maximum bandwidth 37.0M maximum depth 16.0M
policy action action3_ingress maximum bandwidth 37.0M maximum depth 16.0M
policy rule rule3_ingress condition condition3_ingress action action3_ingress
policy rule rule3_egress condition condition3_egress action action3_egress
qos apply

-------------------------------------------------------------

Ap QoS cho port 1/2 dung FiberVNN

policy condition condition2_egress destination port 1/2


policy condition condition2_ingress source port 1/2
policy action action2_egress maximum bandwidth 42.0M maximum depth 16.0M
policy action action2_ingress maximum bandwidth 42.0M maximum depth 16.0M
policy rule rule2_ingress condition condition2_ingress action action2_ingress
policy rule rule2_egress condition condition2_egress action action2_egress
qos apply

-------------------------------------------------------------

Xoa ap QoS

no policy rule port2


no policy action port2_action
no policy condition port2_condition
qos apply

--------------------------------------------------------------

Kiem tra ap QoS

#show qos port 1/1 ; show interaces fastethernet x/y counters ;


#show qos port 1/2; show interaces fastethernet x/y counters;

-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------

Thiet lap toc do cho Interface, truoc het phai de interface o mode disable
negotiate

#interfaces slot/port autoneg off

--------------------------------------------------------------

Sau do moi thiet lap toc do cho cong


#interfaces slot/port speed [10/100/1000/10000/auto]

Vi du: Dat toc do cho cong 1/9 toc do la 100Mb/s

#interfaces 1/9 autoneg off


#interfaces 1/9 speed 100

--------------------------------------------------------------

Cau hinh Duplex mode

#interfaces slot/port duplex full [half, full,auto]

Vi du: #interfaces 1/9 duplex full

---------------------------------------------------------------

Cau hinh Enable/disable port

#interfaces slot/port admin [up,down]

Mac dinh tat ca cac port enable

-----------------------------------------------------------------------------------
--------------------------------------------------------------

Hoi cau hinh

show configuration snapshot

Luu cau hinh:

show running-directory
Xem switch dang hoat dong o mode nao, neu dang hoat dong o mode working thi copy
sang mode certified

copy working certified


write memory

-----------------------------------------------------------------------------------
--------------------------------------------------------------

Xoa cau hinh:

TEST_SWITCH# cd working
TEST_SWITCH# ls

Listing Directory /flash/working:

drw 4096 Jun 29 02:46 ./


drw 4096 Jul 18 06:27 ../
-rw 17062510 Feb 14 03:15 Gbase.img
-rw 1826253 Jun 10 2009 Gdiag.img
-rw 5435811 Feb 14 03:13 Geni.img
-rw 1899720 Feb 14 03:14 Gos.img
-rw 608014 Feb 14 03:15 Gsecu.img
-rw 615 Jun 10 2009 software.lsm
-rw 3554 Jun 29 02:46 boot.cfg

67567616 bytes free

TEST_SWITCH# delete boot.cfg

TEST_SWITCH# reload working no rollback-timeout


Confirm Activate (Y/N) : y

-----------------------------------------------------------------------------------
-------------------------------------------------------------

Dat ten cho Switch

session prompt default "TEST_SWITCH#"

-----------------------------------------------------------------------------------
-------------------------------------------------------------

You might also like