08-12-2019 05:55 AM
09-18-2023 10:40 PM
Hi Ramu,
I believe you are talking about management ip address on switch.
On Layer 2 switches, the management ip address and the default gateway are assigned globally, only one per switch.
Example:
switch(config)# ip address 192.22.33.45/24
switch(config)# ip default-gateway 192.22.33.1
On Layer 3 switches, each IP address is assigned at teh interface level, not at the global level
- The IP address of any interface ont eh router can be used for management
router(config) # interface eth 1/1/9
router(config-if-e1000-1/1/9)#ip address 192.22.33.45/24