beautypg.com

Ble 3. adding a management address: example 1, Ble 4. adding a management ip address: example 2 – Allied Telesis AT-8100 Series User Manual

Page 83

background image

AT-8100 Switch Command Line User’s Guide

83

This example assigns the management IPv4 address to a new VLAN
called Tech_Support, with the VID 5. The VLAN will consist of the
untagged ports 5,6, and 23. The management IPv4 address and default
route of the switch will be assigned by a DHCP server on the network:

Table 3. Adding a Management Address: Example 1

awplus> enable

Move to the Privileged Exec mode.

awplus# configure terminal

Move to the Global Configuration mode.

awplus(config)# interface vlan1

Use the INTERFACE VLAN command to
move to the VLAN Interface mode of the
Default_VLAN.

awplus(config-if)# ip address
149.82.112.72/24

Assign the management IPv4 address to
the switch using the IP ADDRESS
command. The mask is a decimal number
that represents the number of bits, from
left to right, that constitute the network
portion of the address. For example, the
decimal masks 16 and 24 are equivalent
to masks 255.255.0.0 and 255.255.255.0,
respectively.

awplus(config-if)# exit

Return to the Global Configuration mode.

awplus(config)# ip route 0.0.0.0/0
149.82.112.18

Assign the default gateway to the switch
using the IP ROUTE command.

awplus(config)# exit

Return to the Privileged Exec mode.

awplus# show ip route

Verify the new management IPv4 address
and default gateway with the SHOW IP
ROUTE command.

Table 4. Adding a Management IP Address: Example 2

awplus> enable

Move to the Privileged Exec mode.

awplus# configure terminal

Move to the Global Configuration mode.

awplus(config)# vlan database

Enter the VLAN Configuration mode.

awplus(config-if)# vlan 5 name Tech_Support

Create the new VLAN with the VLAN
command.

awplus(config-if)# exit

Return to the Global Configuration mode.

awplus(config)# interface port1.0.5,
port1.0.6,port1.0.23

Enter the Port Interface mode for ports 5,
6, and 23.