How to determine if IOS is command-based

Answered Question
Apr 10th, 2008
User Badges:

Hi. How does one determine if the IOS of a router or switch is command based?


Thanks in advance.

Correct Answer by Jon Marshall about 9 years 2 months ago

I think a couple of things are getting mixed up here.


"switchport access vlan 2" is the IOS interface command to allocate a port into a vlan


"set vlan 2 2/3" is the CatOS command to allocate port 2/3 into vlan 2. CatOS is another OS used on switches although it is gradually being used less and less in favour of IOS.


"vlan-membership static 2" is not a command i have come across but i think it is tied to VMPS (Vlan Management Policy Server). Two things about this


1) It is CatOS related because VMPS is not supported on IOS

2) It is a different way of allocating ports into vlans ie. you do not configure the indivdual ports rather you have a central server that knows which switch ports are in which vlans. It is not used that much as there is a very large administrative overhead in maintaining the server.


Jon

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Jon Marshall Thu, 04/10/2008 - 03:37
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

Could you clarify what you mean by "command based" ?

marcusbrutus Thu, 04/10/2008 - 03:56
User Badges:

I observed that there are IOS that uses a different syntax. I know this may sound a bit lame but please indulge me. I mean like for example in setting an interface on a switch. Some use: switchport access vlan 2; while others use: vlan-membership static 2.

Could you clarify this for me please?


Thanks.

Correct Answer
Jon Marshall Thu, 04/10/2008 - 04:12
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

I think a couple of things are getting mixed up here.


"switchport access vlan 2" is the IOS interface command to allocate a port into a vlan


"set vlan 2 2/3" is the CatOS command to allocate port 2/3 into vlan 2. CatOS is another OS used on switches although it is gradually being used less and less in favour of IOS.


"vlan-membership static 2" is not a command i have come across but i think it is tied to VMPS (Vlan Management Policy Server). Two things about this


1) It is CatOS related because VMPS is not supported on IOS

2) It is a different way of allocating ports into vlans ie. you do not configure the indivdual ports rather you have a central server that knows which switch ports are in which vlans. It is not used that much as there is a very large administrative overhead in maintaining the server.


Jon

Actions

This Discussion