Interface names – Allied Telesis AT-S63 User Manual

Page 312

Advertising
background image

Chapter 28: Internet Protocol Version 4 Packet Routing

312

Section VII: Routing

Interface Names

Many of the IPv4 routing commands have a parameter for an interface
name. An interface name consists of a VLAN and an interface number,
separated by a dash. The VLAN is designated by “vlan” followed by the
VLAN identification number (VID) or the VLAN name.

Here are several examples. The name for a interface in a VLAN with the
VID of 7 and an interface number of 0 is:

vlan7-0

The name for an interface in a VLAN with the VID of 28 and an interface
number of 2 is:

vlan28-2

Here is an example of an interface name that uses the VLAN name
instead of the VID to identify the VLAN. The interface is part of the Sales
VLAN and has an interface number of 5. Note that a dash separates “vlan”
from the VLAN name.

vlan-Sales-5

The following is an example of a command that uses an interface name.
The example uses the ADD IP INTERFACE command to create a new
interface for a subnet in a VLAN with a VID of 28. The interface is
assigned an interface number of 0, an IP address of 149.44.22.22, and a
subnet mask of 255.255.255.0:

add ip interface=vlan28-0 ipaddress=149.44.22.22 mask
255.255.255.0

This command is identical to the previous command, except it identifies
the VLAN by its name, Production:

add ip interface=vlan-Production-0 ipaddress=149.44.22.22
mask 255.255.255.0

Advertising