cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
458
Views
0
Helpful
3
Replies

9300 modifying line items

ceddeskuiop
Level 1
Level 1

I am very new to Cisco, apoligies for the elementary level of this request... My google-fu is failing me hard today. (9300 Switch)

If I do "show blah blah blah" and I have a configuration item that states:

"config-item option1 option2"

But I need to update this to read

"config-item option1 optionA optionB option2"

...How's this best performed?

Do I simply enter "config-item option1 optionA optionB option2" and save? Or is there some other way around it? (In a past life I managed another brand (not cisco...))

3 Replies 3

Torbjørn
VIP
VIP

Yes, you typically just enter the desired configuration to replace existing config. 

Happy to help! Please mark as helpful/solution if applicable.
Get in touch: https://torbjorn.dev

As @Torbjørn describes, typically a single configuration statement is replaced as a whole statement.  There are some (very) few statements that permit some parameter "editing" (e.g. trunk VLANs allowed) and at least one, like ACL ACEs that can use positional sequence numbers. 

Also, generally, on a Cisco device any configuration statement change takes effect immediately, there's no scratchpad or pending implementation as some other vendors offer.

Lastly, for configuration changes to survive a reboot, the running configuration needs to replace the start up configuration.

PS:

You do know to make configuration changes device needs to be in "enable" mode and configuration mode?

You are also aware of using a question mark, tan and/or line editing controls along with command buffer?

DanielP211
VIP Alumni
VIP Alumni

New configuration will replace the old one. Just make sure you are in the right place. For instance:
Existing config
Interface vlan 1
ip address 1.1.1.1 255.255.255.0

To replace it we enter:
config termina
int vlan 1
ip address 2.2.2.2 255.255.255.0

IF you have a more specific request write it. 

BR

****Kindly rate all useful posts*****
Review Cisco Networking for a $25 gift card