Configuration Examples

Figure 11 QoS Configuration Topology

Switch-1

CSG

(Active)

Heartbeat message

port gl/1

port gl/1

(sending)

(receiving)

Switch-2

CSG

(Standby)

63035

Without this configuration, 802.1Q priority information is not preserved in packets traversing through to the switch. Heartbeat messages sent from the primary to the secondary CSM must contain this priority information so that they will be transmitted without delay. When an excessive delay occurs, an unnecessary takeover might occur.

You can overcome this limitation by configuring the sending port g1/1 to retain priority information upon transmission, and the receiving port g1/1 to trust the Class of Service (CoS) (Priority Bits) for the incoming packets.

Note In the following script, the permit any any command informs the switch to accept incoming packets with any MAC address from any MAC address.

To configure QoS for fault-tolerance, enter the following commands:

Router>

Router> enable

Router# configure terminal

Router(config)#

Router(config)# class-map match-any Venus

Router(config-cmap)#match access-group name Venus

Router(config-cmap)#

Router(config-cmap)# exit

Router(config)# policy-map Venus

Router(config-pmap)# class Venus

Router(config-pmap-c)# trust cos

Router(config-pmap-c)# exit

Router(config-pmap)# exit

Router(config)#

Router(config)# mls qos

Router(config)#

Router(config)# mac access-list extended Venus

Router(config-ext-macl)# permit any any

Router(config-ext-macl)# exit

Router(config)# int GigabitEthernet 2/1

Router(config-if)# no ip address

Router(config-if)#service-policy input Venus

Router(config-if)# switchport

Router(config-if)#switchport access vlan 200

Router(config-if)#switchport trunk encapsulation dot1q

Router(config-if)#switchport trunk allowed vlan 1,200,1002-1005

Router(config-if)#switchport mode trunk

Router(config-if)# no cdp enable

Router(config-if)# end

Router# !

 

 

Catalyst 6000 Family Content Switching Module Installation and Configuration Note

 

 

 

 

 

 

 

78-11631-02 Rev. A0

 

 

39

 

 

 

 

 

Page 39
Image 39
Cisco Systems 6000 manual Router# configure terminal, Routerconfig# mac access-list extended Venus