Chapter 6 Interfaces

Table 21 Input Values for VLAN Interface Commands (continued)

LABEL

DESCRIPTION

description

Sets the description of the interface. You may use 0 - 511 alphanumeric

 

characters, underscores (_), or dashes (-), but the first character cannot

 

be a number. This value is case-sensitive.

profile_name

The DHCP pool name.

 

 

The following table describes the commands available for VLAN interface management. You must use the configure terminal command to enter the configuration mode before you can use these commands.

Table 22 Command Summary: VLAN Interface Profile

COMMAND

DESCRIPTION

[no] interface virtual_interface

Enters configuration mode for the specified interface. Use

 

the no command to remove the specified VLAN interface.

vlanid <1..4094>

Sets the interface’s VLAN identification number.

[no] ip address ip_address netmask

Sets the interface’s IP address and netmask address.

 

Use the no command to remove these values from this

 

interface.

[no] ip address dhcp [metric <0..15>]

Sets the interface to use the DHCP to acquire an IP

 

address. Enter the metric (priority) of the gateway (if any)

 

on this interface. The NXC decides which gateway to use

 

based on this priority. The lower the number, the higher

 

the priority. If two or more gateways have the same

 

priority, the NXC uses the one that was configured first.

 

 

mtu <576..1500>

Sets the maximum size of each data packet, in bytes, that

 

can move through this interface. If a larger packet arrives,

 

the NXC divides it into smaller fragments.

 

 

no mtu

Disables the mtu feature for this interface.

[no] ip gateway gateway [metric

Enter the IP address of the gateway. The NXC sends

<0..15>]

packets to the gateway when it does not know how to

 

route the packet to its destination. The gateway should be

 

on the same network as the interface.

 

Also enter the metric (priority) of the gateway (if any) on

 

this interface. The NXC decides which gateway to use

 

based on this priority. The lower the number, the higher

 

the priority. If two or more gateways have the same

 

priority, the NXC uses the one that was configured first.

 

 

join <interface_name> <taguntag>

Links the VLAN to the specified physical interface and

 

also sets this interface to send packets with or without a

 

VLAN tag.

 

 

no join <interface_name>

Disassociates the specified physical interface from the

 

VLAN.

upstream <0..1048576>

Sets the maximum amount of traffic, in kilobits per

 

second, the NXC can send through the interface to the

 

network.

 

 

no upstream

Disables the upstream bandwidth limit.

downstream <0..1048576>

Sets the maximum amount of traffic, in kilobits per

 

second, the NXC can receive from the network through

 

the interface.

 

 

no downstream

Disables the downstream bandwidth limit.

 

63

NXC CLI Reference Guide