I am new to cisco. I'm running a Cisco 2960-S and defined several VLAN on it. I like to use SVI feature and set 192.168.1.254 ip address for interface VLAN 1, 192.168.2.254 for interface VLAN 2 and so on, but I can not ping 192.168.X.254 from the device itself but 192.168.1.254 although I issued no shut
command on every interface VLAN configuration. I need routing between VLANs.
I had a search and find several results for enabling inter VLAN routing like this link, but the problem is route
sub-command of ip
command does not exists:
my-net-dev(config)#ip ?
Global IP configuration subcommands:
access-list Named access-list
accounting-list Select hosts for which IP accounting information is kept
accounting-threshold Sets the maximum number of accounting entries
accounting-transits Sets the maximum number of transit entries
address-pool Specify default IP address pooling mechanism
admission Network Admission Control (NAC)
alias Alias an IP address to a TCP port
arp IP ARP global configuration
auth-proxy Authentication Proxy
default-gateway Specify default gateway (if not routing IP)
device Device tracking
dhcp Configure DHCP server and relay parameters
dhcp-client Configure parameters for DHCP client operation
dhcp-server Specify address of DHCP server to use
domain IP DNS Resolver
domain-list Domain name to complete unqualified host names.
domain-lookup Enable IP Domain Name System hostname translation
domain-name Define the default domain name
finger finger server
flow-aggregation Configure flow aggregation
flow-cache Configure netflow cache parameters
flow-capture Capture additional netflow information
flow-egress Configure netflow egress
flow-export Specify host/port to send flow statistics
flow-top-talkers Configure netflow top talkers
ftp FTP configuration commands
gdp Router discovery mechanism
gratuitous-arps Generate gratuitous ARPs for PPP/SLIP peer addresses
host Add an entry to the ip hostname table
host-routing Enable host-based routing (proxy ARP and redirect)
hostname Configure hostname types
hp-host Enable the HP proxy probe service
http HTTP server configuration
icmp ICMP options
igmp IGMP global configuration
local Specify local options
name-server Specify address of name server to use
options IP Options treatment
port-map Port to application mapping (PAM) configuration commands
radius RADIUS configuration commands
rcmd Rcmd commands
reflexive-list Reflexive access list
scp Scp commands
security Specify system wide security information
source IP source
source-route Process packets with source routing header options
ssh Configure ssh options
sticky-arp Allow the creation of sticky ARP entries
subnet-zero Allow 'subnet zero' subnets
tacacs TACACS configuration commands
tcp Global TCP parameters
telnet Specify telnet options
tftp tftp configuration commands
verify URPF SNMP trap and IP packet header validation commands
Also no switchport
is not working itself and need to put some sub-command after it:
my-net-dev(config-if)#no switchport
% Incomplete command.
my-net-dev(config-if)#no switchport ?
access Set access mode characteristics of the interface
autostate Include or exclude this port from vlan link up calculation
block Disable forwarding of unknown uni/multi cast addresses
host Set port host
mode Set trunking mode of the interface
nonegotiate Device will not engage in negotiation protocol on this interface
port-security Security related command
priority Set appliance 802.1p priority
protected Configure an interface to be a protected port
trunk Set trunking characteristics of the interface
voice Voice appliance attributes
The ROM is c2960s-universalk9-mz.150-2.SE8.bin