Chapter 6 Interfaces

Table 12 Input Values for General Interface Commands (continued)

LABELDESCRIPTION

profile_name The name of the DHCP pool. You may use 1-31 alphanumeric characters, underscores(_), or dashes (-), but the first character cannot be a number. This value is case-sensitive.

domain_name Fully-qualified domain name. You may up to 254 alphanumeric characters, dashes (-), or periods (.), but the first character cannot be a period.

The following sections introduce commands that are supported by several types of interfaces.

6.2.1 Basic Interface Properties and IP Address Commands

This table lists basic properties and IP address commands.

Table 13 interface General Commands: Basic Properties and IP Address Assignment

COMMAND

DESCRIPTION

show interface {ethernet vlan} status

Displays the connection status of the specified type

 

of interfaces.

show interface {interface_name ethernet

Displays information about the specified interface,

vlan all}

specified type of interfaces, or all interfaces.

show interface send statistics interval

Displays the interval for how often the NXC

 

refreshes the sent packet statistics for the

 

interfaces.

 

 

show interface summary all

Displays basic information about the interfaces.

show interface summary all status

Displays the connection status of the interfaces.

[no] interface interface_name

Creates the specified interface if necessary and

 

enters sub-command mode. The no command

 

deletes the specified interface.

[no] description description

Specifies the description for the specified interface.

 

The no command clears the description.

 

description: You can use alphanumeric and

 

()+/:=?!*#@$_%- characters, and it can be up

 

to 60 characters long.

[no] downstream <0..1048576>

This is reserved for future use.

 

Specifies the downstream bandwidth for the

 

specified interface. The no command sets the

 

downstream bandwidth to 1048576.

exit

Leaves the sub-command mode.

[no] ip address dhcp

Makes the specified interface a DHCP client; the

 

DHCP server gives the specified interface its IP

 

address, subnet mask, and gateway. The no

 

command makes the IP address static IP address

 

for the specified interface. (See the next command

 

to set this IP address.)

 

 

[no] ip address ip subnet_mask

Assigns the specified IP address and subnet mask

 

to the specified interface. The no command clears

 

the IP address and the subnet mask.

[no] ip gateway ip

Adds the specified gateway using the specified

 

interface. The no command removes the gateway.

ip gateway ip metric <0..15>

Sets the priority (relative to every gateway on every

 

interface) for the specified gateway. The lower the

 

number, the higher the priority.

 

 

50

 

NXC CLI Reference Guide