Explicitly specified attribute values take precedence over attribute values specified in a VC class. As a result, the following commands cause the router to use the most recent explicitly specified value, UBR with a PCR of 200 Kbps, as the service category for this PVC instead of the service category specified in my-premium-class, CBR with a PCR of 200 Kbps. The router takes the values for the other attributes from the VC class my-premium-class.
- host1(config)#interface atm 2/0.200
- host1(config-subif)#pvc 200 0/200
- host1(config-subif-vc)#ubr 200
- host1(config-subif-vc)#class-vc my-premium-class
- host1(config-subif-vc)#exit
The following commands change the service category for the PVC to VBR-RT because this is the most recent explicitly specified value for this attribute. The router takes the values for the other attributes from the VC class my-premium-class, which is still assigned to the PVC.
- host1(config)#interface atm 2/0.200
- host1(config-subif)#pvc 200 0/200
- host1(config-subif-vc)#vbr-rt 200 150 200
- host1(config-subif-vc)#exit
The following commands cause the router to retain the VBR-RT service category for the PVC because it is still the most recent explicitly specified value for this attribute. The router takes the values for the other attributes from the VC class my-premium-class.
- host1(config)#interface atm 2/0.200
- host1(config-subif)#pvc 200 0/200
- host1(config-subif-vc)#class-vc my-premium-class
- host1(config-subif-vc)#exit