How to go into the Router and Switch modes, for that we need some commands those are described in this video.
Enable = Privileged Mode
Configure terminal = Configuration Mode
Line console 0 = Line Mode
Line vty 0 15 = Line Mode
int fa0/0 (any int name) = Interface Mode
int fa0/0.10 = Sub interface Mode