SWITCH DEFAULT-GATEWAY
badboyziggy
Inactive Imported Users Posts: 23 ■□□□□□□□□□
in CCNA & CCENT
i have no idea how to view the default gateway on a 2950, i know i can use sh ip on a 1900 and get the ip address and default gateway, but i have tried every command i can find on a 2950, i can only get vlan 1 with sh run and sh ip doesnt work (if it helps im using a simulator), so could someone tell me the command please
Comments
-
SV Member Posts: 166Yah, I believe its a bug in the sim. "sh run" should display the default-gateway.
Refer : http://www.cisco.com/en/US/products/hw/switches/ps607/products_tech_note09186a00800a6923.shtml
-sv-Life is a journey... -
badboyziggy Inactive Imported Users Posts: 23 ■□□□□□□□□□oh ok thanx, i was worried i wouldnt be able to find it out in the exam if i got a vlan sim, although i guess i could have checked the router.wouldn't "sh ip default-gateway" work ?
no it wouldnt its not a valid commad cuz i tried everything i could think of -
Arturasj Member Posts: 24 ■□□□□□□□□□This is output from my 2950t
OckendonSwitch#sh ip int
Vlan1 is up, line protocol is up
Internet address is 192.168.3.252/24
Broadcast address is 255.255.255.255
Address determined by non-volatile memory
MTU is 1500 bytes
Helper address is not set
Directed broadcast forwarding is disabled
Outgoing access list is not set
Inbound access list is not set
Proxy ARP is enabled
Local Proxy ARP is disabled
Security level is default
Split horizon is enabled
ICMP redirects are always sent
sh ip int or sh ip vlan 1 in priviledged exec mode shows ip addres and show ip default-gateway shows the gateway address
OckendonSwitch#show ip default-gateway
192.168.3.1
OckendonSwitch#
However if you try to find out the command to show the gateway, for some reason it does not show up in the online help look at this:
OckendonSwitch#show ip default-gateway
192.168.3.1
OckendonSwitch#show ip ?
access-lists List IP access lists
accounting The active IP accounting database
aliases IP alias table
arp IP ARP table
dhcp Show items in DHCP
igmp IGMP information
interface IP interface status and configuration
local IP local options
nat IP NAT information
redirects IP redirects
sockets Open IP sockets
traffic IP protocol statistics
OckendonSwitch#show ip defa?
% Unrecognized command
OckendonSwitch#show ip defa