Installation guide
Table Of Contents
- Chapter 1: Introduction
- Chapter 2: Initial Configuration
- Chapter 3: Configuring the Switch
- Using the Web Interface
- Navigating the Web Browser Interface
- Panel Display
- Main Menu
- Basic Configuration
- Displaying System Information
- Displaying Switch Hardware/Software Versions
- Displaying Bridge Extension Capabilities
- Setting the Switch’s IP Address
- Enabling Jumbo Frames
- Managing Firmware
- Saving or Restoring Configuration Settings
- Console Port Settings
- Telnet Settings
- Configuring Event Logging
- Resetting the System
- Setting the System Clock
- Simple Network Management Protocol
- User Authentication
- Configuring User Accounts
- Configuring Local/Remote Logon Authentication
- Configuring Encryption Keys
- AAA Authorization and Accounting
- Configuring HTTPS
- Replacing the Default Secure-site Certificate
- Configuring the Secure Shell
- Configuring Port Security
- Configuring 802.1X Port Authentication
- Web Authentication
- Network Access - MAC Address Authentication
- MAC Authentication
- Access Control Lists
- Port Configuration
- Address Table Settings
- Spanning Tree Algorithm Configuration
- VLAN Configuration
- Link Layer Discovery Protocol
- Class of Service Configuration
- Quality of Service
- VoIP Traffic Configuration
- Multicast Filtering
- Multicast VLAN Registration
- DHCP Snooping
- IP Source Guard
- IP Clustering
- UPnP
- Chapter 4: Command Line Interface
- Using the Command Line Interface
- Entering Commands
- Command Groups
- Line Commands
- General Commands
- System Management Commands
- Flash/File Commands
- Authentication Commands
- Access Control List Commands
- SNMP Commands
- Interface Commands
- Mirror Port Commands
- Rate Limit Commands
- Link Aggregation Commands
- Address Table Commands
- LLDP Commands
- lldp
- lldp holdtime-multiplier
- lldp medFastStartCount
- lldp notification-interval
- lldp refresh-interval
- lldp reinit-delay
- lldp tx-delay
- lldp admin-status
- lldp notification
- lldp mednotification
- lldp basic-tlv management-ip-address
- lldp basic-tlv port-description
- lldp basic-tlv system-capabilities
- lldp basic-tlv system-description
- lldp basic-tlv system-name
- lldp dot1-tlv proto-ident
- lldp dot1-tlv proto-vid
- lldp dot1-tlv pvid
- lldp dot1-tlv vlan-name
- lldp dot3-tlv link-agg
- lldp dot3-tlv mac-phy
- lldp dot3-tlv max-frame
- lldp dot3-tlv poe
- lldp medtlv extpoe
- lldp medtlv inventory
- lldp medtlv location
- lldp medtlv med-cap
- lldp medtlv network-policy
- show lldp config
- show lldp info local-device
- show lldp info remote-device
- show lldp info statistics
- UPnP Commands
- Spanning Tree Commands
- spanning-tree
- spanning-tree mode
- spanning-tree forward-time
- spanning-tree hello-time
- spanning-tree max-age
- spanning-tree priority
- spanning-tree pathcost method
- spanning-tree transmission-limit
- spanning-tree mst-configuration
- mst vlan
- mst priority
- name
- revision
- max-hops
- spanning-tree spanning-disabled
- spanning-tree cost
- spanning-tree port-priority
- spanning-tree edge-port
- spanning-tree portfast
- spanning-tree link-type
- spanning-tree loopback-detection
- spanning-tree loopback-detection release-mode
- spanning-tree loopback-detection trap
- spanning-tree mst cost
- spanning-tree mst port-priority
- spanning-tree protocol-migration
- show spanning-tree
- show spanning-tree mst configuration
- VLAN Commands
- Priority Commands
- Quality of Service Commands
- Voice VLAN Commands
- Multicast Filtering Commands
- Multicast VLAN Registration Commands
- IP Interface Commands
- IP Source Guard Commands
- DHCP Snooping Commands
- IP Cluster Commands
- Appendix A: Software Specifications
- Appendix B: Troubleshooting
- Glossary
- Index
Command Line Interface
4-140
4
Related Commands
permit, deny 4-140
ip access-group (4-142)
show ip access-list (4-142)
permit, deny (Standard ACL)
This command adds a rule to a Standard IP ACL. The rule sets a filter condition for
packets emanating from the specified source. Use the no form to remove a rule.
Syntax
[no] {permit | deny} {any | source bitmask | host source}
• any – Any source IP address.
• source – Source IP address.
• bitmask – Decimal number representing the address bits to match.
• host – Keyword followed by a specific IP address.
Default Setting
None
Command Mode
Standard ACL
Command Usage
• New rules are appended to the end of the list.
• Address bitmasks are similar to a subnet mask, containing four integers from
0 to 255, each separated by a period. The binary mask uses 1 bits to indicate
“match” and 0 bits to indicate “ignore.” The bitmask is bitwise ANDed with the
specified source IP address, and then compared with the address for each IP
packet entering the port(s) to which this ACL has been assigned.
Example
This example configures one permit rule for the specific address 10.1.1.21 and
another rule for the address range 168.92.16.x – 168.92.31.x using a bitmask.
Related Commands
access-list ip (4-139)
permit, deny (Extended ACL)
This command adds a rule to an Extended IP ACL. The rule sets a filter
condition for packets with specific source or destination IP addresses, protocol
types, or source or destination protocol ports. Use the no form to remove a
rule.
Console(config-std-acl)#permit host 10.1.1.21
Console(config-std-acl)#permit 168.92.16.0 255.255.240.0