Deleting An Ipv4 Management Address And Default Gateway; Displaying An Ipv4 Management Address And Default Gateway - Allied Telesis AT-9028 User Manual

At-9000 series layer 2-4 gigabit ethernet ecoswitches
Table of Contents

Advertisement

Chapter 9: IPv4 and IPv6 Management Addresses
Deleting an IPv4
Management
Address and
Default Gateway
Displaying an
IPv4
Management
Address and
Default Gateway
214
To verify the default route, issue these commands:
awplus(config)# exit
awplus# show ip route
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-vlan)# 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-vlan)# 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:
awplus> enable
awplus# configure terminal
awplus(config)# no ip route 0.0.0.0/0 149.121.43.23
The easiest way to view the IPv4 management address and default
gateway address of the switch is with the SHOW IP ROUTE command. It
displays both addresses at the same time. The command is found in the
Privileged Exec mode, as shown here:
awplus# show ip route
See Figure 48 on page 215 for an example of the information. The
management IPv4 address of the switch is displayed in the first entry in
the table and the default gateway address, if assigned to the switch, in the
second entry.
Section II: Basic Operations

Advertisement

Table of Contents
loading

Table of Contents