|
|
Table Of Contents
Sample Configuration for a Headend Switch
Sample Configuration for a Headend Switch
This appendix presents a sample configuration for the Cisco 7609 labeled Headend in Figure 3-1.
version 12.2service timestamps debug datetime localtimeservice timestamps log datetime localtimeno service password-encryption!hostname Headend!boot system bootflash:s72033-jk9o3sv-mz.122-17d.SXB1.binlogging snmp-authfailenable password cisco123!clock timezone PST -8clock summer-time PDT recurringvtp mode transparentip subnet-zero!no ip domain-lookup!ip vrf Videodescription Video traffic destined for DHubsrd 1000:1!mpls ldp logging neighbor-changesno mls flow ipno mls flow ipv6mls qos map dscp-cos 32 to 5mls qosmls cef error action freeze!!spanning-tree mode pvstspanning-tree portfast bpduguard defaultno spanning-tree optimize bpdu transmissionspanning-tree extend system-idno spanning-tree vlan 1690diagnostic cns publish cisco.cns.device.diag_resultsdiagnostic cns subscribe cisco.cns.device.diag_commands!redundancymode rpr-plusmain-cpuauto-sync running-configauto-sync standard!vlan internal allocation policy ascendingvlan access-log ratelimit 2000!vlan 50,65-67,1690!class-map match-all class_video_highmatch access-group name acl_video_highclass-map match-all class_VoIPmatch access-group name acl_VoIPclass-map match-all class_high_speed_datamatch access-group name acl_high_speed_dataclass-map match-all class_VoD_OOBmatch access-group name acl_VoD_OOBclass-map match-all class_video_lowmatch access-group name acl_video_low!!policy-map setDSCPdescription Mark DSCP values for the different types of trafficclass class_video_highset dscp cs4class class_video_lowset dscp af41class class_VoIPset dscp efclass class_VoD_OOBset dscp cs3class class_high_speed_dataset dscp default!!interface Loopback1description Endpoint for Tunnel1ip address 10.10.10.10 255.255.255.255!interface Loopback3description Endpoint for Tunnel3ip address 14.14.14.14 255.255.255.255!interface Tunnel1description Vlan1690 Rx from DHub_Sw_Aip vrf forwarding Videono ip addresstunnel source Loopback1tunnel destination 11.11.11.11tunnel udlr receive-only Vlan1690!interface Tunnel3description UDL3 Rx from DHub_Sw_Cip vrf forwarding Videono ip addresstunnel source Loopback3tunnel destination 15.15.15.15tunnel udlr receive-only TenGigabitEthernet7/3!interface GigabitEthernet2/1no ip addressshutdown!interface GigabitEthernet2/2no ip addressshutdown!interface GigabitEthernet2/3no ip addressshutdown!interface GigabitEthernet2/4no ip addressshutdown!interface GigabitEthernet2/5no ip addressshutdown!interface GigabitEthernet2/6no ip addressshutdown!interface GigabitEthernet2/7no ip addressshutdown!interface GigabitEthernet2/8no ip addressshutdown!interface GigabitEthernet2/9description BDL32: High speed datano ip addressswitchportswitchport access vlan 65switchport mode accessno cdp enablespanning-tree portfastservice-policy input setDSCP!interface GigabitEthernet2/10description BDL33: High speed datano ip addressswitchportswitchport access vlan 65switchport mode accessno cdp enablespanning-tree portfastservice-policy input setDSCP!interface GigabitEthernet2/11no ip addressshutdown!interface GigabitEthernet2/12no ip addressshutdown!interface GigabitEthernet2/13no ip addressshutdown!interface GigabitEthernet2/14no ip addressshutdown!interface GigabitEthernet2/15description BDL1: Non-video traffic to/from DHub_Sw_A (Gig3/1)ip address 192.168.168.1 255.255.255.252mls qos trust dscp!interface GigabitEthernet2/16description BDL3: Non-video traffic to/from DHub_Sw_C (Gig3/1)ip address 192.168.168.13 255.255.255.252mls qos trust dscp!interface GigabitEthernet3/1description BDL34: VoIP trafficno ip addressswitchportswitchport access vlan 66switchport mode accessno cdp enablespanning-tree portfastservice-policy input setDSCP!interface GigabitEthernet3/2description BDL35: VoIP trafficno ip addressswitchportswitchport access vlan 66switchport mode accessno cdp enablespanning-tree portfastservice-policy input setDSCP!interface GigabitEthernet3/3no ip addressshutdown!interface GigabitEthernet3/4no ip addressshutdown!interface GigabitEthernet3/5no ip addressshutdown!interface GigabitEthernet3/6no ip addressshutdown!interface GigabitEthernet3/7no ip addressshutdown!interface GigabitEthernet3/8description BDL52: VoD OOBno ip addressspeed 100duplex fullswitchportswitchport access vlan 67switchport mode accessno cdp enablespanning-tree portfastservice-policy input setDSCP!interface GigabitEthernet3/9no ip addressshutdown!! omitted interfaces GigabitEthernet3/10 - 35!interface GigabitEthernet3/36no ip addressshutdown!interface GigabitEthernet3/37description BDL6: Concurrent VoD server ingress (MH-4000-1)no ip addressspeed 1000duplex fullswitchportswitchport access vlan 50switchport mode accessno cdp enablespanning-tree portfastservice-policy input setDSCP!interface GigabitEthernet3/38description BDL7: SeaChange VoD server ingress (ITVDemo1)no ip addressspeed 1000duplex fullswitchportswitchport access vlan 50switchport mode accessno cdp enablespanning-tree portfastservice-policy input setDSCP!interface GigabitEthernet3/39description BDL8: Concurrent VoD server ingress (MH-4000-6)no ip addressspeed 1000duplex fullswitchportswitchport access vlan 50switchport mode accessno cdp enablespanning-tree portfastservice-policy input setDSCP!interface GigabitEthernet3/40no ip addressshutdown!! omitted interfaces GigabitEthernet3/41 - 47!interface GigabitEthernet3/48no ip addressshutdown!interface GigabitEthernet5/1no ip addressshutdown!interface GigabitEthernet5/2no ip addressmedia-type rj45shutdown!interface TenGigabitEthernet7/1description UDL1: Video traffic to DHub_Sw_A (TenGig1/1)no ip addressno wrr-queue random-detect 2unidirectional send-onlyswitchportswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 1690switchport mode trunkswitchport nonegotiate!interface TenGigabitEthernet7/2no ip addressshutdown!interface TenGigabitEthernet7/3description UDL3: Video traffic to DHub_Sw_C (TenGig1/1)ip vrf forwarding Videoip address 192.168.169.9 255.255.255.252no wrr-queue random-detect 2unidirectional send-only!interface TenGigabitEthernet7/4no ip addressshutdown!interface Vlan1no ip addressshutdown!interface Vlan50description VoD serversip vrf forwarding Videoip address 192.168.50.2 255.255.255.0no ip unreachablesstandby 50 ip 192.168.50.1!interface Vlan65description High speed dataip address 192.168.65.1 255.255.255.0!interface Vlan66description VoIP trafficip address 192.168.66.1 255.255.255.0!interface Vlan67description VoD OOB trafficip address 192.168.67.1 255.255.255.0!interface Vlan1690description Video traffic to/from DHub_Sw_Aip vrf forwarding Videoip address 192.168.169.1 255.255.255.252no ip unreachables!router ospf 100 vrf Videolog-adjacency-changescapability vrf-litenetwork 192.168.50.0 0.0.0.255 area 0network 192.168.169.0 0.0.0.3 area 0network 192.168.169.8 0.0.0.3 area 0network 192.168.169.32 0.0.0.3 area 0network 192.168.169.36 0.0.0.3 area 0!router ospf 101log-adjacency-changespassive-interface defaultno passive-interface Vlan1690no passive-interface GigabitEthernet2/15no passive-interface GigabitEthernet2/16no passive-interface TenGigabitEthernet7/3network 10.10.10.10 0.0.0.0 area 0network 14.14.14.14 0.0.0.0 area 0network 192.168.65.0 0.0.0.255 area 0network 192.168.66.0 0.0.0.255 area 0network 192.168.67.0 0.0.0.255 area 0network 192.168.168.0 0.0.0.3 area 0network 192.168.168.12 0.0.0.3 area 0!ip classlessno ip http server!!ip access-list extended acl_VoD_OOBremark Identify VoD OOB traffic.permit ip 192.168.67.0 0.0.0.255 anyip access-list extended acl_VoIPremark Identify VoIP traffic.permit ip 192.168.66.0 0.0.0.255 anyip access-list extended acl_high_speed_dataremark Identify high speed data.permit ip 192.168.65.0 0.0.0.255 anyip access-list extended acl_video_highremark Identify high priority VoD server traffic.permit udp 192.168.48.0 0.0.7.255 192.168.160.0 0.0.3.255 range 3329 6399ip access-list extended acl_video_lowremark Identify low priority VoD server traffic.permit udp 192.168.48.0 0.0.7.255 192.168.160.0 0.0.3.255 range 257 3327!dial-peer cor custom!!line con 0exec-timeout 0 0password cisco123logging synchronousloginline vty 0 4exec-timeout 0 0password ciscologging synchronouslogin!end
Posted: Mon Mar 13 09:09:27 PST 2006
All contents are Copyright © 1992--2006 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.