interface-config-vlan-instance

interface

Use the config-profile-<DEVICE-PROFILE-NAME> mode to configure Ethernet, VLAN and tunnel settings.

To switch to this mode, use the following commands:

<DEVICE>(config-profile-default-<DEVICE-TYPE>)#interface [<INTERFACE-NAME>|
fe <1-4>|ge <1-24>|me1|port-channel <1-4>|pppoe1|radio [1|2|3]|up1|vlan <1-4094>|
wwan1|xge <1-24>]

The following example uses the config-profile-nx9500-6C8809 instance to configure a VLAN interface:

nx9500-6C8809(config-profile-default-nx5500)#interface vlan 8
nx9500-6C8809(config-profile-default-nx5500-if-vlan8)#

nx9500-6C8809(config-profile-default-nx5500-if-vlan8)#?
SVI configuration commands:
  crypto               Encryption module
  description          Vlan description
  dhcp                 Dynamic Host Configuration Protocol (DHCP)
  dhcp-relay-incoming  Allow on-board DHCP server to respond to relayed DHCP
                       packets on this interface
  ip                   Interface Internet Protocol config commands
  ipv6                 Internet Protocol version 6 (IPv6)
  no                   Negate a command or set its defaults
  shutdown             Shutdown the selected interface
  use                  Set setting to use

  clrscr               Clears the display screen
  commit               Commit all changes made in this session
  do                   Run commands from Exec mode
  end                  End current mode and change to EXEC mode
  exit                 End current mode and down to previous mode
  help                 Description of the interactive help system
  revert               Revert changes
  service              Service Commands
  show                 Show running system information
  write                Write running configuration to memory or terminal

nx9500-6C8809(config-profile-default-nx5500-if-vlan8)#

The following table summarizes interface VLAN configuration commands:

Commands Description
crypto Defines the encryption module used with this VLAN interface
description Defines the VLAN interface description
dhcp Enables inclusion of optional fields (client identifier) in DHCP client requests
dhcp-relay-incoming Allows an onboard DHCP server to respond to relayed DHCP packets on this interface
ip Configures the VLAN interface‘s IP settings
ipv6 Configures the VLAN interface‘s IPv6 settings
no Removes or reverts this VLAN interface‘s settings to default
shutdown Shuts down this VLAN interface
use Associates an IP (IPv4 and IPv6) access list, bonjour-gw-discovery policy, and an IPv6-route-advertisement policy with this VLAN interface