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-278
4
Policy Map Class Configuration
Command Usage
• You can configure up to 64 policers (i.e., meters or class maps) for each of the
following access list types: MAC ACL, IP ACL (including Standard ACL and
Extended ACL), IPv6 Standard ACL, and IPv6 Extended ACL. This limitation
applies to each switch chip (ES3528M-SFP: ports 1-28).
• Policing is based on a token bucket, where bucket depth (i.e., the maximum
burst before the bucket overflows) is specified by the burst-byte field, and the
average rate at which tokens are removed from the bucket is specified by the
rate-bps option.
Example
This example creates a policy called “rd_policy,” uses the class command to specify
the previously defined “rd_class,” uses the set command to classify the service that
incoming packets will receive, and then uses the police command to limit the
average bandwidth to 100,000 Kbps, the burst rate to 1522 bytes, and configure the
response to drop any violating packets.
service-policy
This command applies a policy map defined by the policy-map command to the
ingress queue of a particular interface. Use the no form to remove the policy map
from this interface.
Syntax
[
no
]
service-policy
input
policy-map-name
•
input
- Apply to the input traffic.
•
policy-map-name
- Name of the policy map for this interface.
(Range: 1-16 characters)
Default Setting
No policy map is attached to an interface.
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
• You can only assign one policy map to an interface.
• You must first define a class map, then define a policy map, and finally use
the service-policy command to bind the policy map to the required interface.
Console(config)#policy-map rd_policy
Console(config-pmap)#class rd_class
Console(config-pmap-c)#set ip dscp 3
Console(config-pmap-c)#police 100000 1522 exceed-action drop
Console(config-pmap-c)#