• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1526
  • Last Modified:

Difference between CLI-based switch and IOS-based Cisco switch?

Hi All,

Trying to configure VLAN trunk on Cisco switch.

IOS-based says:
Switch(config)# interface interface mod/port
Switch(config-if)# switchport mode trunk
Switch(config-if)# switchport trunk encapsulation {isl | dot1q}
Switch(config-if)# switchport trunk allowed vlan remove vlan-list
Switch(config-if)# switchport trunk allowed vlan add vlan-list

CLI-based says:
Switch(enable) set trunk module/port [on | off | desirable | auto | nonegotiate] vlan-range [isl | dot1q | dot10 | lane | negotiate]

Where do you look to see what you have?

show version comes to mind?

Tried googling web/ ee first, but no go.

Many thanks in advance.

0
Im_All_Ears
Asked:
Im_All_Ears
  • 2
  • 2
1 Solution
 
Don JohnstonInstructorCommented:
CatOS: "show trunk"
IOS: "show interface trunk"
0
 
Im_All_EarsAuthor Commented:
Appreciate the help Don,

Though was also hoping to get some advice on differentiating between CLI and IOS-based switch?

I assumed when I am on an IOS switch, I thought I used the CLI to issue commands?

But now I see there are different ways to configure each, DEPENDING if you're on a CLI or IOS-based switch.

Apologies for not being more clear in what I was asking for.
0
 
Don JohnstonInstructorCommented:
CLI=Command Line Interface.

This does not indicate whether you are referring to CatOS or IOS. They are two different operating systems. Many of the commands are completely different while some are the same.

Is there something specific you need to know?
0
 
Im_All_EarsAuthor Commented:
Based on what you've told me, I searched a bit more...

CLI-based switches:
1) commands are "set-based"
2) use "set" and "clear" commands
3) used on older switches
4) CatOS switches use commands like:
set port name 3/1 To Router1
set port speed 3/1 100
set port duplex 3/1 full
set vlan 12 3/1

IOS-based switches:
1) similar to routers
2) used on newer switches
2) CatIOS switches us commands like:
interface fastethernet3/1
description To Router1
speed 100
duplex full
switchport access vlan 12

Thanks for taking the time to reply.

Gonna go ahead and close this one.
0

Featured Post

Microsoft Certification Exam 74-409

VeeamĀ® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now