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