qos思科

R1#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#int s0/0
R1(config-if)#ip add 12.0.0.1 255.255.255.0
R1(config-if)#no sh
R1(config-if)#
*Mar  1 00:18:13.331: %LINK-3-UPDOWN: Interface Serial0/0, changed state to up
R1(config-if)#
*Mar  1 00:18:14.335: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
R1(config-if)#exit
R1(config)#router ei
R1(config)#router eigrp 100
R1(config-router)#net 12.0.0.1 0
*Mar  1 00:18:34.623: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to down
R1(config-router)#net 12.0.0.1 0.0.0.0
R1(config-router)#no au
R1(config-router)#no auto-summary 
R1(config-router)#
*Mar  1 00:19:24.623: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
R1(config-router)#
*Mar  1 00:19:49.963: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 12.0.0.2 (Serial0/0) is up: new adjacency
R1(config-router)#
*Mar  1 00:20:03.451: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 12.0.0.2 (Serial0/0) is resync: peer graceful-restart
R1(config-router)#exit
R1(config)#acc
R1(config)#access-list 100 
R1(config)#access-list 100 ?
  deny     Specify packets to reject
  dynamic  Specify a DYNAMIC list of PERMITs or DENYs
  permit   Specify packets to forward
  remark   Access list entry comment

R1(config)#access-list 100 p
R1(config)#access-list 100 permit ic
R1(config)#access-list 100 permit icmp ?
  A.B.C.D  Source address
  any      Any source host
  host     A single source host

R1(config)#access-list 100 permit icmp 12.0.0.1 ?
  A.B.C.D  Source wildcard bits

R1(config)#access-list 100 permit icmp host      
R1(config)#access-list 100 permit icmp host 12.0.0.1 ho

R1(config)#access-list 100 permit icmp host 12.0.0.1 host 34.0.0.4  
R1(config)#cla
R1(config)#class-map 
R1(config)#class-map qos?
WORD  

R1(config)#class-map qos ?
  

R1(config)#class-map qos 
R1(config-cmap)#ma
R1(config-cmap)#match ?
  access-group         Access group
  any                  Any packets
  class-map            Class map
  cos                  IEEE 802.1Q/ISL class of service/user priority values
  destination-address  Destination address
  discard-class        Discard behavior identifier
  dscp                 Match DSCP in IP(v4) and IPv6 packets
  fr-de                Match on Frame-relay DE bit
  fr-dlci              Match on fr-dlci
  input-interface      Select an input interface to match
  ip                   IP specific values
  mpls                 Multi Protocol Label Switching specific values
  not                  Negate this match result
  packet               Layer 3 Packet length
  precedence           Match Precedence in IP(v4) and IPv6 packets
  protocol             Protocol
  qos-group            Qos-group
  source-address       Source address

R1(config-cmap)#match acc
R1(config-cmap)#match access-group 100
R1(config-cmap)#exit
R1(config)#po
R1(config)#pol
R1(config)#policy-ma?
policy-manager  policy-map  

R1(config)#policy-map
R1(config)#policy-map ?
  WORD  policy-map name

R1(config)#policy-map poloc ?
  

R1(config)#policy-map poloc 
R1(config-pmap)#ma
R1(config-pmap)#mac
R1(config-pmap)#cl 
R1(config-pmap)#class m
R1(config-pmap)#class map
R1(config-pmap)#ma?      
% Unrecognized command
R1(config-pmap)#m?
% Unrecognized command
R1(config-pmap)#c
R1(config-pmap)#class ?
  WORD            class-map name
  class-default   System default class matching otherwise unclassified packets

R1(config-pmap)#class qos
R1(config-pmap-c)#set ?
  atm-clp        Set ATM CLP bit to 1
  cos            Set IEEE 802.1Q/ISL class of service/user priority
  discard-class  Discard behavior identifier
  dscp           Set DSCP in IP(v4) and IPv6 packets
  fr-de          Set FR DE bit to 1
  ip             Set IP specific values
  mpls           Set MPLS specific values
  precedence     Set precedence in IP(v4) and IPv6 packets
  qos-group      Set QoS Group

R1(config-pmap-c)#set ip
R1(config-pmap-c)#set ip ?
  dscp        Set IP DSCP (DiffServ CodePointint)
  precedence  Set IP precedence

R1(config-pmap-c)#set ip p
R1(config-pmap-c)#set ip precedence 5
R1(config-pmap-c)#exit
R1(config-pmap)#exit
R1(config)#int s0/0
R1(config-if)#s
R1(config-if)#se
R1(config-if)#ser?
serial  service-policy  

R1(config-if)#serv
R1(config-if)#service-policy ?
  input   Assign policy-map to the input of an interface
  output  Assign policy-map to the output of an interface

R1(config-if)#service-policy o
R1(config-if)#service-policy output ?
  WORD  policy-map name

R1(config-if)#service-policy output polic
% policy map polic not configured
R1(config-if)#service-policy output poloc
R1(config-if)#exit
R1(config)#

你可能感兴趣的:(网络)