--- title: "interface" slug: "cli-sc-interface" updated: 2025-06-30T10:07:51Z published: 2025-09-03T14:12:28Z canonical: "docs.crossworkassurance.cisco.com/cli-sc-interface" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.crossworkassurance.cisco.com/llms.txt > Use this file to discover all available pages before exploring further. # interface ## interface add/edit interface add - Add a new interface on Sensor Control or on remote device interface edit - Edit an existing interface attributes on Sensor Control or on remote device **Description:** Configure an IP interface for management and network purposes. Interfaces may be configured to query their configuration via a DHCP server or can be manually configured. The network mask can be configured with the IP address using the address prefix length notation or separately using the netmask keyword. 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 { {name } | {dhcp {enable|disable}} | {dhcp-rt-info {enable|disable}} | {dhcp-static {enable|disable}} | {dhcp-mode {unicast|broadcast}} | {address {|}} | {netmask {}} | {gateway {}} | {icmp_redirect {enable|disable}} | {ipv6_enable {enable|disable}} | {ipv6_dhcp {disabled|stateless|stateful}} | {ipv6_icmp_redirect {enable|disable}} | {ipv6_radv {enable|disable}} | {ipv6_static {enable|disable}} | {ipv6_address <0-1> {/ [-]}} | {vlan1-id } | {vlan2-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 | vlan-in-vlan}} | {port } {state {enable|disable}} | {mngt {no|yes}} | {force {enable|disable}} }+ = = /{1-32} = = ``` **Parameters:** | Parameter | Description | | --- | --- | | name | Name of a Sensor Control interface defined by system user. | | dhcp | Enable or disable DHCP. | | dhcp-rt-info | When DHCP is enabled, use the routing information learned via DHCP. When DHCP is disabled, the default route must use this interface. You therefore cannot create a default route on the other local interfaces. (Sensor Control only.) | | dhcp-static | Use static IP address until an address is resolved through DHCP. (Sensor Control only.) **Note:** This option can only be used when DHCP is enabled. | | dhcp-mode | Either respond to unicast or broadcast DHCP packets. (Remote devices only.) | | address | Static interface IPv4 address. | | netmask | Interface network mask for static IPv4 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. | | icmp_redirect | Enable or disable IPv4 ICMP redirects on the interface. | | 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_icmp_redirect | Enable or disable IPv6 ICMP redirects on the interface. | | 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 tag (C-VLAN, S-VLAN or T-VLAN). | | vlan1-priority | Set VLAN priority. | | vlan2-priority | Set VLAN priority in the VLAN-in-VLAN tag. | | port-name | Name of the port tied to a remote device on which traffic is to be generated. | | port | Name of the port tied to a remote device on which traffic is to be generated. | | state | Enable or disable the interface. | | mngt | Identify the management interface (remote devices only). | | force | Used to force a change to the interface that the user is currently logged into. (Sensor Control only.) | ## 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 | :0 ``` **Parameters:** | Parameter | Description | | --- | --- | | interface-name | Name of a Sensor Control interface defined by the system user. | | alias-name | Name of a Sensor Control alias defined by the system user. | ## interface refresh interface refresh - Send gratuitous ARP on all interfaces **Description:** Convert IP address into physical address for all interfaces. **Syntax:** ``` Convert IP address into physical address for all interfaces. ``` ## 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} [|] ``` **Parameters:** | Parameter | Description | | --- | --- | | | | | | :0 | | show | To show interface IPv4 related configurations. | | ipv6_show | To show interface IPv6 related configurations. **Note:** Alias name interface should not be used in this case. | **© 2026 Cisco and/or its affiliates. All rights reserved.** For more information about trademarks, please visit: [Cisco trademarks](https://www.cisco.com/c/en/us/about/legal/trademarks.html)[](https://www.cisco.com/c/en/us/about/legal/trademarks.html) For more information about legal terms, please visit: [Cisco legal terms](https://www.cisco.com/c/en/us/about/legal/terms-conditions.html)