100 Chapter 5 Configuring the system
Configuring multinetting using the CLI
Table 8
Table 8 Adding/Deleting a secondary address
Command Description
Add a secondary address to
an interface
Delete a secondary address CES (config-if) # no ip address
Adding an IP address
To add an IP address:
1
2
3
Deleting an IP address
To delete an IP address:
1
2
3
NN46110-500
shows the command syntax for configuring multinetting using the CLI.
Navigate to config mode by entering the following command: config.
Select the interface for the multinet by entering the following command:
interface gigabitEthernet <slot/port>.
Add a secondary address to the interface: ip address <ip-address>
<mask> secondary.
Navigate to config mode by entering the following command: config.
Select the interface in which the multinetted address needs to be deleted by
entering the following command: interface gigabitEthernet
<slot/port>.
Delete a secondary address from the interface: no ip address
<ip-address> <mask>
Command Syntax
CES (config-if) # ip address <ip-address>
<mask> secondary
<ip-address> <mask> secondary