Comprehensive Network Commands Guide
Comprehensive Network Commands Guide
network address subnet Defines network address and access-list ID {permit I Defines an access list with source ntp peer {address I Configures the device to peer
mask subnet mask for DHCP pool. deny} source-ip wildcard IP and wildcard. hostname} with another NTP server.
default-router address Specifies default gateway for DHCP access-list name { permit I Defines an access list with source clock set HHH:MM:SS Day Sets the system clock with the
clients. deny } protocol src-ip src- and destination details. Month Year specified time and date.
wildcard eq port dest-ip
dest-wildcard eq port
dns-server address Configures DNS server for DHCP ip access-list {standard I Defines an IP access list, either clock timezone timezone Configures the time zone and
clients. extended} {ID I name} standard or extended. hour_offset [minute_offset] offset for the server
ip dhcp snooping Enables DHCP snooping globally. no seqeuence Removes a sequence from an clock summer-time Configures daylight saving time
access list. timezone [recurring] (DST) settings for the server.
ip dhcp snooping vlan n Enables DHCP snooping on a New-Style configuration uses the same commands but
specific VLAN. starts with permit and deny
no ip dhcp snooping Disables DHCP option information seq rule Modifies or adds rules to the ntp authenticate Enables NTP authentication for
information option insertion. sequence clients secure time
synchronization.
ip dhcp snooping trust Marks an interface as trusted for ip access-group [ID I Applies an access control list to ntp authentication-key Sets an MD5 authentication key
DHCP snooping. name] {in I out} an interface (inbound or key-number md5 key for NTP.
outbound).
ip dhcp snooping untrust Marks an interface as untrusted for show ip Displays information about IP ntp trusted-key key- Specifies a trusted key for NTP
DHCP snooping. protocol configurations. number authentication.
ip nat inside Configures an interface as inside for show ntp status Shows the status of Network ntp server [address I name] Configures an NTP server with a
NAT. Time Protocol (NTP). key key-number specific authentication key.
ip nat outside Configures an interface as outside show ntp associations Displays the current NTP show cdp neighbors detail Displays detailed information
for NAT. associations. about CDP neighbors.
ip nat inside source static Performs static NAT mapping. show clock Shows the current system time. show cdp interface Shows CDP information for a
inside_local inside_global interface specific interface.
ip nat pool name Defines a pool of global addresses show [cdp I lldp] traffic Displays CDP or LLDP (Cisco show cdp entry name Displays detailed CDP
first_address last_address for dynamic NAT. Discovery Protocol) traffic information for a specific entry
network_id subnet_id information. by name.
ip nat inside source list {acl- Configures NAT [no] cdp run Enables or disables CDP globally.
number I acl-name} pool
pool-name
ip nat inside source list {acl- Configures NAT overload (PAT) [no] cdp enable Enables or disables CDP on an
name I acl-number} using a pool. interface.
interface name overload
show ip nat translations Displays NAT translations. {cdp I lldp} timer seconds Configures the timer interval for
CDP or LLDP updates in seconds.
clear ip nat translation Clears NAT translations. {cdp I lldp} holdtime Configures the holdtime interval
seconds for CDP or LLDP in seconds.
show ip nat statistics Displays NAT statistics. [no] lldp run Disables or enables LLDP globally.
debug ip nat Enables debugging for NAT. [no] lldp recieve Disables or enables LLDP
reception on an interface.
Name First
Quadret Calculating Subnet ID – (IPv6 Prefix
divided by 4) = The resulting
Interface- FF01 hexadecimal digits + Remaining
Local Digits become 0
Wired Equivalency Privacy (WEP) / Deprecated and insecure method using a pre-shared key for authentication; less secure than open
Shared-Key Authentication authentication with WEP.
LEAP Early Cisco proprietary method, deprecated, and insecure, used username/password with dynamic
802.1X WEP key.
Extensible Authentication Protocol
EAP EAP - FAST Cisco proprietary method; AS generates a Protected Access Credential (PAC) for supplicant
authentication.
PEAP AS presents a signed certificate; supplicant verifies and sets up a tunnel for authentication using
Authentication Protocol where the client
MSCHAPv2 or GTC.
authenticates with an Authentication
EAP - TLS Similar to PEAP, but requires client certificates, often involves building Public Key Infrastructure for
Server (AS) after open authentication.
certificate management.
WPA1 Uses TKIP (Temporary Key Integrity Protocol) as a stopgap measure for stronger encryption on WEP-
supporting hardware. TKIP is deprecated with known attacks. Some WPA devices support CCMP.
Encryption and Integrity
WPA2 Uses CCMP (Counter/CBC-MAC Protocol) with AES counter mode for encryption and CBC-MAC for
Message Integrity Check (MIC). Still secure with only theoretical attacks devised.
WPA3 Uses GCMP (Galois/Counter Mode Protocol) with AES counter mode for encryption and Galois
Message Authentication Code for MIC. Relatively fresh and considered the most secure.
Max 300m 400m 10km 30km 100m 100m 100m 1000BASE-ZX 1Gb/s 100km SM
range 10BASE-LR 10Gb/s 10km SM
Medium Multimo Multi Single Single UTP UTP Cat UTP Cat 5e 10BASE-ER 10Gb/s 30km SM
de fibre mode mode mode Cat 3 5
fibre fibre fibre 10BASE-S 10Gb/s 400km MM
Ethernet Cables:
0. Emergency
1. Alert
2. Critical
3. Error
4. Warning
5. Notification
6. Informational
7. Debug
● Management IP address: used to access the WLC’s web interface and SSH and to handle
management traffic (RADIUS authentication, NTP, syslog). Lightweight Aps connect to the
management IP address via CAPWAP.
The following list summarizes the terms that describe the roles of campus
switches: ● AP-manager interface: Communication with LAPs via Layer 3 Lightweight Access Point Protocol.
■ Access: Provides a connection point (access) for end-user devices. Does not
forward ● Redundancy management: Management IP for the backup WLC
frames between two other access switches under normal circumstances.
■ Distribution: Provides an aggregation point for access switches, providing
● Virtual interface: IP address facing wireless clients when they interact with WLC, e.g. when
connectivity
to the rest of the devices in the LAN, forwarding frames between switches, but relaying DHCP requests. For client mobility reasons, every WLC in the same mobility group (handling
not connecting roaming in the same network???) should have the same Virtual IP address.
directly to end-user devices.
■ Core: Aggregates distribution switches in very large campus LANs, providing ● Service Port IP Address: bound to service port
very high
forwarding rates for the larger volume of traffic due to the ize of the network. ● Dynamic interface: connects VLAN with a WLAN, used for client data, user-defined. Will also be
used for DHCP relay