IS-IS:
Configuring Single-topology ISIS in Cisco IOS-XR:
CRS-1#configure
CRS-1(config)#router isis1
CRS-1(config-isis)#network49.0001.0001.0002.00
CRS-1(config-isis)#address-family ipv6unicast
CRS-1(config-isis-af)#single-topology
CRS-1(config-isis-if)#exit
CRS-1(config-isis)#interface tenGigE0/0/0/2
CRS-1(config-isis-if)#address-family ipv4unicast
CRS-1(config-isis-if-af)#address-family ipv6unicast
CRS-1(config-isis-if-af)#exit
CRS-1(config-isis-if)exit
CRS-1(config-isis)#interface loopback1
CRS-1(config-isis-if)#address-familly ipv4unicast
CRS-1(config-isis-if-af)#address-family ipv6unicast
CRS-1(config-isis-if-af)#commit
Verifying the Single Topology Model:
CRS-1#show isis instance1
CRS-1#show isis database detail
Configuring and Verify the Multitopology Model:
CRS-1#conf t
CRS-1(config)#router isis1
CRS-1(config-isis)#no address-family ipv6unicast
CRS-1(config-isis)#commit
peerCRS-1#show isis database detail
Configuring and Verify Interface States
CRS-1#configute
CRS-1(config)#router isis1
CRS-1(config-isis)interface tenGig E0/0/0/2
CRS-1(config-isis-if)#?
no Negate a command or set its defaults
Passive Do not establish adjacencies over this interface
Shutdown Shutdown IS-IS on this interface
Suppressed Do not advertise connected prefixes of this interface
CRS-1(config-isis-if)#suppressed
CRS-1(config-isis-if)#end
Verfication ISIS interface States:
CRS-1#show isis interface tenGigE0/0/0/2
Configuring IS-IS NSF and IS-IS Timer
IS-IS Timer:
CRS-1#configure
CRS-1(config)#router isis1
CRS-1(config-isis)lsp-gen-interval maximum-wait40
CRS-1(config-isis)intterface tenGigE0/0/0/2
CRS-1(config-isis-if)#lsp-interval50
IS-IS:NSF Configuration and Verification
CRS-1(config)#router isis1
CRS-1(config-isis)#nsf?
Cisco Cisco Proprietary NSF restart
Ietf IETF NSF restart
Interface-expires#of timers T1can expire waiting for the restart ACK Interface-timer Timer used to wait for a restart ACK(second)
Lifetime Maximum route lifetime following restart(second) CRS-1(config-isis)#nsf cisco
CRS-1(config-isis)#commit
ISIS Verfication:
CRS-1#show isis
Configuring and Verifying BFD in IS-IS:
CRS-1(config)#router isis1
CRS-1(config-isis)#interface TenGigE0/0/0/2
CRS-1(config-isis-if)bfd?
Fast-detect Enable Fast detection
Minimum-interval Hello interval
Multiplier Detect multiplier
CRS-1(config-isis-if)bfd fast-detect?
Ipv4Address-Family
CRS-1(config-isis-if)bfd fast-detect ipv4
CRS-1(config-isis-if)commit
BFD Verification:
CRS-1#show isis interface tenGigE0/0/0/2
IPFRR Configuration and Verification:
CRS-1#configure
CRS-1(config)#router isis1
CRS-1(config-isis)#is-type level-2-only
CRS-1(config-isis)#address family ipv4unicast
CRS-1(config-isis-af)#metric-style wide
CRS-1(config-isis)#interface loopback1
CRS-1(config-isis-if)#address-family ipv4unicast
CRS-1(config-isis-if-af)#ipfrr lfa level1
CRS-1(config-isis-if-af)#interface tenGigE0/0/0/2
CRS-1(config-isis-if-af)#ipfrr lfa lever1
CRS-1#show running-config router isis
Configuring and Verifying Authentication in IOS XR IS-IS: Configuration of Hello Password Authentication:
CRS-1(config)#router isis1
CRS-1(config-isis)interface tenGigE0/0/0/2
CRS-1(config-isis-if)#hello-password hmac-md5clear cisco CRS-1(config-isis-if)#commit
Verification of Committed Configuration:
CRS-1#show running-config router isis
Configuration of LSP Password Authentication:
CRS-1(config)#router isis1
CRS-1(config-isis)lsp-password hmac-md5clear mypassword CRS-1(config-isis)commit
Verification of Committed Configuration:
CRS-1#show running-config router isis
CRS-1#show isis database detail
BGP:
BGP Configuration Modes:
CRS-1(config)#router bgp101
Address Family Configuration Submode:
CRS-1(config)#router bgp101
CRS-1(config-bgp)#address-family?
Ipv4IPv4Address Family
Ipv6IPv6Address Family
Vpnv4VPNv4Address Family
Vpnv6VPNv6Address Family
CRS-1(config-bgp)address-family ipv4?
Mdt Address Family Modifier
Multicast Address Family Modifier
Tunnel Address Family Modifier
Unicast Address Family Modifier
CRS-1(config-bgp)address-family ipv4unicast?
Aggregate-address Configure BGP addregate entries
Allocate-label Allocate label for selected prefixes
Bgp BGP Commands
Distance Define an administrative distance
Maximum-paths Forward packets over multiple pates
Network Specify a network to announce via BGP
Nexthop Nexthop
Redistribute Redistribute information from another routing protocol Table-policy Configure policy for installation of routes to RIB
<cr>
BGP Neighbor Configuration Submode:
CRS-1#configure t
CRS-1(config)#router bgp101
CRS-1(config-bgp)#bgp route-id192.168.254.1
CRS-1(config-bgp)#address-family ipv4unicast
CRS-1(config-bgp-af)#exit
CRS-1(config-bgp)#neighbor192.168.254.4
CRS-1(config-bgp-nbr)#remote-as101
CRS-1(config-bgp-nbr)#update-source loopback0
CRS-1(config-bgp-nbr)#address-family ipv4unicast
CRS-1(config-bgp-nbr-af)#next-hop-self
CRS-1(config-bgp-nbr-af)#default-originate
CRS-1(config-bgp-nbr-af)#commit
Verifying the committed configuration with show command:
CRS-1#show running-config router bgp101
In addition,the ibgp-peer neighbor-group template includes the address-family configuration.The ibgp-peer neighbor-group template is applied using the use neighbor-group ibgp-peer command under the hierarchy of neighbor configuration submode
This command shows the neighbor inheritance for session and AF:
CRS-1#show bgp neighbors192..168.254.4inheritance
More show commands related to BGP templates
CRS-1#show bgp neigbhor-group ibgp-peer users
CRS-1#show bgp session-group ibgp-session users
CRS-1#show bgp af-group ibgp-af-group users
Implementing BGP Policies
Prefix Set Configuration:
CRS-1(config)#prefix-set pfx-1
CRS-1(config-pfx)#192..0.1.1,
CRS-1(config-pfx)#192.0.2.0/24,
CRS-1(config-pfx)#192.0.3.0/24ge28,
CRS-1(config-pfx)#192.0.4.0/24le28,
CRS-1(config-pfx)#192.0.5.0/24ge26le30,
CRS-1(config-pfx)#192.0.6.0/24eq28
CRS-1(config-pfx)#end-set
CRS-1(config)#commit
Using an editor for Editing Sets or Policies
CRS-1(config)#rpl editor?
Emacs Set default RPL editor to Mirco Emacs
Nano Set default RPL editor to nano
Vim Set default RPL editor to vim
CRS-1(config)#rpl editor vim
CRS-1(config)#commit
CRS-1#edit prefix-set pfx-1
AS-Path Set Configuration:
CRS-1(config)#as-path-set path-1
CRS-1(config-as)#ios-regex'_101_',
CRS-1(config-as)#ios-reges'_101$'

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。