I follow a tutorial, there shows the method of create sub-interface:
but in my actual situation, I can not do this:
Router(config)#interface gigabitEthernet 2/1.100
^
% Invalid input detected at '^' marker.
my router is CGR 1240 in Cisco Packet Tracer.