|
|
Table Of Contents
Implementing and Configuring the Solution
Common Tasks: Configuring SSM Mapping with DNS Lookup
Configuring SSM Mapping on All Switches
Configuring the Edge Switches for DNS Queries
Configuring the 10-GE Symmetric Topology
Configuring the 1-GE Asymmetric Topology
Implementing and Configuring the Solution
This chapter begins with tasks common to the 10-GE symmetric and 1-GE asymmetric topologies used in the Cisco GOVoBB solution:
•
Common Tasks: Configuring SSM Mapping with DNS Lookup
It then presents the details of configuring each topology:
•
Configuring the 10-GE Symmetric Topology
•
Configuring the 1-GE Asymmetric Topology
Note
For command references and best practices for the switches used, see the following:
— Cisco Catalyst 6500 Series Switches:
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat6000/index.htm
— Cisco 7600 Series Router:
http://www.cisco.com/univercd/cc/td/doc/product/core/cis7600/index.htm
—Cisco Catalyst 4500 Series Switches:
http://www.cisco.com/univercd/cc/td/doc/product/lan/cat4000/
Common Tasks: Configuring SSM Mapping with DNS Lookup
As discussed in Multicast, Source Specific Multicast (SSM) is used simplify the configuration of a multicast network, and is common to both topologies. The solution uses edge devices that do not support IGMPv3. The switches accept IGMPv2 messages and convert these to IGMPv3 by resolving the source IP address of the multicast group by means of either a static mapping or a DNS resource record. This solution uses a DNS lookup method.
Note
For the details and an extended discussion of SSM mapping, see "Source Specific Multicast (SSM) Mapping" at the following URL:
http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123newft/123t/123t_2/gtssmma.htmThe following tasks are presented:
•
Configuring SSM Mapping on All Switches
•
Configuring the Edge Switches for DNS Queries
Configuring DNS Servers
The following steps are general. Refer to your DNS server documentation for details.
Step 1
For background, refer to "DNS-Based SSM Mapping" in "Source Specific Multicast (SSM) Mapping," referenced above.
Step 2
Configure the following parameters, as appropriate:
a.
Resource records for the first multicast IP address associated with a source
b.
All other multicast IP addresses from the same source
c.
The multicast domain
d.
The timeout (optional)
Configuring SSM Mapping on All Switches
Configure the following on all switches (the DER and the ARs) in both topologies.
Step 1
Enable multicast routing.
ip multicast routingStep 2
Enable SSM mapping.
ip igmp ssm-map enable
Note
Although the document Source Specific Multicast (SSM) Mapping, referenced above, states that the ip igmp ssm-map enable command needs to be configured only on switches that are connected to IGMP clients, it was found that this led to inconsistent recovery times during solution network failure and recovery tests. A majority of the time, recovery was fast, but occasionally recovery times were poor. It was found that configuring this command on the headend switch, recovery times were more consistent, although slightly slower than the best recovery times when SSM mapping was not configured on the headend switch.
Step 3
Enable SSM on the edge switches. The default IP address range for SSM is 232.0.0.0 to 232.255.255.255.
Note
The above command also enables the ip igmp ssm-map query dns command. By default, IGMPv2 is configured on the Layer 3 interfaces, so no commands are required to enable SSM mapping with DNS query on the interfaces connected to the device that receives multicast. Also, no special commands are required to enable SSM mapping with DNS query on the Cisco 7609 interfaces that connect to the DNS servers.
Configuring the Edge Switches for DNS Queries
On the edge switches that perform the DNS queries, you must configure the domain and IP addresses of the domain name servers. The domain for the multicast video in the following example is coronado.net. (Domain names will vary.) The switches send queries to the first DNS listed in the running configuration. If the first query fails, the next query is sent to the second DNS.
Step 1
Configure the domain for multicast video.
ip domain multicast coronado.netStep 2
Configure the IP address of the first DNS.
ip name-server 192.168.10.101Step 3
Configure the IP address of the second DNS.
ip name-server 192.168.11.101
Configuring the 10-GE Symmetric Topology
This section presents the following major topics:
Introduction
Figure 4-1 illustrates the 10-GE symmetric topology used in the solution. (See Configuration 1: 10-GE Layer 3 Symmetric Ring.) All video traffic sources are on DER. Policy maps are applied to the ingress ports on DER in order to mark the DSCP values of the different service types. Traffic is routed through 10-GE bidirectional links, configured as IEEE 802.1q trunks that carry three VLANs: one for video, one for VoIP, and one for high-speed data (HSD). Two OSPF processes are used for the routing protocol. The first advertises routes for the video-related interfaces, and second advertises routes for the VoIP-related interfaces. HSD is carried around the ring on Layer 2. The HAG used in the test bed used service separation based on physical ports, as described in Traffic Separation Based on Physical Ports.
Figure 4-1 10-GE Symmetric Topology
The switches in Figure 4-1 use the line cards, hardware versions, and IOS versions listed in Table 4-1.
Table 4-2 lists VLANs, their descriptions (service types), and IP addresses, for the DER and ARs in Figure 4-1.
Table 4-3 lists the parameters used to configure the home access gateway (HAG).
Note
See HAG Functions, and "Configuring DSL Equipment."
Table 4-3 HAG Configuration Parameters
Traffic VLAN HAG Ports PVC1 VPI2 VCI3 Encapsulation Service Class PCR4 SCR5 MBS6HSD
90
0
1
8
35
LLC
UBR
—
—
—
VoIP
1x07
1
4
0
51
CBR
—
300
—
Video
1x1
2, 3
7
8
59
VBR-RT
1200
600
10
1 Permanent virtual connection
2 Virtual path identifier
3 Virtual connection identifier
4 Peak cell rate
5 Sustained cell rate
6 Maximum burst size
7 The x corresponds to the AR number 1, 2, or 3 in the corresponding VLAN
Configuring DER
This section addresses the configuration required on the switch labeled DER in Figure 4-1, to route multiple services from that switch to the ARs.
Note
A Cisco Catalyst 6509 can also be used, as it uses the same supervisor engine, line cards, and Cisco IOS code as the Cisco 7609 router.
This section addresses the following:
•
Establishing and Configuring Interfaces on DER
•
Configuring OSPF Routing for Video and Voice Traffic on DER
•
Configuring Spanning Tree on DER
Note
For a complete configuration example, see "Sample DER and AR Switch Configurations for the 10-GE Symmetric Topology."
Configuring QoS on DER
This section presents the following topics:
•
Overview of QoS on a Cisco 7600 Series and Cisco Catalyst 6500 Series
•
Configuring Marking and Classification on DER
Note
For more information specific to QoS as applied to the solution, see "Understanding QoS as Implemented in the Solution."
Overview of QoS on a Cisco 7600 Series and Cisco Catalyst 6500 Series
This section addresses the configuration of quality of service (QoS) on the DER, through marking, classification, mapping, and queueing, to provide different degrees of quality of service for the different types of services supported by the solution architecture. For example, it is important to ensure the expeditious delivery of video and VoIP traffic, while providing only best-effort delivery for high-speed data (HSD).
By default, the Cisco 7600 series router and Cisco Catalyst 6500 series switch do not trust the incoming QoS markings, and therefore rewrite these bits with zeros. In this solution, packets at the network ingress ports are identified, classified, and marked according to type of traffic. The packets are marked with one of 64 possible Differentiated Services Code Point (DSCP) values at the ingress ports. These in turn are internally mapped to one of eight possible Class of Service (CoS) values, because CoS is used to determine the appropriate transmit queue for each packet. Queueing is configured on the individual 10-GE interfaces.
Note
For more information on class of service, see "White Paper: Cisco IOS Software Features for Differentiated Class of Service for Internetworks," at the following URL:
http://www.cisco.com/warp/public/cc/pd/iosw/iore/tech/osfea_wp.htmConfiguring Marking and Classification on DER
Do the following to enable marking and classification on DER.
Step 1
Enable QoS in global configuration mode.
mls qosStep 2
Create access lists to identify the different service types in the network.
ip access-list extended acl_HSDremark Identify HSD trafficpermit ip 192.168.90.0 0.0.0.255 anyip access-list extended acl_VoD_signalingremark Identify VoD signaling trafficpermit ip host 192.168.10.102 anypermit ip host 192.168.10.103 anyip access-list extended acl_VoIPremark Identify VoIP trafficpermit ip 192.168.80.0 0.0.0.255 anyip access-list extended acl_video_VoD_highremark Identify high priority VoD trafficpermit udp 192.168.60.0 0.0.0.255 192.168.110.0 0.0.0.255 range 5000 9000permit udp 192.168.60.0 0.0.0.255 192.168.120.0 0.0.0.255 range 5000 9000permit udp 192.168.60.0 0.0.0.255 192.168.130.0 0.0.0.255 range 5000 9000ip access-list extended acl_video_VoD_lowremark Identify low priority VoD trafficpermit udp 192.168.60.0 0.0.0.255 192.168.110.0 0.0.0.255 range 1000 4999permit udp 192.168.60.0 0.0.0.255 192.168.120.0 0.0.0.255 range 1000 4999permit udp 192.168.60.0 0.0.0.255 192.168.130.0 0.0.0.255 range 1000 4999ip access-list extended acl_video_broadcastremark Identify broadcast video traffic (multicast)permit ip 192.168.70.0 0.0.0.255 232.0.0.0 0.255.255.255Step 3
Create class maps for the access lists created in Step 2.
class-map match-all class_VoIPmatch access-group name acl_VoIPclass-map match-all class_video_VoD_highmatch access-group name acl_video_VoD_highclass-map match-all class_video_VoD_lowmatch access-group name acl_video_VoD_lowclass-map match-all class_video_broadcastmatch access-group name acl_video_broadcastclass-map match-all class_VoD_signalingmatch access-group name acl_VoD_signalingclass-map match-all class_HSDmatch access-group name acl_HSDStep 4
Create a policy map to set the DSCP values of the different classes created in Step 3.
policy-map setDSCPdescription Mark DSCP values for ingress trafficclass class_VoIPset dscp efclass class_HSDset dscp defaultclass class_VoD_signalingset dscp cs3class class_video_broadcastset dscp af41class class_video_VoD_highset dscp af42class class_video_VoD_lowset dscp af43Step 5
Apply the policy map from Step 4 to the ingress interfaces using the following command.
service-policy input setDSCP
Note
Specific interface examples of this and other interface commands are shown in the interface provisioning sections.
Step 6
To maintain the DSCP marking applied at the network ingress interface, configure all noningress transport interfaces to trust the incoming DSCP markings.
mls qos trust dscpConfiguring Mapping on DER
Do the following to configure mapping on DER.
Step 1
View the Cisco 7600 and Cisco Catalyst 6500 default DSCP-to-CoS mapping for the different services. Use the show mls qos maps dscp-cos command.
Note
At the beginning of this section, we mentioned that there are 64 possible DSCP values and only 8 CoS values. This means that there could be more than one DSCP value for one CoS value. The following command shows the default DSCP-to-CoS mapping on the Cisco 7600 and Catalyst 6500.
Note
In the map, d1 corresponds to the y-axis value of the table, and d2 to the x-axis value.
DER# show mls qos maps dscp-cosDscp-cos map: (dscp= d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 00 00 00 00 00 00 00 00 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 03 03 03 03 03 033 : 03 03 04 04 04 04 04 04 04 044 : 05 05 05 05 05 05 05 05 06 065 : 06 06 06 06 06 06 07 07 07 076 : 07 07 07 07This table shows the following mappings:
Service Type DSCP CoSHSD
0
0
VoD low priority
34
4
VoD high priority
36
4
VoD OOB
24
3
Broadcast video
38
4
VoIP
46
5
Step 2
Change the Cisco 7600 and Cisco Catalyst 6500 DSCP-to-CoS mapping for the different services to match the specifications of the solution.
The solution specifies the following DSCP-to CoS-mappings:
Service Type DSCP CoSHSD
0
0
VoD low priority
38
1
VoD high priority
36
2
VoD OOB
24
3
Broadcast video
34
4
VoIP
46
5
a.
Execute the following command on the Cisco 7600 and Cisco Catalyst 6500 to modify the DSCP-to-CoS mapping.
mls qos map dscp-cos 36 to 2mls qos map dscp-cos 38 to 1b.
Verify the changes to the DSCP-to-CoS mappings.
DER# show mls qos maps dscp-cosDSCP-CoS Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 00 00 00 00 00 00 00 00 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 03 03 03 03 03 033 : 03 03 04 04 04 04 02 04 01 044 : 05 05 05 05 05 05 05 05 06 065 : 06 06 06 06 06 06 07 07 07 076 : 07 07 07 07Establishing and Configuring Interfaces on DER
Refer to Figure 4-1.
This section addresses the following:
•
Establishing VLANs for Services on DER
•
Establishing 1-GE Interfaces for Servers, HSD, and Management on DER
•
Establishing 10-GE Interfaces for Transport on DER
Establishing VLANs for Services on DER
Before 1-GE interfaces and 10-GE trunks can be configured, VLANs for the various services must be created. With the exception of VLAN 90 (high-speed data), these are all Layer 3 VLANs. (Refer to Table 4-2.)
The following is configured on DER.
Tip
For convenience in establishing these VLANs and others, you can establish all VLANs in global configuration mode first, then configure all the interfaces in interface configuration mode.
Step 1
Establish VLANs and VLAN interfaces for management (including VoD signaling, connectivity with DHCP, DNS, FTP, TFTP, and Syslog servers.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 10name VLAN_10_Managementb.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan10description Management VLAN (VoD signaling, DNS, DHCP, etc)ip address 192.168.10.1 255.255.255.0no ip redirectsno ip unreachablesc.
Change the load interval from the default of 300.
load-interval 30d.
Repeat Step 1a through Step 1c, as appropriate, for the remaining management and video aggregation VLANs and interfaces. The abbreviated configurations are shown below.
Backup DNS server
vlan 11name VLAN_11_Managementinterface Vlan11description Management VLAN (Backup DNS)ip address 192.168.11.1 255.255.255.0no ip redirectsno ip unreachablesload-interval 30Unicast video aggregation
vlan 60name VLAN_60_Unicast_Videointerface Vlan60description VoD server VLAN (Unicast Video)ip address 192.168.60.1 255.255.255.0no ip redirectsno ip unreachablesload-interval 30VoIP
vlan 80name VLAN_80_VoIPinterface Vlan80description VoIP gateway VLANip address 192.168.80.1 255.255.255.0no ip redirectsno ip unreachablesload-interval 30Step 2
Establish a VLAN for multicast video aggregation.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 70name VLAN_70_Multicast_Videob.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan70description Broadcast video source VLAN (Multicast Video)ip address 192.168.70.1 255.255.255.0no ip redirectsno ip unreachablesc.
Enable PIM sparse mode. This is the ingress port for broadcast video traffic, which is multicast addressed.
ip pim sparse-moded.
Change the load interval from the default of 300.
load-interval 30Step 3
In global configuration mode, establish a Layer 2 VLAN for high-speed data (HSD). (No Layer 3 interface is required.)
vlan 90name VLAN_90_HSDStep 4
Establish VLANs for VoIP transport. The first is for transport to and from AR1.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 800name VLAN_800_VoIP_to/from_AR1b.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan800description VoIP transport to/from AR1ip address 192.168.252.1 255.255.255.252c.
Configure Open Shortest Path First (OSPF) on the transport VLAN interface.
ip ospf network point-to-pointip ospf hello-interval 1
Note
To avoid the election of the designated router (DR) and backup designated router (BDR), and prevent the origination of an unnecessary network link state advertisement (LSA), configure the transport VLAN as a point-to-point network. In addition, reduce the interval between OSPF hello messages from 10 seconds to 1 second. This improves reconvergence in the event of failure in the transport or in a neighboring switch.
d.
Change the load interval from the default of 300.
load-interval 30e.
Repeat Step 4a through Step 4d for VoIP transport to and from AR3.
vlan 824name VoIP transport to/from AR3interface Vlan824description VoIP transport to/from AR3ip address 192.168.252.25 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30Step 5
Establish VLANs for video transport. The first is for transport to and from AR1.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 900name VLAN_900_Video_to/from_AR1b.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan900description Video transport VLAN to/from AR1ip address 192.168.254.1 255.255.255.252c.
Enable PIM sparse mode. This is the ingress port for broadcast video traffic, which is multicast addressed.
ip pim sparse-moded.
Configure OSPF on the transport VLAN interface.
ip ospf network point-to-pointip ospf hello-interval 1e.
Change the load interval from the default of 300.
load-interval 30f.
Repeat Step 5a through Step 5e to establish a VLAN for video transport to and from AR3.
vlan 924name VLAN_924_Video_to/from_AR3interface Vlan924description Video transport VLAN to/from AR3ip address 192.168.254.25 255.255.255.252ip pim sparse-modeip ospf network point-to-pointip ospf hello-interval 1load-interval 30Establishing 1-GE Interfaces for Servers, HSD, and Management on DER
VoD servers, high-speed data sources, and management resources connect to Layer 2 interfaces on DER, and their traffic is aggregated into the appropriate service VLANs.
The following is configured on DER.
Step 1
Establish an interface.
a.
Establish an interface for high-speed data.
interface GigabitEthernet1/1description High speed data ingress/egress portno ip addressb.
Configure the interface as a Layer 2 access port and assign it to VLAN 90.
switchportswitchport access vlan 90switchport mode accessc.
Change the load interval from the default of 300.
load-interval 30d.
Disable Cisco Discovery Protocol (CDP) on the interface.
no cdp enablee.
Enable PortFast on the interface to bypass the listening and learning states in Spanning Tree Protocol (STP). This allows the interface to move immediately from the blocking state to the forwarding state, rather than waiting for STP to converge.
spanning-tree portfastf.
Configure the switch to disable any interface that is configured for PortFast and receives a Bridge Protocol Data Unit (BPDU).
spanning-tree bpduguard enable
Note
This guards against a user accidentally connecting a switch to a switchport that is intended for a VoD server or other host. The switchport is disabled and the user must investigate why the port is down. If this command is not used and such an accidental connection were to happen, STP could reconverge and block other connections in the switch.
g.
Apply the "setDSCP" service policy to mark DSCP values in the inbound IP packets.
service-policy input setDSCPStep 2
Repeat Step 1a through Step 1g for the remaining server, HSD, and management 1-GE interfaces and their associated VLANs, changing the value in switchport access vlan xxx as appropriate. Those configurations are shown abbreviated below.
VoIP traffic
interface GigabitEthernet2/1description VoIP traffic ingress/egressswitchport access vlan 80Ingress multicast broadcast video
interface GigabitEthernet2/9description Broadcast video source (multicast 232.1.1.1 - 232.1.1.10)switchport access vlan 70Management for the Kasenna LR server
interface GigabitEthernet2/17description Management port from Kasenna LR Server (Eth0)switchport access vlan 10Management for the Kasenna VoD pump
interface GigabitEthernet2/18description Kasenna VoD Pump Managementswitchport access vlan 10Ingress unicast video from the Kasenna VoD pump (1)
interface GigabitEthernet2/19description Unicast video from Kasenna VoD Pump (HPN0)switchport access vlan 60
Note
In Kasenna's terminology, HPN0 stands for High-Performance Network interface 0.
Ingress unicast video from the Kasenna VoD pump (2)
interface GigabitEthernet2/20description Unicast video from Kasenna VoD Pump (HPN1)switchport access vlan 60Backup DNS server
interface GigabitEthernet2/48description Backup DNS serverswitchport access vlan 11Primary DNS, DHCP, NTP, TFTP, and Syslog servers
interface GigabitEthernet5/2description Primary DNS/DHCP/NTP/TFTP/Syslog serversswitchport access vlan 10
Note
In this case, specify the physical connection on a Gigabit Ethernet interface as RJ-45.
media-type rj45Establishing 10-GE Interfaces for Transport on DER
The 10-GE trunk interfaces create the ring topology from the DER through the ARs and back to the DER.
The following is configured on DER.
Step 1
Establish an interface to and from AR1.
a.
Establish the interface.
interface TenGigabitEthernet7/1description Transport to/from AR1 (TenGig1/1)switchportswitchport mode trunkdampeningno ip addresscarrier-delay msec 0b.
Configure the trunk for 802.1q encapsulation.
switchport trunk encapsulation dot1qc.
Assign the trunk to VLANs 90, 800, and 900. (See Table 4-2.)
switchport trunk allowed vlan 90,800,900d.
Change the load interval from the default of 300.
load-interval 30Step 2
Configure QoS on the interface.
Note
The 10-GE transport links from the DER to the ARs require modifications to the transmit queues. There are eight transmit queues, but this solution uses only three.
a.
View the default CoS to Tx-Queue mapping. The following information was extracted from the show queueing interface command.
b.
Configure the CoS-to TxQueue mapping on the 10-GE transport interfaces. HSD (CoS = 0) remains in TxQueue1 and VoIP (CoS = 5) remains in TxQueue8. The other six CoS values are associated with TxQueue2.
wrr-queue cos-map 2 1 1wrr-queue cos-map 2 2 2wrr-queue cos-map 2 3 3 4 6 7
Note
TxQueue1 and TxQueue8 use the default mappings. TxQueue2 has three thresholds: Threshold 1 = CoS 1, Threshold 2 = CoS 2, and Threshold 3 = CoS 3, 4, 6, and 7. For details, see "Understanding QoS as Implemented in the Solution."
c.
Verify the modified CoS-to-Tx-Queue mapping. The following information was extracted from the show queueing interface command.
d.
Configure the TxQueue thresholds.
TxQueue1 uses Weighted Random Early Drop (WRED) for queue-congestion management. Only HSD is queued in this queue, and when the amount of HSD in the queue reaches 75%, random packets are dropped in an attempt to keep the queue from reaching 100% utilization.
wrr-queue threshold 1 100 100 100 100 100 100 100 100wrr-queue random-detect min-threshold 1 75 100 100 100 100 100 100 100wrr-queue random-detect max-threshold 1 100 100 100 100 100 100 100 100TxQueue2 uses tail drop for queue congestion management. Low-priority VoD is assigned to the first threshold and is dropped once the queue reaches 45% utilization. High-priority VoD is assigned to the second threshold and is dropped once the queue reaches 85% utilization. VoD signaling, network signaling, and broadcast video are assigned to the third threshold and are dropped once the queue reaches 100% utilization.
wrr-queue threshold 2 45 85 100 100 100 100 100 100no wrr-queue random-detect 2e.
Configure the bandwidth of the weighted queues.
The weighted queues need to be modified to handle our modified TxQueue mappings. The ratio between TxQueue2 and TxQueue1 is 255/64 = 4, so TxQueue2 needs four times as much bandwidth as TxQueue1. Therefore, TxQueue1 is allocated 20% of the bandwidth on the interface, and TxQueue2 is allocated 80% of the bandwidth.
wrr-queue bandwidth 64 255 0 0 0 0 0f.
Configure the size of the weighted queues.
Each line card has a limited amount of buffer for the transmit queues. For this interface, 40% of the buffer is allocated for TxQueue1, and 50% of the buffer is allocated for TxQueue2.
wrr-queue queue-limit 40 50 0 0 0 0 0g.
Configure this interface (and all noningress transport interfaces) to trust the incoming DSCP markings. (This maintains the DSCP marking applied at the network ingress interface.)
mls qos trust dscpStep 3
Establish an interface to and from AR3.
a.
Establish the interface, configure the trunk for 802.1q encapsulation, and assign it to VLANs 90, 800, and 900. (See Table 4-2.)
interface TenGigabitEthernet7/1description Transport to/from AR1 (TenGig1/1)switchportswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,800,900switchport mode trunkdampeningno ip addressload-interval 30carrier-delay msec 0b.
Proceed as in Step 1b through Step 2 of this task.
Configuring OSPF Routing for Video and Voice Traffic on DER
Two OSPF routing processes must be established:
•
One to route the video traffic over the transport VLANs for video
•
One to route VoIP traffic over the transport VLANs for VoIP
The first OSPF process (100) associates the management VLANs, the VoD VLAN, and the broadcast VLAN with the two transport VLANs that carry video. The second OSPF process (101) associates the VoIP VLAN with the two transport VLANs that carry VoIP. Routing advertisements are enabled on the transport VLANs, but are turned off on the aggregation VLANs by means of the passive-interface command.
The following is configured on DER.
Step 1
Define an OSPF routing process to route video traffic.
router ospf 100router-id 1.1.1.1log-adjacency-changesa.
The OSPF timers are modified to provide fast convergence. The following command enables OSPF SPF throttling: timers throttle spf spf-start spf-hold spf-max-wait
timers throttle spf 10 100 1000b.
The following command sets the rate-limiting values for OSPF link-state advertisement (LSA) generation: timers throttle lsa all start-interval hold-interval max-interval
timers throttle lsa all 1 10 1000c.
The following command controls the minimum interval for accepting the same LSA: timers lsa arrival milliseconds
timers lsa arrival 100If an instance of the same LSA arrives sooner than the interval that is set, the LSA is dropped.
d.
Apply the passive-interface statements to the aggregation VLANs.
passive-interface Vlan10passive-interface Vlan11passive-interface Vlan60passive-interface Vlan70e.
Advertise the networks in the first OSPF routing process.
network 192.168.10.0 0.0.1.255 area 0network 192.168.60.0 0.0.0.255 area 0network 192.168.70.0 0.0.0.255 area 0network 192.168.254.1 0.0.0.0 area 0network 192.168.254.25 0.0.0.0 area 0Step 2
Define a second OSPF process to route voice traffic. For details, refer to Step 1.
router ospf 101router-id 1.1.1.2log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100passive-interface Vlan80network 192.168.80.0 0.0.0.255 area 0network 192.168.252.1 0.0.0.0 area 0network 192.168.252.25 0.0.0.0 area 0Configuring Spanning Tree on DER
Because VLAN 90 is at Layer 2 around the 1-GE ring, Spanning Tree Protocol (STP) is needed to guard against loops. To improve convergence time, the four switches are configured for IEEE 802.1w Rapid Spanning Tree Protocol (RTSP), with the root at DER.
Do the following in global configuration mode to configure spanning tree parameters on DER.
Step 1
Configure DER as the root node of the spanning tree for VLAN 90. There are two ways to do this.
a.
Use the root primary option.
spanning-tree vlan 90 root primaryor
b.
Set the priority to 24576.
spanning-tree vlan 90 priority 24576Step 2
Configure RTSP.
spanning-tree mode rapid-pvstStep 3
Because the transport VLANs in the 10-GE ring are point-to-point networks, there is no risk of Layer 2 loops, so STP can be disabled on these VLANs.
no spanning-tree vlan 800, 808, 900, 908Configuring AR1
This section addresses the configuration required on the switch labeled AR1 in Figure 4-1, to route multiple services from AR1 to DER and AR2.
Note
A Cisco Catalyst 6509 can also be used, as it uses the same supervisor engine, line cards, and Cisco IOS code as the Cisco 7609 router.
This section addresses the following:
•
Establishing and Configuring Interfaces on AR1
•
Configuring OSPF Routing for Video and Voice Traffic on AR1
•
Configuring Spanning Tree on AR1
Note
For a complete configuration example, see "Sample DER and AR Switch Configurations for the 10-GE Symmetric Topology."
Configuring QoS on AR1
See Overview of QoS on a Cisco 7600 Series and Cisco Catalyst 6500 Series.
This section presents the following topics:
•
Configuring Marking and Classification on AR1
Note
For more information specific to QoS as applied to the solution, see "Understanding QoS as Implemented in the Solution."
Configuring Marking and Classification on AR1
Do the following to enable marking and classification on AR1.
Step 1
Enable QoS in global configuration mode.
mls qosStep 2
Create access lists to identify the different service types in the network.
ip access-list extended acl_HSDremark Identify HSD trafficpermit ip 192.168.90.0 0.0.0.255 anyip access-list extended acl_VoD_signalingremark Identify VoD signaling trafficpermit ip 192.168.110.0 0.0.0.255 192.168.10.102permit ip 192.168.110.0 0.0.0.255 192.168.10.103ip access-list extended acl_VoIPremark Identify VoIP trafficpermit ip 192.168.111.0 0.0.0.255 anyStep 3
Create class maps for the access lists created in Step 2.
class-map match-all class_VoIPmatch access-group name acl_VoIPclass-map match-all class_VoD_signalingmatch access-group name acl_VoD_signalingclass-map match-all class_HSDmatch access-group name acl_HSDStep 4
Create a policy map to set the DSCP values of the different classes created in Step 3.
policy-map setDSCPdescription Mark DSCP values for ingress trafficclass class_VoIPset dscp efclass class_HSDset dscp defaultclass class_VoD_signalingset dscp cs3Step 5
Apply the policy map from Step 4 to the ingress interfaces using the following command.
service-policy input setDSCP
Note
Specific interface examples of this and other interface commands are shown in the interface provisioning sections.
Step 6
To maintain the DSCP marking applied at the network ingress interface, configure all noningress transport interfaces to trust the incoming DSCP markings.
mls qos trust dscpConfiguring Mapping on AR1
Do the following to configure mapping on AR1.
Step 1
View the Cisco 7600 and Cisco Catalyst 6500 default DSCP-to-CoS mapping for the different services. Use the show mls qos maps dscp-cos command.
Note
At the beginning of this section, we mentioned that there are 64 possible DSCP values and only 8 CoS values. This means that there could be more than one DSCP value for one CoS value. The following command shows the default DSCP-to-CoS mapping on the Cisco 7600 and Cisco Catalyst 6500.
Note
In the map, d1 corresponds to the y-axis value of the table, and d2 to the x-axis value.
AR1# show mls qos maps dscp-cosDscp-cos map: (dscp= d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 00 00 00 00 00 00 00 00 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 03 03 03 03 03 033 : 03 03 04 04 04 04 04 04 04 044 : 05 05 05 05 05 05 05 05 06 065 : 06 06 06 06 06 06 07 07 07 076 : 07 07 07 07This table shows the following mappings:
Service Type DSCP CoSHSD
0
0
VoD low priority
34
4
VoD high priority
36
4
VoD OOB
24
3
Broadcast video
38
4
VoIP
46
5
Step 2
Change the Cisco 7600 and Cisco Catalyst 6500 DSCP-to-CoS mapping for the different services to match the specifications of the solution.
The solution specifies the following DSCP-to CoS-mappings:
Service Type DSCP CoSHSD
0
0
VoD low priority
38
1
VoD high priority
36
2
VoD OOB
24
3
Broadcast video
34
4
VoIP
46
5
a.
Execute the following command on the Cisco 7600 and Cisco Catalyst 6500 to modify the DSCP-to-CoS mapping.
mls qos map dscp-cos 36 to 2mls qos map dscp-cos 38 to 1b.
Verify the changes to the DSCP-to-CoS mappings.
AR1# show mls qos maps dscp-cosDSCP-CoS Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 00 00 00 00 00 00 00 00 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 03 03 03 03 03 033 : 03 03 04 04 04 04 02 04 01 044 : 05 05 05 05 05 05 05 05 06 065 : 06 06 06 06 06 06 07 07 07 076 : 07 07 07 07Establishing and Configuring Interfaces on AR1
Refer to Figure 4-1.
This section addresses the following:
•
Establishing VLANs for Services on AR1
•
Establishing 10-GE Interfaces for Transport on AR1
•
Establishing 1-GE Interfaces to a DSLAM on AR1
Establishing VLANs for Services on AR1
Before 1-GE interfaces and 10-GE trunks can be configured, VLANs for the various services must be created. With the exception of VLAN 90 (high-speed data), these are all Layer 3 VLANs. (Refer to Table 4-2.)
Note
For additional details, see Establishing VLANs for Services on DER.
The following is configured on AR1.
Step 1
In global configuration mode, establish a Layer 2 VLAN for high-speed data (HSD). (No Layer 3 interface is required.)
vlan 90name VLAN_90_HSDStep 2
Establish a VLAN for video at the edge.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 110name VLAN_110_Videob.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan110description Video edge VLANip address 192.168.110.1 255.255.255.0no ip redirectsno ip unreachablesc.
Enable PIM sparse mode. This is the aggregation VLAN for video traffic to the DSLAMs. Broadcast video is multicast addressed.
ip pim sparse-moded.
To ensure consistently fast PIM convergence times, statically join the aggregation VLAN for video at the AR to the multicast groups.
ip igmp static-group 232.1.1.1 source ssm-mapip igmp static-group 232.1.1.2 source ssm-mapip igmp static-group 232.1.1.3 source ssm-mapip igmp static-group 232.1.1.4 source ssm-mapip igmp static-group 232.1.1.5 source ssm-mapip igmp static-group 232.1.1.6 source ssm-mapip igmp static-group 232.1.1.7 source ssm-mapip igmp static-group 232.1.1.8 source ssm-mapip igmp static-group 232.1.1.9 source ssm-mapip igmp static-group 232.1.1.10 source ssm-mape.
Change the load interval from the default of 300.
load-interval 30f.
Change the ARP timeout from the default.
arp timeout 250
Note
The default timeout for an entry in the ARP cache is 4 hours. The default timeout for an entry in the MAC address table is only 5 minutes. Because video traffic is mostly unidirectional, the MAC address table may not be refreshed within the 5-minute timeout. This causes video traffic to be flooded until the destination MAC address is found. To prevent this, reduce the ARP cache timeout to 250 seconds. This forces the switch to re-ARP for the entries in the ARP cache before the entries in the MAC address table time out, avoiding the disruptive behavior.
Step 3
Establish a VLAN for VoIP at the edge.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 111name VLAN_111_VoIPb.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan111description VoIP edge VLANip address 192.168.111.1 255.255.255.0no ip redirectsno ip unreachablesc.
Change the load interval from the default of 300.
load-interval 30Step 4
Establish VLANs for VoIP transport. The first is to and from DER.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 800name VLAN_800_VoIP_to/from_DERb.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan800description VoIP transport VLAN to/from DERip address 192.168.252.2 255.255.255.252c.
Configure OSPF on the transport VLAN interface.
ip ospf network point-to-pointip ospf hello-interval 1d.
Change the load interval from the default of 300.
load-interval 30e.
Repeat Step 4a through Step 4d, as appropriate, to establish a VLAN for VoIP transport to and from AR2.
vlan 808name VLAN_808_VoIP_to/from_DERinterface Vlan808description VoIP transport VLAN to/from AR2ip address 192.168.252.9 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30Step 5
Establish VLANs for video transport. The first is to and from DER.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 900name VLAN_900_Video_to/from_DERb.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan900description Video transport VLAN to/from DERip address 192.168.254.2 255.255.255.252c.
Enable Protocol Independent Multicast (PIM) sparse mode. Broadcast video is multicast addressed.
ip pim sparse-moded.
Configure OSPF on the transport VLAN interface.
ip ospf network point-to-pointip ospf hello-interval 1e.
Change the load interval from the default of 300.
load-interval 30f.
Repeat Step 5a through Step 5e, as appropriate, to establish a VLAN for video transport to and from AR2.
vlan 908name VLAN_908_Video_to/from_AR2interface Vlan908description Video transport VLAN to/from AR2ip address 192.168.254.9 255.255.255.252ip pim sparse-modeip ospf network point-to-pointip ospf hello-interval 1load-interval 30Establishing 10-GE Interfaces for Transport on AR1
The 10-GE trunk interfaces provide the transport between AR1 and DER and AR2.
Note
For additional details, see Establishing 10-GE Interfaces for Transport on DER.
The following is configured on AR1.
Step 1
Establish an interface. The first is to and from DER.
a.
Establish the interface to and from DER, configure the trunk for 802.1q encapsulation, and assign it to VLANs 90, 800, and 900. (See Table 4-2.)
interface TenGigabitEthernet1/1description Transport to/from DER (TenGig7/1)switchportswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,800,900switchport mode trunkdampeningno ip addressload-interval 30carrier-delay msec 0b.
Proceed as in Step 2 of Establishing 10-GE Interfaces for Transport on DER.
wrr-queue bandwidth 64 255 0 0 0 0 0wrr-queue queue-limit 40 50 0 0 0 0 0wrr-queue threshold 1 100 100 100 100 100 100 100 100wrr-queue threshold 2 85 100 100 100 100 100 100wrr-queue random-detect min-threshold 1 75 100 100 100 100 100 100 100wrr-queue random-detect max-threshold 1 100 100 100 100 100 100 100 100no wrr-queue random-detect 2wrr-queue cos-map 2 1 1wrr-queue cos-map 2 2 2wrr-queue cos-map 2 3 3 4 6 7mls qos trust dscpStep 2
Repeat Step 1, as appropriate, to establish an interface to and from AR3 and assign it to VLANs 90, 824, and 924.
interface TenGigabitEthernet1/3description Transport to/from AR2 (TenGig1/1)switchportswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,808,908switchport mode trunkdampeningno ip addressload-interval 30carrier-delay msec 0wrr-queue bandwidth 64 255 0 0 0 0 0wrr-queue queue-limit 40 50 0 0 0 0 0wrr-queue threshold 1 100 100 100 100 100 100 100 100wrr-queue threshold 2 45 85 100 100 100 100 100 100wrr-queue random-detect min-threshold 1 75 100 100 100 100 100 100 100wrr-queue random-detect max-threshold 1 100 100 100 100 100 100 100 100no wrr-queue random-detect 2wrr-queue cos-map 2 1 1wrr-queue cos-map 2 2 2wrr-queue cos-map 2 3 3 4 6 7mls qos trust dscpEstablishing 1-GE Interfaces to a DSLAM on AR1
The only 1-GE interface is to and from DSLAM1.
The following is configured on AR1.
Step 1
Establish an interface to DSLAM1.
a.
Establish the interface and assign it to VLANs 90, 110, and 111.
interface GigabitEthernet2/1description GigE trunk to/from DSLAM uplink GigEswitchportswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,110,111switchport mode trunkno ip addressb.
Prevent unknown unicast traffic from being flooded to the port.
switchport block unicast
Note
Occasionally, unknown unicast or multicast traffic is flooded to a switch port because a MAC address has timed out or has not been learned by the switch. (This condition is especially undesirable for a private VLAN isolated port.) To guarantee that no unicast or multicast traffic is flooded to the port, use the switchport block unicast or switchport block multicast commands.
c.
Apply the "setDSCP" service policy to mark DSCP values in the inbound IP packets.
service-policy input setDSCPd.
Change the load interval from the default of 300.
load-interval 30e.
Proceed as in Step 2 of Establishing 10-GE Interfaces for Transport on DER.
wrr-queue bandwidth 64 255wrr-queue queue-limit 40 50wrr-queue random-detect min-threshold 1 75 100wrr-queue random-detect min-threshold 2 50 100wrr-queue random-detect max-threshold 1 100 100wrr-queue random-detect max-threshold 2 50 100wrr-queue cos-map 1 1 0wrr-queue cos-map 2 1 1wrr-queue cos-map 2 2 2 3 4 6 7
Note
The cos-map value 1 1 0 is a default setting on 1-GE interfaces.
f.
Disable Cisco Discovery Protocol (CDP) on the interface.
no cdp enableg.
Enable PortFast on the interface to bypass the listening and learning states in Spanning Tree Protocol (STP). This allows the interface to move immediately from the blocking state to the forwarding state, rather than waiting for STP to converge.
spanning-tree portfasth.
Configure the switch to disable any interface that is configured for PortFast and receives a Bridge Protocol Data Unit (BPDU).
spanning-tree bpduguard enable
Note
This guards against a user accidentally connecting a switch to a switchport that is intended for a VoD server or other host. The switchport is disabled and the user must investigate why the port is down. If this command is not used and such an accidental connection were to happen, STP could reconverge and block other connections in the switch.
i.
Apply the "setDSCP" service policy to mark DSCP values in the inbound IP packets.
service-policy input setDSCPConfiguring OSPF Routing for Video and Voice Traffic on AR1
For background and details, refer to Configuring OSPF Routing for Video and Voice Traffic on DER.
The following is configured on AR1.
Step 1
Define an OSPF routing process to route video traffic. This process associates the transport VLANs for video with the video aggregation VLAN for the for DSLAM1 and other DSLAMs to be served by AR1 (VLAN 110).
router ospf 100router-id 2.2.2.1log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100passive-interface Vlan110network 192.168.110.0 0.0.0.255 area 0network 192.168.254.2 0.0.0.0 area 0network 192.168.254.9 0.0.0.0 area 0Step 2
Define an OSPF process to route voice traffic. This process associates the transport VLANs for VoIP with the VoIP aggregation VLAN for the for DSLAM1 and other DSLAMs to be served by AR1 (VLAN 111).
router ospf 101router-id 2.2.2.2log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100passive-interface Vlan111network 192.168.111.0 0.0.0.255 area 0network 192.168.252.2 0.0.0.0 area 0network 192.168.252.9 0.0.0.0 area 0Configuring Spanning Tree on AR1
Note
See Configuring Spanning Tree on DER.
The following is configured on AR1.
Step 1
Configure RTSP.
spanning-tree mode rapid-pvstStep 2
Because the transport VLANs in the 10-GE ring are point-to-point networks, there is no risk of Layer 2 loops, so STP can be disabled on these VLANs.
no spanning-tree vlan 800, 808, 900, 908Configuring AR2
This section addresses the configuration required on the switch labeled AR2 in Figure 4-1, to route multiple services from AR2 to DER, AR1, and AR3.
This section addresses the following:
•
Establishing and Configuring Interfaces on AR2
•
Configuring OSPF Routing for Video and Voice Traffic on AR2
•
Configuring Spanning Tree on AR2
Note
For a complete configuration example, see "Sample DER and AR Switch Configurations for the 10-GE Symmetric Topology."
Configuring QoS on AR2
This section presents the following topics:
•
Overview of QoS on a Cisco Catalyst 4500 Series
•
Configuring Marking and Classification on AR2
Note
For more information specific to QoS as applied to the solution, see "Understanding QoS as Implemented in the Solution."
Overview of QoS on a Cisco Catalyst 4500 Series
This section addresses the configuration of quality of service (QoS) on AR2, through marking, classification, mapping, and queueing, to provide different degrees of quality of service for the different types of services supported by the solution architecture. For example, it is important to ensure the expeditious delivery of video and VoIP traffic, while providing only best-effort delivery for high-speed data (HSD).
By default, the Cisco Catalyst 4500 series switches (including the Cisco Catalyst 4948-10GE) do not trust the incoming QoS markings, and therefore rewrite these bits with zeros. In this solution, packets at the network ingress ports are identified, classified, and marked according to type of traffic. The packets are marked with one of 64 possible Differentiated Services Code Point (DSCP) values at the ingress ports. These in turn are internally mapped to one of eight possible Class of Service (CoS) values. The DSCP values are used to determine the appropriate transmit queue for each packet.
Configuring Marking and Classification on AR2
Do the following to enable marking and classification on AR2.
Step 1
Enable QoS in global configuration mode.
qosStep 2
Create access lists to identify the different service types in the network.
ip access-list extended acl_HSDremark Identify HSD trafficpermit ip 192.168.90.0 0.0.0.255 anyip access-list extended acl_VoD_signalingremark Identify VoD signaling trafficpermit ip 192.168.120.0 0.0.0.255 192.168.10.102permit ip 192.168.120.0 0.0.0.255 192.168.10.103ip access-list extended acl_VoIPremark Identify VoIP trafficpermit ip 192.168.121.0 0.0.0.255 anyStep 3
Create class maps for the access lists created in Step 2.
class-map match-all class_VoIPmatch access-group name acl_VoIPclass-map match-all class_VoD_signalingmatch access-group name acl_VoD_signalingclass-map match-all class_HSDmatch access-group name acl_HSDStep 4
Create a policy map to set the DSCP values of the different classes created in Step 3.
policy-map setDSCPdescription Mark DSCP values for ingress trafficclass class_VoIPset dscp efclass class_HSDset dscp defaultclass class_VoD_signalingset dscp cs3Step 5
Apply the policy map from Step 4 to the ingress interfaces using the following command.
service-policy input setDSCP
Note
Specific interface examples of this and other interface commands are shown in the interface provisioning sections.
Step 6
To maintain the DSCP marking applied at the network ingress interface, configure all noningress transport interfaces to trust the incoming DSCP markings.
qos trust dscpConfiguring Mapping on AR2
Do the following to configure mapping on AR2.
Step 1
View the Cisco Catalyst 4500 series default DSCP-to-CoS mapping for the different services. Use the show qos maps dscp-cos command.
Note
At the beginning of this section, we mentioned that there are 64 possible DSCP values and only 8 CoS values. This means that there could be more than one DSCP value for one CoS value. The following command shows the default DSCP-to-CoS mapping on the Cisco Catalyst 4500 series.
Note
In the map, d1 corresponds to the y-axis value of the table, and d2 to the x-axis value.
AR2# show qos maps dscpDSCP-CoS Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 00 00 00 00 00 00 00 00 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 03 03 03 03 03 033 : 03 03 04 04 04 04 04 04 04 044 : 05 05 05 05 05 05 05 05 06 065 : 06 06 06 06 06 06 07 07 07 076 : 07 07 07 07This table shows the following mappings:
Service Type DSCP CoSHSD
0
0
VoD low priority
34
4
VoD high priority
36
4
VoD OOB
24
3
Broadcast video
38
4
VoIP
46
5
Step 2
Change the Cisco Catalyst 4500 series DSCP-to-CoS mapping for the different services to match the specifications of the solution.
The solution specifies the following DSCP-to CoS-mappings:
Service Type DSCP CoSHSD
0
0
VoD low priority
38
1
VoD high priority
36
2
VoD OOB
24
3
Broadcast video
34
4
VoIP
46
5
a.
Execute the following command on the Cisco Catalyst 4500 series to modify the DSCP-to-CoS mapping.
qos map dscp 38 to cos 1qos map dscp 36 to cos 2b.
Verify the changes to the DSCP-to-CoS mappings.
AR2# show qos maps dscpDSCP-CoS Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 00 00 00 00 00 00 00 00 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 03 03 03 03 03 033 : 03 03 04 04 04 04 02 04 01 044 : 05 05 05 05 05 05 05 05 06 065 : 06 06 06 06 06 06 07 07 07 076 : 07 07 07 07Configuring Queueing on AR2
Unlike the Cisco 7600 series and Cisco Catalyst 6500 series, the Cisco Catalyst 4500 series uses the same queueing on all interfaces. Queueing is configured globally.
Do the following to change the DSCP-to-TxQueue mappings on AR2.
Step 1
View the default DSCP-to-Tx-Queue mapping. The following information was extracted from the show qos maps dscp command.
DSCP-TxQueue Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 01 01 01 01 01 01 01 01 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 02 02 02 02 02 023 : 02 02 03 03 03 03 03 03 03 034 : 03 03 03 03 03 03 03 03 04 045 : 04 04 04 04 04 04 04 04 04 046 : 04 04 04 04Step 2
Configure the DSCP-to TxQueue mapping by moving DSCP 34 and 36 to TxQueue2. Additionally, move all DSCPs that are in TxQueue4 to TxQueue2, because TxQueue4 is not used.
qos map dscp 34 36 38 48 49 50 51 52 to tx-queue 2qos map dscp 53 54 55 56 57 58 59 60 to tx-queue 2qos map dscp 61 62 63 to tx-queue 2Step 3
Verify the modified DSCP-to-Tx-Queue mapping. The following information was extracted from the show queueing interface command.
DSCP-TxQueue Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 01 01 01 01 01 01 01 01 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 02 02 02 02 02 023 : 02 02 03 03 02 03 02 03 02 034 : 03 03 03 03 03 03 03 03 02 025 : 02 02 02 02 02 02 02 02 02 026 : 02 02 02 02Step 4
Configure the TxQueue thresholds.
TxQueue1 uses Weighted Random Early Drop (WRED) for queue-congestion management. Only HSD is queued in this queue, and when the amount of HSD in the queue reaches 75%, random packets are dropped in an attempt to keep the queue from reaching 100% utilization.
wrr-queue threshold 1 100 100 100 100 100 100 100 100wrr-queue random-detect min-threshold 1 75 100 100 100 100 100 100 100wrr-queue random-detect max-threshold 1 100 100 100 100 100 100 100 100TxQueue2 uses tail drop for queue congestion management. Low-priority VoD is assigned to the first threshold and is dropped once the queue reaches 45% utilization. High-priority VoD is assigned to the second threshold and is dropped once the queue reaches 85% utilization. VoD signaling, network signaling, and broadcast video are assigned to the third threshold and is dropped once the queue reaches 100% utilization.
wrr-queue threshold 2 45 85 100 100 100 100 100 100no wrr-queue random-detect 2Step 5
Configure the bandwidth of the weighted queues.
The weighted queues need to be modified to handle our modified TxQueue mappings. The ratio between TxQueue2 and TxQueue1 is 255/64 = 4, so TxQueue2 needs four times as much bandwidth as TxQueue1. Therefore, TxQueue1 is allocated 20% of the bandwidth on the interface, and TxQueue2 is allocated 80% of the bandwidth.
wrr-queue bandwidth 64 255 0 0 0 0 0Step 6
Configure the size of the weighted queues.
Each line card has a limited amount of buffer for the transmit queues. For this interface, 40% of the buffer is allocated for TxQueue1, and 50% of the buffer is allocated for TxQueue2.
wrr-queue queue-limit 40 50 0 0 0 0 0Establishing and Configuring Interfaces on AR2
Refer to Figure 4-1.
This section addresses the following:
•
Establishing VLANs for Services on AR2
•
Establishing 10-GE Interfaces for Transport on AR2
•
Establishing 1-GE Interfaces to a DSLAM on AR2
Establishing VLANs for Services on AR2
Before 1-GE interfaces and 10-GE trunks can be configured, VLANs for the various services must be created. With the exception of VLAN 90 (high-speed data), these are all Layer 3 VLANs. (Refer to Table 4-2.)
Note
For additional details, see Establishing VLANs for Services on DER, and Establishing VLANs for Services on AR1.
The following is configured on AR2.
Step 1
In global configuration mode, establish a Layer 2 VLAN for high-speed data (HSD). (No Layer 3 interface is required.)
vlan 90name VLAN_90_HSDStep 2
Establish a VLAN for video at the edge.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 120name VLAN_120_Videob.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan120description Video edge VLANip address 192.168.120.1 255.255.255.0no ip redirectsno ip unreachablesc.
Enable PIM sparse mode.
ip pim sparse-moded.
To ensure consistently fast PIM convergence times, statically join the aggregation VLAN for video at the AR to the multicast groups.
ip igmp static-group 232.1.1.1 source ssm-mapip igmp static-group 232.1.1.2 source ssm-mapip igmp static-group 232.1.1.3 source ssm-mapip igmp static-group 232.1.1.4 source ssm-mapip igmp static-group 232.1.1.5 source ssm-mapip igmp static-group 232.1.1.6 source ssm-mapip igmp static-group 232.1.1.7 source ssm-mapip igmp static-group 232.1.1.8 source ssm-mapip igmp static-group 232.1.1.9 source ssm-mapip igmp static-group 232.1.1.10 source ssm-mape.
Change the load interval from the default of 300.
load-interval 30f.
Change the ARP timeout from the default.
arp timeout 250Step 3
Establish a VLAN for VoIP at the edge.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 121name VLAN_121_VoIPb.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan121description VoIP edge VLANip address 192.168.121.1 255.255.255.0no ip redirectsno ip unreachablesload-interval 30Step 4
Establish VLANs for VoIP transport. The first is to and from AR1.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 808name VLAN_808_VoIP_to/from_AR1b.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan808description VoIP transport VLAN to/from AR1ip address 192.168.252.10 255.255.255.252c.
Configure OSPF on the transport VLAN interface.
ip ospf network point-to-pointip ospf hello-interval 1d.
Change the load interval from the default of 300.
load-interval 30e.
Repeat Step 4a through Step 4d, as appropriate, to establish a VLAN for VoIP transport to and from AR3.
vlan 816name VLAN_816_VoIP_to/from_AR3interface Vlan816description VoIP transport VLAN to/from AR3ip address 192.168.252.17 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30Step 5
Establish VLANs for video transport. The first is to and from AR1.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 908name VLAN_908_Video_to/from_AR1b.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan908description Video transport VLAN to/from AR1ip address 192.168.254.10 255.255.255.252c.
Enable PIM sparse mode.
ip pim sparse-moded.
Configure OSPF.
ip ospf network point-to-pointip ospf hello-interval 1e.
Change the load interval from the default of 300.
load-interval 30f.
Repeat Step 5a through Step 5e, as appropriate, to establish a VLAN for video transport to and from AR3.
vlan 916name VLAN_916_Video_to/from_AR3interface Vlan916description Video transport VLAN to/from AR3ip address 192.168.254.17 255.255.255.252ip pim sparse-modeip ospf network point-to-pointip ospf hello-interval 1load-interval 30Establishing 10-GE Interfaces for Transport on AR2
The 10-GE trunk interfaces provide the transport between AR2 and AR1 and AR3.
The following is configured on AR2.
Note
For additional details, see Establishing 10-GE Interfaces for Transport on DER.
Step 1
Establish an interface. The first is to and from AR1.
a.
Establish the interface, configure the trunk for 802.1q encapsulation, and assign it to VLANs 90, 808, and 908. (See Table 4-2.)
interface TenGigabitEthernet1/1description Transport to/from AR1 (TenGig1/3)switchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,808,908switchport mode trunkdampeningload-interval 30carrier-delay msec 0b.
Configure this interface (and all noningress transport interfaces) to trust the incoming DSCP markings. (This maintains the DSCP marking applied at the network ingress interface.)
qos trust dscpc.
Set transmit-queue bandwidth thresholds and priority.
tx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4bandwidth percent 1
Note
See "Understanding QoS as Implemented in the Solution."
Step 2
Repeat Step 1, as appropriate, to establish an interface to and from AR3 and assign it to VLANs 90, 816, and 916.
interface TenGigabitEthernet1/2description Transport to/from AR3 (TenGig1/49)switchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,816,916switchport mode trunkdampeningload-interval 30carrier-delay msec 0qos trust dscptx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4bandwidth percent 1spanning-tree cost 10 <---See Note below
Note
Note that the spanning-tree cost is set to 10 on AR2. This breaks the loop for VLAN 90 (Layer 2) between AR2 and AR3, rather than somewhere else.
Establishing 1-GE Interfaces to a DSLAM on AR2
The only 1-GE interface is a trunk to and from DSLAM2.
The following is configured on AR2.
Step 1
Establish an interface to DSLAM2.
a.
Establish the interface and assign it to VLANs 90, 120, and 121.
interface GigabitEthernet5/1description GigE trunk to/from DSLAM uplink GigEswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,120,121switchport mode trunkb.
Prevent unknown unicast traffic from being flooded to the port.
switchport block unicast
Note
Occasionally, unknown unicast or multicast traffic is flooded to a switch port because a MAC address has timed out or has not been learned by the switch. (This condition is especially undesirable for a private VLAN isolated port.) To guarantee that no unicast or multicast traffic is flooded to the port, use the switchport block unicast or switchport block multicast commands.
c.
Change the load interval from the default of 300.
load-interval 30d.
Set transmit-queue bandwidth thresholds and priority.
tx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4e.
Disable Cisco Discovery Protocol (CDP) on the interface.
no cdp enablef.
Enable PortFast on the interface to bypass the listening and learning states in Spanning Tree Protocol (STP). This allows the interface to move immediately from the blocking state to the forwarding state, rather than waiting for STP to converge.
spanning-tree portfast trunkg.
Configure the switch to disable any interface that is configured for PortFast and receives a Bridge Protocol Data Unit (BPDU).
spanning-tree bpduguard enable
Note
This guards against a user accidentally connecting a switch to a switchport that is intended for a VoD server or other host. The switchport is disabled and the user must investigate why the port is down. If this command is not used and such an accidental connection were to happen, STP could reconverge and block other connections in the switch.
h.
Apply the "setDSCP" service policy to mark DSCP values in the inbound IP packets.
service-policy input setDSCPConfiguring OSPF Routing for Video and Voice Traffic on AR2
Note
For background and details, see Configuring OSPF Routing for Video and Voice Traffic on DER.
The following is configured on AR2.
Step 1
Define an OSPF routing process to route video traffic. This process associates the transport VLANs for video with the video aggregation VLAN for the DSLAM (VLAN 120).
router ospf 100router-id 3.3.3.1log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100passive-interface Vlan120network 192.168.120.0 0.0.0.255 area 0network 192.168.254.10 0.0.0.0 area 0network 192.168.254.17 0.0.0.0 area 0Step 2
Define an OSPF process to route voice traffic. This process associates the transport VLANs for VoIP with the VoIP aggregation VLAN for the DSLAM (VLAN 121).
router ospf 101router-id 3.3.3.2log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100passive-interface Vlan121network 192.168.121.0 0.0.0.255 area 0network 192.168.252.10 0.0.0.0 area 0network 192.168.252.17 0.0.0.0 area 0Configuring Spanning Tree on AR2
Note
See Configuring Spanning Tree on DER.
The following is configured on AR2.
Step 1
Configure RTSP.
spanning-tree mode rapid-pvstStep 2
Because the transport VLANs in the 10-GE ring are point-to-point networks, there is no risk of Layer 2 loops, so STP can be disabled on these VLANs.
no spanning-tree vlan 800, 816, 908, 916Configuring AR3
This section addresses the configuration required on the switch labeled AR3 in Figure 4-1, to route multiple services from AR3 to AR2 and DER.
This section addresses the following:
•
Establishing and Configuring Interfaces on AR3
•
Configuring OSPF Routing for Video and Voice Traffic on AR3
•
Configuring Spanning Tree on AR3
Note
For a complete configuration example, see "Sample DER and AR Switch Configurations for the 10-GE Symmetric Topology."
Configuring QoS on AR3
See Overview of QoS on a Cisco Catalyst 4500 Series.
This section presents the following topics:
•
Configuring Marking and Classification on AR3
Note
For more information specific to QoS as applied to the solution, see "Understanding QoS as Implemented in the Solution."
Configuring Marking and Classification on AR3
Do the following to enable marking and classification on AR3.
Step 1
Enable QoS in global configuration mode.
qosStep 2
Create access lists to identify the different service types in the network.
ip access-list extended acl_HSDremark Identify HSD trafficpermit ip 192.168.90.0 0.0.0.255 anyip access-list extended acl_VoD_signalingremark Identify VoD signaling trafficpermit ip 192.168.130.0 0.0.0.255 192.168.10.102permit ip 192.168.130.0 0.0.0.255 192.168.10.103ip access-list extended acl_VoIPremark Identify VoIP trafficpermit ip 192.168.131.0 0.0.0.255 anyStep 3
Create class maps for the access lists created in Step 2.
class-map match-all class_VoIPmatch access-group name acl_VoIPclass-map match-all class_VoD_signalingmatch access-group name acl_VoD_signalingclass-map match-all class_HSDmatch access-group name acl_HSDStep 4
Create a policy map to set the DSCP values of the different classes created in Step 3.
policy-map setDSCPdescription Mark DSCP values for ingress trafficclass class_VoIPset dscp efclass class_HSDset dscp defaultclass class_VoD_signalingset dscp cs3Step 5
Apply the policy map from Step 4 to the ingress interfaces using the following command.
service-policy input setDSCP
Note
Specific interface examples of this and other interface commands are shown in the interface provisioning sections.
Step 6
To maintain the DSCP marking applied at the network ingress interface, configure all noningress transport interfaces to trust the incoming DSCP markings.
qos trust dscpConfiguring Mapping on AR3
Do the following to configure mapping on AR3.
Step 1
View the Cisco Catalyst 4500 series default DSCP-to-CoS mapping for the different services. Use the show qos maps dscp-cos command.
Note
At the beginning of this section, we mentioned that there are 64 possible DSCP values and only 8 CoS values. This means that there could be more than one DSCP value for one CoS value. The following command shows the default DSCP-to-CoS mapping on the Cisco Catalyst 4500 series.
Note
In the map, d1 corresponds to the y-axis value of the table, and d2 to the x-axis value.
AR3# show qos maps dscpDSCP-CoS Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 00 00 00 00 00 00 00 00 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 03 03 03 03 03 033 : 03 03 04 04 04 04 04 04 04 044 : 05 05 05 05 05 05 05 05 06 065 : 06 06 06 06 06 06 07 07 07 076 : 07 07 07 07This table shows the following mappings:
Service Type DSCP CoSHSD
0
0
VoD low priority
34
4
VoD high priority
36
4
VoD OOB
24
3
Broadcast video
38
4
VoIP
46
5
Step 2
Change the Cisco Catalyst 4500 series DSCP-to-CoS mapping for the different services to match the specifications of the solution.
The solution specifies the following DSCP-to CoS-mappings:
Service Type DSCP CoSHSD
0
0
VoD low priority
38
1
VoD high priority
36
2
VoD OOB
24
3
Broadcast video
34
4
VoIP
46
5
a.
Execute the following command on the Cisco Catalyst 4500 series to modify the DSCP-to-CoS mapping.
qos map dscp 38 to cos 1qos map dscp 36 to cos 2b.
Verify the changes to the DSCP-to-CoS mappings.
AR3# show qos maps dscpDSCP-CoS Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 00 00 00 00 00 00 00 00 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 03 03 03 03 03 033 : 03 03 04 04 04 04 02 04 01 044 : 05 05 05 05 05 05 05 05 06 065 : 06 06 06 06 06 06 07 07 07 076 : 07 07 07 07Configuring Queueing on AR3
Unlike the Cisco 7600 series and Cisco Catalyst 6500 series, the Cisco Catalyst 4500 series uses the same queueing on all interfaces. Queueing is configured globally.
Do the following to change the DSCP-to-TxQueue mappings on AR3.
Step 1
View the default DSCP-to-Tx-Queue mapping. The following information was extracted from the show qos maps dscp command.
DSCP-TxQueue Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 01 01 01 01 01 01 01 01 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 02 02 02 02 02 023 : 02 02 03 03 03 03 03 03 03 034 : 03 03 03 03 03 03 03 03 04 045 : 04 04 04 04 04 04 04 04 04 046 : 04 04 04 04Step 2
Configure the DSCP-to TxQueue mapping by moving DSCP 34, 36, and 38 to TxQueue2. Additionally, move all DSCPs that are in TxQueue4 to TxQueue2, because TxQueue4 is not used.
qos map dscp 34 36 38 48 49 50 51 52 to tx-queue 2qos map dscp 53 54 55 56 57 58 59 60 to tx-queue 2qos map dscp 61 62 63 to tx-queue 2Step 3
Verify the modified DSCP-to-TxQueue mapping. The following information was extracted from the show queueing interface command.
DSCP-TxQueue Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 01 01 01 01 01 01 01 01 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 02 02 02 02 02 023 : 02 02 03 03 02 03 02 03 02 034 : 03 03 03 03 03 03 03 03 02 025 : 02 02 02 02 02 02 02 02 02 026 : 02 02 02 02Step 4
Configure the TxQueue thresholds.
TxQueue1 uses Weighted Random Early Drop (WRED) for queue-congestion management. Only HSD is queued in this queue, and when the amount of HSD in the queue reaches 75%, random packets are dropped in an attempt to keep the queue from reaching 100% utilization.
wrr-queue threshold 1 100 100 100 100 100 100 100 100wrr-queue random-detect min-threshold 1 75 100 100 100 100 100 100 100wrr-queue random-detect max-threshold 1 100 100 100 100 100 100 100 100TxQueue2 uses tail drop for queue congestion management. Low-priority VoD is assigned to the first threshold and is dropped once the queue reaches 45% utilization. High-priority VoD is assigned to the second threshold and is dropped once the queue reaches 85% utilization. VoD signaling, network signaling, and broadcast video are assigned to the third threshold and is dropped once the queue reaches 100% utilization.
wrr-queue threshold 2 45 85 100 100 100 100 100 100no wrr-queue random-detect 2Step 5
Configure the bandwidth of the weighted queues.
The weighted queues need to be modified to handle our modified TxQueue mappings. The ratio between TxQueue2 and TxQueue1 is 255/64 = 4, so TxQueue2 needs four times as much bandwidth as TxQueue1. Therefore, TxQueue1 is allocated 20% of the bandwidth on the interface, and TxQueue2 is allocated 80% of the bandwidth.
wrr-queue bandwidth 64 255 0 0 0 0 0Step 6
Configure the size of the weighted queues.
Each line card has a limited amount of buffer for the transmit queues. For this interface, 40% of the buffer is allocated for TxQueue1, and 50% of the buffer is allocated for TxQueue2.
wrr-queue queue-limit 40 50 0 0 0 0 0Establishing and Configuring Interfaces on AR3
Refer to Figure 4-1.
This section addresses the following:
•
Establishing VLANs for Services on AR3
•
Establishing 10-GE Interfaces for Transport on AR3
•
Establishing 1-GE Interfaces to a DSLAM on AR3
Establishing VLANs for Services on AR3
Before 1-GE interfaces and 10-GE trunks can be configured, VLANs for the various services must be created. With the exception of VLAN 90 (high-speed data), these are all Layer 3 VLANs. (Refer to Table 4-2.)
Note
For additional details, see Establishing VLANs for Services on DER, and Establishing VLANs for Services on AR1.
The following is configured on AR3.
Step 1
In global configuration mode, establish a Layer 2 VLAN for high-speed data (HSD). (No Layer 3 interface is required.)
vlan 90name VLAN_90_HSDStep 2
Establish a VLAN for video at the edge.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 130name VLAN_130_Videob.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan130description Video edge VLANip address 192.168.130.1 255.255.255.0no ip redirectsno ip unreachablesc.
Enable PIM sparse mode
ip pim sparse-moded.
To ensure consistently fast PIM convergence times, statically join the aggregation VLAN for video at the AR to the multicast groups.
ip igmp static-group 232.1.1.1 source ssm-mapip igmp static-group 232.1.1.2 source ssm-mapip igmp static-group 232.1.1.3 source ssm-mapip igmp static-group 232.1.1.4 source ssm-mapip igmp static-group 232.1.1.5 source ssm-mapip igmp static-group 232.1.1.6 source ssm-mapip igmp static-group 232.1.1.7 source ssm-mapip igmp static-group 232.1.1.8 source ssm-mapip igmp static-group 232.1.1.9 source ssm-mapip igmp static-group 232.1.1.10 source ssm-mape.
Change the load interval from the default of 300.
load-interval 30f.
Change the ARP timeout from the default.
arp timeout 250Step 3
Establish a VLAN for VoIP at the edge.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 131name VLAN_131_VoIPb.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan131description VoIP edge VLANip address 192.168.131.1 255.255.255.0no ip redirectsno ip unreachablesload-interval 30Step 4
Establish VLANs for VoIP transport. The first is to and from AR2.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 816name VLAN_816_VoIP_to/from_AR2b.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan816description VoIP transport VLAN to/from AR2ip address 192.168.252.18 255.255.255.252c.
Configure OSPF on the transport VLAN interface.
ip ospf network point-to-pointip ospf hello-interval 1d.
Change the load interval from the default of 300.
load-interval 30e.
Repeat Step 4a through Step 4d to establish a VLAN for VoIP transport to and from DER.
vlan 824name VLAN_824_VoIP_to/from_DERinterface Vlan824description VoIP transport VLAN to/from DERip address 192.168.252.26 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30Step 5
Establish VLANs for video transport. The first is to and from AR2.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 916name VLAN_916_Video_to/from_AR2b.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan916description Video transport VLAN to/from AR2ip address 192.168.254.18 255.255.255.252c.
Enable PIM sparse mode.
ip pim sparse-moded.
Configure OSPF.
ip ospf network point-to-pointip ospf hello-interval 1e.
Change the load interval from the default of 300.
load-interval 30f.
Repeat Step 5a through Step 5e to establish a VLAN for video transport to and from DER.
vlan 924name VLAN_924_Video_to/from_DERinterface Vlan924description Video transport VLAN to/from DERip address 192.168.254.26 255.255.255.252 ip pim sparse-modeip ospf network point-to-pointip ospf hello-interval 1load-interval 30Establishing 10-GE Interfaces for Transport on AR3
The 10-GE trunk interfaces provide the transport between AR3 and AR2 and DER.
The following is configured on AR3.
Step 1
Establish an interface. The first is to and from AR2.
a.
Establish the interface, configure the trunk for 802.1q encapsulation, and assign it to VLANs 90, 816, and 916. (See Table 4-2.)
interface TenGigabitEthernet1/49description Transport to/from AR2 (TenGig1/2)switchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,816,916switchport mode trunkdampeningload-interval 30carrier-delay msec 0b.
Configure this interface (and all noningress transport interfaces) to trust the incoming DSCP markings. (This maintains the DSCP marking applied at the network ingress interface.)
qos trust dscpc.
Set transmit-queue bandwidth thresholds and priority.
tx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4bandwidth percent 1Step 2
Repeat Step 1 to establish an interface to and from DER assign it to VLANs 90, 824, and 924.
interface TenGigabitEthernet1/50description Transport to/from DER (TenGig7/3)switchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,824,924switchport mode trunkdampeningload-interval 30carrier-delay msec 0Establishing 1-GE Interfaces to a DSLAM on AR3
The only 1-GE interface is a trunk to and from DSLAM3.
The following is configured on AR3.
Note
For additional details, see Establishing 10-GE Interfaces for Transport on DER.
Step 1
Establish an interface to DSLAM1.
a.
Establish the interface and assign it to VLANs 90, 130, and 131.
interface GigabitEthernet1/1description GigE trunk to/from DSLAM uplink GigEswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,130,131switchport mode trunkservice-policy input setDSCPload-interval 30b.
Set transmit-queue bandwidth thresholds and priority.
tx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4bandwidth percent 1c.
Prevent unknown unicast traffic from being flooded to the port.
switchport block unicast
Note
Occasionally, unknown unicast or multicast traffic is flooded to a switch port because a MAC address has timed out or has not been learned by the switch. (This condition is especially undesirable for a private VLAN isolated port.) To guarantee that no unicast or multicast traffic is flooded to the port, use the switchport block unicast or switchport block multicast commands.
d.
Disable Cisco Discovery Protocol (CDP) on the interface.
no cdp enablee.
Enable PortFast on the trunk interface to bypass the listening and learning states in Spanning Tree Protocol (STP). This allows the interface to move immediately from the blocking state to the forwarding state, rather than waiting for STP to converge.
spanning-tree portfast trunkf.
Configure the switch to disable any interface that is configured for PortFast and receives a Bridge Protocol Data Unit (BPDU).
spanning-tree bpduguard enable
Note
This guards against a user accidentally connecting a switch to a switchport that is intended for a VoD server or other host. The switchport is disabled and the user must investigate why the port is down. If this command is not used and such an accidental connection were to happen, STP could reconverge and block other connections in the switch.
g.
Apply the "setDSCP" service policy to mark DSCP values in the inbound IP packets.
service-policy input setDSCPConfiguring OSPF Routing for Video and Voice Traffic on AR3
For background and details, see Configuring OSPF Routing for Video and Voice Traffic on DER.
The following is configured on AR3.
Step 1
Define an OSPF routing process to route video traffic. This process associates the transport VLANs for video with the video aggregation VLAN for the DSLAM (VLAN 130).
router ospf 100router-id 4.4.4.1log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100passive-interface Vlan130network 192.168.130.0 0.0.0.255 area 0network 192.168.254.18 0.0.0.0 area 0network 192.168.254.26 0.0.0.0 area 0Step 2
Define an OSPF process to route voice traffic. This process associates the transport VLANs for VoIP with the VoIP aggregation VLAN for the DSLAM (VLAN 131).
router ospf 101router-id 4.4.4.2log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100passive-interface Vlan131network 192.168.131.0 0.0.0.255 area 0network 192.168.252.18 0.0.0.0 area 0network 192.168.252.26 0.0.0.0 area 0Configuring Spanning Tree on AR3
Note
See Configuring Spanning Tree on DER.
The following is configured on AR3.
Step 1
Configure RTSP.
spanning-tree mode rapid-pvstStep 2
Because the transport VLANs in the 10-GE ring are point-to-point networks, there is no risk of Layer 2 loops, so STP can be disabled on these VLANs.
no spanning-tree vlan 816, 824, 916, 924
Configuring the 1-GE Asymmetric Topology
This section presents the following major topics:
Introduction
Figure 4-2 illustrates the 1-GE symmetric topology used in the solution. (See Configuration 2: N x 1-GE Asymmetric Ring.) All video traffic sources are on DER. Policy maps are applied to the ingress ports on DER in order to mark the DSCP values of the different service types. Traffic is routed through 1-GE bidirectional links, configured as IEEE 802.1q trunks that carry three VLANs: one for video, one for VoIP, and one for high-speed data (HSD). VoD traffic is also routed through 1-GE unidirectional links that use GRE tunnels for bidirectional connectivity. Multiple OSPF processes are used for the routing protocol. One or two processes advertise routes for the video-related interfaces, and second advertises routes for the VoIP-related interfaces. HSD is carried around the ring on Layer 2.
Figure 4-2 1-GE Asymmetric Topology
The switches in Figure 4-2 use the line cards, hardware versions, and IOS versions listed in Table 4-1.
Table 4-5 lists VLANs, their descriptions (service types), and IP addresses, for the DER and ARs in Figure 4-1.
Table 4-6 lists loopback addresses and endpoints for the topology, and describes the associated tunnels.
Table 4-3 lists the parameters used to configure the home access gateway (HAG). They are the same as those for the 10-GE symmetric topology.
Note
See HAG Functions.
Configuring DER
This section addresses the configuration required on the switch labeled DER in Figure 4-2, to route multiple services from that switch to the ARs.
Note
A Cisco Catalyst 6509 can also be used, as it uses the same supervisor engine, line cards, and Cisco IOS code as the Cisco 7609 router.
This section addresses the following:
•
Establishing and Configuring Interfaces on DER
•
Configuring OSPF Routing for Video and Voice Traffic on DER
•
Configuring Spanning Tree on DER
Note
For a complete configuration example, see "Sample DER and AR Switch Configurations for the 1-GE Asymmetric Topology."
Configuring QoS on DER
This section presents the following topics:
•
Overview of QoS on a Cisco 7600 Series and Cisco Catalyst 6500 Series
•
Configuring Marking and Classification on DER
Note
For more information specific to QoS as applied to the solution, see "Understanding QoS as Implemented in the Solution."
Overview of QoS on a Cisco 7600 Series and Cisco Catalyst 6500 Series
This section addresses the configuration of quality of service (QoS) on the DER, through marking, classification, mapping, and queueing, to provide different degrees of quality of service for the different types of services supported by the solution architecture. For example, it is important to ensure the expeditious delivery of video and VoIP traffic, while providing only best-effort delivery for high-speed data (HSD).
By default, the Cisco 7600 series router and Cisco Catalyst 6500 series switch do not trust the incoming QoS markings, and therefore rewrite these bits with zeros. In this solution, packets at the network ingress ports are identified, classified, and marked according to type of traffic. The packets are marked with one of 64 possible Differentiated Services Code Point (DSCP) values at the ingress ports. These in turn are internally mapped to one of eight possible Class of Service (CoS) values, because CoS is used to determine the appropriate transmit queue for each packet. Queueing is configured on the individual 1-GE interfaces.
Note
For more information on class of service, see "White Paper: Cisco IOS Software Features for Differentiated Class of Service for Internetworks," at the following URL:
http://www.cisco.com/warp/public/cc/pd/iosw/iore/tech/osfea_wp.htmConfiguring Marking and Classification on DER
Do the following to enable marking and classification on DER.
Step 1
Enable QoS in global configuration mode.
mls qosStep 2
Create access lists to identify the different service types in the network.
ip access-list extended acl_HSDpermit ip 192.168.90.0 0.0.0.255 anyip access-list extended acl_VoD_signalingremark Identify VoD signaling trafficpermit ip host 192.168.10.102 anypermit ip host 192.168.10.103 anyip access-list extended acl_VoIPremark Identify VoIP trafficpermit ip 192.168.80.0 0.0.0.255 anyip access-list extended acl_video_VoD_highremark Identify high priority VoD trafficpermit udp 192.168.60.0 0.0.0.255 192.168.110.0 0.0.0.255 range 5000 9000permit udp 192.168.60.0 0.0.0.255 192.168.120.0 0.0.0.255 range 5000 9000permit udp 192.168.60.0 0.0.0.255 192.168.130.0 0.0.0.255 range 5000 9000ip access-list extended acl_video_VoD_lowremark Identify low priority VoD trafficpermit udp 192.168.60.0 0.0.0.255 192.168.110.0 0.0.0.255 range 1000 4999permit udp 192.168.60.0 0.0.0.255 192.168.120.0 0.0.0.255 range 1000 4999permit udp 192.168.60.0 0.0.0.255 192.168.130.0 0.0.0.255 range 1000 4999ip access-list extended acl_video_broadcastremark Identify broadcast video traffic (multicast)permit ip 192.168.70.0 0.0.0.255 232.0.0.0 0.255.255.255Step 3
Create class maps for the access lists created in Step 2.
class-map match-all class_VoIPmatch access-group name acl_VoIPclass-map match-all class_video_VoD_highmatch access-group name acl_video_VoD_highclass-map match-all class_video_VoD_lowmatch access-group name acl_video_VoD_lowclass-map match-all class_video_broadcastmatch access-group name acl_video_broadcastclass-map match-all class_VoD_signalingmatch access-group name acl_VoD_signalingclass-map match-all class_HSDmatch access-group name acl_HSDStep 4
Create a policy map to set the DSCP values of the different classes created in Step 3.
policy-map setDSCPdescription Mark DSCP values for ingress trafficclass class_VoIPset dscp efclass class_HSDset dscp defaultclass class_VoD_signalingset dscp cs3class class_video_broadcastset dscp af41class class_video_VoD_highset dscp af42class class_video_VoD_lowset dscp af43Step 5
Apply the policy map from Step 4 to the ingress interfaces using the following command.
service-policy input setDSCP
Note
Specific interface examples of this and other interface commands are shown in the interface provisioning sections.
Step 6
To maintain the DSCP marking applied at the network ingress interface, configure all noningress transport interfaces to trust the incoming DSCP markings.
mls qos trust dscpConfiguring Mapping on DER
Do the following to configure mapping on DER.
Step 1
View the Cisco 7600/Catalyst 6500 default DSCP-to-CoS mapping for the different services. Use the show mls qos maps dscp-cos command.
Note
At the beginning of this section, we mentioned that there are 64 possible DSCP values and only 8 CoS values. This means that there could be more than one DSCP value for one CoS value. The following command shows the default DSCP-to-CoS mapping on the Cisco 7600 and Catalyst 6500.
Note
In the map, d1 corresponds to the y-axis value of the table, and d2 to the x-axis value.
DER# show mls qos maps dscp-cosDscp-cos map: (dscp= d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 00 00 00 00 00 00 00 00 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 03 03 03 03 03 033 : 03 03 04 04 04 04 04 04 04 044 : 05 05 05 05 05 05 05 05 06 065 : 06 06 06 06 06 06 07 07 07 076 : 07 07 07 07This table shows the following mappings:
Service Type DSCP CoSHSD
0
0
VoD low priority
34
4
VoD high priority
36
4
VoD OOB
24
3
Broadcast video
38
4
VoIP
46
5
Step 2
Change the Cisco 7600/Catalyst 6500 DSCP-to-CoS mapping for the different services to match the specifications of the solution.
The solution specifies the following DSCP-to CoS-mappings:
Service Type DSCP CoSHSD
0
0
VoD low priority
38
1
VoD high priority
36
2
VoD OOB
24
3
Broadcast video
34
4
VoIP
46
5
a.
Execute the following command on the Cisco 7600 and Cisco Catalyst 6500 to modify the DSCP-to-CoS mapping.
mls qos map dscp-cos 36 to 2mls qos map dscp-cos 38 to 1b.
Verify the changes to the DSCP-to-CoS mappings.
DER# show mls qos maps dscp-cosDSCP-CoS Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 00 00 00 00 00 00 00 00 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 03 03 03 03 03 033 : 03 03 04 04 04 04 02 04 01 044 : 05 05 05 05 05 05 05 05 06 065 : 06 06 06 06 06 06 07 07 07 076 : 07 07 07 07Establishing and Configuring Interfaces on DER
Refer to Figure 4-2.
This section addresses the following:
•
Establishing VLANs for Services on DER
•
Establishing Interfaces for Servers, HSD, and Management on DER
•
Establishing Bidirectional and Unidirectional Interfaces for Transport on DER
Establishing VLANs for Services on DER
Before the 1-GE interfaces can be configured, VLANs for the various services must be created. With the exception of VLAN 90 (high-speed data), these are all Layer 3 VLANs. (Refer to Table 4-5.)
The following is configured on DER.
Tip
For convenience in establish these VLANs and others, you can establish all VLANs in global configuration mode first, then configure all the interfaces in interface configuration mode.
Step 1
Establish a VLAN and VLAN interface for management (including VoD signaling, connectivity with DHCP, DNS, FTP, TFTP, and Syslog servers.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 10name VLAN_10_Managementb.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan10description Management VLAN (VoD signaling, DNS, DHCP, etc)ip address 192.168.10.1 255.255.255.0no ip redirectsno ip unreachablesc.
Change the load interval from the default of 300.
load-interval 30d.
Repeat Step 1a through Step 1c, as appropriate, for the remaining management, unicast video, and and VoIP VLANs. Abbreviated configurations are shown below.
Backup DNS server
vlan 11name VLAN_11_Managementinterface Vlan11description Management VLAN (Backup DNS)ip address 192.168.11.1 255.255.255.0no ip redirectsno ip unreachablesload-interval 30Unicast video aggregation
vlan 60name VLAN_60_Unicast_Videointerface Vlan60description VoD server VLAN (Unicast Video)ip address 192.168.60.1 255.255.255.0no ip redirectsno ip unreachablesload-interval 30VoIP
vlan 80name VLAN_80_VoIPinterface Vlan80description VoIP ingress/egress VLANip address 192.168.80.1 255.255.255.0no ip redirectsno ip unreachablesload-interval 30Step 2
Establish a VLAN for multicast video aggregation.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 70name VLAN_70_Multicast_Videob.
In interface configuration mode, create and configure the VLAN interfaces.
interface Vlan70description Broadcast video source VLAN (Multicast Video)ip address 192.168.70.1 255.255.255.0no ip redirectsno ip unreachablesc.
Enable PIM sparse mode. This is the ingress port for broadcast video traffic, which is multicast addressed.
ip pim sparse-moded.
Change the load interval from the default of 300.
load-interval 30Step 3
In global configuration mode, establish a Layer 2 VLAN for high-speed data (HSD). (No Layer 3 interface is required.)
vlan 90name VLAN_90_HSDStep 4
Establish VLANs for VoIP transport. The first is for transport to and from AR1.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 800name VLAN_800_VoIP_to/from_AR1b.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan800description VoIP transport to/from AR1ip address 192.168.252.1 255.255.255.252c.
Configure OSPF on the transport VLAN interface.
ip ospf network point-to-pointip ospf hello-interval 1
Note
To avoid the election of the (designated router (DR) and backup designated router (BDR), and prevent the origination of an unnecessary network link state advertisement (LSA), configure the transport VLAN as a point-to-point network. In addition, reduce the interval between OSPF hello messages from 10 seconds to 1 second. This improves reconvergence in the event of failure in the transport or in a neighboring switch.
d.
Change the load interval from the default of 300.
load-interval 30e.
Repeat Step 4a through Step 4d for VoIP transport to and from AR3.
vlan 816name VoIP transport to/from AR3interface Vlan816description VoIP transport to/from AR3ip address 192.168.252.17 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30Step 5
Establish VLANs for video transport. The first is for transport to and from AR1.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 900name VLAN_900_Video_to/from_AR1b.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan900description Video transport VLAN to/from AR1ip address 192.168.254.1 255.255.255.252c.
Enable PIM sparse mode. This is the ingress port for broadcast video traffic, which is multicast addressed.
ip pim sparse-moded.
Configure OSPF on the transport VLAN interface.
ip ospf network point-to-pointip ospf hello-interval 1e.
Change the load interval from the default of 300.
load-interval 30f.
Repeat Step 5a through Step 5b to establish a VLAN for video transport to and from AR3.
vlan 916name Video_transport_to/from_AR3interface Vlan916description Video transport VLAN to/from AR3ip address 192.168.254.17 255.255.255.252ip pim sparse-modeip ospf network point-to-pointip ospf hello-interval 1load-interval 30Establishing Interfaces for Servers, HSD, and Management on DER
VoD servers, high-speed data sources, and management resources connect to Layer 2 interfaces on DER, and their traffic is aggregated into the appropriate service VLANs.
The following is configured on DER.
Step 1
Establish an interface.
a.
Establish an interface for high-speed data and assign it to VLAN 90.
interface GigabitEthernet1/1description High speed data ingress/egress portno ip addressb.
Configure the interface as a Layer 2 access port.
switchportswitchport access vlan 90switchport mode accessc.
Change the load interval from the default of 300.
load-interval 30d.
Disable Cisco Discovery Protocol (CDP) on the interface.
no cdp enablee.
Enable PortFast on the interface to bypass the listening and learning states in Spanning Tree Protocol (STP). This allows the interface to move immediately from the blocking state to the forwarding state, rather than waiting for STP to converge.
spanning-tree portfastf.
Configure the switch to disable any interface that is configured for PortFast and receives a Bridge Protocol Data Unit (BPDU).
spanning-tree bpduguard enable
Note
This guards against a user accidentally connecting a switch to a switchport that is intended for a VoD server or other host. The switchport is disabled and the user must investigate why the port is down. If this command is not used and such an accidental connection were to happen, STP could reconverge and block other connections in the switch.
g.
Apply the "setDSCP" service policy to mark DSCP values in the inbound IP packets.
service-policy input setDSCPStep 2
Repeat Step 1a through Step 1g for the remaining server, HSD, and management interfaces and their associated VLANs, changing the value in switchport access vlan xxx as appropriate. The abbreviated configurations are shown below.
VoIP traffic
interface GigabitEthernet2/1description VoIP traffic ingress/egress portswitchport access vlan 80Ingress multicast broadcast video
interface GigabitEthernet2/9description Broadcast video source (multicast 232.1.1.1 - 232.1.1.10)switchport access vlan 70Management for the Kasenna LR server
interface GigabitEthernet2/17description Management port from Kasenna LR Server (Eth0)switchport access vlan 10Management for the Kasenna VoD pump
interface GigabitEthernet2/18description Kasenna VoD Pump Managementswitchport access vlan 10Ingress unicast video from the Kasenna VoD pump (1)
interface GigabitEthernet2/19description Unicast video from Kasenna VoD Pump (HPN0)switchport access vlan 60
Note
In Kasenna's terminology, HPN0 stands for High-Performance Network interface 0.
Ingress unicast video from the Kasenna VoD pump (2)
interface GigabitEthernet2/20description Unicast video from Kasenna VoD Pump (HPN1)switchport access vlan 60Backup DNS server
interface GigabitEthernet2/48description Backup DNS serverswitchport access vlan 11Primary DNS, DHCP, NTP, TFTP, and Syslog servers
interface GigabitEthernet5/2description Primary DNS/DHCP/NTP/TFTP/Syslog serversswitchport access vlan 10
Note
In this case, specify the physical connection on a Gigabit Ethernet interface as RJ-45.
media-type rj45Establishing Bidirectional and Unidirectional Interfaces for Transport on DER
The 1-GE interfaces create the ring topology from the DER through the ARs and back to the DER. Both bidirectional and unidirectional trunking interfaces and VoD unidirectional transport are established.
The following is configured on DER.
Step 1
Establish bidirectional transport interfaces.
a.
Establish a bidirectional transport interface to and from AR1.
interface GigabitEthernet7/1description Transport to/from AR1 (Gig3/1)switchportswitchport mode trunkdampeningno ip addresscarrier-delay msec 0b.
Configure the trunk for 802.1q encapsulation.
switchport trunk encapsulation dot1qc.
Assign the trunk to VLANs 90, 800, and 900. (See Table 4-5.)
switchport trunk allowed vlan 90,800,900d.
Change the load interval from the default of 300.
load-interval 30Step 2
Configure QoS on the interface.
Note
The 1-GE transport links from the DER to the ARs require modifications to the transmit queues. There are eight transmit queues, but this solution uses only three.
a.
View the default CoS to Tx-Queue mapping. The following information was extracted from the show queueing interface command.
b.
Configure the CoS-to TxQueue mapping on the transport interfaces. HSD (CoS = 0) remains in TxQueue1 and VoIP (CoS = 5) remains in TxQueue8. The other six CoS values are associated with TxQueue2.
wrr-queue cos-map 1 1 0wrr-queue cos-map 2 1 1wrr-queue cos-map 2 2 2 3 4 6 7
Note
TxQueue1 and TxQueue8 use the default mappings. TxQueue2 has three thresholds: Threshold 1 = CoS 1, Threshold 2 = CoS 2, and Threshold 3 = CoS 3, 4, 6, and 7. For details, see "Understanding QoS as Implemented in the Solution."
c.
Verify the modified CoS-to-Tx-Queue mapping. The following information was extracted from the show queueing interface command.
d.
Configure the TxQueue thresholds.
TxQueue1 uses Weighted Random Early Drop (WRED) for queue-congestion management. Only HSD is queued in this queue, and when the amount of HSD in the queue reaches 75%, random packets are dropped in an attempt to keep the queue from reaching 100% utilization.
wrr-queue random-detect min-threshold 1 75 100wrr-queue random-detect max-threshold 1 100 100TxQueue2 uses tail drop for queue congestion management. Low-priority VoD is assigned to the first threshold and is dropped once the queue reaches 50% utilization. High-priority VoD is assigned to the second threshold and is dropped once the queue reaches 85% utilization. VoD signaling, network signaling, and broadcast video are assigned to the third threshold and is dropped once the queue reaches 100% utilization.
wrr-queue random-detect min-threshold 2 50 100wrr-queue random-detect max-threshold 2 50 100e.
Configure the bandwidth of the weighted queues.
The weighted queues need to be modified to handle our modified TxQueue mappings. The ratio between TxQueue2 and TxQueue1 is 255/64 = 4, so TxQueue2 needs four times as much bandwidth as TxQueue1. Therefore, TxQueue1 is allocated 20% of the bandwidth on the interface, and TxQueue2 is allocated 80% of the bandwidth.
wrr-queue bandwidth 64 255f.
Configure the size of the weighted queues.
Each line card has a limited amount of buffer for the transmit queues. For this interface, 40% of the buffer is allocated for TxQueue1, and 50% of the buffer is allocated for TxQueue2.
wrr-queue queue-limit 40 50g.
Configure this interface (and all noningress transport interfaces) to trust the incoming DSCP markings. (This maintains the DSCP marking applied at the network ingress interface.)
mls qos trust dscpStep 3
Repeat Step 1 and Step 2, as appropriate, for the bidirectional transport to and from AR3.
interface GigabitEthernet7/9description Transport to/from AR3 (Gig3/1)switchportswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,816,916switchport mode trunkdampeningno ip addressload-interval 30carrier-delay msec 0wrr-queue bandwidth 64 255wrr-queue queue-limit 40 50wrr-queue random-detect min-threshold 1 75 100wrr-queue random-detect min-threshold 2 50 100wrr-queue random-detect max-threshold 1 100 100wrr-queue random-detect max-threshold 2 50 100wrr-queue cos-map 1 1 0wrr-queue cos-map 2 1 1wrr-queue cos-map 2 2 2 3 4 6 7mls qos trust dscpStep 4
Establish unidirectional VoD transport interfaces.
a.
Establish the unidirectional VoD transport interface to AR1 and assign the IP address.
interface GigabitEthernet7/3description VoD transport to AR1 (Gig3/3)dampeningip address 192.168.253.1 255.255.255.252b.
Configure OSPF on the transport VLAN interface.
ip ospf network point-to-pointip ospf hello-interval 1c.
Change the load interval from the default of 300.
load-interval 30d.
Disable the link-negotiation protocol on the port.
speed nonegotiatee.
Mark the interface as send only.
unidirectional send-onlyf.
Repeat Step 4a through Step 4e, as appropriate, for the remaining unidirectional VoD transport interfaces. Abbreviated interface configurations are shown below.
Second VoD transport interface to AR1
interface GigabitEthernet7/4description VoD transport to AR1 (Gig3/4)ip address 192.168.253.5 255.255.255.252Third VoD transport interface to AR1
interface GigabitEthernet7/5description VoD transport to AR1 (Gig3/5)ip address 192.168.253.9 255.255.255.252Fourth VoD interface to AR1
interface GigabitEthernet7/6description VoD transport to AR1 (Gig3/6)ip address 192.168.253.13 255.255.255.252First VoD interface to AR3
interface GigabitEthernet7/11description VoD transport to AR1 (Gig3/3)ip address 192.168.253.49 255.255.255.252Second VoD interface to AR3
interface GigabitEthernet7/12description VoD transport to AR1 (Gig3/4)ip address 192.168.253.53 255.255.255.252Third VoD interface to AR3
interface GigabitEthernet7/13description VoD transport to AR1 (Gig3/5)ip address 192.168.253.57 255.255.255.252Fourth VoD interface to AR3
interface GigabitEthernet7/14description VoD transport to AR1 (Gig3/6)ip address 192.168.253.61 255.255.255.252Establishing Tunnels on DER
The following is configured on DER.
Step 1
Create a loopback interface to serve as the tunnel endpoint for the first tunnel and assign an IP address.
interface Loopback0description Endpoint for Tunnel0ip address 10.10.10.1 255.255.255.255Step 2
Create the interface for the corresponding tunnel. No IP address is required for the tunnel itself.
interface Tunnel0description Rx-side of Tx-only Gig7/3no ip addressStep 3
Configure the source and destination endpoints of the tunnel and assign IP addresses.
tunnel source 10.10.10.1tunnel destination 10.10.10.2Step 4
Configure UDLR for the tunnel and mark it as receive only.
tunnel udlr receive-only GigabitEthernet7/3Step 5
Refer to Table 4-7 and repeat Steps 1 through Step 4 for the remaining tunnels on DER, making modifications as appropriate.
Configuring OSPF Routing for Video and Voice Traffic on DER
There are a number of ways to configure the routing of the multiple services across the 1-GE asymmetric topology. HSD, VoIP, broadcast video, and VoD signaling can be routed across the bidirectional links, while VoD traffic can be routed across both the bidirectional and unidirectional links, or just across the unidirectional links.
In this example, HSD, VoIP, broadcast video, and VoD signaling are routed across the bidirectional links. To accomplish this, the bidirectional link is a trunk that carries three VLANs (90, 8xx, and 9xx). Because VLAN 90 is at Layer 2 around the network, there is no OSPF configuration for HSD. VoIP-related interfaces are advertised across the 8xx VLANs. Broadcast video is multicast, so the path is built from the receiver to the source. Because the DER does not need to know how to route to the destination for broadcast video, we only need to advertise the broadcast video sources across the 9xx VLANs, so that the receivers can build the reverse path back to the broadcast video source. VoD signaling is lower-bitrate, bidirectional traffic, but we still want this traffic to travel across the bidirectional transport links, rather than through the GRE tunnels associated with the unidirectional transport links. To accomplish this, we advertise the VoD server-related interfaces across the 9xx VLANs. In addition, the loopback interfaces that serve as the endpoints of the GRE tunnels for the unidirectional links are also advertised on the 9xx VLANs.
Finally, in this example the VoD traffic is routed across the unidirectional transport links only. VoD traffic is routed from the source to the receivers, so the DER must know how to route to the receivers. To accomplish this, no interfaces need to be advertised from the DER, but the DER needs a routing process associated with the unidirectional transport links to receive routing advertisements for the video aggregation VLANs on the ARs.
Three Open Shortest Path First (OSPF) routing processes must be established:
•
OSPF 100—to route the management, broadcast video, and loopbacks over the transport VLANs for video
•
OSPF 101—to route VoIP traffic over the transport VLANs for VoIP
•
OSPF 102—to route VoD traffic over the unidirectional Layer 3 transport network for VoD
Routing advertisements are enabled on the transport VoD network, but are turned off on the aggregation VLANs by means of the passive-interface command.
The following is configured on DER.
Step 1
Define an OSPF routing process to route video traffic.
router ospf 100router-id 1.1.1.1log-adjacency-changesa.
The OSPF timers are modified to provide fast convergence. The following command enables OSPF SPF throttling: timers throttle spf spf-start spf-hold spf-max-wait
timers throttle spf 10 100 1000b.
The following command sets the rate-limiting values for OSPF link-state advertisement (LSA) generation: timers throttle lsa all start-interval hold-interval max-interval
timers throttle lsa all 1 10 1000c.
The following command controls the minimum interval for accepting the same LSA: timers lsa arrival milliseconds
timers lsa arrival 100If an instance of the same LSA arrives sooner than the interval that is set, the LSA is dropped.
d.
Apply the passive-interface command to the aggregation VLANs.
passive-interface Vlan10passive-interface Vlan11passive-interface Vlan60passive-interface Vlan70e.
Advertise the networks in the first OSPF routing process.
network 10.10.10.0 0.0.0.255 area 0network 192.168.10.0 0.0.1.255 area 0network 192.168.60.0 0.0.0.255 area 0network 192.168.70.0 0.0.0.255 area 0network 192.168.254.0 0.0.0.255 area 0Step 2
Repeat Step 1, as appropriate, to define a second OSPF process to route VoIP traffic.
router ospf 101router-id 1.1.1.2log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100passive-interface Vlan80network 192.168.80.0 0.0.0.255 area 0network 192.168.252.0 0.0.0.255 area 0maximum-paths 8Step 3
Define a third OSPF process to route VoD transport traffic.
router ospf 102router-id 1.1.1.3log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100network 192.168.253.0 0.0.0.255 area 0maximum-paths 8Configuring Spanning Tree on DER
Because VLAN 90 is at Layer 2 around the 1-GE ring, Spanning Tree Protocol (STP) is needed to guard against loops. To improve convergence time, the four switches are configured for IEEE 802.1w Rapid Spanning Tree Protocol (RTSP), with the root at DER.
Do the following in global configuration mode to configure spanning tree parameters on DER.
Step 1
Configure DER as the root node of the spanning tree for VLAN 90. There are two ways to do this.
a.
Use the root primary option.
spanning-tree vlan 90 root primaryor
b.
Set the priority to 24576.
spanning-tree vlan 90 priority 24576Step 2
Configure RTSP.
spanning-tree mode rapid-pvstStep 3
Because the transport VLANs in the ring are point-to-point networks, there is no risk of Layer 2 loops, so STP can be disabled on these VLANs.
no spanning-tree vlan 800, 816, 900, 916Configuring AR1
This section addresses the configuration required on the switch labeled AR1 in Figure 4-2, to route multiple services from AR1 to DER and AR2.
This section addresses the following:
•
Establishing and Configuring Interfaces on AR1
•
Configuring OSPF Routing for Video and Voice Traffic on AR1
•
Configuring Spanning Tree on AR1
Note
For a complete configuration example, see "Sample DER and AR Switch Configurations for the 1-GE Asymmetric Topology."
Configuring QoS on AR1
See Overview of QoS on a Cisco 7600 Series and Cisco Catalyst 6500 Series.
This section presents the following topics:
•
Overview of QoS on a Cisco Catalyst 4500 Series
•
Configuring Marking and Classification on AR1
Note
For more information specific to QoS as applied to the solution, see "Understanding QoS as Implemented in the Solution."
Overview of QoS on a Cisco Catalyst 4500 Series
This section addresses the configuration of quality of service (QoS) on AR2, through marking, classification, mapping, and queueing, to provide different degrees of quality of service for the different types of services supported by the solution architecture. For example, it is important to ensure the expeditious delivery of video and VoIP traffic, while providing only best-effort delivery for high-speed data (HSD).
By default, the Cisco Catalyst 4500 series switches (including the Cisco Catalyst 4948-10GE) do not trust the incoming QoS markings, and therefore rewrite these bits with zeros. In this solution, packets at the network ingress ports are identified, classified, and marked according to type of traffic. The packets are marked with one of 64 possible Differentiated Services Code Point (DSCP) values at the ingress ports. These in turn are internally mapped to one of eight possible Class of Service (CoS) values. The DSCP values are used to determine the appropriate transmit queue for each packet.
Configuring Marking and Classification on AR1
Do the following to enable marking and classification on AR1.
Step 1
Enable QoS in global configuration mode.
qosStep 2
Create access lists to identify the different service types in the network.
ip access-list extended acl_HSDremark Identify HSD trafficpermit ip 192.168.90.0 0.0.0.255 anyip access-list extended acl_VoD_signalingremark Identify VoD signaling trafficpermit ip 192.168.110.0 0.0.0.255 192.168.10.102permit ip 192.168.110.0 0.0.0.255 192.168.10.103ip access-list extended acl_VoIPremark Identify VoIP trafficpermit ip 192.168.111.0 0.0.0.255 anyStep 3
Create class maps for the access lists created in Step 2.
class-map match-all class_VoIPmatch access-group name acl_VoIPclass-map match-all class_VoD_signalingmatch access-group name acl_VoD_signalingclass-map match-all class_HSDmatch access-group name acl_HSDStep 4
Create a policy map to set the DSCP values of the different classes created in Step 3.
policy-map setDSCPdescription Mark DSCP values for ingress trafficclass class_VoIPset dscp efclass class_HSDset dscp defaultclass class_VoD_signalingset dscp cs3Step 5
Apply the policy map from Step 4 to the ingress interfaces using the following command.
service-policy input setDSCP
Note
Specific interface examples of this and other interface commands are shown in the interface provisioning sections.
Step 6
To maintain the DSCP marking applied at the network ingress interface, configure all noningress transport interfaces to trust the incoming DSCP markings.
qos trust dscpConfiguring Mapping on AR1
Do the following to configure mapping on AR1.
Step 1
View the Cisco Catalyst 4500 series default DSCP-to-CoS mapping for the different services. Use the show qos maps dscp-cos command.
Note
At the beginning of this section, we mentioned that there are 64 possible DSCP values and only 8 CoS values. This means that there could be more than one DSCP value for one CoS value. The following command shows the default DSCP-to-CoS mapping on the Cisco Catalyst 4500 series.
Note
In the map, d1 corresponds to the y-axis value of the table, and d2 to the x-axis value.
AR2# show qos maps dscpDSCP-CoS Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 00 00 00 00 00 00 00 00 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 03 03 03 03 03 033 : 03 03 04 04 04 04 04 04 04 044 : 05 05 05 05 05 05 05 05 06 065 : 06 06 06 06 06 06 07 07 07 076 : 07 07 07 07This table shows the following mappings:
Service Type DSCP CoSHSD
0
0
VoD low priority
34
4
VoD high priority
36
4
VoD OOB
24
3
Broadcast video
38
4
VoIP
46
5
Step 2
Change the Cisco Catalyst 4500 series DSCP-to-CoS mapping for the different services to match the specifications of the solution.
The solution specifies the following DSCP-to CoS-mappings:
Service Type DSCP CoSHSD
0
0
VoD low priority
38
1
VoD high priority
36
2
VoD OOB
24
3
Broadcast video
34
4
VoIP
46
5
a.
Execute the following command on the Cisco Catalyst 4500 series to modify the DSCP-to-CoS mapping.
qos map dscp 38 to cos 1qos map dscp 36 to cos 2b.
Verify the changes to the DSCP-to-CoS mappings.
AR2# show qos maps dscpDSCP-CoS Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 00 00 00 00 00 00 00 00 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 03 03 03 03 03 033 : 03 03 04 04 04 04 02 04 01 044 : 05 05 05 05 05 05 05 05 06 065 : 06 06 06 06 06 06 07 07 07 076 : 07 07 07 07Configuring Queueing on AR1
Unlike the Cisco 7600 series and Cisco Catalyst 6500 series, the Cisco Catalyst 4500 series uses the same queueing on all interfaces. Queueing is configured globally.
Do the following to change the DSCP-to-TxQueue mappings on AR1.
Step 1
View the default DSCP-to-Tx-Queue mapping. The following information was extracted from the show qos maps dscp command.
DSCP-TxQueue Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 01 01 01 01 01 01 01 01 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 02 02 02 02 02 023 : 02 02 03 03 03 03 03 03 03 034 : 03 03 03 03 03 03 03 03 04 045 : 04 04 04 04 04 04 04 04 04 046 : 04 04 04 04Step 2
Configure the DSCP-to-TxQueue mapping by moving DSCP 34, 36, and 38 to TxQueue2. Additionally, move all DSCPs that are in TxQueue4 to TxQueue2, because TxQueue4 is not used.
qos map dscp 34 36 38 48 49 50 51 52 to tx-queue 2qos map dscp 53 54 55 56 57 58 59 60 to tx-queue 2qos map dscp 61 62 63 to tx-queue 2Step 3
Verify the modified DSCP-to-Tx-Queue mapping. The following information was extracted from the show queueing interface command.
DSCP-TxQueue Mapping Table (dscp = d1d2)d1 : d2 0 1 2 3 4 5 6 7 8 9-------------------------------------0 : 01 01 01 01 01 01 01 01 01 011 : 01 01 01 01 01 01 02 02 02 022 : 02 02 02 02 02 02 02 02 02 023 : 02 02 03 03 02 03 02 03 02 034 : 03 03 03 03 03 03 03 03 02 025 : 02 02 02 02 02 02 02 02 02 026 : 02 02 02 02Step 4
Configure the TxQueue thresholds.
TxQueue1 uses Weighted Random Early Drop (WRED) for queue-congestion management. Only HSD is queued in this queue, and when the amount of HSD in the queue reaches 75%, random packets are dropped in an attempt to keep the queue from reaching 100% utilization.
wrr-queue threshold 1 100 100 100 100 100 100 100 100wrr-queue random-detect min-threshold 1 75 100 100 100 100 100 100 100wrr-queue random-detect max-threshold 1 100 100 100 100 100 100 100 100TxQueue2 uses tail drop for queue congestion management. Low-priority VoD is assigned to the first threshold and is dropped once the queue reaches 45% utilization. High-priority VoD is assigned to the second threshold and is dropped once the queue reaches 85% utilization. VoD signaling, network signaling, and broadcast video are assigned to the third threshold and is dropped once the queue reaches 100% utilization.
wrr-queue threshold 2 45 85 100 100 100 100 100 100no wrr-queue random-detect 2Step 5
Configure the bandwidth of the weighted queues.
The weighted queues need to be modified to handle our modified TxQueue mappings. The ratio between TxQueue2 and TxQueue1 is 255/64 = 4, so TxQueue2 needs four times as much bandwidth as TxQueue1. Therefore, TxQueue1 is allocated 20% of the bandwidth on the interface, and TxQueue2 is allocated 80% of the bandwidth.
wrr-queue bandwidth 64 255 0 0 0 0 0Step 6
Configure the size of the weighted queues.
Each line card has a limited amount of buffer for the transmit queues. For this interface, 40% of the buffer is allocated for TxQueue1, and 50% of the buffer is allocated for TxQueue2.
wrr-queue queue-limit 40 50 0 0 0 0 0Establishing and Configuring Interfaces on AR1
Refer to Figure 4-2.
This section addresses the following:
•
Establishing VLANs for Services on AR1
•
Establishing Bidirectional and Unidirectional Transport Interfaces on AR1
•
Establishing an Interface to a DSLAM on AR1
Establishing VLANs for Services on AR1
Before bidirectional and unidirectional transport interfaces can be configured, VLANs for the various services must be created. With the exception of VLAN 90 (high-speed data), these are all Layer 3 VLANs. (Refer to Table 4-2.)
The following is configured on AR1.
Note
For additional details, see Establishing VLANs for Services on DER.
Step 1
In global configuration mode, establish a Layer 2 VLAN for high-speed data (HSD). (No Layer 3 interface is required.)
vlan 90name VLAN_90_HSDStep 2
Establish a VLAN for video at the edge.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 110name VLAN_110_Videob.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan110description Video edge VLANip address 192.168.110.1 255.255.255.0no ip redirectsno ip unreachablesc.
Enable PIM sparse mode. This is the aggregation VLAN for video traffic to the DSLAMs. Broadcast video is multicast addressed.
ip pim sparse-moded.
To ensure consistently fast PIM convergence times, statically join the aggregation VLAN for video at the AR to the multicast groups.
ip igmp static-group 232.1.1.1 source ssm-mapip igmp static-group 232.1.1.2 source ssm-mapip igmp static-group 232.1.1.3 source ssm-mapip igmp static-group 232.1.1.4 source ssm-mapip igmp static-group 232.1.1.5 source ssm-mapip igmp static-group 232.1.1.6 source ssm-mapip igmp static-group 232.1.1.7 source ssm-mapip igmp static-group 232.1.1.8 source ssm-mapip igmp static-group 232.1.1.9 source ssm-mapip igmp static-group 232.1.1.10 source ssm-mape.
Change the load interval from the default of 300.
load-interval 30f.
Change the ARP timeout from the default.
arp timeout 250
Note
The default timeout for an entry in the ARP cache is 4 hours. The default timeout for an entry in the MAC address table is only 5 minutes. Because video traffic is mostly unidirectional, the MAC address table may not be refreshed within the 5-minute timeout. This causes video traffic to be flooded until the destination MAC address is found. To prevent this, reduce the ARP cache timeout to 250 seconds. This forces the switch to re-ARP for the entries in the ARP cache before the entries in the MAC address table time out, avoiding the disruptive behavior.
Step 3
Establish a VLAN for VoIP at the edge.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 111name VLAN_111_VoIPb.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan111description VoIP edge VLANip address 192.168.111.1 255.255.255.0no ip redirectsno ip unreachablesload-interval 30Step 4
Establish a VLAN for VoIP transport to and from DER.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 800name VLAN_800_VoIP_to/from_DERb.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan800description VoIP transport VLAN to/from DERip address 192.168.252.2 255.255.255.252c.
Configure OSPF on the transport VLAN interface.
ip ospf network point-to-pointip ospf hello-interval 1d.
Change the load interval from the default of 300.
load-interval 30Step 5
Repeat Step 4, as appropriate, to establish a VLAN for VoIP transport to and from AR2.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 808name VLAN_808_VoIP_to/from_AR2b.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan808description VoIP transport to/from AR2ip address 192.168.252.9 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30Step 6
Establish a VLAN for video transport to and from DER.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 900name VLAN_900_Video_to/from_DERb.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan900description Video transport VLAN to/from DERip address 192.168.254.2 255.255.255.252c.
Enable PIM sparse mode.
ip pim sparse-moded.
Configure OSPF on the transport VLAN interface.
ip ospf network point-to-pointip ospf hello-interval 1e.
Change the load interval from the default of 300.
load-interval 30Step 7
Repeat Step 6, as appropriate, to establish a VLAN for video transport to and from AR2.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 908name VLAN_908_Video_to/from_AR2b.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan908description Video transport VLAN to/from AR2ip address 192.168.254.9 255.255.255.252ip pim sparse-modeip ospf network point-to-pointip ospf hello-interval 1load-interval 30Establishing Bidirectional and Unidirectional Transport Interfaces on AR1
Bidirectional and unidirectional transport interfaces must be established between AR1 and DER and AR2.
The following is configured on AR1.
Note
For additional details, see Establishing Bidirectional and Unidirectional Interfaces for Transport on DER.
Step 1
Establish bidirectional transport interfaces.
a.
Establish a bidirectional interface to and from DER.
interface GigabitEthernet3/1description Transport to/from DER (Gig7/1)switchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,800,900switchport mode trunkdampeningload-interval 30carrier-delay msec 0b.
Configure this interface (and all noningress transport interfaces) to trust the incoming DSCP markings. (This maintains the DSCP marking applied at the network ingress interface.)
qos trust dscpc.
Set transmit-queue bandwidth thresholds and priority.
tx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4bandwidth percent 1d.
Repeat Step 1a through Step 1c, as appropriate, to establish the bidirectional transport interface to AR2.
interface GigabitEthernet4/3description Transport to/from AR2 (Gig1/1)switchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,808,908switchport mode trunkdampeningload-interval 30carrier-delay msec 0qos trust dscptx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4bandwidth percent 1Step 2
Establish unidirectional receive-only transport interfaces.
a.
Establish a unidirectional receive-only transport interface to DER. With the exceptions noted, the following is as in Step 1.
interface GigabitEthernet3/3description Transport from DER (Gig7/3)no switchportdampeningip address 192.168.253.2 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30carrier-delay msec 0qos trust dscpb.
Disable the link-negotiation protocol on the port.
speed nonegotiatec.
Mark the interface as receive only.
unidirectional receive-only
Note
Transmit-queue bandwidth thresholds and priority do not need to be applied to a receive-only interface.
d.
Repeat Step 2a through Step 2c, as appropriate, for the remaining unidirectional receive-only transport interfaces. Interface configurations are shown below.
Second unidirectional transport from DER
interface GigabitEthernet3/4description Transport from DER (Gig7/4)no switchportdampeningip address 192.168.253.6 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30carrier-delay msec 0speed nonegotiateqos trust dscpunidirectional receive-onlyThird unidirectional transport from DER
interface GigabitEthernet3/5description Transport from DER (Gig7/5)no switchportdampeningip address 192.168.253.10 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30carrier-delay msec 0speed nonegotiateqos trust dscpunidirectional receive-onlyFourth unidirectional transport from DER
description Transport from DER (Gig7/6)no switchportdampeningip address 192.168.253.14 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30carrier-delay msec 0speed nonegotiateqos trust dscpunidirectional receive-onlyStep 3
Establish unidirectional send-only interfaces.
a.
Establish a unidirectional send-only transport interface to AR2. The following is as in Step 1.
interface GigabitEthernet4/4description Transport to AR2 (Gig1/2)no switchportdampeningip address 192.168.253.25 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30carrier-delay msec 0speed nonegotiateqos trust dscptx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4bandwidth percent 1b.
Mark the interface as send only.
unidirectional send-onlyc.
Repeat Step 3a and Step 3b, as appropriate, for the second unidirectional send-only interface to AR2.
interface GigabitEthernet4/5description Transport to AR2 (Gig1/3)no switchportdampeningip address 192.168.253.29 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30carrier-delay msec 0speed nonegotiateqos trust dscptx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4bandwidth percent 1unidirectional send-onlyEstablishing Tunnels on AR1
See Establishing Tunnels on DER.
Table 4-8 lists the loopback interfaces and corresponding tunnel interfaces configured on AR1.
Establishing an Interface to a DSLAM on AR1
Do the following to establish an interface to DSLAM1.
The following is configured on AR1.
Step 1
Establish a 1-GE trunk to and from the uplink 1-GE port on the DSLAM.
a.
Configure the trunk for 802.1q encapsulation, and assign the trunk to VLANs 90, 110, and 111.
interface GigabitEthernet5/1description GigE trunk to/from DSLAM uplink GigEswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,110,111switchport mode trunkb.
Prevent unknown unicast traffic from being flooded to the port.
switchport block unicast
Note
Occasionally, unknown unicast or multicast traffic is flooded to a switch port because a MAC address has timed out or has not been learned by the switch. (This condition is especially undesirable for a private VLAN isolated port.) To guarantee that no unicast or multicast traffic is flooded to the port, use the switchport block unicast or switchport block multicast commands.
c.
Apply the "setDSCP" service policy to mark DSCP values in the inbound IP packets.
service-policy input setDSCPd.
Change the load interval from the default of 300.
load-interval 30e.
Set transmit-queue bandwidth thresholds and priority.
tx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4bandwidth percent 1f.
Disable Cisco Discovery Protocol (CDP) on the interface.
no cdp enableg.
Enable PortFast on the interface to bypass the listening and learning states in Spanning Tree Protocol (STP). This allows the interface to move immediately from the blocking state to the forwarding state, rather than waiting for STP to converge.
spanning-tree portfast trunkStep 2
Repeat Step 1 for all additional GE DSLAMs served by the switch.
Configuring OSPF Routing for Video and Voice Traffic on AR1
Refer to Configuring OSPF Routing for Video and Voice Traffic on DER.
The following is configured on AR1.
Step 1
Define an OSPF routing process to route video traffic.
router ospf 100router-id 2.2.2.1log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100network 10.10.10.0 0.0.0.255 area 0network 192.168.254.0 0.0.0.255 area 0maximum-paths 8Step 2
Define a second OSPF process to route VoIP traffic.
router ospf 101router-id 2.2.2.2log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100passive-interface Vlan111network 192.168.111.0 0.0.0.255 area 0network 192.168.252.0 0.0.0.255 area 0maximum-paths 8Step 3
Define a third OSPF process to route VoD transport traffic.
router ospf 102router-id 2.2.2.3log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100passive-interface Vlan110network 192.168.110.0 0.0.0.255 area 0network 192.168.253.0 0.0.0.255 area 0maximum-paths 8Configuring Spanning Tree on AR1
See Configuring Spanning Tree on DER.
The following is configured on AR1.
Step 1
Configure RTSP.
spanning-tree mode rapid-pvstStep 2
Because the transport VLANs in the 10-GE ring are point-to-point networks, there is no risk of Layer 2 loops, so STP can be disabled on these VLANs.
no spanning-tree vlan 800, 808, 900, 908Configuring AR2
This section addresses the configuration required on the switch labeled AR2 in Figure 4-2, to route multiple services from AR2 to DER, AR1, and AR3.
Note
A Cisco Catalyst 6509 can also be used, as it uses the same supervisor engine, line cards, and Cisco IOS code as the Cisco 7609 router.
This section addresses the following:
•
Establishing and Configuring Interfaces on AR2
•
Configuring OSPF Routing for Video and Voice Traffic on AR2
•
Configuring Spanning Tree on AR2
Note
For a complete configuration example, see "Sample DER and AR Switch Configurations for the 1-GE Asymmetric Topology."
Configuring QoS on AR2
See Overview of QoS on a Cisco 7600 Series and Cisco Catalyst 6500 Series.
This section presents the following topics:
•
Configuring Marking and Classification on AR2
Note
For more information specific to QoS as applied to the solution, see "Understanding QoS as Implemented in the Solution."
Configuring Marking and Classification on AR2
Do the following to enable marking and classification on AR2.
Step 1
Enable QoS in global configuration mode.
mls qosStep 2
Create access lists to identify the different service types in the network.
ip access-list extended acl_HSDremark Identify HSD trafficpermit ip 192.168.90.0 0.0.0.255 anyip access-list extended acl_VoD_signalingremark Identify VoD signaling trafficpermit ip 192.168.120.0 0.0.0.255 192.168.10.102permit ip 192.168.120.0 0.0.0.255 192.168.10.103ip access-list extended acl_VoIPremark Identify VoIP trafficpermit ip 192.168.121.0 0.0.0.255 anyStep 3
Create class maps for the access lists created in Step 2.
class-map match-all class_VoIPmatch access-group name acl_VoIPclass-map match-all class_VoD_signalingmatch access-group name acl_VoD_signalingclass-map match-all class_HSDmatch access-group name acl_HSDStep 4
Create a policy map to set the DSCP values of the different classes created in Step 3.
policy-map setDSCPdescription Mark DSCP values for ingress trafficclass class_VoIPset dscp efclass class_HSDset dscp defaultclass class_VoD_signalingset dscp cs3Step 5
Apply the policy map from Step 4 to the ingress interfaces using the following command.
service-policy input setDSCP
Note
Specific interface examples of this and other interface commands are shown in the interface provisioning sections.
Step 6
To maintain the DSCP marking applied at the network ingress interface, configure all noningress transport interfaces to trust the incoming DSCP markings.
mls qos trust dscpConfiguring Mapping on AR2
To configure mapping on AR2, refer to Configuring Mapping on DER.
Establishing and Configuring Interfaces on AR2
Refer to Figure 4-2.
This section addresses the following:
•
Establishing VLANs for Services on AR2
•
Establishing Bidirectional and Unidirectional Transport Interfaces on AR2
•
Establishing an Interface to a DSLAM on AR2
Establishing VLANs for Services on AR2
Before bidirectional and unidirectional transport interfaces can be configured, VLANs for the various services must be created. With the exception of VLAN 90 (high-speed data), these are all Layer 3 VLANs. (Refer to Table 4-2.)
The following is configured on AR2.
Note
For additional details, see Establishing VLANs for Services on DER.
Step 1
In global configuration mode, establish a Layer 2 VLAN for high-speed data (HSD). (No Layer 3 interface is required.)
vlan 90name VLAN_90_HSDStep 2
Establish a VLAN for video at the edge.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 120name VLAN_120_Videob.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan120description Video edge VLANip address 192.168.120.1 255.255.255.0no ip redirectsno ip unreachablesc.
Enable PIM sparse mode. This is the aggregation VLAN for video traffic to the DSLAMs. Broadcast video is multicast addressed.
ip pim sparse-moded.
To ensure consistently fast PIM convergence times, statically join the aggregation VLAN for video at the AR to the multicast groups.
ip igmp static-group 232.1.1.1 source ssm-mapip igmp static-group 232.1.1.2 source ssm-mapip igmp static-group 232.1.1.3 source ssm-mapip igmp static-group 232.1.1.4 source ssm-mapip igmp static-group 232.1.1.5 source ssm-mapip igmp static-group 232.1.1.6 source ssm-mapip igmp static-group 232.1.1.7 source ssm-mapip igmp static-group 232.1.1.8 source ssm-mapip igmp static-group 232.1.1.9 source ssm-mapip igmp static-group 232.1.1.10 source ssm-mape.
Change the load interval from the default of 300.
load-interval 30f.
Change the ARP timeout from the default.
arp timeout 250
Note
The default timeout for an entry in the ARP cache is 4 hours. The default timeout for an entry in the MAC address table is only 5 minutes. Because video traffic is mostly unidirectional, the MAC address table may not be refreshed within the 5-minute timeout. This causes video traffic to be flooded until the destination MAC address is found. To prevent this, reduce the ARP cache timeout to 250 seconds. This forces the switch to re-ARP for the entries in the ARP cache before the entries in the MAC address table time out, avoiding the disruptive behavior.
Step 3
Establish a VLAN for VoIP at the edge.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 121name VLAN_121_VoIPb.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan121description VoIP edge VLANip address 192.168.121.1 255.255.255.0no ip redirectsno ip unreachablesc.
Change the load interval from the default of 300.
load-interval 30Step 4
Establish a VLAN for VoIP transport to and from AR1.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 808name VLAN_808_VoIP_to/from_AR1b.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan808description VoIP transport VLAN to/from AR1ip address 192.168.252.10 255.255.255.252c.
Change the load interval from the default of 300.
load-interval 30d.
Configure OSPF on the transport VLAN interface.
ip ospf network point-to-pointip ospf hello-interval 1Step 5
Repeat Step 4, as appropriate, to establish a VLAN for VoIP transport to and from AR3.
vlan 812name VLAN_812_VoIP_to/from_AR3interface Vlan812description VoIP transport VLAN to/from AR3ip address 192.168.252.14 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30Step 6
Establish a VLAN for video transport to and from AR1.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 908name VLAN_912_Video_to/from_DERb.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan908description Video transport VLAN to/from AR1ip address 192.168.254.10 255.255.255.252c.
Enable PIM sparse mode.
ip pim sparse-moded.
Change the load interval from the default of 300.
load-interval 30e.
Configure OSPF on the transport VLAN interface.
ip ospf network point-to-pointip ospf hello-interval 1Step 7
Repeat Step 6, as appropriate, to establish a VLAN for video transport to and from AR3.
vlan 912name VLAN_908_Video_to/from_AR3interface Vlan912description Video transport VLAN to/from AR3ip address 192.168.254.14 255.255.255.252ip pim sparse-modeip ospf network point-to-pointip ospf hello-interval 1load-interval 30Establishing Bidirectional and Unidirectional Transport Interfaces on AR2
Bidirectional and unidirectional transport interfaces must be established between AR1 and DER and AR2.
The following is configured on AR2.
Note
For additional details, see to Establishing Bidirectional and Unidirectional Interfaces for Transport on DER.
Step 1
Establish bidirectional transport interfaces.
a.
Establish a bidirectional interface to and from AR1.
interface GigabitEthernet1/1description Transport to/from AR1 (Gig4/3)switchportswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,808,908switchport mode trunkno ip addressload-interval 30carrier-delay msec 0b.
Proceed as in Step 1b through Step 2 of Establishing Bidirectional and Unidirectional Interfaces for Transport on DER.
c.
Establish a bidirectional transport interface to AR3. Note the exception below.
interface GigabitEthernet1/5description Transport to/from AR3 (Gig4/3)switchportswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,812,912switchport mode trunkdampeningno ip addressload-interval 30carrier-delay msec 0spanning-tree cost 10 <---See Note below
Note
Note that the spanning-tree cost is set to 10 on AR2. This breaks the loop for VLAN 90 (Layer 2) between AR2 and AR3, rather than somewhere else.
d.
Proceed as in Step 1b through Step 2 of Establishing Bidirectional and Unidirectional Interfaces for Transport on DER.
Step 2
Establish unidirectional receive-only transport interfaces.
a.
Establish a unidirectional receive-only transport interface to AR1. With the exceptions noted, the following is as in Step 1.
interface GigabitEthernet1/2description Transport from AR1 (Gig4/4)dampeningip address 192.168.253.26 255.255.255.252b.
Configure OSPF on the interface.
ip ospf network point-to-pointip ospf hello-interval 1c.
Change the load interval from the default of 300.
load-interval 30
Note
Transmit-queue bandwidth thresholds and priority do not need to be applied to a receive-only interface.
d.
Disable the link-negotiation protocol on the port.
speed nonegotiatee.
Mark the interface as receive only.
unidirectional receive-onlyf.
Repeat Step 2a through Step 2e, as appropriate, for the remaining unidirectional receive-only transport interfaces. Interface configurations are shown below.
Second unidirectional transport from AR1
interface GigabitEthernet1/3description Transport from AR1 (Gig4/5)dampeningip address 192.168.253.30 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30carrier-delay msec 0speed nonegotiatewrr-queue bandwidth 64 255wrr-queue queue-limit 40 50wrr-queue random-detect min-threshold 2 50 100wrr-queue random-detect max-threshold 1 100 100wrr-queue random-detect max-threshold 2 50 100wrr-queue cos-map 1 1 0wrr-queue cos-map 2 1 1wrr-queue cos-map 2 2 2 3 4 6 7mls qos trust dscpunidirectional receive-onlyThird unidirectional transport from AR3
interface GigabitEthernet1/6description Transport from AR3 (Gig4/4)dampeningip address 192.168.253.38 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30carrier-delay msec 0speed nonegotiatewrr-queue bandwidth 64 255wrr-queue queue-limit 40 50wrr-queue random-detect min-threshold 2 50 100wrr-queue random-detect max-threshold 1 100 100wrr-queue random-detect max-threshold 2 50 100wrr-queue cos-map 1 1 0wrr-queue cos-map 2 1 1wrr-queue cos-map 2 2 2 3 4 6 7mls qos trust dscpunidirectional receive-onlyFourth unidirectional transport from AR3
interface GigabitEthernet1/7description Transport from AR3 (Gig4/5)dampeningip address 192.168.253.42 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30carrier-delay msec 0speed nonegotiatewrr-queue bandwidth 64 255wrr-queue queue-limit 40 50wrr-queue random-detect min-threshold 2 50 100wrr-queue random-detect max-threshold 1 100 100wrr-queue random-detect max-threshold 2 50 100wrr-queue cos-map 1 1 0wrr-queue cos-map 2 1 1wrr-queue cos-map 2 2 2 3 4 6 7mls qos trust dscpunidirectional receive-onlyEstablishing Tunnels on AR2
See Establishing Tunnels on DER.
Table 4-9 lists the loopback interfaces and corresponding tunnel interfaces configured on AR2.
Establishing an Interface to a DSLAM on AR2
DSLAM2 is an Ericsson GE DSLAM. Note the differences in Step 1f.
The following is configured on AR2.
Step 1
Establish a 1-GE trunk to and from the uplink 1-GE port on the DSLAM.
a.
Configure the trunk for 802.1q encapsulation, and assign the trunk to VLANs 90, 120, and 121.
interface GigabitEthernet2/1description Ericsson DSLAMswitchportswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,120,121switchport mode trunkno ip addressb.
Prevent unknown unicast traffic from being flooded to the port.
switchport block unicast
Note
Occasionally, unknown unicast or multicast traffic is flooded to a switch port because a MAC address has timed out or has not been learned by the switch. (This condition is especially undesirable for a private VLAN isolated port.) To guarantee that no unicast or multicast traffic is flooded to the port, use the switchport block unicast or switchport block multicast commands.
c.
Apply the "setDSCP" service policy to mark DSCP values in the inbound IP packets.
service-policy input setDSCPd.
Change the load interval from the default of 300.
load-interval 30e.
Disable Cisco Discovery Protocol (CDP) on the interface.
no cdp enablef.
Enable PortFast on the interface to bypass the listening and learning states in Spanning Tree Protocol (STP). This allows the interface to move immediately from the blocking state to the forwarding state, rather than waiting for STP to converge.
spanning-tree portfast trunkg.
Proceed as in Step 1b through Step 2 of Establishing Bidirectional and Unidirectional Interfaces for Transport on DER. but with the following exceptions:
wrr-queue bandwidth 64 255 0wrr-queue queue-limit 40 50 0wrr-queue threshold 1 100 100 100 100 100 100 100 100wrr-queue threshold 2 50 100 100 100 100 100 100 100wrr-queue random-detect min-threshold 1 75 100 100 100 100 100 100 100wrr-queue random-detect max-threshold 1 100 100 100 100 100 100 100 100no wrr-queue random-detect 2wrr-queue cos-map 2 1 1wrr-queue cos-map 2 2 2 3 4 6 7Step 2
Repeat Step 1 for additional Ericsson GE DSLAMs served by the switch.
Configuring OSPF Routing for Video and Voice Traffic on AR2
See Configuring OSPF Routing for Video and Voice Traffic on DER.
The following is configured on AR2.
Step 1
Define an OSPF routing process to route video traffic.
router ospf 100router-id 3.3.3.1log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100network 10.10.10.0 0.0.0.255 area 0network 192.168.254.0 0.0.0.255 area 0maximum-paths 8Step 2
Define a second OSPF process to route VoIP traffic.
router ospf 101router-id 3.3.3.2log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100passive-interface Vlan121network 192.168.121.0 0.0.0.255 area 0network 192.168.252.0 0.0.0.255 area 0maximum-paths 8Step 3
Define a third OSPF process to route VoD transport traffic.
router ospf 102router-id 3.3.3.3log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100passive-interface Vlan120network 192.168.120.0 0.0.0.255 area 0network 192.168.253.0 0.0.0.255 area 0maximum-paths 8Configuring Spanning Tree on AR2
See Configuring Spanning Tree on DER.
The following is configured on AR2.
Step 1
Configure RTSP.
spanning-tree mode rapid-pvstStep 2
Because the transport VLANs in the 1-GE ring are point-to-point networks, there is no risk of Layer 2 loops, so STP can be disabled on these VLANs.
no spanning-tree vlan 800, 812, 908, 912Configuring AR3
This section addresses the configuration required on the switch labeled AR3 in Figure 4-1, to route multiple services from AR3 to AR2 and DER.
This section addresses the following:
•
Establishing and Configuring Interfaces on AR3
•
Configuring OSPF Routing for Video and Voice Traffic on AR3
•
Configuring Spanning Tree on AR3
Note
For a complete configuration example, see "Sample DER and AR Switch Configurations for the 1-GE Asymmetric Topology."
Configuring QoS on AR3
See Overview of QoS on a Cisco Catalyst 4500 Series.
This section presents the following topics:
•
Configuring Marking and Classification on AR3
Note
For more information specific to QoS as applied to the solution, see "Understanding QoS as Implemented in the Solution."
Configuring Marking and Classification on AR3
Do the following to enable marking and classification on AR3.
Step 1
Enable QoS in global configuration mode.
qosStep 2
Create access lists to identify the different service types in the network.
ip access-list extended acl_HSDremark Identify HSD trafficpermit ip 192.168.90.0 0.0.0.255 anyip access-list extended acl_VoD_signalingremark Identify VoD signaling trafficpermit ip 192.168.130.0 0.0.0.255 192.168.10.102permit ip 192.168.130.0 0.0.0.255 192.168.10.103ip access-list extended acl_VoIPremark Identify VoIP trafficpermit ip 192.168.131.0 0.0.0.255 anyStep 3
Create class maps for the access lists created in Step 2.
class-map match-all class_VoIPmatch access-group name acl_VoIPclass-map match-all class_VoD_signalingmatch access-group name acl_VoD_signalingclass-map match-all class_HSDmatch access-group name acl_HSDStep 4
Create a policy map to set the DSCP values of the different classes created in Step 3.
policy-map setDSCPdescription Mark DSCP values for ingress trafficclass class_VoIPset dscp efclass class_HSDset dscp defaultclass class_VoD_signalingset dscp cs3Step 5
Apply the policy map from Step 4 to the ingress interfaces using the following command.
service-policy input setDSCP
Note
Specific interface examples of this and other interface commands are shown in the interface provisioning sections.
Step 6
To maintain the DSCP marking applied at the network ingress interface, configure all noningress transport interfaces to trust the incoming DSCP markings.
qos trust dscpConfiguring Mapping on AR3
To configure mapping on AR3, proceed as in Configuring Mapping on AR1.
Configuring Queueing on AR3
To configure queueing on AR3, proceed as in Configuring Queueing on AR1.
Establishing and Configuring Interfaces on AR3
Refer to Figure 4-2.
This section addresses the following:
•
Establishing VLANs for Services on AR3
•
Establishing Bidirectional and Unidirectional Transport Interfaces on AR3
•
Establishing an Interface to a DSLAM on AR3
Establishing VLANs for Services on AR3
Before bidirectional and unidirectional transport interfaces can be configured, VLANs for the various services must be created. With the exception of VLAN 90 (high-speed data), these are all Layer 3 VLANs. (Refer to Table 4-2.)
The following is configured on AR3.
Note
For details, see Establishing VLANs for Services on DER.
Step 1
In global configuration mode, establish a Layer 2 VLAN for high-speed data (HSD). (No Layer 3 interface is required.)
vlan 90name VLAN_90_HSDStep 2
Establish a VLAN for video at the edge.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 130name VLAN_130_Videob.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan130description Video edge VLANip address 192.168.130.1 255.255.255.0no ip redirectsno ip unreachablesc.
Enable PIM sparse mode. This is the aggregation VLAN for video traffic to the DSLAMs. Broadcast video is multicast addressed.
ip pim sparse-moded.
To ensure consistently fast PIM convergence times, statically join the aggregation VLAN for video at the AR to the multicast groups.
ip igmp static-group 232.1.1.1 source ssm-mapip igmp static-group 232.1.1.2 source ssm-mapip igmp static-group 232.1.1.3 source ssm-mapip igmp static-group 232.1.1.4 source ssm-mapip igmp static-group 232.1.1.5 source ssm-mapip igmp static-group 232.1.1.6 source ssm-mapip igmp static-group 232.1.1.7 source ssm-mapip igmp static-group 232.1.1.8 source ssm-mapip igmp static-group 232.1.1.9 source ssm-mapip igmp static-group 232.1.1.10 source ssm-mape.
Change the load interval from the default of 300.
load-interval 30f.
Change the ARP timeout from the default.
arp timeout 250
Note
The default timeout for an entry in the ARP cache is 4 hours. The default timeout for an entry in the MAC address table is only 5 minutes. Because video traffic is mostly unidirectional, the MAC address table may not be refreshed within the 5-minute timeout. This causes video traffic to be flooded until the destination MAC address is found. To prevent this, reduce the ARP cache timeout to 250 seconds. This forces the switch to re-ARP for the entries in the ARP cache before the entries in the MAC address table time out, avoiding the disruptive behavior.
Step 3
Establish a VLAN for VoIP at the edge.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 131name VLAN_131_VoIPb.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan131description VoIP edge VLANip address 192.168.131.1 255.255.255.0no ip redirectsno ip unreachablesload-interval 30Step 4
Establish a VLAN for VoIP transport to and from AR2.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 812name VLAN_812_VoIP_to/from_AR2b.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan812description VoIP transport to/from AR2ip address 192.168.252.13 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1Step 5
Repeat Step 4, as appropriate, to establish a VLAN for VoIP transport to and from DER.
vlan 816name VLAN_808_VoIP_to/from_DERinterface Vlan816description VoIP transport to/from DERip address 192.168.252.18 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1Step 6
Establish a VLAN for video transport to and from AR2.
a.
In global configuration mode, add the VLAN to the VLAN database.
vlan 912name VLAN_912_Video_to/from_AR2b.
In interface configuration mode, create and configure the VLAN interface.
interface Vlan912description Video transport to/from AR2ip address 192.168.254.13 255.255.255.252c.
Enable PIM sparse mode.
ip pim sparse-moded.
Configure OSPF on the interface.
ip ospf network point-to-pointip ospf hello-interval 1Step 7
Repeat Step 6, as appropriate, to establish a VLAN for video transport to and from DER.
vlan 916name VLAN_916_Video_to/from_DERinterface Vlan916description Video transport to/from DERip address 192.168.254.18 255.255.255.252ip pim sparse-modeip ospf network point-to-pointip ospf hello-interval 1Establishing Bidirectional and Unidirectional Transport Interfaces on AR3
Bidirectional and unidirectional transport interfaces must be established between AR1 and DER and AR2.
The following is configured on AR3.
Note
For additional details, see Establishing Bidirectional and Unidirectional Interfaces for Transport on DER.
Step 1
Establish bidirectional transport interfaces.
a.
Establish a bidirectional interface to and from DER.
interface GigabitEthernet3/1description Transport to/from DER (Gig7/9)switchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,816,916switchport mode trunkload-interval 30b.
Configure this interface (and all noningress transport interfaces) to trust the incoming DSCP markings. (This maintains the DSCP marking applied at the network ingress interface.)
qos trust dscpc.
Set the transmit-queue bandwidth thresholds and priority.
tx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4bandwidth percent 1d.
Repeat Step 1a through Step 1c, as appropriate, to establish the bidirectional transport interface to AR2. Note the exception below.
interface GigabitEthernet4/3description Transport to/from AR2 (Gig1/5)switchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,812,912switchport mode trunkload-interval 30qos trust dscptx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4bandwidth percent 1spanning-tree cost 10 <---See Note below
Note
Note that the spanning-tree cost is set to 10 on AR3. This breaks the loop for VLAN 90 (Layer 2) between AR2 and AR3, rather than somewhere else.
Step 2
Establish unidirectional receive-only transport interfaces.
a.
Establish a unidirectional receive-only interface to DER, With the exceptions noted, the following is as in Step 1.
interface GigabitEthernet3/3description Transport from DER (Gig7/11)dampeningip address 192.168.253.50 255.255.255.252b.
Configure OSPF on the interface.
ip ospf network point-to-pointip ospf hello-interval 1c.
Change the load interval from the default of 300.
load-interval 30
Note
Transmit-queue bandwidth thresholds and priority do not need to be applied to a receive-only interface.
d.
Disable the link-negotiation protocol on the port.
speed nonegotiatee.
Mark the interface as receive only.
unidirectional receive-onlyf.
Repeat Step 2a through Step 2e, as appropriate, for the remaining unidirectional receive-only transport interfaces. Interface configurations are shown below.
Second unidirectional transport from DER
interface GigabitEthernet3/4description Transport from DER (Gig7/12)no switchportdampeningip address 192.168.253.54 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30carrier-delay msec 0speed nonegotiateunidirectional receive-onlyThird unidirectional transport from DER
interface GigabitEthernet3/5description Transport from DER (Gig7/13)no switchportdampeningip address 192.168.253.58 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30carrier-delay msec 0speed nonegotiateqos trust dscpunidirectional receive-onlyFourth unidirectional transport from DER
interface GigabitEthernet3/6description Transport from DER (Gig7/14)no switchportdampeningip address 192.168.253.62 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30carrier-delay msec 0speed nonegotiateqos trust dscpunidirectional receive-onlyStep 3
Establish unidirectional send-only transport interfaces.
a.
Establish a unidirectional send-only transport interface to AR2. With the exception noted, the following is as in Step 1.
interface GigabitEthernet4/4description Transport to AR2 (Gig1/6)no switchportip address 192.168.253.37 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30speed nonegotiateqos trust dscptx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4bandwidth percent 1b.
Mark the interface as send only.
unidirectional send-onlyc.
Repeat Step 3a and Step 3b, as appropriate, for the second unidirectional send-only transport interface to AR2.
interface GigabitEthernet4/5description Transport to AR2 (Gig1/7)no switchportip address 192.168.253.41 255.255.255.252ip ospf network point-to-pointip ospf hello-interval 1load-interval 30speed nonegotiateqos trust dscptx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4bandwidth percent 1unidirectional send-onlyEstablishing Tunnels on AR3
See Establishing Tunnels on DER.
Table 4-10 lists the loopback interfaces and corresponding tunnel interfaces configured on AR3.
Establishing an Interface to a DSLAM on AR3
Do the following to establish an interface to DSLAM3.
The following is configured on AR3.
Step 1
Establish a 1-GE trunk to and from the uplink 1-GE port on the DSLAM.
a.
Configure the trunk for 802.1q encapsulation, and assign the trunk to VLANs 90, 110, and 111.
interface GigabitEthernet5/1description GigE trunk to/from DSLAM uplink GigEswitchport trunk encapsulation dot1qswitchport trunk allowed vlan 90,130,131switchport mode trunkb.
Prevent unknown unicast traffic from being flooded to the port.
switchport block unicast
Note
Occasionally, unknown unicast or multicast traffic is flooded to a switch port because a MAC address has timed out or has not been learned by the switch. (This condition is especially undesirable for a private VLAN isolated port.) To guarantee that no unicast or multicast traffic is flooded to the port, use the switchport block unicast or switchport block multicast commands.
c.
Apply the "setDSCP" service policy to mark DSCP values in the inbound IP packets.
service-policy input setDSCPd.
Change the load interval from the default of 300.
load-interval 30e.
Set transmit-queue bandwidth thresholds and priority.
tx-queue 1bandwidth percent 19tx-queue 2bandwidth percent 80tx-queue 3priority hightx-queue 4bandwidth percent 1f.
Disable Cisco Discovery Protocol (CDP) on the interface.
no cdp enableg.
Enable PortFast on the interface to bypass the listening and learning states in Spanning Tree Protocol (STP). This allows the interface to move immediately from the blocking state to the forwarding state, rather than waiting for STP to converge.
spanning-tree portfast trunkStep 2
Repeat Step 1 for all additional GE DSLAMs served by the switch.
Configuring OSPF Routing for Video and Voice Traffic on AR3
Refer to Configuring OSPF Routing for Video and Voice Traffic on DER.
The following is configured on AR3.
Step 1
Define an OSPF routing process to route video traffic.
router ospf 100router-id 4.4.4.1log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100network 10.10.10.0 0.0.0.255 area 0network 192.168.254.0 0.0.0.255 area 0maximum-paths 8Step 2
Define a second OSPF process to route VoIP traffic.
router ospf 101router-id 4.4.4.2log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100passive-interface Vlan131network 192.168.131.0 0.0.0.255 area 0network 192.168.252.0 0.0.0.255 area 0maximum-paths 8Step 3
Define a third OSPF process to route VoD traffic.
router ospf 102router-id 4.4.4.3log-adjacency-changestimers throttle spf 10 100 1000timers throttle lsa all 1 10 1000timers lsa arrival 100passive-interface Vlan130network 192.168.130.0 0.0.0.255 area 0network 192.168.253.0 0.0.0.255 area 0maximum-paths 8Configuring Spanning Tree on AR3
See Configuring Spanning Tree on DER.
The following is configured on AR3.
Step 1
Configure RTSP.
spanning-tree mode rapid-pvstStep 2
Because the transport VLANs in the 1-GE ring are point-to-point networks, there is no risk of Layer 2 loops, so STP can be disabled on these VLANs.
no spanning-tree vlan 812, 816, 912, 916
Posted: Wed Sep 20 09:04:37 PDT 2006
All contents are Copyright © 1992--2006 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.