Display the external host and routing gateway configurations
You can display the external host gateway configuration and external routing gateway configurations, including static routes. This information can help you to set up your devices so that they can reach the correct switch subnets (VLANs).
For example, suppose that the default gateway IP address and subnet mask for VLAN 3 are 192.168.0.30 and 255.255.255.0. If you then want to connect a computer to a switch port on VLAN 3 and assign the computer a static IP address, the address must be in the same subnet (192.168.0.x) as the gateway’s subnet. For example, assign the computer IP address 192.168.0.88.
To display the external host and routing gateway configurations for a VLAN and switch: