IOS – edit access lists using line numbers

Tuesday, August 4th, 2009

Cisco 876 – C870-ADVSECURITYK9-M – 12.4 c876#conf t c876(config)#service sequence-numbers c876(config)#^Z c876#sh run | i service no service pad service timestamps debug datetime msec localtime show-timezone service timestamps log datetime msec localtime show-timezone service password-encryption service sequence-numbers c876(config)#ip access-list extended 111 c876(config-ext-nacl)#remark allow NMS c876(config-ext-nacl)#10 permit ip 192.168.10.0 0.0.0.31 host 192.168.1.1 c876(config-ext-nacl)#20 permit ip 192.168.20.128 [...]

IOS – iBGP – default route

Thursday, April 2nd, 2009

Cisco 7206VXR – NPE G2 – IOS C7200P-SPSERVICESK9-M – V 12.4 Juniper M7i – JUNOS 9.3R2.8 interface Loopback1 ip address 10.20.30.54 255.255.255.255 ! router bgp xxxxx neighbor 10.20.30.55 remote-as xxxxx neighbor 10.20.30.55 update-source Loopback1 neighbor 10.20.30.55 default-originate neighbor 10.20.30.55 soft-reconfiguration inbound neighbor 10.20.30.55 route-map nothing out neighbor 10.20.30.55 maximum-prefix 10 ! ip route 0.0.0.0 0.0.0.0 [...]

FOUNDRY – trunk Ports and Cisco Port-Channel

Tuesday, March 24th, 2009

Cisco 7507 (VIP2-50) – IOS 12.0(28)S4 Foundry FLS 624 / FLS 648 – Version 04.0.00T7e1 LAB-PE-01#conf t LAB-PE-01(config)#interface port-channel 1 LAB-PE-01(config-if)#channel-group minimum active LAB-PE-01(config-if)#exit LAB-PE-01(config)#interface FastEthernet 1/1/0 LAB-PE-01(config-if)#channel-group 1 LAB-PE-01(config-if)#interface FastEthernet 1/1/1 LAB-PE-01(config-if)#channel-group 1 LAB-PE-01(config-if)#exit LAB-PE-01(config)#interface port-channel 1.1222 LAB-PE-01(config-if)#encapsulation dot1Q 1222 LAB-PE-01(config-if)#description TestLAB-Channel 01 LAB-PE-01(config-if)#ip address 10.20.10.1 255.255.255.248 LAB-PE-01(config-if)#end LAB-SW-03#conf t LAB-SW-03(config)#interface ethernet 0/1/15 LAB-SW-03(config-if-e1000-0/1/15)#port-name [...]

IOS – ADSL2+ – Cisco 876

Thursday, March 12th, 2009

Cisco 876 – C870-ADVSECURITYK9-M – 12.4 ! vpdn enable ! interface ATM0 description QSC ADSL2+ no ip address no atm ilmi-keepalive pvc 1/32 pppoe-client dial-pool-number 1 ! dsl operating-mode adsl2+ hold-queue 224 in ! interface FastEthernet0 description Cu-FW ! ! interface Vlan1 description Cu-LAN ip address 10.20.30.1 255.255.255.248 ! interface Dialer1 description QSC ADSL2+ Dialer [...]

IOS – NTP + SNMP minimal setup

Tuesday, March 10th, 2009

! clock timezone MEZ 1 clock summer-time MESZ recurring last Sun Mar 2:00 last Sun Oct 3:00 ! ntp server 192.168.20.55 prefer ntp server 192.168.212.22 ntp server 10.20.30.41 ! snmp-server community xxxxxxxxx RO 23 snmp-server location FFM-IX-FRA1 snmp-server contact xxxxx@xxxxxxx.xxx ! access-list 23 permit 192.168.44.22 access-list 23 permit 192.168.66.11 access-list 23 permit 10.20.30.66 ! end

IOS – SHDSL – ATM – minimal CPE setup

Tuesday, February 17th, 2009

Cisco 1721 – CPE Setup – IOS C1700-IPBASEK9-M – V. 12.4 – WIC-1SHDSL-V3 Cisco 1841 – CPE Setup – IOS C1841-ADVIPSERVICESK9-M – V. 12.4 – WIC-1SHDSL-V3 ! controller DSL 0 mode atm line-term cpe line-mode 2-wire line-zero dsl-mode shdsl symmetric annex B snr margin current 6 line-rate 2304 ! ! interface ATM0 no ip address [...]

IOS – SHDSL – ATM – minimal Multilink CPE setup

Tuesday, February 17th, 2009

Cisco 1721 – CPE Setup – IOS C1700-IPBASEK9-M – V. 12.4 – WIC-1SHDSL-V3 – Multilink Cisco 1841 – CPE Setup – IOS C1841-ADVIPSERVICESK9-M – V. 12.4 – WIC-1SHDSL-V3 – Multilink ! controller DSL 0 mode atm line-term cpe line-mode 4-wire standard dsl-mode shdsl symmetric annex B line-rate 4608 ! controller DSL 1 mode atm line-term [...]

IOS – SHDSL – ATM – BRAS Setup

Friday, February 6th, 2009

! interface Loopback1 description loop con ip address 192.168.10.1 255.255.255.128 ! interface ATM1/0.266 point-to-point description Customer-03z72 mtu 1500 bandwidth 4600 ip unnumbered Loopback1 pvc 7.66 7/666 ubr 4600 oam-pvc manage 2 oam retry 3 3 3 encapsulation aal5snap ! ! ip route 192.168.10.122 255.255.255.255 ATM1/0.266 ip route 10.20.30.64 255.255.255.240 ATM1/0.266 ! end ATM Routed Bridge [...]

IOS – Authentication using TACACS+

Monday, January 12th, 2009

For a simple TACACS+ daemon config –> simple TACACS+ config ! aaa new-model ! ! aaa authentication fail-message ^C –> local authentication failed ! <– ^C ! ! Set the prompt that will show up if the TACACS+ service is unavailable aaa authentication password-prompt “Enter local password: ” aaa authentication username-prompt “Enter local username: ” [...]