interface network-interface
This command configures the IP Interfaces table, which lets you define local IP network interfaces.
Syntax
(config-network)# interface network-interface <Index> (network-if-<Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
application-type {cluster-media-control|control|maintenance|media|media-control|oamp|oamp-control|oamp-media|oamp-media-control} |
Defines the applications allowed on the IP interface. |
gateway |
Defines the IPv4/IPv6 address of the default gateway. |
ip-address |
Defines the IPv4/IPv6address in dotted-decimal notation of the network interface. |
mode {ipv4-manual| ipv6-dhcp| ipv6-manual| ipv6-manual-prefix| ipv6-stateless} |
Defines the method that the interface uses to acquire its IP address. |
name |
Configures a name for the network interface. |
overwrite-dynamic-dns-servers {disable|enable} |
Enables the device to use the DNS addresses obtained through DHCP for the 'Primary DNS' and 'Secondary DNS' parameters when dynamic IPv6 addressing is used. |
prefix-length |
Defines the prefix length of the IP address. |
primary-dns |
Defines the primary DNS server's IP address (in dotted-decimal notation), which is used for translating domain names into IP addresses for the interface. |
secondary-dns |
Defines the secondary DNS server's IP address (in dotted-decimal notation), which is used for translating domain names into IP addresses for the interface. |
underlying-dev |
Assigns an Ethernet Device (see network-dev) to the network interface. |
Command Mode
Privileged User
Example
This example configures the OAMP, Media and Control network interface:
(config-network)# interface network-if 0 (network-if-0)# application-type oamp-media-control (network-if-0)# mode ipv4-manual (network-if-0)# ip-address 10.15.7.96 (network-if-0)# prefix-length 16 (network-if-0)# gateway 10.15.0.1 (network-if-0)# underlying-dev vlan1