Allied Telesis AT-9000/28POE Switch User Manual


  Open as PDF
of 1480
 
Chapter 13: IPv4 and IPv6 Management Addresses
264
Note
If an IPv4 default gateway is already assigned to the switch, you
must delete it prior to entering the new address. For instructions,
refer to “Deleting an IPv4 Management Address and Default
Gateway” on page 264.
This example assigns the switch the default gateway address
149.121.43.23:
awplus> enable
awplus# configure terminal
awplus(config)# ip route 0.0.0.0/0 149.121.43.23
To verify the default route, issue these commands:
awplus(config)# exit
awplus# show ip route
For information about how to add static IPv4 routes, see “Adding Static
and Default Routes” on page 1796.
Deleting an IPv4
Management
Address and
Default Gateway
The switch does not allow you to make any changes to the current
management address on the switch. If you want to change the address or
assign it to a different VLAN, you have to delete it and recreate it, with the
necessary changes.
To delete a static IPv4 management address from the switch, enter the
NO IP ADDRESS command in the VLAN Interface mode in which the
current address is assigned. This example of the command deletes the
address from a VLAN with the VID of 17:
awplus> enable
awplus# configure terminal
awplus(config)# interface vlan17
awplus(config-if)# no ip address
To delete an IPv4 management address assigned by a DHCP server, use
the NO IP ADDRESS DHCP command. This example of the command
deletes the management address assigned by a DHCP server, from a
VLAN on the switch with the VID of 23:
awplus> enable
awplus# configure terminal
awplus(config)# interface vlan23
awplus(config-if)# no ip address dhcp
To remove the current default gateway, use the NO form of the IP ROUTE
command. The command must include the current default gateway. This
example removes the default route 149.121.43.23: