04-20-2011 01:25 AM - edited 03-06-2019 04:42 PM
Hi,
I' trying to speed-up the activation of an interface vlan over a physical trunk interface.
I notice that my physical interface becomes line & protocol up immediatly but my interface vlan stay ~10s in state Up/down before coming in UP/UP state ...
Do you have any tips to fast-up the stating of vlan interface ?
Thanks
Regards
04-20-2011 01:34 AM
interface x/x
switchport autostate exclude
HTH>
04-20-2011 02:04 AM
Hi Andrew,
With this cmd, my interface vlan stay in UP/down state...
Is there anything else i can do to activa int vlan ?
Thanks
Regards
04-20-2011 02:09 AM
Well to be honest that should not happen as when an interface is excluded, any influence that it might have had over the SVI state is removed. Normally a interface somewhere needs to be in the specific VLAN for the SVI to be UP/UP.
Is the specific port a trunk?
04-20-2011 02:39 AM
Please have a look of a part of my conf...
Thanks
MASTER#sh ip int brief vlan 101
Interface IP-Address OK? Method Status Protocol
Vlan101 10.255.255.1 YES manual up up
!-------------------
! trunk interface
!-------------------
interface FastEthernet1/0/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 101,102
switchport mode trunk
switchport nonegotiate
spanning-tree bpdufilter enable
end
!-------------------
! vlan interface
!-------------------
interface Vlan101
ip vrf forwarding ClientA
ip address 10.255.255.1 255.255.255.248
ip ospf network point-to-point
ip ospf hello-interval 1
ip ospf dead-interval 2
ip ospf retransmit-interval 3
spanning-tree bpdufilter enable
end
!-------------------
! when physically shutting the port the reanabling it
!-------------------
MASTER#sh ip int brief vlan 101
Interface IP-Address OK? Method Status Protocol
Vlan101 10.255.255.1 YES manual up down
!........ Around 10 to 20 seconds
MASTER#sh ip int brief vlan 101
Interface IP-Address OK? Method Status Protocol
Vlan101 10.255.255.1 YES manual up down
MASTER#sh ip int brief vlan 101
Interface IP-Address OK? Method Status Protocol
Vlan101 10.255.255.1 YES manual up up
04-20-2011 03:18 AM
Yes - that looks about right. Before the interface will be UP/UP spanning-tree does it thang! and once it's OK, the SVI will be brought up.
Since you have
interface FastEthernet1/0/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 101,102
switchport mode trunk
switchport nonegotiate
spanning-tree bpdufilter enable
You are not accepting any spanning-trre BPDU's back - so you do not expect any spanning-tree issues on that link, you could put the trunk interface directly into a forwarding state (cannot see if you are already using port-fast globally)
You can add to fa1/0/2
spanning-tree port-fast
This "should" speed things up a little.
04-20-2011 05:32 AM
in fact, i was trying to bypass the spanning tree by disabling transmission of BPDU on both switchs ends.
at the begining my ports was working 801.2W as you recommend.
I've reconfigured the ports like below but with the same phénomena...
Another idea ?
MASTER(config-if)#do sh run int F1/0/2
Building configuration...
Current configuration : 183 bytes
!
interface FastEthernet1/0/2
switchport trunk encapsulation dot1q
switchport trunk allowed vlan 101,102
switchport mode trunk
switchport nonegotiate
spanning-tree portfast
end
MASTER(config-if)#do sh run int vl101
Building configuration...
Current configuration : 231 bytes
!
interface Vlan101
ip vrf forwarding ClientA
ip address 10.255.255.1 255.255.255.248
ip ospf network point-to-point
ip ospf hello-interval 1
ip ospf dead-interval 2
ip ospf retransmit-interval 3
spanning-tree portfast
end
04-20-2011 06:28 AM
You could just turn the port into a layer 3 port - then route the other VLAN over it via IP?
04-20-2011 07:03 AM
Unfortunatly i can't do this because i absolutly need to build a dot1q interface.
Franckly my first idea was to make sub-interfaces instead of trunking vlans.(in order to bypass STP)
This first idea in not applicable on my C3750 ...
So.. so...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide