cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
856
Views
0
Helpful
8
Replies

Interface Vlan hags to become protocol UP

eric.theodore
Level 1
Level 1

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

8 Replies 8

andrew.prince
Level 10
Level 10

interface x/x

switchport autostate exclude

HTH>

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

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?

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

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.

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

You could just turn the port into a layer 3 port - then route the other VLAN over it via IP?

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...

Review Cisco Networking for a $25 gift card