EMAIL SUPPORT

dclessons@dclessons.com

LOCATION

NZ

Configure SVI & Auto-State Behaviour

Configure SVI & Auto-State Behaviour

Posted on Jan 24, 2020 (0)

Configure SVI & Auto-State Behaviour

When we have to gain the capability on any SVI logical interface between bridging function and Routing function on any VLAN, we should configure SVI on switch. The SVI acts as a default gateway for a VLAN.

When you configure SVI on switch, it will come UP only when it as atleast one Port as access or trunk and in STP forwarding state. And if all port allocated to the VLAN goes down, the SVI goes down state.

This behavior can be flipped based on SVI autostate behaviour.

SVI Autostate Exclude: This feature is used to exclude any specific ports or port channel while defining the SVI status UP or down. Let’s say even any port or port-channel is UP state and rest port are down in same VLAN, by SVI Autostate feature, we can make SVI state to Down.

This SVI autostate feature can be configured on any Ethernet port or port channel, it can also be used to exclude any VLAN from autostate excluded interface.

This Auto state disable feature can also keep SVI UP even though any port on those VLAN is not UP. This feature is mostly used when this VLAN is used as Management interface

The Below example shows how to exclude a port from VLAN Interface link-UP calculation:

N7K1# configure terminal
N7K1(config)# interface ethernet 1/1
N7K1(config-if)# switchport
N7K1(config-if)# switchport autostate exclude

Below example shows how to exclude a VLAN from the auto-excluded interface:

N7K1# configure terminal
N7K1(config)# interface ethernet 1/1
N7K1(config-if)# switchport
N7K1(config-if)# switchport autostate exclude
N7K1(config-if)# switchport autostate exclude vlan 15

Below example shows how to disable the default autostate behaviour on the Cisco NX-OS device, this will keep SVI UP even if no interface is UP on any corresponding VLAN.

N7K1# configure terminal
N7K1(config)# system default interface-vlan no autostate

Below command will disable SVI autostate feature on individual SVI

N7K1# configure terminal
N7K1(config)# feature interface-vlan
N7K1(config)# interface vlan15
N7K1(config-if)# no autostate


Comment

  • Super Duper Information


LEAVE A COMMENT

Please login here to comment.