|
|
Table Of Contents
Sample Configurations for Dhub Switches
Sample Configurations for Dhub Switches
This appendix presents sample configurations for the following Cisco Catalyst 6509 Dhub switches in Figure 3-1, in Dhub A, Dhub B, and Dhub C, respectively:
DHub_Sw_A Configuration
version 12.2service timestamps debug datetime localtimeservice timestamps log datetime localtimeno service password-encryptionservice internal!hostname DHub_Sw_A!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 received from Headendrd 1000:2!mpls ldp logging neighbor-changesno mls flow ipno mls flow ipv6mls qos map dscp-cos 32 to 5mls qosmls cef error action freeze!!power redundancy-mode combined!spanning-tree mode pvstspanning-tree portfast bpduguard defaultno spanning-tree optimize bpdu transmissionspanning-tree extend system-idno spanning-tree vlan 1690,1694port-channel load-balance dst-portdiagnostic 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 1690,1694!class-map match-all class_high_speed_datamatch access-group name acl_high_speed_data!!policy-map setDSCPdescription Mark DSCP values for the different types of traffic.class class_high_speed_dataset dscp default!!interface Loopback1description Endpoint for Tunnel1ip address 11.11.11.11 255.255.255.255!interface Loopback2description Endpoint for Tunnel2ip address 12.12.12.12 255.255.255.255!interface Port-channel1description Video traffic to/from QAM_Sw_A (Gig3/1,Gig4/14)ip vrf forwarding Videoip address 192.168.160.1 255.255.255.240!interface Tunnel1description Vlan1690 Tx to Headend_S3ip vrf forwarding Videono ip addresstunnel source Loopback1tunnel destination 10.10.10.10tunnel udlr send-only Vlan1690tunnel udlr address-resolution!interface Tunnel2description Vlan1694 Rx from DHub_Sw_Bip vrf forwarding Videono ip addresstunnel source Loopback2tunnel destination 13.13.13.13tunnel udlr receive-only Vlan1694!interface TenGigabitEthernet1/1description UDL1 Rx from Headend, UDL2 Tx to DHub_Sw_Bno ip addressno wrr-queue random-detect 2mls qos trust dscpswitchportswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 1690,1694switchport mode trunkswitchport nonegotiate!interface TenGigabitEthernet1/2no ip addressshutdown!interface TenGigabitEthernet1/3no ip addressshutdown!interface TenGigabitEthernet1/4no ip addressshutdown!interface GigabitEthernet3/1description BDL1: Non-video traffic to/from Headend (Gig2/15)ip address 192.168.168.2 255.255.255.252mls qos trust dscp!interface GigabitEthernet3/2description BDL2: Non-video traffic to/from DHub_Sw_B (Gig3/2)ip address 192.168.168.5 255.255.255.252mls qos trust dscp!interface GigabitEthernet3/3no ip addressshutdown!interface GigabitEthernet3/4description BDL42: High speed dataip address 192.168.168.17 255.255.255.252no cdp enableservice-policy input setDSCP!interface GigabitEthernet3/5no ip addressshutdown!interface GigabitEthernet3/6description BDL51: Video traffic to/from QAM_Sw_A (Gig3/1)ip vrf forwarding Videono ip addresschannel-group 1 mode on!interface GigabitEthernet3/7description BDL52: Video traffic to/from QAM_Sw_A (Gig4/14)ip vrf forwarding Videono ip addresschannel-group 1 mode on!interface GigabitEthernet3/8description BDL53: Video traffic to/from uMG9820ip vrf forwarding Videoip address 192.168.160.17 255.255.255.252no ip redirectsno ip unreachablesspeed nonegotiate!interface GigabitEthernet5/1no ip addressshutdown!interface GigabitEthernet5/2no ip addressmedia-type rj45shutdown!interface Vlan1no ip addressshutdown!interface Vlan1690description Video traffic to/from Headendip vrf forwarding Videoip address 192.168.169.2 255.255.255.252!interface Vlan1694description Video traffic to/from DHub_Sw_Bip vrf forwarding Videoip address 192.168.169.5 255.255.255.252!router ospf 100 vrf Videolog-adjacency-changescapability vrf-litenetwork 192.168.160.0 0.0.0.255 area 0network 192.168.169.0 0.0.0.7 area 0!router ospf 101log-adjacency-changespassive-interface defaultno passive-interface Vlan1690no passive-interface Vlan1694no passive-interface GigabitEthernet3/1no passive-interface GigabitEthernet3/2network 1.1.1.2 0.0.0.0 area 0network 11.11.11.11 0.0.0.0 area 0network 12.12.12.12 0.0.0.0 area 0network 192.168.168.0 0.0.0.31 area 0!ip classlessno ip http server!!ip access-list extended acl_high_speed_dataremark Identify high speed data traffic.permit ip 192.168.168.16 0.0.0.3 any!!dial-peer cor custom!!line con 0exec-timeout 0 0password cisco123logging synchronousloginline vty 0 4exec-timeout 0 0password cisco123logging synchronouslogin!scheduler runtime netinput 300!endDHub_Sw_B Configuration
version 12.2service timestamps debug datetime localtimeservice timestamps log datetime localtimeno service password-encryption!hostname DHub_Sw_B!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 received from Headendrd 1000:3!mpls ldp logging neighbor-changesmls ip cef load-sharing fullno mls flow ipno mls flow ipv6mls qos map dscp-cos 32 to 5mls qosmls cef error action freeze!!power redundancy-mode combined!spanning-tree mode pvstspanning-tree portfast bpduguard defaultno spanning-tree optimize bpdu transmissionspanning-tree extend system-idno spanning-tree vlan 1694port-channel load-balance dst-portdiagnostic cns publish cisco.cns.device.diag_resultsdiagnostic cns subscribe cisco.cns.device.diag_commands!redundancymode ssomain-cpuauto-sync running-configauto-sync standard!vlan internal allocation policy ascendingvlan access-log ratelimit 2000!vlan 164,166,1694!class-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_OOB!!policy-map setDSCPdescription Mark DSCP values for the different types of trafficclass class_VoIPset dscp efclass class_VoD_OOBset dscp cs3class class_high_speed_dataset dscp default!!interface Loopback2description Endpoint for Tunnel2ip address 13.13.13.13 255.255.255.255!interface Port-channel2description Video traffic to/from QAM_Sw_B (Gig3/2,Gig5/14)ip vrf forwarding Videoip address 192.168.161.1 255.255.255.240!interface Tunnel2description UDL2 Tx to DHub_Sw_Aip vrf forwarding Videono ip addresstunnel source Loopback2tunnel destination 12.12.12.12tunnel udlr send-only Vlan1694tunnel udlr address-resolution!interface TenGigabitEthernet1/1description UDL2: Video traffic from DHub_Sw_A (TenGig1/1)no ip addressno keepalivemls qos trust dscpunidirectional receive-onlyswitchportswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 1694switchport mode trunkswitchport nonegotiate!interface TenGigabitEthernet1/2no ip addressshutdown!interface TenGigabitEthernet1/3no ip addressshutdown!interface TenGigabitEthernet1/4no ip addressshutdown!interface GigabitEthernet3/1no ip addressshutdown!interface GigabitEthernet3/2description BDL2: Non-video traffic to/from DHub_Sw_A (Gig3/2)ip address 192.168.168.6 255.255.255.252mls qos trust dscp!interface GigabitEthernet3/3description BDL4: Non-video traffic to/from DHub_Sw_C (Gig3/3)ip address 192.168.168.9 255.255.255.252mls qos trust dscp!interface GigabitEthernet3/4description BDL43: High speed dataip address 192.168.168.21 255.255.255.252no cdp enableservice-policy input setDSCP!interface GigabitEthernet3/5no ip addressshutdown!interface GigabitEthernet3/6description BDL54: Video traffic to/from QAM_Sw_B (Gig3/2)ip vrf forwarding Videono ip addresschannel-group 2 mode on!interface GigabitEthernet3/7description BDL55: Video traffic to/from QAM_Sw_B (Gig5/14)ip vrf forwarding Videono ip addresschannel-group 2 mode on!interface GigabitEthernet3/8description BDL56: Video traffic to/from uMG9820ip vrf forwarding Videoip address 192.168.161.17 255.255.255.252no ip redirectsno ip unreachables!interface FastEthernet4/1no ip addressshutdown!! omitted interfaces FastEthernet4/2 - 42!!interface FastEthernet4/43no ip addressshutdown!interface FastEthernet4/44description BDL44: VoIP trafficno ip addressswitchportswitchport access vlan 164switchport mode accessspanning-tree portfastservice-policy input setDSCP!interface FastEthernet4/45no ip addressshutdown!interface FastEthernet4/46no ip addressshutdown!interface FastEthernet4/47no ip addressshutdown!interface FastEthernet4/48description BDL55: VoD OOB trafficno ip addressspeed 100duplex fullswitchportswitchport access vlan 166switchport mode accessno cdp enablespanning-tree portfastservice-policy input setDSCP!interface GigabitEthernet5/1no ip addressshutdown!interface GigabitEthernet5/2no ip addressmedia-type rj45shutdown!interface Vlan1no ip addressshutdown!!interface Vlan164description VoIP trafficip address 192.168.164.1 255.255.255.0!interface Vlan166description VoD OOB trafficip address 192.168.166.1 255.255.255.0!interface Vlan1694description Video traffic to/from DHub_Sw_Aip vrf forwarding Videoip address 192.168.169.6 255.255.255.252no ip redirectsno ip unreachables!router ospf 100 vrf Videolog-adjacency-changescapability vrf-litenetwork 192.168.161.0 0.0.0.255 area 0network 192.168.169.0 0.0.0.15 area 0!router ospf 101log-adjacency-changespassive-interface defaultno passive-interface Vlan1694no passive-interface GigabitEthernet3/2no passive-interface GigabitEthernet3/3network 13.13.13.13 0.0.0.0 area 0network 192.168.164.0 0.0.0.255 area 0network 192.168.166.0 0.0.0.255 area 0network 192.168.168.0 0.0.0.63 area 0!ip classlessno ip http server!!ip access-list extended acl_VoD_OOBremark Identify VoD OOB traffic.permit ip 192.168.166.0 0.0.0.255 anyip access-list extended acl_VoIPremark Identify VoIP traffic.permit ip 192.168.164.0 0.0.0.255 anyip access-list extended acl_high_speed_dataremark Identify high speed data.permit ip 192.168.168.20 0.0.0.3 any!!dial-peer cor custom!!line con 0exec-timeout 0 0password cisco123logging synchronousloginline vty 0 4exec-timeout 0 0password cisco123logging synchronouslogin!endDHub_Sw_C Configuration
version 12.2service timestamps debug datetime localtimeservice timestamps log datetime localtimeno service password-encryption!hostname DHub_Sw_C!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 received from Headendrd 1001:4!mpls ldp logging neighbor-changesno mls flow ipno mls flow ipv6mls qos map dscp-cos 32 to 5mls qosmls cef error action freeze!!power redundancy-mode combinedspanning-tree mode pvstspanning-tree portfast bpduguard defaultno spanning-tree optimize bpdu transmissiondiagnostic 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 165!class-map match-all class_VoIPmatch access-group name acl_VoIP!!policy-map setDSCPdescription Mark DSCP values for the VoIP traffic.class class_VoIPset dscp ef!!interface Loopback3description Endpoint for Tunnel 3ip address 15.15.15.15 255.255.255.255!interface Tunnel3description UDL3 Tx to Headendip vrf forwarding Videono ip addresstunnel source Loopback3tunnel destination 14.14.14.14tunnel udlr send-only TenGigabitEthernet1/1tunnel udlr address-resolution!interface TenGigabitEthernet1/1description UDL3: Video traffic from Headend (TenGig7/3)ip vrf forwarding Videoip address 192.168.169.10 255.255.255.252mls qos trust dscpunidirectional receive-only!interface TenGigabitEthernet1/2no ip addressshutdown!interface TenGigabitEthernet1/3no ip addressshutdown!interface TenGigabitEthernet1/4no ip addressshutdown!interface GigabitEthernet3/1description BDL3: Non-video traffic to/from Headend (Gig2/16)ip address 192.168.168.14 255.255.255.252mls qos trust dscp!interface GigabitEthernet3/2no ip addressshutdown!interface GigabitEthernet3/3description BDL4: Non-video traffic to/from DHub_Sw_B (Gig3/3)ip address 192.168.168.10 255.255.255.252mls qos trust dscp!interface GigabitEthernet3/4no ip addressshutdown!! omitted interfaces GigabitEthernet3/5 - 15!interface GigabitEthernet3/16no ip addressshutdown!interface GigabitEthernet4/1description BDL57: Video traffic to QAM_Sw_C (Gig6/13)ip vrf forwarding Videoip address 192.168.162.1 255.255.255.248!interface GigabitEthernet4/3description BDL59: VoD traffic to uMG9820ip vrf forwarding Videoip address 192.168.162.17 255.255.255.252no ip redirectsno ip unreachables!interface GigabitEthernet4/4no ip address!! omitted interfaces GigabitEthernet4/5 - 44!interface GigabitEthernet4/45no ip addressshutdown!interface GigabitEthernet4/46description BDL48: VoIP trafficno ip addressswitchportswitchport access vlan 165switchport mode accessspanning-tree portfastservice-policy input setDSCP!interface GigabitEthernet4/47no ip addressshutdown!interface GigabitEthernet4/48no ip addressshutdown!interface GigabitEthernet5/1no ip addressshutdown!interface GigabitEthernet5/2no ip addressmedia-type rj45shutdown!interface Vlan1no ip addressshutdown!!interface Vlan165description VoIP trafficip address 192.168.165.1 255.255.255.0!router ospf 100 vrf Videolog-adjacency-changescapability vrf-litenetwork 192.168.162.0 0.0.0.255 area 0network 192.168.169.0 0.0.0.31 area 0!router ospf 101log-adjacency-changespassive-interface defaultno passive-interface TenGigabitEthernet1/1no passive-interface GigabitEthernet3/1no passive-interface GigabitEthernet3/3network 15.15.15.15 0.0.0.0 area 0network 192.168.165.0 0.0.0.255 area 0network 192.168.168.8 0.0.0.7 area 0!ip classlessno ip http server!!ip access-list extended acl_VoIPremark Identify VoIP traffic.permit ip 192.168.165.0 0.0.0.255 any!!dial-peer cor custom!!line con 0exec-timeout 0 0password cisco123logging synchronousloginline vty 0 4exec-timeout 0 0password cisco123logging synchronouslogin!end
Posted: Mon Mar 13 09:11:49 PST 2006
All contents are Copyright © 1992--2006 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.