Posts Tagged ‘IOS’

t

3750/3560 interface policing/shaping/bandwidth limiting

In cisco on 12.03.2012 by mschedrin Tagged: , , , , , ,

I assume, that QoS is set up as it is dscribed in my previous .
All traffic is sorted to two different queues: iptv(dscp32) is put into queue1, other traffic is put into queue2. I want to police customers traffic into 20mbps, except iptv packets going towards the customer.
Ingress policing
Create policy map:

policy-map shape-20
  class class-default
    police 20M 400000 exceed-action drop

Assign policy map to interface:
interface FastEthernet1/0/2
 service-policy input shape-20

Egress policing
Unfortunately, policy-map containing police action cannot be attached to interface in egress direction. Egress queue2 is shaped to 20mbps:

interface FastEthernet1/0/2
 srr-queue bandwidth shape  0  10  0  0

10 is bandwidth weight and is calculated this way: [interface speed]/[bw weight] = [policed speed]. 100mbps/5=20mbps.

There is another possibility to limit egress speed in the interface. It will limit all egress queues to 25% of interface speed:

interface FastEthernet1/0/2
 srr-queue bandwidth limit 20
 srr-queue bandwidth shape  0  0  0  0 

t

oversubscription на платах WS-X6708-10G-3C WS-X6708-10G-3CXL и старше

In cisco on 06.05.2009 by mschedrin Tagged: , , , ,

В 10GE платах для catalyst 6500 существуют платы с oversubscription WS-X6708-10G-3C;WS-X6708-10G-3CXL(1:2 на порт). Так вот, чтобы получить wire speed на этих платах пожертвовав 4 портами, надо дать такую команду циске:
router(config)#no hw-module slot x oversubscription
Порты 3, 4, 7, 8 зашатдаунятся, оставшиеся будут давать честные 80G full duplex.

Доп инфа: http://www.cisco.com/en/US/prod/collateral/switches/ps5718/ps708/product_data_sheet09186a00801dce34_ps4835_Products_Data_Sheet.html

http://www.cisco.com/en/US/solutions/collateral/ns340/ns517/ns224/ns668/net_qanda0900aecd80534905.html

http://www.cisco.com/en/US/docs/ios/interface/command/reference/ir_s3.html

t

QoS Policing in Cisco IOS

In cisco,links on 15.07.2008 by mschedrin Tagged: , , , , , ,

http://wiki.nil.com/QoS_Policing_in_Cisco_IOS

Хорошо с картинками рассказано про policing, shaping, rate-limiting.

Post

авторизация на cisco

In unix/linux on 08.07.2008 by mschedrin Tagged: , , , ,

Чтоб кошка начала пускать по телнету, надо ей сказать следующие команды:
username admin privilege 15 password 0 cisco
!
line vty 0 15
login local

t

IOS для старых каталистов

In cisco on 02.07.2008 by mschedrin Tagged: , ,

Качать IOS для старых каталистов можно прямо с циски ком как тут выяснилось.

http://tools.cisco.com/support/downloads/pub/Redirect.x?mdfid=268438038

t

Как остановить ping, traceroute, dns-lookup и пр. в cisco IOS

In cisco on 18.06.2008 by mschedrin Tagged: , , ,

Наконец я узнал как это сделать:
ctrl+shift+6

t

cisco boot

In cisco on 28.05.2008 by mschedrin Tagged: , , , , ,

Учим кошку ME4924 бутаться с нужного ios:
no boot system
boot system bootflash:/cat4500-entservicesk9-mz.122-40.SG.bin
config-register 0x2102

t

bgp configuration guide

In cisco,links on 22.05.2008 by mschedrin Tagged: , , ,

http://www.cisco.com/en/US/docs/ios/12_2/ip/configuration/guide/fipr_c.html
Чтобы не потерять. Толковое руководство.

t

cisco troubleshooting

In cisco on 19.05.2008 by mschedrin Tagged: , , , , , ,

sh ip traffic – всё о траффике через кошку
sh controllers ethernet-controller gi1/0/1 phy – инфа о SFP модуле в определенном порту
show vlan internal usage – показать используемые виланы
sh inventory raw – в 4924 инфу о воткнутом SFP похоже посмотреть можно только так.

sh ip protocols – Всё о динамической маршрутизации
BGP
sh ip bgp neighbors 192.168.1.3 advertised-routes – показать что bgp отдает соседу.
Диагностика проблем с TCAM, ASIC
sh platform ...
sh platform tcam utilization -место в TCAM
Диагностика проблем с интефейсами/памятью/CPU
sh controllers cpu-interface
sh controllers utilization – загрузка интерфейсов в процентах. Плюс загрузка фабрики свитча
sh controllers tcam
sh controllers tcam asic
sh controllers ethernet-controller phy
sh controllers ethernet-controller port-asic statistics
sh platform port-asic stats drop gigabitEthernet 0/3 – показывает статистику дропов на порте
sh controllers ethernet-controller port-asic configuration
sh controllers ethernet-controller gigabitEthernet 1/0/1
sh idprom interface Te1/2
interface commands
show interfaces description
show interfaces counters protocol status
show interfaces summary
show interfaces accounting
sh interfaces stats – статистика по интерфейсам, метод коммутации
sh interfaces switching – скрытая команда. Более подробно чем stats.
sh interface switchport – для диагностики виланов
show interface trunk – для диагностики виланов
SDM
sh sdm prefer
cdp
show cdp neighbors
show cdp neighbors detail – тут так же показывается версия IOS у соседа
show cdp entry * version – IOS соседа
show cdp entry * protocols – протоколы
multicast
sh ip multicast
mrinfo
sh ip multicast interface vlan 104
sh ip interface vlan 104
PIM troubleshooting
sh ip mroute
mrinfo
sh ip pim interface
sh ip pim rp [mapping]
sh ip rpf
sh ip pim interface vlan 25
sh ip pim neighbor
IGMP troubleshooting
sh ip igmp
sh ip igmp group
sh ip igmp interface
ip igmp join-group

Follow

Get every new post delivered to your Inbox.