Cisco IOS Commands - wAlber47/Tech-Journal GitHub Wiki
Page will contain a running list of useful Cisco commands.
-
enable
- logs into enable mode
-
configure terminal
- logs into configuration mode
-
interface <port-number>
- enters interface for specified Ethernet interface
- Define VLANs for multiple ports at one time:
-
(config)# interface range FastEthernet <port-number>
- let's you configure multiple ports at one time
-
(config-if-range)# switchport access vlan <vlan-id>
- defines the vlan for all ports in the range
- To turn on routing on multi-layer switches:
- Configure the IP address of a VLAN on multi-layer switches:
-
(config)# interface vlan <vlan-id>
- brings you into vlan interface config mode
-
(config-if)# ip address <ip-address> <subnet-mask>
- set the IP address for a specified vlan
- Enter VLAN interface config mode:
(config)# interface vlan <vlan-id>
- Assign IP Helper Address:
(config-if)# ip helper-address <ip-address of dhcp server>
- Set default route:
ip route 0.0.0.0 0.0.0.0 <ip-address>
- Send default route information to other routers in the area, run from the OSPF configuration.
default-information originate
⚠️ **GitHub.com Fallback** ⚠️