Example of the routing commands, Creating the vlans, Example of the routing commands 5 – Allied Telesis AT-8100 Series User Manual
Page 1825: Creating the vlans 5, Ble 252. ipv4 routing example 5
AT-8100 Switch Command Line User’s Guide
1825
Example of the Routing Commands
This section contains an example of the commands of the IPv4 routing
feature. The example has the following sections:
“Creating the VLANs” on page 1825
“Creating the Routing Interfaces” on page 1826
“Adding Static and Default Routes” on page 1828
The switch in the example has four local networks in separate VLANs. The
table below lists the relevant information.
Creating the
VLANs
The first step is to create the VLANs for the local networks on the switch.
The VLANs must be created before the routing interfaces. The following
series of commands creates a VLAN for the Sales department with the
VID 4 and the appropriate ports:
Table 252. IPv4 Routing Example
Company
Group
VLAN
Name
VID
Network IP
Address
Subnet Mask
IP Routing
Interface
Address
Switch
Ports
1
Sales
Sales
4
149.35.67.0
255.255.255.0
149.35.67.11
U: 1-11
T: 50
Production
Production
5
149.35.68.0
255.255.255.0
149.35.68.24
U: 12-20
T: 50
Engineering
Engineering
11
149.35.69.0
255.255.255.0
149.35.69.23
U: 21 - 30
T: 50
Inventory
Inventory
15
149.35.70.0
255.255.255.0
149.35.70.45
U: 31 - 40
T: 50
1. U - untagged ports; T - tagged ports
awplus> enable
Enter the Privileged Executive
mode from the User Executive
mode.
awplus# configure terminal
Enter the Global Configuration
mode.
awplus(config)# vlan database
Enter the VLAN Configuration
mode.