Okay, here's a detailed breakdown of service provider router commands across Cisco IOS XR,
Huawei VRP, and Juniper Junos, as you requested. I've focused on Layer 2 and Layer 3 VPNs, MAC
address/ARP, and BGP, with troubleshooting commands and examples.
Important Notes:
● Command Variations: Router operating systems have many command variations. I've
included the most common and useful ones.
● Context Ma!ers: The exact output and options for these commands can vary based on
the speci"c IOS XR, VRP, or Junos version, hardware pla#orm, and network con"guration.
● No Direct MAC Ping: As mentioned before, a direct "MAC ping" isn't a standard
command in these OSs.
● File/PDF/ZIP: Due to the extensive nature of this list, I'm providing it in Markdown format.
You can easily copy and paste this into a text editor, save it as a .txt or .md "le, and then
convert it to PDF or include it in a ZIP archive as needed.
Cisco IOS XR Commands
Layer 2 VPN
MAC Address Table
● show mac address-table bridge-domain <bridge-domain-id>
○ Example: show mac address-table bridge-domain 100
○ Displays MAC address entries in a bridge domain.
● show l2vpn bridge-domain <bridge-domain-id> detail
○ Example: show l2vpn bridge-domain 100 detail
○ Provides detailed information about a bridge domain.
● show l2vpn bridge-domain <bridge-domain-id> mac-table
○ Example: show l2vpn bridge-domain 100 mac-table
○ Alternative command to display MAC address table for a bridge domain
Interface and Pseudowire Status
● show interfaces <interface-name> brief
○ Example: show interfaces GigabitEthernet0/0/0/1 brief
○ Displays a brief summary of interface status.
● show interfaces <interface-name> detail
○ Example: show interfaces GigabitEthernet0/0/0/1 detail
○ Provides detailed information about an interface.
● show l2vpn bridge-domain <bridge-domain-id> member detail
○ Example: show l2vpn bridge-domain 100 member detail
○ Shows details of interfaces associated with a bridge domain.
● show l2vpn pw-status all
○ Example: show l2vpn pw-status all
○ Displays the status of all Layer 2 VPN pseudowires.
● show l2vpn pw-status interface <interface-name>
○ Example: show l2vpn pw-status interface GigabitEthernet0/0/0/2
○ Shows the status of pseudowires associated with a speci"c interface.
:
● show l2vpn pw-status pw-id <pw-id>
○ Example: show l2vpn pw-status pw-id 100
○ Displays the status of a speci"c pseudowire.
● show mpls ldp neighbor
○ Example: show mpls ldp neighbor
○ Displays LDP neighbor information, crucial for pseudowire setup.
● show mpls ldp bindings
○ Example: show mpls ldp bindings
○ Displays LDP bindings.
● show mpls forwarding-table
○ Example: show mpls forwarding-table
○ Shows MPLS forwarding table.
EVPN
● show evpn evi detail
○ Example: show evpn evi detail instance 10
○ Displays EVPN EVI (Ethernet VPN Instance) details.
● show evpn mac-ip-table vpn-id <evi>
○ Example: show evpn mac-ip-table vpn-id 10
○ Shows the MAC/IP table for an EVPN instance.
● show evpn route vpn-id <evi> mac
○ Example: show evpn route vpn-id 10 mac
○ Displays MAC routes in EVPN.
● show evpn route vpn-id <evi> ip
○ Example: show evpn route vpn-id 10 ip
○ Displays IP routes in EVPN.
● show bgp l2vpn evpn summary
○ Example: show bgp l2vpn evpn summary
○ Displays BGP EVPN summary.
● show bgp l2vpn evpn neighbors <neighbor-address> advertised-routes
* Example: show bgp l2vpn evpn neighbors 192.168.1.1 advertised-routes
* Shows advertised EVPN routes.
● show bgp l2vpn evpn neighbors <neighbor-address> received-routes
* Example: show bgp l2vpn evpn neighbors 192.168.1.1 received-routes
* Shows received EVPN routes.
Layer 3 VPN
VRF
● show vrf
○ Example: show vrf
○ Displays a list of con"gured VRFs (Virtual Routing and Forwarding instances).
● show vrf detail <vrf-name>
○ Example: show vrf detail customer-a
○ Provides detailed information about a speci"c VRF.
Interface and Routing
● show interfaces <interface-name> vrf
○ Example: show interfaces GigabitEthernet0/0/0/2 vrf
○ Shows the VRF associated with an interface.
● show route vrf <vrf-name>
:
○ Example: show route vrf customer-a
○ Displays the routing table for a speci"c VRF.
● show route vrf <vrf-name> <pre"x>
○ Example: show route vrf customer-a 192.168.1.0/24
○ Displays a speci"c route in a VRF's routing table.
VPNv4/VPNv6
● show bgp vpnv4 unicast summary
○ Example: show bgp vpnv4 unicast summary
○ Displays a summary of VPNv4 BGP information.
● show bgp vpnv6 unicast summary
○ Example: show bgp vpnv6 unicast summary
○ Displays a summary of VPNv6 BGP information.
● show bgp vpnv4 unicast neighbors <neighbor-address> advertised-routes vrf <vrf-name>
○ Example: show bgp vpnv4 unicast neighbors 10.1.1.1 advertised-routes vrf
customer-a
○ Shows advertised VPNv4 routes to a neighbor for a speci"c VRF.
● show bgp vpnv4 unicast neighbors <neighbor-address> received-routes vrf <vrf-name>
○ Example: show bgp vpnv4 unicast neighbors 10.1.1.1 received-routes vrf customer-a
○ Shows received VPNv4 routes from a neighbor for a speci"c VRF.
● show bgp vpnv6 unicast neighbors <neighbor-address> advertised-routes vrf <vrf-name>
○ Example: show bgp vpnv6 unicast neighbors 10.1.1.1 advertised-routes vrf
customer-a
○ Shows advertised VPNv6 routes.
● show bgp vpnv6 unicast neighbors <neighbor-address> received-routes vrf <vrf-name>
○ Example: show bgp vpnv6 unicast neighbors 10.1.1.1 received-routes vrf customer-a
○ Shows received VPNv6 routes.
● show bgp vpnv4 unicast route <route-distinguisher>:<pre"x>
○ Example: show bgp vpnv4 unicast route 100:1:192.168.1.0/24
○ Displays a speci"c VPNv4 route.
● show bgp vpnv6 unicast route <route-distinguisher>:<pre"x>
○ Example: show bgp vpnv6 unicast route 100:1:2001:db8:1::/64
○ Displays a speci"c VPNv6 route.
MPLS Forwarding
● show mpls forwarding-table vrf <vrf-name>
○ Example: show mpls forwarding-table vrf customer-a
○ Displays the MPLS forwarding table for a speci"c VRF.
● show mpls ldp bindings vrf <vrf-name>
○ Example: show mpls ldp bindings vrf customer-a
○ Displays MPLS LDP bindings for a VRF.
ARP
● show arp
○ Example: show arp
○ Displays the ARP table.
● show arp vrf <vrf-name>
○ Example: show arp vrf customer-a
○ Displays the ARP table for a speci"c VRF.
● show arp interface <interface-name>
○ Example: show arp interface GigabitEthernet0/0/0/1
:
○ Displays the ARP table for a speci"c interface.
BGP (General)
● show bgp summary
○ Example: show bgp summary
○ Displays a summary of BGP information.
● show bgp neighbors
○ Example: show bgp neighbors
○ Displays BGP neighbor information.
● show bgp neighbors <neighbor-address>
○ Example: show bgp neighbors 192.168.2.1
○ Displays detailed information about a speci"c BGP neighbor.
● show bgp sessions
○ Example: show bgp sessions
○ Displays BGP sessions.
● show bgp
○ Example: show bgp
○ Displays the BGP routing table.
● show bgp <pre"x>
○ Example: show bgp 10.0.0.0/8
○ Displays BGP information for a speci"c pre"x.
● show bgp detail <pre"x>
○ Example: show bgp detail 10.0.0.0/8
○ Shows detailed BGP information.
● show bgp community <community-value>
○ Example: show bgp community 65530:100
○ Displays BGP routes with a speci"c community.
● show bgp as-path <as-path-regex>
○ Example: show bgp as-path ^65530
○ Displays BGP routes matching an AS path.
● show policy-map
○ Example: show policy-map
○ Displays con"gured policy maps.
● show route-policy
○ Example: show route-policy export-policy-customer-a
○ Displays con"gured route policies.
● show bgp neighbors <neighbor-address> policy
○ Example: show bgp neighbors 192.168.2.1 policy
○ Displays the BGP policies applied to a neighbor.
General Troubleshooting
● show interfaces <interface-name>
○ Example: show interfaces GigabitEthernet0/0/0/1
○ Displays detailed interface information.
● show interfaces <interface-name> counters
○ Example: show interfaces GigabitEthernet0/0/0/1 counters
○ Displays interface counters.
● ping <destination-ip> [source <source-ip> vrf <vrf-name>]
○ Example: ping 192.168.1.1 vrf customer-a
○ Sends ICMP echo requests (ping).
● traceroute <destination-ip> [source <source-ip> vrf <vrf-name>]
○ Example: traceroute 192.168.1.1 vrf customer-a
:
○ Traces the route to a destination.
● show logging
○ Example: show logging
○ Displays system logs.
● show processes memory
○ Example: show processes memory
○ Displays process memory usage.
● show processes cpu
○ Example: show processes cpu
○ Displays process CPU usage.
● show version
○ Example: show version
○ Displays the IOS XR version.
● show running-con"g
○ Example: show running-con"g
○ Displays the running con"guration.
● show tech-support
○ Example: show tech-support
○ Gathers diagnostic information.
Huawei VRP Commands
Layer 2 VPN
MAC Address Table
● display mac-address
○ Example: display mac-address
○ Displays the MAC address table.
● display mac-address vlan <vlan-id>
○ Example: display mac-address vlan 100
○ Displays MAC address entries for a speci"c VLAN.
● display l2vpn bridge-domain <bd-id>
○ Example: display l2vpn bridge-domain 100
○ Displays information about a bridge domain.
● display l2vpn bridge-domain <bd-id> mac-address
○ Example: display l2vpn bridge-domain 100 mac-address
○ Displays MAC addresses in a bridge domain.
Interface and Pseudowire Status
● display interface brief
○ Example: display interface brief
○ Displays a brief summary of interface status.
● display interface <interface-name>
○ Example: display interface GigabitEthernet0/0/1
○ Displays detailed information about an interface.
● display l2vpn bridge-domain <bd-id> interface
○ Example: display l2vpn bridge-domain 100 interface
○ Displays interfaces associated with a bridge domain.
● display l2vpn pw
○ Example: display l2vpn pw
○ Displays information about Layer 2 VPN pseudowires.
:
● display l2vpn pw interface <interface-name>
○ Example: display l2vpn pw interface GigabitEthernet0/0/2
○ Displays pseudowire information for an interface.
● display l2vpn pw peer <peer-ip-address>
○ Example: display l2vpn pw peer 10.1.1.1
○ Displays pseudowire information for a peer.
● display mpls ldp peer
○ Example: display mpls ldp peer
○ Displays MPLS LDP peer information.
● display mpls ldp session
○ Example: display mpls ldp session
○ Displays MPLS LDP sessions.
● display mpls forwarding-table
○ Example: display mpls forwarding-table
○ Displays the MPLS forwarding table.
EVPN
● display evpn evi <evi>
○ Example: display evpn evi 10
○ Displays EVPN EVI information.
● display evpn mac-address vpn-instance <vpn-name>
○ Example: display evpn mac-address vpn-instance vpn1
○ Displays MAC addresses in an EVPN VPN instance.
● display evpn route mac vpn-instance <vpn-name>
○ Example: display evpn route mac vpn-instance vpn1
○ Displays MAC routes in EVPN.
● display evpn route ip vpn-instance <vpn-name>
○ Example: display evpn route ip vpn-instance vpn1
○ Displays IP routes in EVPN.
● display bgp vpnv4 all summary
○ Example: display bgp vpnv4 all summary
○ Displays a summary of VPNv4 BGP.
● display bgp vpnv4 peer <neighbor-address> advertised-routes vpn-instance <vpn-name>
○ Example: display bgp vpnv4 peer 192.168.1.1 advertised-routes vpn-instance vpn1
○ Displays advertised EVPN routes.
● display bgp vpnv4 peer <neighbor-address> received-routes vpn-instance <vpn-name>
* Example: display bgp vpnv4 peer 192.168.1.1 received-routes vpn-instance vpn1
* Displays received EVPN routes.
Layer 3 VPN
VPN Instance
● display ip vpn-instance
○ Example: display ip vpn-instance
○ Displays con"gured VPN instances.
● display ip vpn-instance <vpn-name>
○ Example: display ip vpn-instance customer-a
○ Displays detailed information about a VPN instance.
Interface and Routing
● display interface <interface-name> | include VPN-Instance
:
○ Example: display interface GigabitEthernet0/0/2 | include VPN-Instance
○ Shows the VPN instance associated with an interface.
● display ip routing-table vpn-instance <vpn-name>
○ Example: display ip routing-table vpn-instance customer-a
○ Displays the routing table for a VPN instance.
● display ip routing-table vpn-instance <vpn-name> <pre"x>
○ Example: display ip routing-table vpn-instance customer-a 192.168.1.0
○ Displays a speci"c route in a VPN instance's routing table.
VPNv4
● display bgp vpnv4 all summary
○ Example: display bgp vpnv4 all summary
○ Displays a summary of VPNv4 BGP information.
● display bgp vpnv4 peer <neighbor-address> advertised-routes vpn-instance <vpn-name>
○ Example: display bgp vpnv4 peer 10.1.1.1 advertised-routes vpn-instance customer-
a
○ Shows advertised VPNv4 routes to a neighbor for a speci"c VPN instance.
● display bgp vpnv4 peer <neighbor-address> received-routes vpn-instance <vpn-name>
○ Example: display bgp vpnv4 peer 10.1.1.1 received-routes vpn-instance customer-a
○ Shows received VPNv4 routes from a neighbor for a speci"c VPN instance.
● display bgp vpnv4 route <rd> <pre"x>
○ Example: display bgp vpnv4 route 100:1 192.168.1.0/24
○ Displays a speci"c VPNv4 route.
MPLS Forwarding
● display mpls forwarding-table vpn-instance <vpn-name>
○ Example: display mpls forwarding-table vpn-instance customer-a
○ Displays the MPLS forwarding table for a VPN instance.
● display mpls ldp binding-table vpn-instance <vpn-name>
○ Example: display mpls ldp binding-table vpn-instance customer-a
○ Displays MPLS LDP bindings for a VPN instance.
ARP
● display arp
○ Example: display arp
○ Displays the ARP table.
● display arp vpn-instance <vpn-name>
○ Example: display arp vpn-instance customer-a
○ Displays the ARP table for a VPN instance.
● display arp interface <interface-name>
○ Example: display arp interface GigabitEthernet0/0/1
○ Displays the ARP table for an interface.
BGP (General)
● display bgp peer
○ Example: display bgp peer
○ Displays BGP peer information.
● display bgp peer <neighbor-address>
○ Example: display bgp peer 192.168.2.1
○ Displays detailed information about a BGP peer.
● display bgp routing-table
:
○ Example: display bgp routing-table
○ Displays the BGP routing table.
● display bgp routing-table <pre"x>
○ Example: display bgp routing-table 10.0.0.0/8
○ Displays BGP information for a speci"c pre"x.
● display bgp routing-table detail <pre"x>
○ Example: display bgp routing-table detail 10.0.0.0/8
○ Displays detailed BGP route information.
● display bgp community <community-value>
○ Example: display bgp community 65530:100
○ Displays BGP routes with a speci"c community.
● display bgp as-path <as-path-regex>
○ Example: display bgp as-path ^65530
○ Displays BGP routes matching an AS path.
● display current-con"guration | section policy-based-route
○ Example: display current-con"guration | section policy-based-route
○ Displays policy-based routing con"guration.
● display current-con"guration | section ip pre"x-list
○ Example: display current-con"guration | section ip pre"x-list
○ Displays IP pre"x list con"gurations.
● display current-con"guration | section route-policy
○ Example: display current-con"guration | section route-policy
○ Displays route policy con"gurations.
● display bgp peer <neighbor-address> policy
○ Example: display bgp peer 192.168.2.1 policy
○ Displays BGP peer policies.
General Troubleshooting
● display interface <interface-name>
○ Example: display interface GigabitEthernet0/0/1
○ Displays detailed interface information.
● display interface <interface-name> brief
○ Example: display interface GigabitEthernet0/0/1 brief
○ Displays a brief summary of interface status.
● display interface <interface-name> statistics
○ Example: display interface GigabitEthernet0/0/1 statistics
○ Displays interface statistics.
● ping -vpn-instance <vpn-name> <destination-ip> [-s <source-ip>]
○ Example: ping -vpn-instance customer-a 192.168.1.1
○ Sends ICMP echo requests (ping) within a VPN instance.
● tracert -vpn-instance <vpn-name> <destination-ip> [-s <source-ip>]
○ Example: tracert -vpn-instance customer-a 192.168.1.1
○ Traces the route to a destination within a VPN instance.
● display logbu%er
○ Example: display logbu%er
○ Displays system logs.
● display cpu-usage
○ Example: display cpu-usage
○ Displays CPU usage.
● display memory
○ Example: display memory
○ Displays memory usage.
:
● display version
○ Example: display version
○ Displays the VRP version.
● display current-con"guration
○ Example: display current-con"guration
○ Displays the running con"guration.
● save diagnostic information
○ Example: save diagnostic information
○ Saves diagnostic information.
Juniper Junos Commands
Layer 2 VPN
MAC Address Table
● show ethernet-switching table
○ Example: show ethernet-switching table
○ Displays the Ethernet switching table.
● show ethernet-switching table vlan <vlan-id>
○ Example: show ethernet-switching table vlan 100
○ Displays MAC address entries for a speci"c VLAN.
● show l2vpn bridge-domain <bridge-domain-name>
○ Example: show l2vpn bridge-domain bd-100
○ Displays information about a bridge domain.
● show l2vpn bridge-domain <bridge-domain-name> mac-table
○ Example: show l2vpn bridge-domain bd-100 mac-table
○ Displays MAC addresses in a bridge domain
Interface and Pseudowire Status
● show interfaces terse <interface-name>
○ Example: show interfaces terse ge-0/0/0
○ Displays a brief summary of interface status.
● show interfaces extensive <interface-name>
○ Example: show interfaces extensive ge-0/0/0
○ Displays detailed information about an interface.
● show l2vpn bridge-domain <bridge-domain-name> detail
○ Example: show l2vpn bridge-domain bd-100 detail
○ Displays detailed information about a bridge domain.
● show l2vpn pw extensive
○ Example: show l2vpn pw extensive
○ Displays extensive information about Layer 2 VPN pseudowires.
● show l2vpn pw detail interface <interface-name>
○ Example: show l2vpn pw detail interface ge-0/0/1
○ Displays pseudowire details for an interface.
● show l2vpn pw detail neighbor <neighbor-ip-address>
○ Example: show l2vpn pw detail neighbor 10.1.1.1
○ Displays pseudowire details for a neighbor.
● show mpls ldp neighbor
○ Example: show mpls ldp neighbor
○ Displays MPLS LDP neighbor information.
● show mpls ldp session
:
○ Example: show mpls ldp session
○ Displays MPLS LDP sessions.
● show mpls forwarding-table
○ Example: show mpls forwarding-table
○ Displays the MPLS forwarding table.
EVPN
● show evpn instance extensive
○ Example: show evpn instance extensive instance-10
○ Displays EVPN instance information.
● show evpn mac-table instance <instance-name>
○ Example: show evpn mac-table instance instance-10
○ Displays MAC addresses in an EVPN instance.
● show evpn route advertising instance <instance-name> mac
○ Example: show evpn route advertising instance instance-10 mac
○ Displays advertised EVPN MAC routes.
● show evpn route advertising instance <instance-name> ip
○ Example: show evpn route advertising instance instance-10 ip
○ Displays advertised EVPN IP routes.
● show bgp group evpn summary
○ Example: show bgp group evpn summary
○ Displays a summary of BGP EVPN.
● show bgp neighbor <neighbor-address> advertised-routes extensive | match "EVPN"
○ Example: show bgp neighbor 192.168.1.1 advertised-routes extensive | match "EVPN"
○ Displays advertised EVPN routes to a neighbor.
● show bgp neighbor <neighbor-address> received-routes extensive | match "EVPN"
○ Example: show bgp neighbor 192.168.1.1 received-routes extensive | match "EVPN"
○ Displays received EVPN routes from a neighbor.
Layer 3 VPN
Routing Instance
● show routing-instances
○ Example: show routing-instances
○ Displays con"gured routing instances.
● show routing-instances detail <instance-name>
○ Example: show routing-instances detail customer-a
○ Displays detailed information about a routing instance.
Interface and Routing
● show interfaces <interface-name> | match "routing-instance"
○ Example: show interfaces ge-0/0/1 | match "routing-instance"
○ Shows the routing instance associated with an interface.
● show route table <instance-name>.inet.0
○ Example: show route table customer-a.inet.0
○ Displays the IPv4 routing table for a routing instance.
● show route table <instance-name>.inet6.0
○ Example: show route table customer-a.inet6.0
○ Displays the IPv6 routing table for a routing instance.
● show route table <instance-name>.inet.0 <pre"x>
○ Example: show route table customer-a.inet.0 192.168.1.0/24
:
○ Displays a speci"c IPv4 route in a routing instance's table.
VPN-IPv4/VPN-IPv6
● show bgp summary | match "VPN"
○ Example: show bgp summary | match "VPN"
○ Displays a summary of VPN-IPv4 BGP information.
● show bgp summary | match "VPN-IPv6"
○ Example: show bgp summary | match "VPN-IPv6"
○ Displays a summary of VPN-IPv6 BGP information.
● show bgp neighbor <neighbor-address> advertised-routes table <instance-name>.inet.0
○ Example: show bgp neighbor 10.1.1.1 advertised-routes table customer-a.inet.0
○ Shows advertised VPN-IPv4 routes to a neighbor for a routing instance.
● show bgp neighbor <neighbor-address> received-routes table <instance-name>.inet.0
○ Example: show bgp neighbor 10.1.1.1 received-routes table customer-a.inet.0
○ Shows received VPN-IPv4 routes from a neighbor for a routing instance.
● show bgp route <route-distinguisher>:<pre"x> table <instance-name>.inet.0
○ Example: show bgp route 100:1:192.168.1.0/24 table customer-a.inet.0
○ Displays a speci"c VPN-IPv4 route
● show bgp neighbor <neighbor-address> advertised-routes table <instance-name>.inet6.0
○ Example: show bgp neighbor 10.1.1.1 advertised-routes table customer-a.inet6.0
○ Shows advertised VPN-IPv6 routes.
● show bgp neighbor <neighbor-address> received-routes table <instance-name>.inet6.0
○ Example: show bgp neighbor 10.1.1.1 received-routes table customer-a.inet6.0
○ Shows received VPN-IPv6 routes.
● show bgp route <route-distinguisher>:<pre"x> table <instance-name>.inet6.0
* Example: show bgp route 100:1:2001:db8:1::/64 table customer-a.inet6.0
* Displays a speci"c VPN-IPv6 route.
MPLS Forwarding
● show mpls forwarding-table instance <instance-name>
○ Example: show mpls forwarding-table instance customer-a
○ Displays the MPLS forwarding table for a routing instance.
● show mpls ldp session instance <instance-name>
○ Example: show mpls ldp session instance customer-a
○ Displays MPLS LDP sessions for an instance.
● show mpls ldp neighbor instance <instance-name>
○ Example: show mpls ldp neighbor instance customer-a
○ Displays MPLS LDP neighbors for an instance.
ARP
● show arp
○ Example: show arp
○ Displays the ARP table.
● show arp routing-instance <instance-name>
○ Example: show arp routing-instance customer-a
○ Displays the ARP table for a routing instance.
● show arp interface <interface-name>
○ Example: show arp interface ge-0/0/1
○ Displays the ARP table for an interface.
BGP (General)
:
● show bgp summary
○ Example: show bgp summary
○ Displays a summary of BGP information.
● show bgp neighbor
○ Example: show bgp neighbor
○ Displays BGP neighbor information.
● show bgp neighbor <neighbor-address>
○ Example: show bgp neighbor 192.168.2.1
○ Displays detailed information about a BGP neighbor.
● show route protocol bgp
○ Example: show route protocol bgp
○ Displays BGP routes in the routing table.
● show route <pre"x>
○ Example: show route 10.0.0.0/8
○ Displays routing information for a speci"c pre"x.
● show route detail <pre"x>
○ Example: show route detail 10.0.0.0/8
○ Displays detailed routing information.
● show bgp community <community-value>
○ Example: show bgp community 65530:100
○ Displays BGP routes with a speci"c community.
● show route policy <policy-name>
○ Example: show route policy export-policy-customer-a
○ Displays route policy.
● show con"guration groups <group-name>
○ Example: show con"guration groups bgp-peers
○ Displays BGP peer group con"guration.
● show bgp neighbor <neighbor-address> policy
○ Example: show bgp neighbor 192.168.2.1 policy
○ Displays BGP neighbor policies.
General Troubleshooting
● Service Provider
show interfaces Router Comm…
<interface-name>
○ Example: show interfaces ge-0/0/1
○ Displays detailed interface information.
● show interfaces <interface-name> terse
○ Example: show interfaces ge-0/0/1 terse
○ Displays a brief summary of interface status.
● show interfaces <interface-name> extensive
○ Example: show interfaces ge-0/0/1 extensive
○ Displays extensive interface information.
● ping <destination-ip> [source <source-ip> routing-instance <instance-name>]
○ Example: ping 192.168.1.1 routing-instance customer-a
○ Sends ICMP echo requests (ping) within a routing instance.
● traceroute <destination-ip> [source <source-ip> routing-instance <instance-name>]
○ Example: traceroute 192.168.1.1 routing-instance customer-a
○ Traces the route to a destination within a routing instance.
● show log messages
○ Example: show log messages
○ Displays system log messages.
● show system processes extensive
○ Example: show system processes extensive
:
○ Displays detailed process information.
● show system memory
○ Example: show system memory
○ Displays system memory usage.
● show version
○ Example: show version
○ Displays the Junos version.
● show con"guration
○ Example: show con"guration
○ Displays the current con"guration.
● show system snapshot
○ Example: show system snapshot
○ Displays system snapshot information.
Key Considerations:
● Regular Updates: Router operating systems are updated frequently. Always refer to the
o&cial vendor documentation (Cisco, Huawei, Juniper) for the most accurate and up-to-
date command information.
● Context is Crucial: The output of these commands depends heavily on the speci"c
network con"guration. The examples provided are general illustrations.
● Security: Be mindful of the commands you use, especially in a production environment.
Some commands can reveal sensitive information.
● Online Resources: Utilize vendor websites, online forums, and knowledge bases for
additional information and troubleshooting tips.
Edit with the Docs app
Make tweaks, leave comments, and share with
others to edit at the same time.
NO THANKS GET THE APP
: