QoS DSCP/ToS Values

DSCP Class DSCP (bin) DSCP (dec) ToS (dec) ToS (bin) ToS Prec. (bin) ToS Prec. (dec) none 000000 0 0 00000000 000 0 cs1 001000 8 32 00100000 001 1 af11 001010 10 40 00101000 001 1 af12 001100 12 48 00110000 001 1 af13 001110 14 56 00111000 001 1 cs2 010000 16 64 01000000 010 2 af21 010010 18 72 01001000 010 2 af22 010100 20 80 01010000 010 2 af23 010110 22 88 01011000 010 2 cs3 011000 24 96 01100000 011 3 af31 011010 26 104 01101000 011 3 af32 011100 28 112 01110000 011 3 af33 011110 30 120 01111000 011 3 cs4 100000 32 128 10000000 100 4 af41 100010 34 136 10001000 100 4 af42 100100 36 144 10010000 100 4 af43 100110 38 152 10011000 100 4 cs5 101000 40 160 10100000 101 5 ef 101110 46 184 10111000 101 5 cs6 110000 48 192 11000000 110 6 cs7 111000 56 224 11100000 111 7

February 6, 2014 · 1 min · Daniel Kuchenski

HP Switch (ProCruve) QoS Guide

Coming from a Cisco QoS background, I wanted to get a good grasp on HP QoS with the ProCurve switches, but there isn’t much information out there (besides the Advanced Traffic Management Guide by HP). This post should should consolidate some of that information, and is based on the the Advanced Traffic Management Guide, various vendor HP interopability guides, and talks with some of the guys over at HP Networking. HP QoS Basics: ...

December 21, 2013 · 6 min · Daniel Kuchenski

Cisco CBAC Firewall - FW-4-ALERT_ON: getting aggressive

Had an issue recently were the CBAC firewall on a Cisco 1811 was slowing down/blocking internet traffic. My inspect policy was doing basic inspection (tcp, icmp - not http,https). The log showed: %FW-4-ALERT_ON: getting aggressive, cound (501/500) current 1-min rate: 216 Cisco explains this as the “router becomes aggressive when it has more half-open sessions than allowed.” They recommend increasing ip inspection thresholds with ip inspect max-incomplete high 1000 and ip inspect max-incomplete low 800, per supportforums.cisco.com. ...

December 7, 2013 · 1 min · Daniel Kuchenski

DMVPN Firewall (Access-List) Ports

If you have a dedicated DMVPN router and want to apply a simple access list to the public interface to block all other traffic, this is what you need opened up: permit esp any any permit udp any eq isakmp any eq isakmp and if you have NAT-T, then you also need: permit udp any eq non500-isakmp any eq non500-isakmp This is also assuming you have spokes connecting from unknown IP’s, if you have all static IP’s, you can further lock it down by restricting access to those IP’s only.

November 13, 2013 · 1 min · Daniel Kuchenski

DMVPN - Phase 1 with EIGRP

Here is a quick and clean DMVPN Phase 1 Configuration: Hub Router IPsec: HUB01(config)# crypto isakmp policy 10 HUB01(config-isakmp)# encr 3des HUB01(config-isakmp)# hash md5 HUB01(config-isakmp)# authentication pre-share HUB01(config)# crypto isakmp key CISCO address 0.0.0.0 0.0.0.0 HUB01(config)#crypto ipsec transform-set TR_SET esp-3des HUB01(cfg-crypto-trans)# mode transport HUB01(config)# crypto ipsec profile DMVPN HUB01(config-profile)# set transform-set TR_SET Tunnel: HUB01(config)# interface tunnel 0 HUB01(config-if)# ip address 192.168.200.1 255.255.255.0 HUB01(config-if)# ip mtu 1400 HUB01(config-if)# ip tcp adjust-mss 1360 HUB01(config-if)# ip nhrp authentication DMVPN HUB01(config-if)# ip nhrp map multicast dynamic HUB01(config-if)# ip nhrp network-id 1 HUB01(config-if)# ip nhrp holdtime 60 HUB01(config-if)# ip nhrp registration no-unique HUB01(config-if)# tunnel source FastEthernet0/1 (WAN interface) HUB01(config-if)# tunnel mode gre multipoint HUB01(config-if)# tunnel key 1234 HUB01(config-if)# tunnel protection ipsec profile DMVPN HUB01(config-if)# no ip eigrp 1 split-horizon eigrp 1 HUB01(config-if)# bandwidth 1000 EIGRP: ...

November 12, 2013 · 2 min · Daniel Kuchenski

ShoreTel Phone Configuration Codes

From a ShoreTel phone, you can ping, view configuration, etc directly from the phone: For each operation, you press MUTE and then hit the number + #: PING: Press MUTE then 7464# (PING) CLEAR CACHED VALUES: Press MUTE then 25327# (CLEAR) RESET PHONE: Press MUTE then 73738# (RESET) EDIT CONFIGURATION: Press MUTE then 73887# (SETUP) VIEW CONFIGURATION: Press MUTE then 4636# (INFO) FACTORY RESET: Press MUTE then 772667# (RRAMOS), then press 1234 as password and confirm.

November 6, 2013 · 1 min · Daniel Kuchenski

ASA Implicit Rule "Permit all traffic to less secure networks" ACL

When adding a new network interface to the ASA, you must specific a security level. Based off this security level, the default ACL allows you to access “less secure” networks, and denies access to “more secure” networks. This default rule works great until you need to implement a security zone with specific access to different zones. For example, a DMZ would have a security level of 50 (access to outside, implicit deny to inside). When we need to add an ACL to permit certain access to the inside, the implicit “Permit all traffic to less secure networks” rule is removed. We must manually add this in. I found a great post regarding this setup on the Cisco Support Community which I will copy here for future reference: ...

October 3, 2013 · 2 min · Daniel Kuchenski

Cisco Switch Security Best Practices

This is a summary and command reference for Cisco Switch Security Best Practices from the Cisco CCNP material. 1. Configure secure passwords Use the enable secret command to set the enable password Use external AAA servers for administrative access Use the service password-encryption command to prevent casual observers from seeing password 2. Use the system banner Use the banner motd command to warn unauthorized users that their actions could be grounds for prosecution. Also do not display any information regarding the network/switch, as this could be used by a malicious user. ...

September 30, 2013 · 2 min · Daniel Kuchenski

Cisco SPAN (Port-Mirror) Configuration

Example: On my Cisco switch I want to mirror port 10 to port 20 so I can plug in my laptop (into port 20) with wireshark and do packet captures (config) #monitor session 1 source interface fastethernet0/10 (config) #monitor session 1 destination interface fastethernet0/20 and then verify the configuration switch #show monitor session 1

September 5, 2013 · 1 min · Daniel Kuchenski

OSPF Neighbor Relationships

5 Requirements for OSPF to form a relationship with a neighbor: 1. Hello and Dead timers must match 2. Network mask must match 3. Area ID must match 4. Authentication password must match (if you are using OSPF authentication) 5. Stub Area Flag must match Also found a great wiki on OSPF best practices: http://wiki.nil.com/OSPF_area_configuration_best_practices

August 27, 2013 · 1 min · Daniel Kuchenski

IPv6 OSPF on a Cisco router

The big difference between IPv4 and IPv6 OSPF configuration on a Cisco router is that the initial configuration has moved to the interface level, instead of using the “network” statements to determine which interfaces will be part of the OSPF process. To get IPv6 OSPF up-and-running, here are the 4 basic commands: Enable ipv6 routing between non-local subnets router(config)# ipv6 unicast-routing Go into the interface config and enable the OSPF process and area router(config-if)# ipv6 ospf 100 area 0 ...

August 24, 2013 · 1 min · Daniel Kuchenski

ShoreTel Least Cost Routing

NOTICE: Changing these settings can impact your ability to make/receive calls, do not change unless instructed by ShoreTel TAC. With that said, hopefully this information can be useful if you have a similar situation: I had two ShoreTel sites within the same area code, HQ site had the PRI, and the Remote site had an analog trunk to be used for primary 911 and secondary voice failover (if the network connection failed between both sites or the PRI went down). The tricky part was having the ShoreTel system prefer the PRI at HQ ONLY for normal voice calls, even though there was a local analog trunk at the Remote site. The ShoreTel system still needed to to prefer the local analog trunk for 911 calls. ...

August 19, 2013 · 2 min · Daniel Kuchenski

Advertise Default Route with BGP

If you are used to using the “Default-Information Originate” command with OSPF or EIGRP to easily advertise a default route, you might be surprised to find that solely applying that command within BGP does not advertise a default route. You must also use Redistribute Static in conjunction with Default-Information Originate. Your BGP config would look something like this: router bgp 65000 no synchronization bgp log-neighbor-changes redistribute static neighbor 10.10.10.10 remote-as 65010 default-information originate no auto-summary Both commands are needed whether you are using eBGP or iBGP.

August 17, 2013 · 1 min · Daniel Kuchenski

ShoreTel Active Directory Integration

ShoreTel AD integration is pretty simple, just a couple of important steps to remember: To use AD integration, check “Enable AD Integration” under System Parameters -> Other ShoreTel is a top-level LDAP reader, so you do not need to specify certain OUs. Your LDAP string should look like this: LDAP://example.com/DC=example,DC=com At least one system administrator account has to be AD enabled for ShoreTel to use and perform LDAP lookups. To use the “Test” or “Sync” buttons on an AD enabled user, you must be logged in with an administrator account that is AD enabled.

August 15, 2013 · 1 min · Daniel Kuchenski

ShoreTel TMSNcc Log Info

Great informational article regarding ShoreTel TMSNcc logs: http://www.netdungeon.com/articles/how-decipher-tmsncclog Call Code Parameters: C-CE Call Creation Event Call Initiation. L-CE Leg Create Event Follows a C-CE; Internal Transfers L-IE Leg Info Event Provides information on other parties in the call. C-SE Call State Event State of call in progress; RingBack, Offering, etc. L-SE Leg State Event Follows a C-SE to inform the leg state changes. L-DE Leg Destroy Event Call tear down; Leg is destroyed. C-DE Call Destroy Event Call Destroyed by user or system hung up. G-MST Media State Event Media states for the terminated call leg. Example from the article linked above: ...

August 5, 2013 · 1 min · Daniel Kuchenski