Users Guide

OS10(conf-range-po-3)# switchport trunk allowed vlan 2-5
OS10(conf-range-po-3)# exit
OS10(config)# no interface range vlan 2-4
OS10(conf-range-po-3)# % Error: Range configuration conflict - the last command was not applied. Please
commit (or discard) the rest of the configuration changes and retry.
If you see the error message in bold, commit the entire configuration and then delete a sub set of VLANs.
OS10(conf-range-po-3)#do commit
OS10(conf-range-po-3)# do show running-configuration interface port-channel
!
interface port-channel3
no shutdown
switchport mode trunk
switchport access vlan 1
switchport trunk allowed vlan 2-5
OS10(conf-range-po-3)# do show running-configuration interface vlan
!
interface vlan1
no shutdown
!
interface vlan2
no shutdown
!
interface vlan3
no shutdown
!
interface vlan4
no shutdown
!
interface vlan5
no shutdown
OS10(conf-range-po-3)# no interface range vlan 2-4
OS10(config)# do show running-configuration interface vlan
!
interface vlan1
no shutdown
!
interface vlan5
no shutdown
OS10(config)# do show running-configuration interface port-channel
!
interface port-channel3
no shutdown
switchport mode trunk
switchport access vlan 1
switchport trunk allowed vlan 5
Sometimes, partial removal of VLANs may fail and display the following error message:
% Error: The command failure resulted in disintegrated candidate configuration. Please
discard the current candidate configuration changes.
If you see this error message, discard the entire configuration using the discard command.
Copy running configuration
The running configuration contains the current OS10 system configuration and consists of a series of OS10 commands. Copy the
running configuration to a remote server or local directory as a backup or for viewing and editing. The running configuration is
copied as a text file that you can view and edit with a text editor.
CLI Basics
73