interface

Prev Next

interface add/edit

interface add – Add a new interface
interface add – Add a new interface

Description:

Configure an IP interface for management purpose. Interfaces can be set to to acquire their IP configuration from a DHCP server or can be manually configured with a static IP. The subnet can be defined using the Address Prefix Length along with the IP (e.g. 192.168.1.100/24) or by entering the network mask using the netmask keyword.

Notes:

IPv4 aliases: Interfaces can be configured for dual-homing by specifying an alias name instead of an interface name. Currently only an alias ID of 0 (zero) can be defined. When specifying an alias, only the address, netmask and gateway parameters can be configured. An aliased interface is always set up as a static IP address (no DHCP) and is on a distinct interface.

IPv6: Two IPv6 addresses can be configured (0 and 1). This is different from IPv4 aliases as the index is not specified in the interface name but as a parameter of the address. All IPv6 addresses are over the same interface.

Syntax:

interface    {add|edit} <interface-name>|<alias-name>
            {name <interface-name>|<alias-name>} |
            {dhcp {enable|disable}} |
            {dhcp-rt-info {enable|disable}} |
            {dhcp-static {enable|disable}} |
            {address {<ip-addr>|<ip-addr-prefix>}} |
            {netmask {<ip-addr>}} |
            {gateway {<ip-addr>}} |
            {ipv6_enable {enable|disable}} |
            {ipv6_dhcp {disabled|stateless|stateful}} |
            {ipv6_radv {enable|disable}} |
            {ipv6_static {enable|disable}} |
            {ipv6_address <0-1> {<ipv6-addr>/<ipv6-prefixLen>
             [-<ipv6-gateway>]}} |
            {vlan1-id <vlan-id>} |
            {vlan2-id <vlan-id>} |
            {vlan1-ethertype {c-vlan | s-vlan | t-vlan}} |
            {vlan2-ethertype {c-vlan | s-vlan | t-vlan}} |
            {vlan1-priority <0-7>} |
            {vlan2-priority <0-7>} |
            {type {standard|vlan|bridge|vlan-in-vlan|bridge-vlan}} |
            {name <interface-name> } |
            {port <port-name> } |
            {sub-intf <sub-intf-name-list> } |
            {ip-override {enable|disable} } |
            {force {enable|disable} } |
            {state {enable|disable} } |
            {dhcp-relay {enable|disable}} |
            {ipv4-fwd {enable|disable}} |
            {stp {enable|disable}} }+
            {icmp_redirect {enable|disable} } |
            {ipv6_ icmp_redirect {enable|disable} } |

Parameters:

Parameter Description
<interface-name> <string>
<alias-name> <string>:0
<ip-addr-prefix> <ip-addr>/{1-32}
<vlan-id> <decimal>
<port-name-list> <string> [, <string>]*
name Interface or alias name.
dhcp Enable or disable DHCP.
dhcp-rt-info Use routing information learned via DHCP.
dhcp-static Note: This option can only be used when DHCP is enabled.
Use static IP until an address is resolved by DHCP.
Invalid on Auto interface.
address Static interface IP address.
netmask Interface network mask for static IP address.
gateway A default gateway address provides a shortcut to creating a default gateway through the route configuration. Only one default gateway can be set per unit.
ipv6_enable Enable or disable IPv6 on the interface.
ipv6_dhcp Enable DHCPv6 in stateful or stateless mode or disable it (used if IPv6 is enabled).
ipv6_radv Enable or disable IPv6 router advertisement autoconfiguration (used if IPv6 is enabled).
ipv6_static Enable or disable IPv6 static addresses (used if IPv6 is enabled).
ipv6_address Static interface IPv6 addresses, with prefix and optional default gateway (used if IPv6 and IPv6 static addresses are enabled). Note: Can be reset by setting the value to ::/0.
type Interface type.
vlan1-id VLAN ID for VLAN interface type (1 - 4094).
vlan2-id VLAN ID used when VLAN-in-VLAN type is chosen (1 - 4094).
vlan1-ethertype Ethertype used in the VLAN tag (C-VLAN, S-VLAN, or T-VLAN).
vlan2-ethertype Ethertype used in the VLAN-in-VLAN (.1q in .1q) tag (C-VLAN, S-VLAN, or T-VLAN).
vlan1-priority Set VLAN priority.
vlan2-priority Set VLAN priority in the VLAN-in-VLAN (.1q in .1q) tag.
port Interface port.
sub-intf Sub-interface list for bridge interface.
ip-override Used on a bridge interface, to clear IP address of all sub-interfaces to 0.0.0.0.
force Used to force a change to the interface that the user is currently logged into.
state Enable or disable the interface.
dhcp-relay Enable or disable DHCP relaying on this interface.
ipv4-fwd Enable or disable IPv4 forwarding on this interface.
stp Enable or disable Spanning-Tree Protocol.
icmp_redirect Enable or disable the global IPv4 ICMP redirects. The default value is enable.
ipv6_icmp_redirect Enable or disable the global IPv6 ICMP redirects. The default value is enable.

Syntax:

ipv4 edit options { { forwarding <enable|disable> } |
                    { igmp-version <0,2,3> } }+

Parameters:

Parameter Description
forwarding The IPv4 forwarding state.
igmp-version Set interface IGMP version (0, 2, 3). 0 means do not force any version and use the system default.

interface advertisement edit

interface advertisement edit - Edit an existing advertisement instance attribute

Description:

Configure an advertisement instance on the interface for management purpose. An advertisement instance may be configured to send interface information to another system for inventory purposes. The advertisement instance is coupled with the interface of the same name, so any change to the interface name or port will affect the advertisement instance.

Syntax:

interface {edit} <advertisement-name> { {state {enable|disable}} |
            {ip-state {enable|disable}} |
            {ip-address {<ip-addr> [, <ip-addr>]+}} |
            {rate <transmission rate>} |
            {format {ACP} |
            {use-beacon-rate {enable|disable} }}+

Parameters:

Parameter Description
<advertisement-name> <string>
state Enable or disable layer-2 advertisement frame transmission.
ip-state Enable or disable layer-3 advertisement frame transmission.
rate Transmission rate of advertisement frames, in seconds <3, 60, 600, 3600>.
format Only ACP is supported for now.
use-beacon-rate When enabled, makes the advertisement transmission rate the same as the beacon reception rate.
ip-address The list of destination IP addresses to be used in layer-3 advertisement frames.

interface advertisement show

interface advertisement show - show advertisement configuration

Description:

Specifying an interface or alias name provides detailed configuration about this advertisement, otherwise the command provides summary configuration for all advertisements in a table format.

Syntax:

interface advertisement show [<interface-name>|<alias-name>]

Parameters:

Parameter Description
<interface-name> <string>
<alias-name> <string>

interface auxiliary-mac show

interface auxiliary-mac show - Show the auxiliary-mac interface configuration

Description:

This command displays a summary of the configuration of the interface where the auxiliary MAC is enabled.

Syntax:

interface auxiliary-mac show

interface beacon edit

interface beacon edit - Edit an existing beacon attributes

Description:

Configure a beacon instance on the interface for management purpose. A beacon may be configured to discover remote devices by sending a special frame on the network, through the interface it is tied to. The beacon is coupled with the interface of the same name, so any change to the interface name or port will affect the beacon instance.

Syntax:

interface beacon {edit} <interface-name> { {state {enable|disable}} |
            {rate <transmission rate>} |
            {domain-id <domain>} |
            {subnet  {<ip-addr>}} |
            {netmask {<ip-addr>}} | 
            {gateway {<ip-addr>}} |
            {dhcp-hostname-option <none,custom,serial-number,current>} |
            {dhcp-client-id-option <none,custom,serial-number>} |
            {dhcp-hostname <hostname>} |
            {dhcp-client-id <client-id>} |
            {ip-config-mode {local|auto|dhcp|auto-static}} |
            {id-mismatch {enable|disable} }}+

Parameters:

Parameter Description
<interface-name> <string>
<domain> <string>
state Enable or disable beacon frame transmission.
rate Transmission rate of beacon frames, in seconds <3, 60, 600, 3600>.
subnet IP subnet used in auto IP configuration mode.
netmask IP netmask used in auto IP configuration mode.
gateway IP gateway used in auto IP configuration mode.
ip-config-mode Specify which IP configuration mode to use on the remote device.
id-mismatch When enabled, tells the remote system to authorize the beacon even if domain IDs do not match.
dhcp-hostname-option Specify what option the remote unit should use as a hostname in its DNS configuration.
dhcp-client-id-option Specify what option the remote unit should use as a client ID in its DNS configuration.
dhcp-hostname The hostname to use when the hostname <custom> option is chosen.
dhcp-client-id The client ID to use when the client ID <custom> option is chosen.
ip-exclusion In Auto and Auto IP Static configuration modes, a comma-separated list of IP addresses to exclude on the remote units can be specified. Up to 100 IP addresses can be specified. IP address ranges can be expressed with dash (-) separated IP addresses.

interface beacon show

interface beacon show - Show beacon configuration

Description:

Specifying an interface or alias name provides detailed configuration about this beacon, otherwise the command provides summary configuration for all beacons in a table format.

Syntax:

interface beacon show [<interface-name>|<alias-name>]

Parameters:

Parameter Description
<interface-name> <string>
<alias-name> <string>

interface delete

interface delete - Delete an existing interface

Description:

Delete an existing interface or alias. When deleting the interface, if an alias had been previously configured, it will also be deleted.

Syntax:

interface delete <interface-name>|<alias-name>

Parameters:

Parameter Description
<interface-name> <string>
<alias-name> <string>

interface discovery edit

interface discovery edit - Edit the discovery instance attributes

Description:

Configure the attributes related to beacon discovery on the auto interface. The discovery instance may be configured to listen for beacons on selected ports and automatically configure an interface upon reception of a valid beacon.

Syntax:

interface discovery {edit} { {state {enable|disable}} |
            {id-matching {enable|disable}} |
            {domain-id <domain_id>} |
            {forward-on-bridge {enable|disable}} |
            {discovery-ports <port_list>} |
            {level [All,<0-7>]} |
            {forward-match-ports {port_list|null}} |
            {forward-mismatch-ports {port_list|null}}}+

Parameters:

Parameter Description
state Enable or disable discovery on the auto interface.
id-matching When enabled, validate beacon by matching the domain ID from the beacon with the locally-configured ID.
domain-id The local domain ID, used to match the beacon domain ID.
discovery-ports Ports on which to listen for beacon frames. At least one port must be selected. Multiple ports in the list must be separated by commas.
level Specifies level [All, [0-7]] given to ACP frames.
forward-on-bridge When enabled, forward all beacons and information frames on the bridge, if the auto interface is part of a bridge.
forward-match-ports Forward all beacons and information frames on these selected ports when domain IDs match. Multiple ports in the list must be separated by commas. The list can be cleared by using the value "null" for this parameter. This is overridden by the forward-on-bridge attribute, if enabled.
forward-mismatch-ports Forward all beacons and information frames on these selected ports when domain IDs do not match. Multiple ports in the list must be separated by commas. The list can be cleared by using the value "null" for this parameter. This is overridden by the forward-on-bridge attribute, if enabled.

interface discovery show

interface discovery show - Show the discovery instance attributes

Description:

Show the attributes related to beacon discovery on the auto interface.

Syntax:

interface discovery {show}

Parameters:

Parameter Description
Domain The local domain ID, used to match the beacon domain ID.
State State of discovery on the auto interface.
ID matching State of beacon validation by matching the domain ID with the locally configured one.
Level The level [All, [0-7]] given to ACP frames.
Last effective beaconer MAC The source MAC address of the last effective beacon received that changed the configuration of the Auto interface.
Discovery ports Ports on which we listen for beacon frames.
Forward on bridge Forwarding state of all beacons and information frames on the bridge, if the auto interface is part of a bridge.
Forward on match Forwarding state of all beacons and information frames on these selected ports when domain IDs match.
Forward on mismatch Forwarding state of all beacons and information frames on these selected ports when domain IDs do not match.

interface primary clear

interface primary clear - Clear the system primary interface selection

Description:

This command is used to clear the system primary interface selection.

Syntax:

interface primary clear

interface primary set

interface primary set - Select the system primary interface

Description:

This command is used to select the system primary interface generally used for management.

Syntax:

interface primary set <interface-name>

Parameters:

Parameter Description
<interface-name> <string>

interface primary show

interface primary show - Display the system primary interface name

Description:

This command is used to display the name of the system primary interface.

Syntax:

interface primary show

interface refresh

interface refresh - Send gratuitous ARP on all interfaces

Description:

Convert IP address into physical address for all interfaces.

Syntax:

interface refresh

interface show / ipv6_show

interface show - Show IPv4 interface configuration
interface ipv6_show - Show IPv6 interface configuration

Description:

This command displays a summary of the configuration for all interfaces in a table format. Specifying an interface or alias name will display the detailed configuration for this interface.

Syntax:

interface {show|ipv6_show} [<interface-name>|<alias-name>]

Parameters:

Parameter Description
<interface-name> <string>
<alias-name> <string>:0
show To show interface IPv4 related configurations.
ipv6_show To show interface IPv6 related configurations.

Notes:

Alias name interface should not be used in this case.
The summary output will display the string "AuxMAC interface" in the Info column to identify the interface which has the Auxiliary MAC enabled.

Display of the new field 'Auxiliary MAC' will always be present on those platforms the Dual MAC feature is enabled.

Output:

IPv4 interface
	interface show Management
	Interface name: Management	
	Interface type : Standard
	Interface state : Enabled
	IPv4 forwarding : Disabled
	DHCP relay : Disabled
	On port : Management
	DHCP : Yes
	Static+DHCP : Yes
	Static IP : 192.168.1.254
	IP address : 10.231.60.51
	Netmask : 255.255.0.0
	Default gateway : 10.231.0.1
	ICMP redirect : Enabled
IPv6 interface
	interface ipv6_show Management
	Interface name : Management
	IPv6 enabled : Yes
	Interface type : Standard
	Interface state : Enabled
	On port : Management
	DHCPv6 : Disabled
	Use Static Address : No
	Use RADV address : Yes
	Link address : 	fe80::215:adff:fe67:ed/64
	ICMP redirect : Enabled

© 2025 Cisco and/or its affiliates. All rights reserved.
 
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms

For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks