Tag: <span>Cisco</span>

Option1: If the current line cards installed support your PC/laptop’s 1GE UTP port, then you can install SFP-1000BaseT(SFP-T) transceiver directly to be used as the observing port. Fig.1    interface <interface name> port-mirroring inbound port-mirroring outbound port-mirroring to observe-index 1<1-255> interface <interface name> port-observing observe-index <1-255> Sample Configuration: Objective: To further do analysis on all traffic going to the Web server by port mirroring the interface going to the server. Port to mirror: Gi2/0/0 Port to observe:Gi1/0/0 <HW-Router>sys Enter system…

Huawei

PAT or Port Address Translation or also known as NAT Overloading is like a modified form of dynamic NAT where multiple inside local addresses are translated to single inside global IP address. It is the most popular form of NAT as the setup is the same what we use on our home connectivity as your Internet Service Provider (ISP) usually will only provide you 1 public IP to communicate with their internet router. Just remember the word many-to-one mapping. Objective:…

Cisco

Here are the sample steps on finding the interface where the host is connected based on IP address or MAC address on Cisco Catalyst L3 Switch running on Cisco IOS Scenario 1: IP address is given, find which interface it is connected IP address: 192.168.0.35 a. Find the routing entry for the IP to know where it is connected show ip route <IP> SWITCH1#show ip route 192.168.0.35 Routing entry for 192.168.0.32/29 Known via “connected”, distance 0, metric 0 (connected, via…

Cisco

Cisco BVI (Bridge Virtual Interface) enables Layer 3 routing on a bridge group, connecting different Layer 2 networks. BVI (Bridge Group Virtual Interface) is a routed interface that represents a set of interfaces that gets bridge. Here is the sample Bridge Virtual Interface (BVI) Configuration on Cisco ASR 9000. Fig1. Configuration: RP/0/RSP1/CPU0:ASR9000#configure Configure the interface interface GigE0/0/0/0 description Connection to Server1 eth0 l2transport Configure the l2vpn l2vpn bridge group 1000 bridge-domain 1000 interface GigE0/0/0/0 routed interface BVI1000 3.Configure the Bridge…

Cisco

Interface description is one of the most important configuration when bringing up interfaces between two devices. In a bundle or port-channel interface, there is a way to find the partner interface or which member in that bundle is your interface or port is connected especially if there’s no description or outdated. Here are the steps and commands to find LACP partner interface or port in Cisco Router and Switch Fig1.1 (Cisco IOS-XR)     Assuming we have this Fig1.1, two…

Cisco

Here are the steps on performing the switchover of Route Switch Processor (RSP) or Route Processor (RP) in Cisco ASR9000 platforms running in Cisco IOS-XR. show redundancy Example: RP/0/RSP0/CPU0:IOS-XR#show redundancyRedundancy information for node 0/RSP0/CPU0:==========================================Node 0/RSP0/CPU0 is in ACTIVE roleNode Redundancy Partner (0/RSP1/CPU0) is in STANDBY roleStandby node in 0/RSP1/CPU0 is readyStandby node in 0/RSP1/CPU0 is NSR-not-configuredNode 0/RSP0/CPU0 is in process group PRIMARY roleProcess Redundancy Partner (0/RSP1/CPU0) is in BACKUP roleBackup node in 0/RSP1/CPU0 is readyBackup node in 0/RSP1/CPU0 is NSR-ready…

Cisco

Here’s the basic BGP (eBGP) configuration of  connecting 3 different router vendors namely Huawei, Juniper and Cisco Routers. Assuming we connect via their physical interfaces and incoming and outgoing policies are basically allow all. Sample Configuration Huawei <Huawei>system-view Enter system view, return user view with return command. [~Huawei] interface GigabitEthernet1/0/0 description Connection to Cisco ip address 192.168.0.1 255.255.255.252 interface GigabitEthernet1/0/1 description Connection to Juniper ip address 192.168.1.1 255.255.255.252 xpl route-filter Cisco-Import approve end-filter xpl route-filter Cisco-Export approve end-filter xpl route-filter…

Cisco Huawei Juniper

Here are the sample VLAN configuration and commands comparing Cisco Nexus and Huawei switches. VLAN Creation: Cisco Huawei configure system-view vlan 88name VLAN 88 vlan 88name VLAN88 Access Interfaces: Cisco Huawei interface Ethernet1/1description Connection to Server1switchportswitchport access vlan 88no shutdown interface GigabitEthernet1/1/1description Connection to Server1port link-type accessport default vlan 88undo shutdown Trunk Interfaces: Cisco Huawei interface Ethernet2/1description Connect to Switch2switchportswitchport mode trunkswitchport trunk allowed vlan 10,20no shutdown interface GigabitEthernet2/1/1description Connect to Switch2port link-type trunkport trunk allow-pass vlan 10 20undo shutdown…

Cisco Huawei

  Cisco uses RPL (Route Policy Language) while Huawei uses XPL (Extended Route Policy language). Basically they are the same concept but of course the commands are slightly different, though editing the policy or prefix-set requires vi/vim knowlege. Cisco IOS-XR RPL Huawei NE40E XPL Adding Prefix-Set:prefix-set FNT-Prefixes  192.168.0.0/24,  172.16.0.0/23end-set Adding Prefix-Set:xpl ip-prefix-list FNT-Prefixes192.168.0.0 24,172.16.0.0 23end-list Creating Route Policy:route-policy FNT-EXPORT  if (destination in FNT-Prefixes) then    prepend as-path 65555 2  endifend-policy Creating Route Policy:xpl route-filter FNT-EXPORT  if ip route-destination in FNT-Prefixes then  …

Cisco Huawei

Here are common and useful Cisco IOS-XR commands to check any hardware-related information. General/Overall: admin show inventory chassis admin show inventory all admin show inventory rack admin show environment all admin show environment alarms admin show diag admin show diag chassis admin show hw-module fpd location all admin show environment trace admin show platform admin show platform summary location all show pfm location all show inventory trace error show shelfmgr trace show controllers i2c server trace Power Supply: admin show…

Cisco