To modify an existing class, use the refine interface keyword. The refine interface keyword indicates that any declarations that follow will modify an existing ICIM class.

All refinements to a class must be contained in a single refine interface <classname> declaration. For example, you cannot have a refine interface Router declaration in the mymodel1.mdl file, and then another refine interface Router in the mymodel2.mdl. Likewise, you cannot have more than one refine interface Router declaration in the mymodel1.mdl file.

In this example, the stored attribute SM_RtrChassisType is added to the Chassis class. The Chassis class is one of the ICIM classes.

refine interface Chassis
{
 stored attribute string SM_RtrChassisType;
}