command newbie { help "Show newbie"; EXAMPLED_ACTION; argument group { flag explicit nokeyword; help "Business Unit"; choice apg { help "Newbie works for APG"; } choice ipg { help "Newbie works for IPG"; } choice spg { help "Newbie works for SPG"; } default ipg; } }
If the CLI user does not specify the group, ipg is used. user@router> show example newbie ? Possible completions: <[Enter]> Execute this command apg Newbie works for APG ipg Newbie works for IPG spg Newbie works for SPG | Pipe through a command user@router>