11.6 Switch interVLAN Routing Flashcards
Switch(config)#ip default-gateway [a.b.c.d]
Configures the default gateway on a switch. This will enable management of the switch from a remote network.
Switch(config)#ip routing
Enables IP routing on the multilayer switch for an SVI configuration.
Switch(config)#vlan [id]
Creates a VLAN in the VLAN database and enters the VLAN configuration mode.
Switch(config)#router [routing protocol]
Enables a specified routing protocol on the multilayer switch for an SVI configuration
Switch(config)#interface vlan [vlan id]
Enters VLAN interface configuration mode for the specified VLAN for an SVI configuration.
Switch(config-if)#ip address [a.b.c.d] [a.b.c.d]
Specifies an IP address and subnet mask on the VLAN interface for an SVI configuration.
Switch(config-if)#no shutdown
Enables the interface.
Switch(config-if)#ip helper-address
Enables the DHCP relay agent on the multilayer switch for an SVI configuration.
Switch#show running-config
Displays the interVLAN configurations, including subinterfaces, IP routing information, and SVI addresses.
Switch#ping a.b.c.d
Tests connectivity to the hosts, VLAN interfaces, and VLAN subinterfaces.
Switch#show ip route
Displays the available IP routes on the switch or router.
Switch#show ip protocols
Displays information about the routing protocols that are enabled on the switch or router.
Switch#show ip cef
Displays brief information of all Forwarding Information Base (FIB) entries.
Switch#show interface vlan [vlan number]
Shows the status of the VLAN interface. Two status codes are displayed for the SVI interface:
The first status code is the Line Status. This code should display as up.
The second status code is the Protocol Status. This code should display as up.
Switch#show ip adjacency
Verifies that an adjacency exists for a connected device, that the adjacency is valid, and that the MAC header rewrite string is correct. The information displayed by the show adjacency commands includes the following:
Protocol
Interface
Type of routed protocol traffic using this adjacency
Next hop address