Category: Cisco

0

BGP MED for inbound and outbound traffic

#BGP#MED#Filter#IN#OUT #Upload#Download#control #applied manipulation in Router1 only router bgp 1 bgp log-neighbor-changes network 0.0.0.0 neighbor 192.168.12.2 remote-as 2 neighbor 192.168.12.2 route-map PRM-IN in neighbor 192.168.12.2 route-map PRM-OUT out neighbor 192.168.21.2 remote-as 2 neighbor 192.168.21.2...

0

Cisco Auto Backup to FTP

conf t ip ftp username noc ip ftp password P@SSword ntp server x.x.x.x kron policy-list FTP_config_Backup cli show run | redirect ftp://noc:P@SSword@x.x.x.x/Backup_C-D-SW202.cfg ! kron occurrence FTP_config_Backup in 7:1:1 recurring pollicy-list FTP_Config_Backup

0

Cisco IOS upgrade

2900>enable 2600#copy tftp: flash:/flash0:/flash1: Address or name of remote host []? 10.10.10.1 Source filename []? c7200-adventerprisek9-mz.124-22.T Destination filename[c7200-adventerprisek9-mz.124-22.T]? c7200-adventerprisek9-mz.124-22.T file will upload and after finish upload enter below command 2900(config)#boot system flash:c2600-adventerprisek9-mz.124-12.bin

0

OSPF Authentication

IOS router ospf 1 area 0 authentication ! interface X ip ospf authentication ip ospf authentication-key xxx ———————————————————————————– IOS router ospf 1 area 0 authentication message-digest ! interface X ip ospf authentication message-digest ip...

0

OSPF v3

IOS ipv6 router ospf 1 router-id 2.2.0.2 ! interface Ethernet1/0 ipv6 ospf 1 area 0 IOS-XR router ospfv3 1 router-id 2.2.0.8 address-family ipv6 unicast area 0 interface Loopback0 passive ! interface GigabitEthernet0/2/1/1

0

OSPF Rout Summary

 Type-3 summary o at ABR o area x range 10.10.10.0 255.255.255.0 (IOS) o area 1 range 10.10.10.0/24 (IOS-XR)  Type-5 summary o at ASBR o summary-address 20.20.20.0 255.255.255.0 (IOS) o summary-prefix 20.20.20.0/24 (IOS-XR)

0

Switch(Cisco) Port Security

SwitchA(config)# int fa 0/1 SwitchA(config)# switchport port-security SwitchA(config)# switchport port-security maximum 2 [2 mac allowed] SwitchA(config)# switchport port-security mac-address sticky SwitchA(config)# int fa 0/1 SwitchA(config)# switchpropt mode access SwitchA(config)# switchport port-security SwitchA(config)# switchport port-security...

0

BGP Regular Expressions

BGP Regular Expressions ? repeats the previous character one or zero times. * repeats the previous character zero or many times. + repeats the previous character one or more times. ^ matches the beginning...

0

eBGP peering protection

eBGP peering protection if prefixes exceed 1000 then neighbor-ship will reset and after reach 75% will give warning IOS: router bgp 100 address-family ipv4 neighbor 100.3.0.1 maximum-prefix 1000 restart 3 address-family ipv6 neighbor 2001:100:3::1...

0

FRR ISIS Cisco

ISIS FRR cisco IOS: router isis 109 net 49.0109.0000.0004.00 fast-reroute per-prefix level-2 all XR: interface GigabitEthernet0/0/0/0 fast-reroute per-prefix interface GigabitEthernet0/0/0/1 fast-reroute per-prefix