- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2019 09:27 PM - edited 03-08-2019 05:20 PM
Lets say I have the below config.
interface GigabitEthernet0/0/1
description test
encapsulation dot1Q 201
ip address x.x.x.x
no ip redirects
no ip proxy-arp
standby version 2
standby 201 ip y.y.y.y.y
standby 201 timers msec 500 2
standby 201 priority 200
standby 201 preempt delay minimum 270 reload 300
standby 201 track 1 decrement 150
!
interface GigabitEthernet0/0/1.200
description test2
encapsulation dot1Q 200
ip address x.x.x.y
no ip redirects
no ip proxy-arp
standby version 2
standby 200 ip y.y.y.y.x
standby 200 timers msec 500 2
standby 200 priority 150
standby 200 preempt
!
And another 3 sub-interfaces .212, .300, .400
If i do "default interface GigabitEthernet0/0/1" , will it remove the sub-interfaces as well?
Solved! Go to Solution.
- Labels:
-
LAN Switching
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2019 02:37 AM - edited 02-14-2019 02:39 AM
Hello
@praveenmathew27 wrote:
Lets say I have the below config.
If i do "default interface GigabitEthernet0/0/1" , will it remove the sub-interfaces as well?
No it will not remove the sub-interfaces it will just default the physical interface only to its default config, the same if you perform a default to a sub-interface, it will just default that specific sub-interface.
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2019 09:48 PM
Hi @praveenmathew27,
Check this link:
https://blog.ipspace.net/2007/06/default-interface-configuration-command.html
I think can help you.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2019 12:09 AM
Thanks for the link, but just wanted to get confirmation, as this is on an ASR1001, running 15.4(1)S1 , using GigabitEthernet interface.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2019 01:08 AM
Hi,
The provided link is very old and As of now, it should not impact on the subinterface if you do default the main interface. However, I would advise you contact with Cisco TAC to get the confirmation.
BR
Tayyab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2019 02:37 AM - edited 02-14-2019 02:39 AM
Hello
@praveenmathew27 wrote:
Lets say I have the below config.
If i do "default interface GigabitEthernet0/0/1" , will it remove the sub-interfaces as well?
No it will not remove the sub-interfaces it will just default the physical interface only to its default config, the same if you perform a default to a sub-interface, it will just default that specific sub-interface.
Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.
Kind Regards
Paul
