background image

 

3-7 

Table 3-3 display rip interface

 command output description 

Field 

Description 

 

Interface-name 

Name of an interface running RIP 

Address/Mask 

IP address and mask of the interface 

Version 

RIP version running on the interface 

MetricIn 

Additional routing metric added to the incoming 

routes 

MetricIn route policy 

Name of the route policy used to add the 

additional routing metric for incoming routes. If no 

route policy is referenced, the field displays 

Not 

designated

.  

MetricOut 

Additional routing metric added to outgoing routes

MetricOut route policy 

Name of the route policy used to add the 

additional routing metric for the outgoing routes. If 

no route policy is referenced, the field displays 

Not designated

Split-horizon 

Indicates whether split-horizon is enabled (ON: 

enabled, OFF: disabled) 

Poison-reverse 

Indicates whether poison-reverse is enabled (ON: 

enabled, OFF: disabled) 

Input/Output 

Indicates if the interface is allowed to receive 

(Input) or send (Output) RIP messages (on means 

it is allowed, off means it is not allowed) 

Current packets number/Maximum packets 

number 

Packets to be sent/Maximum packets that can be 

sent on the interface 

 

display rip route 

Syntax 

display rip process-id route 

ip-address

 { 

mask 

mask-length

 } | 

peer ip-address

 | 

statistics 

View 

Any view 

Default Level 

1: Monitor level 

Parameters 

process-id

: RIP process ID, in the range of 1 to 65535. 

Summary of Contents for s5820x series

Page 1: ...H3C S5820X S5800 Series Ethernet Switches Layer 3 IP Routing Command Reference Hangzhou H3C Technologies Co Ltd http www h3c com Document Version 6W103 20100716 Product Version Release 1110...

Page 2: ...ware Secware Storware NQA VVG V2 G Vn G PSPT XGbus N Bus TiGem InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co Ltd All other trademarks that may be mentioned in this manual are th...

Page 3: ...zation The Layer 3 IP Routing Command Reference comprises these parts IP Routing Basics Configuration Commands Static Routing Configuration Commands RIP Configuration Commands OSPF Configuration Comma...

Page 4: ...or example the New User window appears click OK Multi level menus are separated by angle brackets For example File Create Folder Symbols Convention Description Means reader be extremely careful Improp...

Page 5: ...llation and removal of the OAP cards available for the products H3C Low End Series Ethernet Switches Pluggable Modules Manual Describes the models appearances and specifications of the pluggable modul...

Page 6: ...ssword when the login password is lost Operations and maintenance Release notes Provide information about the product release including the version history hardware and software compatibility matrix v...

Page 7: ...le protocol 1 17 display ipv6 routing table statistics 1 18 display ipv6 routing table verbose 1 19 display router id 1 20 router id 1 21 reset ip routing table statistics protocol 1 21 reset ipv6 rou...

Page 8: ...RIP view 3 29 summary 3 30 timers 3 30 validate source address 3 31 version 3 32 4 OSPF Configuration Commands 4 1 OSPF Configuration Commands 4 1 abr summary OSPF area view 4 1 area OSPF view 4 2 asb...

Page 9: ...4 39 log peer change 4 41 lsa arrival interval 4 42 lsa generation interval 4 42 lsdb overflow limit 4 43 maximum load balancing OSPF view 4 43 maximum routes 4 44 network OSPF area view 4 45 nssa 4...

Page 10: ...nterface 5 9 display isis lsdb 5 12 display isis mesh group 5 14 display isis name table 5 15 display isis peer 5 16 display isis route 5 19 display isis spf log 5 22 display isis statistics 5 23 doma...

Page 11: ...set isis peer 5 56 set overload 5 57 summary IS IS view 5 58 timer lsp generation 5 59 timer lsp max age 5 60 timer lsp refresh 5 61 timer spf 5 61 virtual system 5 62 6 BGP Configuration Commands 6 1...

Page 12: ...olicy import BGP BGP VPN instance view 6 34 graceful restart BGP view 6 35 graceful restart timer restart 6 35 graceful restart timer wait for rib 6 36 group BGP BGP VPN instance view 6 37 import rout...

Page 13: ...ute as BGP BGP VPN instance view 6 65 peer timer BGP BGP VPN instance view 6 66 preference BGP BGP VPN instance view 6 67 reflect between clients BGP view 6 68 reflector cluster id BGP view 6 69 refre...

Page 14: ...ceful restart status 9 7 display ospfv3 interface 9 8 display ospfv3 lsdb 9 10 display ospfv3 lsdb statistic 9 14 display ospfv3 next hop 9 15 display ospfv3 peer 9 16 display ospfv3 peer statistic 9...

Page 15: ...port route isisv6 level 2 into level 1 10 9 ipv6 import route limit 10 10 ipv6 maximum load balancing 10 11 ipv6 preference 10 11 ipv6 summary 10 12 isis ipv6 enable 10 13 11 IPv6 BGP Configuration Co...

Page 16: ...w as loop IPv6 address family view 11 31 peer as number IPv6 address family view 11 32 peer as path acl IPv6 address family view 11 33 peer capability advertise orf 11 33 peer capability advertise orf...

Page 17: ...s path 12 1 apply comm list delete 12 2 apply community 12 2 apply cost 12 3 apply cost type 12 4 apply extcommunity 12 4 apply isis 12 5 apply local preference 12 6 apply origin 12 6 apply preference...

Page 18: ...v4 vpn instance peer 14 5 display bgp vpnv4 vpn instance routing table 14 7 display fib vpn instance 14 10 display fib vpn instance ip address 14 12 display ip routing table vpn instance 14 12 display...

Page 19: ...s a regular expression to filter output information For details about regular expressions see CLI Configuration in the Basic Configuration Guide begin Displays route entries starting from the one spec...

Page 20: ...92 168 80 0 24 Direct 0 0 192 168 80 10 Vlan11 192 168 80 10 32 Direct 0 0 127 0 0 1 InLoop0 Table 1 1 display ip routing table command output description Field Description Destinations Number of dest...

Page 21: ...2 32 Protocol Direct Process ID 0 Preference 0 Cost 0 NextHop 10 1 1 2 Interface Vlan interface20 BkNexthop 0 0 0 0 BkInterface RelyNextHop 0 0 0 0 Neighbour 0 0 0 0 Tunnel ID 0x0 Label NULL State Act...

Page 22: ...btained through routing recursion Neighbour Neighboring address Tunnel ID Tunnel ID Label Label Route status Active This is an active unicast route Adv This route can be advertised Delete This route h...

Page 23: ...router Routes configured manually are marked as static Unicast Unicast routes Inactive Inactive routes Invalid Invalid routes WaitQ The route is the WaitQ queue during route recursion TunE Tunnel Got...

Page 24: ...ic ACL 2000 Sysname acl basic 2000 display ip routing table acl 2000 Routes Matched by Access list 2000 Summary Count 6 Destination Mask Proto Pre Cost NextHop Interface 10 1 1 0 24 Direct 0 0 10 1 1...

Page 25: ...ack0 RelyNextHop 0 0 0 0 Neighbour 0 0 0 0 Tunnel ID 0x0 Label NULL State Active NoAdv Age 1d00h05m42s Tag 0 Destination 10 1 3 0 24 Protocol Direct Process ID 0 Preference 0 Cost 0 NextHop 10 1 3 1 I...

Page 26: ...ith the input subnet mask and ANDs the destination IP address in each route entry with the input subnet mask If the two operations yield the same result for an entry and the entry is active with a sub...

Page 27: ...ination Mask Proto Pre Cost NextHop Interface 11 0 0 0 8 Static 60 0 0 0 0 0 NULL0 11 1 0 0 16 Static 60 0 0 0 0 0 NULL0 11 1 1 0 24 Static 60 0 0 0 0 0 NULL0 Display the matching route entry that has...

Page 28: ...s displayed Examples Configure a prefix list named test that matches routes with prefix 2 2 2 0 and a mask length between 24 and 32 Sysname system view Sysname ip ip prefix test permit 2 2 2 0 24 less...

Page 29: ...bout both active and inactive routes verbose Displays detailed routing table information With this argument absent the command displays brief routing table information Description Use the display ip r...

Page 30: ...play ip routing table vpn instance vpn instance name statistics View Any view Default Level 1 Monitor level Parameters vpn instance vpn instance name Displays routing table statistics for a VPN instan...

Page 31: ...umber of routes that have been removed permanently Total Total number display ipv6 routing table Syntax display ipv6 routing table View Any view Default Level 1 Monitor level Parameters None Descripti...

Page 32: ...tion about both active and inactive routes permitted by the ACL Without this keyword only brief active routing information is displayed Description Use the display ipv6 routing table acl command to di...

Page 33: ...h route entry with the input prefix length If the two operations yield the same result for an entry and the entry is active with a prefix length less than or equal to the input prefix length the entry...

Page 34: ...ipv6 address2 An IPv6 address range from IPv6 address1 to IPv6 address2 prefix length1 prefix length2 Prefix length in the range 0 to 128 verbose Displays detailed information about both active and in...

Page 35: ...matching the IPv6 prefix list Examples Display brief information about active routes matching the IPv6 prefix list test2 Sysname display ipv6 routing table ipv6 prefix test2 Routes Matched by Prefix l...

Page 36: ...Protocol Direct NextHop 1 Preference 0 Interface InLoop0 Cost 0 Direct Routing Table s Status Inactive Summary Count 0 See Table 1 4 for description about the above output display ipv6 routing table s...

Page 37: ...table verbose Syntax display ipv6 routing table verbose View Any view Default Level 1 Monitor level Parameters None Description Use the display ipv6 routing table verbose command to display detailed i...

Page 38: ...he route Neighbour Neighbor address ProcessID Process ID Interface Outbound interface Protocol Routing protocol State State of the route Active Inactive Adv advertised or NoAdv not advertised Cost Cos...

Page 39: ...address is available the highest IP address among physical interfaces is selected as the router ID regardless of the interface state z If the interface whose IP address is the router ID is removed or...

Page 40: ...istics for the VPN instance Sysname1 Sysname reset ip routing table statistics protocol vpn instance Sysname1 all reset ipv6 routing table statistics Syntax reset ipv6 routing table statistics protoco...

Page 41: ...sitive characters Description Use the delete static routes all command to delete all static routes When you use this command to delete static routes the system will prompt you to confirm the operation...

Page 42: ...nce name next hop address preference preference value View System view Default Level 2 System level Parameters vpn instance s vpn instance name 1 6 Specifies the VPN instance name which is a string of...

Page 43: ...the routing table 2 You can implement different routing policies by tuning route preferences For example to enable multiple routes to the same destination address to share load assign the same prefer...

Page 44: ...istakenly considered invalid Examples Configure a static route whose destination address is 1 1 1 1 24 next hop address is 2 2 2 2 tag value is 45 and description information is for internet intranet...

Page 45: ...tance name fast reroute route policy route policy name undo ip route static vpn instance vpn instance name fast reroute View System view Default Level 2 System level Parameters vpn instance vpn instan...

Page 46: ...designate a backup next hop by using route policy frr Sysname system view Sysname bfd echo source ip 1 1 1 1 Sysname ip ip prefix abc index 10 permit 100 1 1 0 24 Sysname route policy frr permit node...

Page 47: ...essages Use the undo checkzero command to disable zero field check The zero field check function is enabled by default After the zero field check is enabled the router discards RIPv1 messages in which...

Page 48: ...re the default metric for redistributed routes as 3 Sysname system view Sysname rip 100 Sysname rip 100 default cost 3 default route Syntax default route only originate cost cost undo default route Vi...

Page 49: ...a VPN instance name a string of 1 to 31 characters Description Use the display rip command to display the current status and configuration information of the specified RIP process z If process id is n...

Page 50: ...process RIP process ID RIP version RIP version 1 or 2 Preference RIP route priority Checkzero Indicates whether the zero field check is enabled for RIPv1 messages Default cost Default cost of the red...

Page 51: ...r the source IP address is checked on the received RIP routing updates Networks Networks enabled with RIP Configured peers Configured neighbors Triggered updates sent Number of sent triggered updates...

Page 52: ...rip process id interface interface type interface number View Any view Default Level 1 Monitor level Parameters process id RIP process ID in the range of 1 to 65535 interface type interface number Sp...

Page 53: ...sed to add the additional routing metric for the outgoing routes If no route policy is referenced the field displays Not designated Split horizon Indicates whether split horizon is enabled ON enabled...

Page 54: ...RA 23 Peer 21 0 0 12 on Vlan interface 2 Destination Mask NextHop Cost Tag Flags Sec 56 0 0 0 8 21 0 0 12 1 0 RA 34 12 0 0 0 8 21 0 0 12 1 0 RA 12 Display routing information for network 56 0 0 0 8 of...

Page 55: ...cates the route state Sec Remaining time of the timer corresponding to the route state Display the routing statistics of RIP process 1 Sysname display rip 1 route statistics Peer Aging Permanent Garba...

Page 56: ...directly connected neighbors z Do not use RIP FRR and BFD for RIP at the same time otherwise RIP FRR may fail to take effect Example Enable RIP FRR and reference route policy frr to specify a backup...

Page 57: ...routes redistributed from the specified routing protocol Otherwise RIP filters all routes to be advertised z If interface type interface number is specified RIP filters only the routes advertised by t...

Page 58: ...coming routes The ip prefix name is a string of 1 to 19 characters gateway ip prefix name References an IP prefix list to filter routes from gateways ip prefix name is a string of 1 to 19 characters i...

Page 59: ...view Sysname acl number 3000 Sysname acl adv 3000 rule 10 permit ip source 113 0 0 0 0 destination 255 255 0 0 0 Sysname acl adv 3000 rule 100 deny ip Sysname acl adv 3000 quit Sysname rip 1 Sysname...

Page 60: ...of a protocol This keyword takes effect only when the protocol is rip ospf or isis allow ibgp When the protocol argument is set to bgp allow ibgp is an optional keyword The import route bgp command on...

Page 61: ...t 4 Configure the default cost for redistributed routes as 3 Sysname rip 1 default cost 3 Redistribute OSPF routes with the cost being the default cost Sysname rip 1 import route ospf maximum load bal...

Page 62: ...nterface not on the specified network RIP neither receives sends routes on it nor forwards interface routes through it Therefore you need to specify the network after enabling RIP to validate RIP on a...

Page 63: ...put delay 30 count 10 peer Syntax peer ip address undo peer ip address View RIP view Default Level 2 System level Parameters ip address IP address of a RIP neighbor in dotted decimal format Descriptio...

Page 64: ...route preference is 100 You can specify a route policy by using the keyword route policy to set a preference for RIP routes matching the route policy z The preference set by the route policy applies...

Page 65: ...Use the reset rip statistics command to clear the statistics of the specified RIP process This command can be used to clear the statistics of debugging Examples Clear statistics in RIP process 100 Sys...

Page 66: ...ple password undo rip authentication mode View Interface view Default Level 2 System level Parameters md5 MD5 authentication mode rfc2082 Uses the message format defined in RFC 2082 key string MD5 key...

Page 67: ...nable BFD on the RIP interface Use the undo rip bfd enable command to restore the default Disabling BFD on a RIP interface will notify BFD to delete the corresponding session By default a RIP interfac...

Page 68: ...metric Use the undo rip default route command to disable the RIP interface from sending a default route By default a RIP interface can advertise a default route if the RIP process is configured with...

Page 69: ...for the routes matching it The name is a string of 1 to 19 characters value Additional metric added to received routes in the range of 0 to 16 Description Use the rip metricin command to configure the...

Page 70: ...policy name value undo rip metricout View Interface view Parameters value Additional metric of sent routes in the range of 1 to 16 Description Use the rip metricout command to add a metric to sent ro...

Page 71: ...d undo rip mib binding View System view Default Level 2 System level Parameters process id RIP process ID in the range of 1 to 65535 Description Use the rip mib binding command to bind MIB operations...

Page 72: ...n interface10 undo rip output rip poison reverse Syntax rip poison reverse undo rip poison reverse View Interface view Default Level 2 System level Parameters None Description Use the rip poison rever...

Page 73: ...t horizon function Only the poison reverse function takes effect if both the split horizon and poison reverse functions are enabled Examples Enable the split horizon function on VLAN interface 10 Sysn...

Page 74: ...sages in broadcast mode multicast Sends RIPv2 messages in multicast mode Description Use the rip version command to specify a RIP version for the interface Use the undo rip version command to remove t...

Page 75: ...lent interface interface type interface number all View RIP view Default Level 2 System level Parameters interface type interface number Specifies an interface by its type and number all Disables all...

Page 76: ...the size of the routing table to enhance the scalability and efficiency of large networks Related commands rip version Examples Disable RIPv2 automatic summarization Sysname system view Sysname rip S...

Page 77: ...nly routes which come from the same neighbor and whose metric is less than 16 will be received by the router to replace unreachable routes z The garbage collect timer defines the interval from when th...

Page 78: ...nd to specify a global RIP version Use the undo version command to remove the configured global RIP version By default if an interface has a RIP version specified the RIP version takes effect if it ha...

Page 79: ...3 33 Sysname system view Sysname rip 100 Sysname rip 100 version 2...

Page 80: ...tise Advertises the summary route or not By default the summary route is advertised cost cost Specifies the cost of the summary route in the range 1 to 16777215 The default cost is the largest cost va...

Page 81: ...Parameters area id ID of an area an IP address or a decimal integer in the range 0 to 4294967295 that is translated into the IP address format by the system Description Use the area command to create...

Page 82: ...igured by default With the asbr summary command configured an ASBR summarizes redistributed routes that fall into the specified address range into a single route If the ASBR resides in an NSSA area it...

Page 83: ...sname ospf 100 area 0 0 0 0 authentication mode md5 bandwidth reference OSPF view Syntax bandwidth reference value undo bandwidth reference View OSPF view Default Level 2 System level Parameters value...

Page 84: ...e the default command to configure default parameters for redistributed routes Use the undo default command to restore default values The cost route type tag and the upper limit are 1 2 1 and 1000 by...

Page 85: ...routing table Without this keyword used the command can distribute a default route in a Type 5 LSA into the OSPF routing domain only when a default route exists in the routing table cost cost Specifie...

Page 86: ...er Related commands import route default Examples Generate a default route in an ASE LSA into the OSPF routing domain no default route configured on the router regardless of whether the default route...

Page 87: ...nd to display information about the routes to OSPF ABR ASBR If you use this command on routers in a stub area no ASBR information is displayed Examples Display information about the routes to the OSPF...

Page 88: ...e the display ospf asbr summary command to display information about the redistributed routes that are summarized If no OSPF process is specified related information of all OSPF processes is displayed...

Page 89: ...mmary net The Count of Route Number of routes that are summarized Destination Destination address of a summarized route Net Mask Network mask of a summarized route Proto Routing protocol Process Proce...

Page 90: ...ount 22 RFC 1583 Compatible Area Count 1 Nssa Area Count 1 7 5 translator state Disabled 7 5 translate stability timer interval 0 ExChange Loading Neighbors 0 Area 0 0 0 1 MPLS TE not enabled Authtype...

Page 91: ...rence Internal route preference ASE Route Preference External route preference SPF Computation count SPF computation count of the OSPF process RFC1583 Compatible Compatible with routing rules defined...

Page 92: ...iority Router priority Designated Router The Designated Router Backup Designated Router The Backup Designated Router Timers Intervals of timers hello dead poll retransmit and transmit delay display os...

Page 93: ...nter Area 3 ASE NSSA 0 Table 4 4 display ospf cumulative command output description Field Description IO statistics Statistics about input output packets and LSAs Type OSPF packet type Input Packets r...

Page 94: ...Table Routing table information Intra Area Intra area route number Inter Area Inter area route number ASE ASE route number display ospf error Syntax display ospf process id error View Any view Defaul...

Page 95: ...ion Packets with duplicate route ID OSPF bad packet Packets illegal OSPF bad version Packets with wrong version OSPF bad checksum Packets with wrong checksum OSPF bad area ID Packets with invalid area...

Page 96: ...less recent LSA LSU packets without latest LSA LS UPD Unknown LSA type LSU packets with unknown LSA type display ospf interface Syntax display ospf process id interface interface type interface number...

Page 97: ...ng Hello packets and the router is trying to determine the identity of the Backup designated router for the network z p 2 p Means the interface will send Hello packets at the interval of HelloInterval...

Page 98: ...s format originate router advertising router id Displays information about LSAs originated by the specified router self originate Displays information about self originated LSAs Description Use the di...

Page 99: ...ion in the LSDB Sysname display ospf 1 lsdb network OSPF Process 1 with Router ID 192 168 1 1 Area 0 0 0 0 Link State Database Type Network LS ID 192 168 0 2 Adv Rtr 192 168 2 1 LS Age 922 Len 32 Opti...

Page 100: ...an NSSA ABR to translate Type 7 LSAs into Type 5 LSAs Seq LSA sequence number Checksum LSA checksum Net Mask Network mask Attached Router ID of the router that established adjacency with the DR and I...

Page 101: ...er verbose interface type interface number neighbor id View Any view Default Level 1 Monitor level Parameters process id OSPF process ID in the range 1 to 65535 verbose Displays detailed neighbor info...

Page 102: ...ue in 33 sec Neighbor is up for 02 03 35 Authentication Sequence 0 Neighbor state change count 6 Table 4 10 display ospf peer verbose command output description Field Description Area areaID interface...

Page 103: ...atabase Description DD sequence number z Exchange In this state the router is sending DD packets to the neighbor describing its entire link state database z Loading In this state the router sends Link...

Page 104: ...ading or Full display ospf peer statistics Syntax display ospf process id peer statistics View Any view Default Level 1 Monitor level Parameters process id OSPF process ID in the range 1 to 65535 Desc...

Page 105: ...ading Number of neighboring routers in the Loading state in the same area Full Number of neighboring routers in the Full state in the same area Total Total number of neighbors under the same state nam...

Page 106: ...ddress Neighbor interface IP address Interface Local interface IP address Area Area ID Request list Request list information Type LSA type LinkState ID Link state ID AdvRouter Advertising router Seque...

Page 107: ...80000004 1 Network 12 18 0 1 2 2 2 2 80000003 1 Sum Net 12 18 1 0 2 2 2 2 80000002 2 Table 4 14 display ospf retrans queue command output description Field Description The Router s Neighbor is Router...

Page 108: ...PF Process 1 with Router ID 192 168 1 2 Routing Tables Routing for Network Destination Cost Type NextHop AdvRouter Area 192 168 1 0 24 1562 Stub 192 168 1 2 192 168 1 2 0 0 0 0 172 16 0 0 16 1563 Inte...

Page 109: ...link Neighbor ID 2 2 2 2 Neighbor State Full Interface 10 1 2 1 Vlan interface20 Cost 1562 State P 2 P Type Virtual Transit Area 0 0 0 1 Timers Hello 10 Dead 40 Retransmit 5 Transmit Delay 1 Table 4...

Page 110: ...default this capability is disabled Examples Enable link local signaling for OSPF process 1 Sysname system view Sysname ospf 1 Sysname ospf 1 enable link local signaling enable log Syntax enable log...

Page 111: ...ation command to enable the OSPF out of band resynchronization OOB Resynch capability Use the undo enable out of band resynchronization command to disable the OSPF out of band resynchronization capabi...

Page 112: ...ho source ip 1 1 1 1 Sysname ospf 100 Sysname ospf 100 fast reroute auto Enable FRR to designate a backup next hop by using route policy frr for OSPF process 100 Sysname system view Sysname bfd echo s...

Page 113: ...lter policy export OSPF view Syntax filter policy acl number ip prefix ip prefix name export protocol process id undo filter policy export protocol process id View OSPF view Default Level 2 System lev...

Page 114: ...tem view Sysname acl number 2000 Sysname acl basic 2000 rule deny source 192 168 10 0 0 0 0 255 Sysname acl basic 2000 quit Sysname ospf 100 Sysname ospf 100 filter policy 2000 export Configure ACL 30...

Page 115: ...ard command to deny permit a route with the specified destination or with the rule rule id deny permit ip source sour addr sour wildcard destination dest addr dest wildcard command to deny permit a ro...

Page 116: ...OB out of band resynchronization with the enable out of band resynchronization command z If the keywords nonstandard and ietf are not specified when OSPF GR is enabled nonstandard is the default Relat...

Page 117: ...process 1 and configure the router as a GR Helper for OSPF neighbors defined in the ACL 2001 Sysname system view Sysname ospf 1 Sysname ospf 1 enable link local signaling Sysname ospf 1 enable out of...

Page 118: ...65535 Description Use the host advertise command to advertise a host route Use the undo host advertise command to remove a host route No host route is advertised by default Examples Advertise route 1...

Page 119: ...distribution from a protocol Route redistribution from another protocol is not configured by default OSPF prioritize routes as follows z Intra area route z Inter area route z Type1 External route z Ty...

Page 120: ...tem view Sysname ospf 100 Sysname ospf 100 import route rip 40 type 2 tag 33 cost 50 log peer change Syntax log peer change undo log peer change View OSPF view Default Level 2 System level Parameters...

Page 121: ...ect routers and bandwidth from being over consumed due to frequent network changes It is recommended the interval set with the lsa arrival interval command is smaller or equal to the initial interval...

Page 122: ...he maximum LSA generation interval as 2 seconds minimum interval as 100 milliseconds and incremental interval as 100 milliseconds Sysname system view Sysname ospf 100 Sysname ospf 100 lsa generation i...

Page 123: ...ng as 2 Sysname system view Sysname ospf 100 Sysname ospf 100 maximum load balancing 2 maximum routes Syntax maximum routes external inter intra number undo maximum routes external inter intra View OS...

Page 124: ...OSPF for the interface attached to the specified network in the area By default an interface neither belongs to any area nor runs OSPF You can configure one or multiple interfaces in an area to run OS...

Page 125: ...y stub area translate always Specifies the NSSA ABR as a translator to translate Type 7 LSAs to Type 5 LSAs translator stability interval value Specifies the stability interval of the translator that...

Page 126: ...stance instance name undo ospf process id View System view Default Level 2 System level Parameters process id OSPF process ID in the range 1 to 65535 router id OSPF Router ID in dotted decimal format...

Page 127: ...ified the cipher type is the default for the MD5 HMAC MD5 authentication mode and the plain type is the default for the simple authentication mode password Password Simple authentication For plain typ...

Page 128: ...Sysname ospf 100 Sysname ospf 100 area 1 Sysname ospf 100 area 0 0 0 1 network 131 119 0 0 0 0 255 255 Sysname ospf 100 area 0 0 0 1 authentication mode simple Sysname ospf 100 area 0 0 0 1 quit Sysna...

Page 129: ...to restore the default By default the OSPF cost for a loopback interface is 0 and an OSPF interface calculates its cost with the formula interface default OSPF cost 100 Mbps interface bandwidth Mbps...

Page 130: ...a DR or BDR The DR priority configuration is not supported on the null and loopback interfaces Examples Set the DR priority on the current interface to 8 Sysname system view Sysname interface vlan int...

Page 131: ...to DD packets that is no real MTU is added Note that z After a virtual link is established via a Virtual Template or Tunnel two devices on the link from different vendors may have different MTU values...

Page 132: ...efault network type is P2P Note that z If a router on a broadcast network does not support multicast you can configure the interface s network type as NBMA z If any two routers on an NBMA network are...

Page 133: ...ocess prioritized treatment command to restore the default By default this function is not enabled Examples Enable OSPF to give priority to receiving and processing Hello packets Sysname system view S...

Page 134: ...ospf timer hello Syntax ospf timer hello seconds undo ospf timer hello View Interface view Default Level 2 System level Parameters seconds Hello interval in seconds in the range 1 to 65535 Description...

Page 135: ...ndo ospf timer poll command to restore the default value By default the poll interval is 120s When an NBMA interface finds its neighbor is down it will send hello packets at the poll interval Note tha...

Page 136: ...l interface Examples Set the LSA retransmission interval to 8 seconds Sysname system view Sysname interface vlan interface 10 Sysname Vlan interface10 ospf timer retransmit 8 ospf trans delay Syntax o...

Page 137: ...to make the network fully meshed any two routers have a direct link in between so OSPF can handle DR BDR election as it does on a broadcast network However since routers on the network cannot find nei...

Page 138: ...command to set the preference of OSPF routes Use the undo preference command to restore the default The preference of OSPF internal routes defaults to 10 and the preference of OSPF external routes def...

Page 139: ...ss graceful restart View User view Default Level 2 System level Parameters process id OSPF process ID in the range 1 to 65535 graceful restart Reset the OSPF process using GR Description Use the reset...

Page 140: ...rfc1583 compatible undo rfc1583 compatible View OSPF view Default Level 2 System level Parameters None Description Use the rfc1583 compatible command to make routing rules defined in RFC 1583 compatib...

Page 141: ...a passive interface which cannot send any hello packet To make no routing information obtained by other routers on a network segment you can use this command to disable the interface from sending OSP...

Page 142: ...authentication failure information virifrxbadpkt Information about error packets received by virtual interfaces virifstatechange Virtual interface state change information viriftxretransmit Virtual in...

Page 143: ...alculation interval you can protect bandwidth and router resources from being over consumed due to frequent network changes With this command configured when network changes are not frequent SPF calcu...

Page 144: ...l 2 System level Parameters None Description Use the stub router command to configure the router as a stub router Use the undo stub router command to restore the default By default no router is config...

Page 145: ...e router every second Description Use the transmit pacing command to configure the maximum number of LSU packets that can be sent every the specified interval Use the undo transmit pacing command to r...

Page 146: ...e a plain password is a string of up to 8 characters and a cipher password is a string of up to 24 characters MD5 HMAC MD5 authentication For plain type a plain password is a string of up to 16 charac...

Page 147: ...password Password For simple authentication mode the password must be plain text For md5 authentication mode the password can be either plain text or cipher text A plaintext password can be a string o...

Page 148: ...System level Parameters None Description Use the auto cost enable command to enable automatic link cost calculation Use the undo auto cost enable command to disable the function This function is disa...

Page 149: ...tomatic link cost calculation Use the undo bandwidth reference command to restore the default By default the bandwidth reference value is 100 Mbps Related commands auto cost enable Examples Configure...

Page 150: ...stem level Parameters narrow Receives and sends only narrow cost style packets The narrow cost ranges from 0 to 63 wide Receives and sends only wide cost style packets The wide cost ranges from 0 to 1...

Page 151: ...route advertise command to advertise a default route of 0 0 0 0 0 Use the undo default route advertise command to disable default route advertisement Default route advertisement is disabled by default...

Page 152: ...e the display isis brief command to view IS IS brief configuration information Examples Display IS IS brief configuration information Sysname display isis brief ISIS 1 Protocol Brief Information netwo...

Page 153: ...Level 1 Monitor level Parameters process id Displays the IS IS debugging switch state for the IS IS process The ID is in the range of 1 to 65535 vpn instance name Displays the IS IS debugging switch...

Page 154: ...r IS IS 1 IS IS 1 Level 1 Restart Status Restart Interval 150 SA Bit Supported Total Number of Interfaces 1 Restart Status RESTARTING Number of LSPs Awaited 3 T3 Timer Status Remaining Time 140 T2 Tim...

Page 155: ...ation is to be displayed verbose Displays detailed IS IS interface information process id Displays the IS IS interface information of the IS IS process The ID is in the range of 1 to 65535 vpn instanc...

Page 156: ...tunnel 1 verbose Interface information for ISIS 1 Interface Tunnel1 Id IPv4 State IPv6 State MTU Type DIS 005 Up Down 16384L1 L2 SNPA Address 0000 0000 0000 IP Address 10 1 1 4 Secondary IP Address e...

Page 157: ...r of invalid Hello packets Lsp Timer Value Minimum interval for sending LSP packets Lsp Transmit Throttle Count Number of LSP packets sent each time Cost Cost of the interface Priority DIS priority Re...

Page 158: ...stance vpn instance name View Any view Default Level 1 Monitor level Parameters l1 level 1 Displays the level 1 LSDB l2 level 2 Displays the level 2 LSDB lspid LSP ID in the form of sysID Pseudo ID fr...

Page 159: ...abase LSPID Seq Num Checksum Holdtime Length ATT P OL 1111 1111 1111 00 00 0x00000005 0x877 1090 68 0 0 0 SOURCE 1111 1111 1111 00 NLPID IPV4 AREA ADDR 10 INTF ADDR 3 1 1 2 NBR ID 1111 1111 1112 01 CO...

Page 160: ...ce INTF ADDR V6 IPv6 address of the originating router s IS ISv6 interface NBR ID Neighbor ID of the originating router IP Internal Internal IP address and mask of the originating router IP External E...

Page 161: ...to belong to mesh group 100 Sysname system view Sysname interface vlan interface 10 Sysname Vlan interface10 isis mesh group 100 Sysname Vlan interface10 interface vlan interface 20 Sysname Vlan inter...

Page 162: ...1 host name RUTB Sysname isis 1 is name map 0000 0000 0041 RUTB Display the IS IS host name to system ID mapping table Sysname isis 1 display isis name table Name table information for ISIS 1 System I...

Page 163: ...2 PRI 64 System Id 1111 1111 1111 Interface Vlan interface1 Circuit Id 1111 1111 1112 01 State Up HoldTime 23s Type L2 L1L2 PRI 64 Display detailed IS IS neighbor information Sysname display isis peer...

Page 164: ...vel 2 and the neighbor is a Level 1 2 router PRI DIS priority of the neighbor Area Address es The neighbor s area address Peer IP Address es IP address of the neighbor Uptime Time that elapsed since t...

Page 165: ...s id Displays the IS IS IPv4 routing information of the IS IS process The ID is in the range of 1 to 65535 vpn instance name Displays the IS IS IPv4 routing information of the VPN instance The vpn ins...

Page 166: ...1 ISIS 1 IPv4 Level 1 Forwarding Table IS IS IPv4 routing information for Level 1 ISIS 1 IPv4 Level 2 Forwarding Table IS IS IPv4 routing information for Level 2 IPv4 Destination IPv4 destination add...

Page 167: ...Direct Vlan1 0x00000000 Flags D Direct R Added to RM L Advertised in LSPs U Up Down Bit Set Table 5 11 display isis route verbose command output description Field Description Route information for ISI...

Page 168: ...mmand to display IS IS SPF log information Examples Display IS IS SPF log information Sysname display isis spf log SPF Log information for ISIS 1 Level Trig Event No Nodes Duration StartTime L2 IS_SPF...

Page 169: ...time display isis statistics Syntax display isis statistics level 1 level 1 2 level 2 process id vpn instance vpn instance name View Any view Default Level 1 Monitor level Parameters level 1 Displays...

Page 170: ...Ps 0000 0000 0003 002 Table 5 13 display isis statistics command output description Field Description Statistics information for ISIS processid Statistics for the IS IS process Level 1 Statistics Leve...

Page 171: ...user918 A cipher password must be a string of 24 characters such as _ TT8F Y 5SQ Q MAF4 1 ip Checks IP related fields in LSPs osi Checks OSI related fields in LSPs Whether a password should use ip or...

Page 172: ...icy name argument is a string of 1 to 19 characters You can specify the backup next hop in the route policy Description Use the fast reroute command to configure IS IS fast reroute FRR Use the undo fa...

Page 173: ...ributed routes a string of 1 to 19 characters For route policy configuration information see Route Policy Commands in the Layer 3 IP Routing Command Reference protocol Filters routes redistributed fro...

Page 174: ...m level Parameters acl number Specifies the number of an ACL that is used to filter routes calculated from received LSPs ranging from 2000 to 3999 For ACL configuration information see ACL Configurati...

Page 175: ...ysname acl basic 2000 rule deny source 192 168 10 0 0 0 0 255 Sysname acl basic 2000 quit Sysname isis 1 Sysname isis 1 filter policy 2000 import Configure ACL 3000 to permit only route 113 0 0 0 16 t...

Page 176: ...d flood count 10 max timer interval 100 graceful restart IS IS view Syntax graceful restart undo graceful restart View IS IS view Default Level 2 System level Parameters None Description Use the grace...

Page 177: ...uppress sa View IS IS view Default Level 2 System level Parameters None Description Use the graceful restart suppress sa command to suppress the SA Suppress Advertisement bit during restart Use the un...

Page 178: ...e external internal Specifies the cost type The internal type indicates internal routes and the external type indicates external routes If external is specified the cost of a redistributed route to be...

Page 179: ...ute policy route policy name tag tag undo import route isis level 2 into level 1 View IS IS view Default Level 2 System level Parameters acl number Specifies the number of an ACL that is used to filte...

Page 180: ...Examples Enable route leaking from Level 2 to Level 1 Sysname system view Sysname isis 1 Sysname isis 1 import route isis level 2 into level 1 import route limit IS IS view Syntax import route limit n...

Page 181: ...ID being 01 0001 Sysname system view Sysname isis 1 Sysname isis 1 network entity 01 0001 0000 0000 0002 00 isis authentication mode Syntax isis authentication mode md5 simple password level 1 level...

Page 182: ...thentication succeeds can the neighbor relationship be formed Note that z For two routers to become neighbors the same authentication mode and password must be specified at both ends z If you configur...

Page 183: ...evel Parameters level 1 Sets the circuit level to Level 1 level 1 2 Sets the circuit level to Level 1 2 level 2 Sets the circuit level to Level 2 Description Use the isis circuit level command to set...

Page 184: ...s operate differently For example broadcast interfaces on a network need to elect a DIS and flood CSNP packets to synchronize the LSDBs while P2P interfaces on a network need not elect a DIS and have...

Page 185: ...set the IS IS cost of an interface Use the undo isis cost command to restore the default No cost is configured by default If neither level 1 nor level 2 is included the cost applies to both level 1 an...

Page 186: ...2 undo isis dis priority level 1 level 2 View Interface view Default Level 2 System level Parameters value Specifies a DIS priority for the interface ranging from 0 to 127 level 1 Applies the DIS prio...

Page 187: ...able Syntax isis enable process id undo isis enable View Interface view Default Level 2 System level Parameters process id Specifies a IS IS process ID ranging from 1 to 65535 The default is 1 Descrip...

Page 188: ...locked An interface not in any mesh group floods received LSPs to other interfaces If the interface is on a NBMA network this mechanism will cause repeated LSP flooding After an interface is added to...

Page 189: ...e system view Sysname isis mib binding 100 isis silent Syntax isis silent undo isis silent View Interface view Default Level 2 System level Parameters None Description Use the isis silent command to d...

Page 190: ...kets without CLVs Use the undo isis small hello command to restore the default An interface sends standard hello packets by default This command is not available in loopback interface view Examples Co...

Page 191: ...sends CSNP packets periodically for LSDB synchronization z This command is not supported in loopback interface view Examples Configure Level 2 CSNP packets to be sent every 15 seconds over VLAN inter...

Page 192: ...pplies to both Level 1 and Level 2 z This command is not supported in loopback interface view Related commands isis timer holding multiplier Examples Configure Level 2 Hello packets to be sent every 2...

Page 193: ...both sent in P2P hello packets and you need not specify Level 1 or Level 2 Related commands isis timer hello Examples Configure the number of Level 2 Hello intervals as 6 for interface VLAN interface...

Page 194: ...to configure the interval for retransmitting LSP packets over a point to point link Use the undo isis timer retransmit command to restore the default By default the retransmission interval is 5 second...

Page 195: ...Level 2 which means it calculates routes and maintains the LSDB for L2 only Description Use the is level command to specify the IS level Use the undo is level command to restore the default The defaul...

Page 196: ...e RUTA is name map Syntax is name map sys id map sys name undo is name map sys id View IS IS view Default Level 2 System level Parameters sys id System ID or pseudonode ID of a remote IS map sys name...

Page 197: ...log peer change IS IS view Syntax log peer change undo log peer change View IS IS view Default Level 2 System level Parameters None Description Use the log peer change command to enable the logging of...

Page 198: ...ers support LSP fragment extension Description Use the lsp fragments extend command to enable an LSP fragment extension mode for a level Use the undo lsp fragments extend command to disable LSP fragme...

Page 199: ...he configured maximum size applies to the current IS IS level Examples Configure the maximum size of the generated Level 2 LSPs as 1024 bytes Sysname system view Sysname isis 1 Sysname isis 1 lsp leng...

Page 200: ...balancing command to restore the default By default the maximum number is 8 Examples Configure the maximum number of equal cost load balanced routes as 2 Sysname system view Sysname isis 100 Sysname i...

Page 201: ...NET as 10 0001 1010 1020 1030 00 of which 10 0001 is the area ID and 1010 1020 1030 is the system ID Sysname system view Sysname isis 1 Sysname isis 1 network entity 10 0001 1010 1020 1030 00 prefere...

Page 202: ...umbered from 1 to 65535 vpn instance vpn instance name Clears the data structure information of a VPN instance named with a string of 1 to 31 characters Description Use the reset isis all command to c...

Page 203: ...r relationship with the neighbor If the neighbor relationship is formed within the nbr timeout interval IS IS keeps the overload bit set if not the bit is cleared system id specifies the neighbor time...

Page 204: ...is not formed within the nbr timeout interval the overload bit is cleared Examples Set overload flag on the current router Sysname system view Sysname isis 1 Sysname isis 1 set overload summary IS IS...

Page 205: ...rval initial interval second wait interval level 1 level 2 undo timer lsp generation level 1 level 2 View IS IS view Default Level 2 System level Parameters maximum interval Maximum wait interval in s...

Page 206: ...LSP will be two times the previous wait interval until the maximum interval is reached z After the network topology is stable that is triggers occur at intervals greater than the maximum interval the...

Page 207: ...esh to restore the default The default LSP refresh interval is 900 seconds Related commands timer lsp max age To refresh LSPs before they are aged out the interval configured by the timer lsp refresh...

Page 208: ...le 3 If maximum interval initial interval and second interval are specified z IS IS waits the initial interval before performing the first SPF calculation z When SPF calculation triggers occur at inte...

Page 209: ...nd to configure a virtual system ID for the IS IS process Use the undo virtual system command to remove a virtual system ID Up to 50 virtual system IDs can be configured for the IS IS process Examples...

Page 210: ...2 System level Parameters ip address Summary address mask Summary route mask in dotted decimal notation mask length Length of summary route mask in the range 0 to 32 as set Creates a summary with AS s...

Page 211: ...tes still advertised use the if match clause of the route policy command origin policy Selects only routes satisfying the routing policy for route summarization attribute policy Sets attributes except...

Page 212: ...ric for making load balancing decision Instead it implements load balancing using route selection rules Related commands display bgp routing table Examples In BGP view set the number of routes partici...

Page 213: ...p ipv4 family vpn instance vpn1 Sysname bgp vpn1 bestroute as path neglect bestroute compare med BGP BGP VPN instance view Syntax bestroute compare med undo bestroute compare med View BGP view BGP VPN...

Page 214: ...to disable the comparison The comparison is not enabled by default The system only compares MED values for paths from peers within the confederation Paths from external ASs are advertised throughout t...

Page 215: ...escription Use the compare different as med command to enable the comparison of the MED for paths from peers in different ASs Use the undo compare different as med command to disable the comparison Th...

Page 216: ...the next hop MED local preference are not discarded when crossing each sub AS The sub ASs still look like a whole from the perspective of other ASs This can ensure the integrity of the former AS and s...

Page 217: ...mpliant with RFC3065 and comprises two sub ASs 64000 and 65000 Sysname system view Sysname bgp 64000 Sysname bgp confederation id 100 Sysname bgp confederation peer as 65000 Sysname bgp confederation...

Page 218: ...value is 15 minutes half life unreachable Specifies a half life for suppressed routes from 1 to 45 minutes By default the value is 15 minutes reuse Specifies a reuse threshold value for suppressed rou...

Page 219: ...ult ipv4 unicast command to enable the default use of IPv4 unicast address family for the peers that are established using the peer as number command Use the undo default ipv4 unicast command to disab...

Page 220: ...e Use the undo default local preference command to restore the default value By default the default local preference is 100 Using this command can affect BGP route selection Examples In BGP view set t...

Page 221: ...e smallest MED as the best external route Examples In BGP view configure the default MED as 25 Sysname system view Sysname bgp 100 Sysname bgp default med 25 In BGP VPN instance view configure the def...

Page 222: ...splay bgp group group name View Any view Default Level 1 Monitor level Parameters group name Peer group name a string of 1 to 47 characters Description Use the display bgp group command to display pee...

Page 223: ...l Keepalive timer value Keepalive interval Minimum time between advertisement runs Minimum interval for route advertisements Peer Preferred Value Preferred value specified for the routes from the peer...

Page 224: ...cal Router ID is 10 1 4 2 Local AS Number is 400 Network Mask Route policy Short cut 100 1 2 0 255 255 255 0 100 1 1 0 255 255 255 0 Short cut Table 6 3 display bgp network command output description...

Page 225: ...ount of routes that reference the path MED MED of the path Path AS_PATH attribute of the path recording the ASs it has passed to avoid routing loops Origin attribute of the path i Indicates the route...

Page 226: ...Hold Time 180 sec Keepalive Time 60 sec Received Active Hold Time 180 sec Negotiated Active Hold Time 180 sec Peer optional capabilities Peer support bgp multi protocol extended Peer support bgp rout...

Page 227: ...vertised and received in IPv4 unicasts Received Total numbers of received packets and updates Sent Total numbers of sent packets and updates Maximum allowed prefix number Maximum allowed prefix number...

Page 228: ...20 Date Time State Notification Error SubError 10 Jul 2008 15 46 17 Down Send Notification with Error 1 1 Message Header Error Connection Not Synchronized 10 Jul 2008 09 23 00 Up 10 Jul 2008 07 46 17...

Page 229: ...display the prefix information in the ORF packet from the specified BGP peer Examples Display the prefix information in the ORF packet from the BGP peer 10 110 25 20 Sysname display bgp peer 10 110 25...

Page 230: ...es Matches the longest prefix Description Use the display bgp routing table command to display specified BGP routing information in the BGP routing table Examples Display BGP routing table information...

Page 231: ...he route Path AS_PATH attribute recording the ASs the packet has passed to avoid routing loops PrefVal Preferred value Origin attribute of the route which can be one of the following values i Indicate...

Page 232: ...ID is 20 20 20 1 Status codes valid best d damped h history i internal s suppressed S Stale Origin i IGP e EGP incomplete Network NextHop MED LocPrf PrefVal Path Ogn 40 40 40 0 24 30 30 30 1 0 0 300i...

Page 233: ...lays BGP routes that cannot be advertised out the AS If a confederation is configured it displays routes that cannot be advertised out the confederation but can be advertised to other sub ASs in the c...

Page 234: ...specified basic community list 1 16 Specifies the argument before it can be entered up to 16 times Description Use the display bgp routing table community list command to display BGP routing informati...

Page 235: ...use Path Origin d 77 0 0 0 12 1 1 1 00 29 20 100 Table 6 9 display bgp routing table dampened command output description Field Description From IP address from which the route was received Reuse Reuse...

Page 236: ...ife Time in second Half life time of active routes Unreach HalfLife Time in second Half life time of inactive routes Suppress Limit Limit for a route to be suppressed display bgp routing table differe...

Page 237: ...f 1 to 80 characters as path acl number Displays route flap information matching the AS path ACL The number is in the range 1 to 256 ip address Destination IP address mask Mask in dotted decimal notat...

Page 238: ...vel 1 Monitor level Parameters None Description Use the display bgp routing table label command to display labeled BGP routing information Examples Display labeled BGP routing information Sysname disp...

Page 239: ...route statistics Description Use the display bgp routing table peer command to display BGP routing information advertised to or received from the specified BGP peer Related commands display bgp peer E...

Page 240: ...history i internal s suppressed S Stale Origin i IGP e EGP incomplete Network NextHop MED LocPrf PrefVal Path Ogn 40 40 40 0 24 30 30 30 1 0 0 300i See Table 6 8 for description on the fields above di...

Page 241: ...ame bgp 100 Sysname bgp ebgp interface sensitive In BGP VPN instance view enable the clearing of EBGP session on any interface that becomes down the VPN has been created Sysname system view Sysname bg...

Page 242: ...eny permit ip source sour addr sour wildcard command to deny permit a route with the specified destination or with the rule rule id deny permit ip source sour addr sour wildcard destination dest addr...

Page 243: ...destination or with the rule rule id deny permit ip source sour addr sour wildcard destination dest addr dest wildcard command to deny permit a route with the specified destination and mask The sourc...

Page 244: ...capability is disabled During main and backup boards switchover a GR capable BGP speaker can maintain the packet forwarding table During restart it may not maintain the forwarding table Examples Enab...

Page 245: ...t timer wait for rib View BGP view Default Level 2 System level Parameters timer Time to wait for the End of RIB marker in the range 3 to 300 seconds Description Use the graceful restart timer wait fo...

Page 246: ...h AS number 200 and add EBGP peers 10 1 1 1 and 10 1 2 1 into the group Sysname system view Sysname bgp 100 Sysname bgp group test external Sysname bgp peer test as number 200 Sysname bgp peer 10 1 1...

Page 247: ...the redistributed route is used as its MED in the BGP routing domain route policy name Name of a routing policy used to filter redistributed routes a string of 1 to 19 characters Description Use the i...

Page 248: ...VPN instance view Syntax network ip address mask mask length route policy route policy name undo network ip address mask mask length View BGP view BGP VPN instance view Default Level 2 System level P...

Page 249: ...ngth short cut View BGP view BGP VPN instance view Default Level 2 System level Parameters ip address Destination IP address mask Mask of the network address in dotted decimal notation mask length Mas...

Page 250: ...nt to a peer peer group By default no community attribute is advertised to any peer group peer Related commands ip community list if match community apply community see Route Policy Configuration Comm...

Page 251: ...In BGP view advertise the extended community attribute to the peer group test Sysname system view Sysname bgp 100 Sysname bgp peer test advertise ext community In BGP VPN view advertise the extended c...

Page 252: ...f routes from peer 1 1 1 1 as 2 the VPN has been created Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpn instance vpn1 Sysname bgp vpn1 peer 1 1 1 1 allow as loop 2 peer as number BGP...

Page 253: ...ipv4 family vpn instance vpn1 Sysname bgp vpn1 peer test2 as number 200 peer as path acl BGP BGP VPN instance view Syntax peer group name ip address as path acl as path acl number export import undo...

Page 254: ...s bfd View BGP view BGP VPN instance view Default Level 2 System level Parameters ip address IP address of a peer Description Use the peer bfd command to enable BFD for a BGP peer Use the undo peer bf...

Page 255: ...ntional peer capability advertise orf Syntax peer group name ip address capability advertise orf ip prefix both receive send undo peer group name ip address capability advertise orf ip prefix both rec...

Page 256: ...receiving capabilities are enabled locally and on the peer respectively Examples Enable the ORF capability for the BGP peer 18 10 0 9 Then after negotiation the local router can exchange ORF informat...

Page 257: ...ability for the BGP peer 18 10 0 9 suppose the BGP peer 18 10 0 9 can only send non standard ORF packets Sysname system view Sysname bgp 100 Sysname bgp peer 18 10 0 9 as number 100 Sysname bgp peer 1...

Page 258: ...The VPN has been created Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpn instance vpn1 Sysname bgp vpn1 peer 160 89 2 33 as number 200 Sysname bgp vpn1 peer 160 89 2 33 capability adv...

Page 259: ...ecify loopback 0 as the source interface for routing updates to the peer group test Sysname system view Sysname bgp 100 Sysname bgp peer test connect interface loopback 0 In BGP VPN instance view spec...

Page 260: ...el Parameters group name Name of a peer group a string of 1 to 47 characters ip address IP address of a peer description text Description information for the peer peer group a string of 1 to 79 charac...

Page 261: ...estore the default By default this feature is disabled You can use the argument hop count to specify the maximum route hop count of the EBGP connection Examples In BGP view allow establishing the EBGP...

Page 262: ...ress fake as as number undo peer group name ip address fake as View BGP view BGP VPN instance view Default Level 2 System level Parameters group name Name of a peer group a string of 1 to 47 character...

Page 263: ...to 3999 export Applies the filter policy to routes advertised to the peer peer group import Applies the filter policy to routes received from the peer peer group Description Use the peer filter polic...

Page 264: ...make sure that the as number argument is consistent with the specified peer AS number If you have not created the peer to be added the system automatically creates the peer when you execute the comma...

Page 265: ...ssion establishment with peer 10 10 10 10 Sysname system view Sysname bgp 100 Sysname bgp peer 10 10 10 10 ignore In BGP VPN instance view disable session establishment with peer 10 10 10 10 the VPN h...

Page 266: ...export peer keep all routes BGP BGP VPN instance view Syntax peer group name ip address keep all routes undo peer group name ip address keep all routes View BGP view BGP VPN instance view Default Leve...

Page 267: ...ion state and event information for a specified peer or peer group Use the undo peer log change command to remove the configuration The logging is enabled by default Examples In BGP view enable the lo...

Page 268: ...P VPN instance view set the next hop of routes advertised to peer group test to the router itself the VPN has been created Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpn instance vpn1...

Page 269: ...ration on the peer Sysname system view Sysname bgp 100 Sysname bgp peer 10 1 100 1 password simple aabbcc In BGP VPN instance view perform MD5 authentication on the TCP connection set up between the l...

Page 270: ...l also use the value set with the command For information about using a routing policy to set a preferred value see the command peer group name ip address route policy route policy name export import...

Page 271: ...been created Sysname system view Sysname bgp 100 Sysname bgp ipv4 family vpn instance vpn1 Sysname bgp vpn1 peer test public as only peer reflect client BGP BGP VPN instance view Syntax peer group nam...

Page 272: ...onnect time after which the router will re establish a connection to the peer peer group It has no default value and is in the range 1 to 65535 seconds percentage value Threshold value for the router...

Page 273: ...oup Use the undo peer route policy command to remove the configuration By default no routing policy is applied to routes from to the peer peer group The peer route policy command does not apply the if...

Page 274: ...l for sending the same update to peer group test as 10 seconds Sysname system view Sysname bgp 100 Sysname bgp peer test as number 100 Sysname bgp peer test route update interval 10 In BGP VPN instanc...

Page 275: ...hold holdtime undo peer group name ip address timer View BGP view BGP VPN instance view Default Level 2 System level Parameters group name Name of a peer group a sting of 1 to 47 characters ip addres...

Page 276: ...bgp ipv4 family vpn instance vpn1 Sysname bgp vpn1 peer test timer keepalive 60 hold 180 In BGP view configure both the keepalive interval and holdtime interval for peer group test as 0 seconds indic...

Page 277: ...00 Sysname bgp preference 20 20 200 In BGP VPN instance view configure preferences for EBGP IBGP and local routes as 20 20 and 200 the VPN has been created Sysname system view Sysname bgp 100 Sysname...

Page 278: ...reflector cluster id command to remove the configured cluster ID By default each route reflector uses its router ID as the cluster ID Usually there is only one route reflector in a cluster The router...

Page 279: ...h exists in the network you need to configure the peer keep all routes command to save all routing updates before performing soft reset Examples Perform inbound BGP soft reset Sysname refresh bgp all...

Page 280: ...dampening 20 1 0 0 255 255 0 0 reset bgp flap info Syntax reset bgp flap info ip address mask length mask as path acl as path acl number regexp as path regular expression View User view Default Level...

Page 281: ...id View BGP view Default Level 2 System level Parameters router id Router ID in IP address format Description Use the router id command to specify a router ID Use the undo router id command to remove...

Page 282: ...summary automatic command to disable automatic summarization By default automatic summarization is disabled Note that z Neither the default route nor the routes imported using the network command can...

Page 283: ...nchronization is enabled the IBGP route is synchronized and advertised to EBGP peers only when the route is also advertised by IGP Otherwise the IBGP route cannot be advertised to EBGP peers Examples...

Page 284: ...ed hold time is used for negotiation when a peer relationship is reestablished Related commands peer timer Examples Configure keepalive interval and holdtime interval as 60s and 180s Sysname system vi...

Page 285: ...ault route When using this command you will be prompted whether to continue the deletion Related commands ipv6 route static and display ipv6 routing table in IP Routing Basics Configuration Commands i...

Page 286: ...ic command to remove an IPv6 static route An IPv6 static route that has the destination address configured as 0 a prefix length of 0 is a default IPv6 route If the destination address of an IPv6 packe...

Page 287: ...ts Use the undo checkzero command to disable the zero field check The zero field check is enabled by default Some fields in RIPng packet headers must be zero These fields are called zero fields You ca...

Page 288: ...s import route Examples Set the default metric of redistributed routes to 2 Sysname system view Sysname ripng 100 Sysname ripng 100 default cost 2 display ripng Syntax display ripng process id View An...

Page 289: ...e time RIPng update interval in seconds Timeout time RIPng timeout interval in seconds Suppress time RIPng suppress interval in seconds Garbage Collect time RIPng garbage collection interval in second...

Page 290: ...5EFF FE04 B601 cost 2 4000 1 64 via FE80 200 5EFF FE04 3302 cost 2 4000 2 64 via FE80 200 5EFF FE04 3302 cost 2 1111 64 cost 0 RIPng interface Table 8 2 display ripng database command output descript...

Page 291: ...n Field Description Interface name Name of an interface running RIPng Link Local Address Link local address of an interface running RIPng Split horizon Indicates whether the split horizon function is...

Page 292: ...ipng 100 route Route Flags A Aging S Suppressed G Garbage collect Peer FE80 200 5EFF FE04 B602 on Vlan interface1 Dest 3FFE C00 C18 1 64 via FE80 200 5EFF FE04 B602 cost 2 tag 0 A 34 Sec Dest 3FFE C00...

Page 293: ...er policy export protocol process id View RIPng view Default Level 2 System level Parameters acl6 number Specifies the number of an ACL to filter advertised routing information in the range of 2000 to...

Page 294: ...he route the prefix must be valid otherwise the configuration is ineffective Examples Use IPv6 prefix list Filter 2 to filter advertised RIPng updates Sysname system view Sysname ripng 100 Sysname rip...

Page 295: ...figuration is ineffective Examples Reference IPv6 prefix list Filter1 to filter incoming RIPng updates Sysname system view Sysname ripng 100 Sysname ripng 100 filter policy ipv6 prefix Filter1 import...

Page 296: ...outes from other routing protocols z You can configure a route policy to redistribute only needed routes z You can specify a cost for redistributed routes using the cost keyword Related commands defau...

Page 297: ...command to specify the RIPng route preference Use the undo preference command to restore the default By default the RIPng route preference is 100 Using the route policy keyword can set a preference fo...

Page 298: ...RIPng process Examples Reset RIPng process 100 Sysname reset ripng 100 process Warning Reset RIPng process Y N Y reset ripng statistics Syntax reset ripng process id statistics View User view Default...

Page 299: ...Parameters only Indicates that only the IPv6 default route 0 is advertised through the interface originate Indicates that the IPv6 default route 0 is advertised without suppressing other routes cost...

Page 300: ...face view Default Level 2 System level Parameters process id RIPng process ID in the range of 1 to 65535 Description Use the ripng enable command to enable RIPng on the specified interface Use the und...

Page 301: ...t value undo ripng metricout View Interface view Default Level 2 System level Parameters value Additional metric to advertised routes in the range of 1 to 16 Description Use the ripng metricout comman...

Page 302: ...izon Syntax ripng split horizon undo ripng split horizon View Interface view Default Level 2 System level Parameters None Description Use the ripng split horizon command to enable the split horizon fu...

Page 303: ...Description Use the ripng summary address command to configure a summary network to be advertised through the interface Use the undo ripng summary address command to remove the summary Networks falli...

Page 304: ...ss timer defines for how long a RIPng route stays in the suppressed state When the metric of a route is 16 the route enters the suppressed state In the suppressed state only routes which come from the...

Page 305: ...fines the network ID not advertise Specifies not to advertise the summary IPv6 route Description Use the abr summary command to configure an IPv6 summary route on an area border router Use the undo ab...

Page 306: ...d to enter OSPFv3 area view The undo form of the command is not available An area is removed automatically if there is no configuration and no interface is up in the area Examples Enter OSPFv3 Area 0...

Page 307: ...e interface cost value automatically Examples Specify the reference bandwidth value as 1000 Mbps Sysname system view Sysname ospfv3 1 Sysname ospfv3 1 bandwidth reference 1000 default cost Syntax defa...

Page 308: ...nnected to a stub area You have two commands to configure a stub area stub defaulted cost You need to use the stub command on routers connected to a stub area to configure the area as stub If multiple...

Page 309: ...the default route advertise always command to generate a default route in a Type 5 LSA You can reference a routing policy to set the cost and type of the default route z The router advertises the defa...

Page 310: ...of external LSA 0 These external LSAs checksum Sum 0x0000 Number of AS Scoped Unknown LSA 0 Number of LSA originated 3 Number of LSA received 0 Number of areas in this router is 1 Area 0 0 0 1 Number...

Page 311: ...er of interfaces attached to this area SPF algorithm executed 1 times SPF algorithm is executed 1 time Number of LSA Number of LSAs These LSAs checksum Sum Sum of all LSAs checksum Number of Unknown L...

Page 312: ...1 1 1 Process 1 graceful restart information The GR status of OSPFv3 process 1 with router ID 1 1 1 1 is displayed GR status GR status which can be z GR in progress Indicates GR is in process z Calcul...

Page 313: ...t Priority 1 No designated router on this link No backup designated router on this link Timer interval configured Hello 10 Dead 40 Wait 40 Retransmit 5 Hello due in 00 00 02 Neighbor Count is 1 Adjace...

Page 314: ...ranging from 1 to 65535 external Displays information about AS external LSAs inter prefix Displays information about Inter area prefix LSAs inter router Displays information about Inter area router L...

Page 315: ...2 1 Table 9 4 display ospfv3 lsdb command output description Field Description Link LSA Type 8 LSA Link State ID Link State ID Origin Router Originating Router Age Age of LSAs Seq LSA sequence number...

Page 316: ...mber LSA Sequence Number Checksum LSA Checksum Length LSA Length Priority Router Priority Options Options Link Local Address Link Local Address Number of Prefixes Number of Prefixes Prefix Address pre...

Page 317: ...s in the LSDB Sysname display ospfv3 lsdb total OSPFv3 Process 1 Database Total Type Of LSA Number Router LSA 1 Network LSA 0 Inter Area Prefix LSA 0 Inter Area Router LSA 0 AS external LSA 0 Link LSA...

Page 318: ...spfv3 lsdb statistic command to display LSA statistics in the OSPFv3 LSDB Examples Display OSPFv3 LSDB statistics System display ospfv3 lsdb statistic OSPFv3 Router with ID 1 1 1 1 Process 1 LSA Stati...

Page 319: ...to 65535 Description Use the display ospfv3 next hop command to display OSPFv3 next hop information If no process is specified next hop information of all OSPFv3 processes is displayed Examples Displ...

Page 320: ...ption Use the display ospfv3 peer command to display OSPFv3 neighbor information z If no area id is specified the neighbor information of all areas is displayed z If no process id is specified the inf...

Page 321: ...interface address Interface address In the area 0 0 0 1 via interface Vlan interface20 Interface Vlan interface20 belongs to area 1 DR is 0 0 0 0 BDR is 0 0 0 0 Neither DR nor BDR is elected Options...

Page 322: ...eld Description Area ID Area ID Down In this state neighbor initial state the router has not received any information from a neighboring router for a period of time Init In this state the device recei...

Page 323: ...mation of the OSPFv3 link state request list network Displays the Network LSA information of the OSPFv3 link state request list router Displays the Router LSA information of the OSPFv3 link state requ...

Page 324: ...SPFv3 Router with ID 11 1 1 1 Process 1 Interface Neighbor LSA Count Vlan1 10 1 1 1 0 Table 9 14 display ospfv3 request list statistics command output description Field Description Interface Interface...

Page 325: ...of an IPv4 address originate router ip address Specifies the router ID of an advertising router statistics Displays the LSA statistics of the OSPFv3 link state retransmission list Description Use the...

Page 326: ...ess prefix length ipv6 address prefix length abr routes asbr routes all statistics View Any view Default Level 1 Monitor level Parameters process id Specifies the ID of an OSPFv3 process ranging from...

Page 327: ...hop Next hop address Interface Outbound interface Display the statistics of OSPFv3 routing table Sysname display ospfv3 routing statistics OSPFv3 Router with ID 1 1 1 1 Process 1 OSPFv3 Routing Statis...

Page 328: ...s Req 2 1 Ls Upd 16 6 Ls Ack 10 6 Discarded 0 0 Table 9 19 display ospfv3 statistic command output description Field Description Interface Interface name Instance Instance number Type Type of packet I...

Page 329: ...on If no process is specified topology information of all OSPFv3 processes is displayed Examples Display OSPFv3 area 1 topology information Sysname display ospfv3 topology area 1 OSPFv3 Process 1 OSPF...

Page 330: ...ec State P To P Timer intervals configured Hello 10 Dead 40 Wait 40 Retransmit 5 Hello due in 00 00 02 Adjacency state Full Table 9 21 display ospfv3 vlink command output description Field Description...

Page 331: ...ributed routes Use the undo filter policy export command to remove the configuration By default IPv6 OSPFv3 does not filter redistributed routes Note that z If no protocol is specified all redistribut...

Page 332: ...ies the name of an IPv6 prefix list a string of up to 19 characters Description Use the filter policy import command to configure OSPFv3 to filter routes computed from received LSAs Use the undo filte...

Page 333: ...name ospfv3 Sysname ospfv3 1 filter policy 3000 import graceful restart enable Syntax graceful restart enable undo graceful restart enable View OSPFv3 view Default Level 2 System level Parameters None...

Page 334: ...le graceful restart helper strict lsa checking Syntax graceful restart helper strict lsa checking undo graceful restart helper strict lsa checking View OSPFv3 view Default Level 2 System level Paramet...

Page 335: ...smaller than the maximum OSPFv3 neighbor dead time of all the OSPFv3 interfaces otherwise GR restart may fail Related commands ospfv3 timer dead Examples Configure the GR restart interval for OSPFv3 p...

Page 336: ...for redistributed routes 1 or 2 It defaults to 2 Using the import route bgp4 command redistributes only EBGP routes while using the import route bgp4 allow ibgp command redistributes both EBGP and IBG...

Page 337: ...maximum undo maximum load balancing View OSPFv3 view Default Level 2 System level Parameters maximum Maximum number of equal cost routes for load balancing The number ranges from 1 to 8 The argument...

Page 338: ...ess but which cannot generate any LSA Examples Enable the OSPFv3 process with process ID as 120 and configure the Router ID as 1 1 1 1 Sysname system view Sysname ospfv3 120 Sysname ospfv3 120 router...

Page 339: ...65535 for a loopback interface and 1 to 65535 for other interfaces instance id Instance ID of an interface in the range of 0 to 255 which defaults to 0 Description Use the ospfv3 cost command to conf...

Page 340: ...sname interface vlan interface 10 Sysname Vlan interface10 ospfv3 dr priority 8 instance 1 ospfv3 mtu ignore Syntax ospfv3 mtu ignore instance instance id undo ospfv3 mtu ignore instance instance id V...

Page 341: ...t mode instance id The instance ID of an interface in the range of 0 to 255 which defaults to 0 Description Use the ospfv3 network type command to set the network type for an OSPFv3 interface Use the...

Page 342: ...ew Interface view Default Level 2 System level Parameters seconds Dead time in seconds ranging from 1 to 2147483647 instance id Instance ID of an interface in the range of 0 to 255 which defaults to 0...

Page 343: ...ndo ospfv3 timer hello command to restore the default By default the hello interval is 10 seconds for P2P and Broadcast interfaces and is not supported on the P2MP or NBMA interfaces at present Relate...

Page 344: ...Sysname Vlan interface10 ospfv3 timer retransmit 12 instance 1 ospfv3 timer poll Syntax ospfv3 timer poll seconds instance instance id undo ospfv3 timer poll instance instance id View Interface view D...

Page 345: ...ow speed networks Examples Configure the transmission delay as 3 seconds for an interface in instance 1 Sysname system view Sysname interface vlan interface 10 Sysname Vlan interface10 ospfv3 trans de...

Page 346: ...uter id router id undo router id View OSPFv3 view Default Level 2 System level Parameters router id 32 bit router ID in IPv4 address format Description Use the router id command to configure the OSPFv...

Page 347: ...face is able to send OSPFv3 packets by default Multiple processes can disable the same interface from sending OSPFv3 packets but use of the silent interface command takes effect only on interfaces ena...

Page 348: ...er resource from over consumption due to frequent network changes Examples Configure the delay interval and hold interval as 6 seconds for SPF calculation Sysname system view Sysname ospfv3 1 Sysname...

Page 349: ...e neighbor dead time in seconds ranging from 1 to 32768 with the default as 40 This value must be equal to the dead seconds configured on the virtual link peer and at least four times the value of hel...

Page 350: ...9 46 Sysname ospfv3 1 area 10 0 0 0 Sysname ospfv3 1 area 10 0 0 0 vlink peer 10 110 0 3...

Page 351: ...ument refers to both routers and Layer 3 switches display isis route ipv6 Syntax display isis route ipv6 level 1 level 2 verbose process id View Any view Default Level 1 Monitor level Parameters level...

Page 352: ...1 1 PrefixLen 64 Flag Cost 20 Destination 2001 2 PrefixLen 64 Flag D L Cost 10 Next Hop Direct Interface Vlan1 Flags D Direct R Added to RM L Advertised in LSPs U Up Down Bit Set Table 10 1 display is...

Page 353: ...10 Flag D L Admin Tag Src Count 2 NextHop Interface ExitIndex Direct Vlan1 0x00000000 Flags D Direct R Added to RM L Advertised in LSPs U Up Down Bit Set ISIS 1 IPv6 Level 2 Forwarding Table IPV6 Dest...

Page 354: ...Interface Outbound interface ExitIndex Outbound interface index ipv6 default route advertise Syntax ipv6 default route advertise level 1 level 1 2 level 2 route policy route policy name undo ipv6 defa...

Page 355: ...route policy view to generate a default route in L1 and L2 LSPs respectively See Route Policy Configuration Commands in the Layer 3 IP Routing Command Reference for information about the apply isis co...

Page 356: ...anging from 1 to 65535 This argument is available when the protocol is isisv6 ospfv3 or ripng Description Use the ipv6 filter policy export command to configure IPv6 IS IS to filter redistributed rout...

Page 357: ...number ipv6 prefix ipv6 prefix name route policy route policy name import undo ipv6 filter policy import View IS IS view Default Level 2 System level Parameters acl6 number Number of a basic or advan...

Page 358: ...ff ffff ffff ffff ffff 128 Sysname acl6 adv 3000 rule 100 deny ipv6 Sysname acl6 adv 3000 quit Sysname isis 1 Sysname isis 1 ipv6 filter policy 3000 import ipv6 import route Syntax ipv6 import route p...

Page 359: ...command will redistribute both EBGP and IBGP routes The redistributed IBGP routes may cause routing loops Therefore be cautious with this command Examples Configure IPv6 IS IS to redistribute static r...

Page 360: ...routers in the local area Examples Enable IPv6 IS IS route leaking from Level 2 to Level 1 Sysname system view Sysname isis 1 Sysname isis 1 ipv6 import route isisv6 level 2 into level 1 ipv6 import r...

Page 361: ...m load balancing command to restore the default By default the maximum number of equal cost routes for load balancing is 4 Configure the maximum number of equal cost routes for load balancing accordin...

Page 362: ...ength avoid feedback generate_null0_route level 1 level 1 2 level 2 tag tag undo ipv6 summary ipv6 prefix prefix length level 1 level 1 2 level 2 View IS IS view Default Level 2 System level Parameter...

Page 363: ...lt Level 2 System level Parameters process id IS IS process ID ranging from 1 to 65535 The default is 1 Description Use the isis ipv6 enable command to enable IPv6 for the specified IS IS process on t...

Page 364: ...Pv6 address family view Default Level 2 System level Parameters ipv6 address Summary address prefix length Length of summary route mask in the range 0 to 128 as set Creates a summary with AS set attri...

Page 365: ...utes selectively and leave other routes still advertised use the if match clause of the route policy command origin policy Selects only routes satisfying the routing policy for route summarization att...

Page 366: ...GP load balancing to 2 Sysname system view Sysname bgp 100 Sysname bgp ipv6 family Sysname bgp af ipv6 balance 2 bestroute as path neglect IPv6 address family view Syntax bestroute as path neglect und...

Page 367: ...to disable this comparison This comparison is not enabled by default After the bestroute compare med command is executed the balance command does not take effect Examples Compare the MED for paths fro...

Page 368: ...ute med confederation compare different as med IPv6 address family view Syntax compare different as med undo compare different as med View IPv6 address family view Default Level 2 System level Paramet...

Page 369: ...essed By default it is 2000 ceiling Ceiling penalty value from 1001 to 20000 The value must be bigger than the suppress value By default the value is 16000 route policy name Routing policy name a stri...

Page 370: ...nce is 100 Use this command to affect IPv6 BGP route selection Examples Two devices A and B in the same AS are connected to another AS Change the local preference of B from default value 100 to 180 ma...

Page 371: ...the MED of A as 25 to make C select the path from B Sysname system view Sysname bgp 100 Sysname bgp ipv6 family Sysname bgp af ipv6 default med 25 default route imported IPv6 address family view Synt...

Page 372: ...onfigured hold timer value 180 Keepalive timer value 60 Minimum time between advertisement runs is 15 seconds Optional capabilities Route refresh capability has been enabled ORF advertise capability b...

Page 373: ...messages carrying the ORF information If receive is displayed the local BGP router can receive Router refresh messages carrying the ORF information and the peer can send Router refresh messages carry...

Page 374: ...mmand Sysname display bgp ipv6 network BGP Local Router ID is 1 1 1 2 Local AS Number is 200 Network Mask Route policy Short cut 2002 64 2001 64 Short cut Table 11 3 display bgp ipv6 network command o...

Page 375: ...tion Hash Hash index Refcount Count of routes that used the path MED MED of the path Path AS_PATH attribute of the path recording the ASs it has passed for avoiding routing loops Origin attribute of t...

Page 376: ...tion about all peers and peer groups is displayed Examples Display all IPv6 peer information Sysname display bgp ipv6 peer BGP local router ID 192 168 1 40 Local AS number 200 Total number of peers 1...

Page 377: ...e Error Unsupported optional Parameter 10 Jul 2008 06 23 00 Up 10 Jul 2008 05 46 17 Down Send Notification with Error 6 4 Administrative Reset Table 11 6 display bgp ipv6 peer log info command output...

Page 378: ...isplay bgp ipv6 peer 4 4 received ipv6 prefix ORF ipv6 prefix entries 2 ge greater equal le less equal index rule prefix ge le 10 permit 1 64 80 128 20 deny 100 64 80 128 Table 11 7 display bgp ipv6 p...

Page 379: ...ting table information Examples Display the IPv6 BGP routing table Sysname display bgp ipv6 routing table Total Number of Routes 2 BGP Local router ID is 30 30 30 1 Status codes valid best d damped h...

Page 380: ...cPrf Local preference value Path AS_PATH attribute recording the ASs the packet has passed to avoid routing loops PrefVal Preferred value Label Label Origin attribute of the route which can take on on...

Page 381: ...le as path acl 20 BGP Local router ID is 30 30 30 1 Status codes valid best d damped h history i internal s suppressed S Stale Origin i IGP e EGP incomplete Network 30 30 PrefixLen 64 NextHop 30 30 30...

Page 382: ...30 30 1 Status codes valid best d damped h history i internal s suppressed S Stale Origin i IGP e EGP incomplete Network 30 30 PrefixLen 64 NextHop 30 30 30 1 LocPrf PrefVal 0 Label NULL MED 0 Path Og...

Page 383: ...g table dampened Syntax display bgp ipv6 routing table dampened View Any view Default Level 1 Monitor level Parameters None Description Use the display bgp ipv6 routing table dampened command to displ...

Page 384: ...ening Examples Display IPv6 BGP routing dampening parameters Sysname display bgp ipv6 routing table dampening parameter Maximum Suppress Time in second 3069 Ceiling Value 16000 Reuse Value 750 Reach H...

Page 385: ...story i internal s suppressed S Stale Origin i IGP e EGP incomplete Network 222 PrefixLen 64 NextHop 122 2 LocPrf PrefVal 0 Label NULL MED 0 Path Ogn 100 See Table 6 8 for description on the fields ab...

Page 386: ...pv6 routing table flap info command output description Field Description Flaps Number of flaps Duration Flap duration Reuse Reuse time of the route See Table 6 8 for description on the fields above di...

Page 387: ...op 20 20 20 1 LocPrf PrefVal 0 Label NULL MED 0 Path Ogn i Network 40 40 PrefixLen 64 NextHop 30 30 30 1 LocPrf PrefVal 0 Label NULL MED 0 Path Ogn 300 i See Table 6 8 for description on the fields ab...

Page 388: ...rs None Description Use the display bgp ipv6 routing table statistic command to display IPv6 BGP routing statistics Examples Display IPv6 BGP routing statistics Sysname display bgp ipv6 routing table...

Page 389: ...id deny permit ipv6 source sour sour prefix command to deny permit a route with the specified destination or with the rule rule id deny permit ipv6 source sour sour prefix destination dest dest prefix...

Page 390: ...deny permit ipv6 source sour sour prefix destination dest dest prefix command to deny permit a route with the specified destination and prefix The source keyword specifies the destination address of a...

Page 391: ...address family view Default Level 2 System level Parameters protocol Redistributes routes from the specified protocol which can be direct isisv6 ospfv3 ripng and static at present process id Process...

Page 392: ...v6 family command to remove all configurations from the view IPv4 BGP unicast view is the default Examples Enter IPv6 address family view Sysname system view Sysname bgp 100 Sysname bgp ipv6 family Sy...

Page 393: ...es Advertise the network 2002 16 into the IPv6 BGP routing table Sysname system view Sysname bgp 100 Sysname bgp ipv6 family Sysname bgp af ipv6 network 2002 16 peer advertise community IPv6 address f...

Page 394: ...d community attribute to a peer peer group Use the undo peer advertise ext community command to remove the configuration By default no extended community attribute is advertised to a peer peer group E...

Page 395: ...gp 100 Sysname bgp ipv6 family Sysname bgp af ipv6 peer 1 1 allow as loop 2 peer as number IPv6 address family view Syntax peer ipv6 group name ipv6 address as number as number undo peer ipv6 group na...

Page 396: ...tes Description Use the peer as path acl command to specify an AS path ACL to filter routes incoming from or outgoing to a peer peer group Use the undo peer as path acl command to remove the configura...

Page 397: ...efresh messages carrying the standard ORF information to the peer For non standard ORF capability negotiation you need also to configure the peer capability advertise orf non standard command z After...

Page 398: ...F capability for the BGP peer or peer group By default the non standard ORF capability is not enabled for a BGP peer or peer group This command needs to be configured when the peer supports only non s...

Page 399: ...vel Parameters ipv6 group name Name of a peer group a string of 1 to 47 characters ipv6 address IPv6 address of a peer interface type interface number Specifies the type and name of the interface Desc...

Page 400: ...tion Use the peer default route advertise command to advertise a default route to a peer peer group Use the undo peer default route advertise command to disable advertising a default route By default...

Page 401: ...me bgp af ipv6 group test external Sysname bgp af ipv6 peer test description ISP1 peer ebgp max hop IPv6 address family view Syntax peer ipv6 group name ipv6 address ebgp max hop hop count undo peer i...

Page 402: ...IPv6 address of a peer Description Use the peer enable command to enable an IPv4 peer or peer group Use the undo peer enable command to disable an IPv4 peer or peer group By default no IPv4 peer or p...

Page 403: ...ipv6 peer test fake as 200 peer filter policy IPv6 address family view Syntax peer group name ipv4 address ipv6 address filter policy acl6 number import export undo peer group name ipv4 address ipv6...

Page 404: ...n IPv4 or IPv6 peer group a string of 1 to 47 characters ipv4 address IPv4 address of a peer ipv6 address IPv6 address of a peer as number Specifies the AS number of the peer peer group in the range 1...

Page 405: ...af ipv6 peer 1 2 3 4 ignore peer ipv6 prefix Syntax peer group name ipv4 address ipv6 address ipv6 prefix ipv6 prefix name import export undo peer group name ipv4 address ipv6 address ipv6 prefix imp...

Page 406: ...me Name of an IPv4 or IPv6 peer group a string of 1 to 47 characters ipv4 address IPv4 address of a peer ipv6 address IPv6 address of a peer Description Use the peer keep all routes command to save th...

Page 407: ...er ipv6 group name ipv6 address next hop local undo peer ipv6 group name ipv6 address next hop local View IPv6 address family view Default Level 2 System level Parameters ipv6 group name Name of a pee...

Page 408: ...e that If you both reference a routing policy and use the command peer ipv6 group name ipv6 address preferred value value to set a preferred value for routes from a peer the routing policy sets a non...

Page 409: ...range of private AS number is from 64512 to 65535 Examples Configure BGP updates sent to the peer 1 2 3 4 to not carry private AS numbers Sysname system view Sysname bgp 100 Sysname bgp ipv6 family Sy...

Page 410: ...e peer or peer group The limit ranges from 1 to 8192 When the received prefixes from the peer peer group reach the specified upper limit the router will disconnect from the peer peer group alert only...

Page 411: ...from the peer group export Applies the routing policy to routes sent to the peer group Description Use the peer route policy command to apply a routing policy to routes incoming from or outgoing to a...

Page 412: ...update to a peer peer group Use the undo peer route update interval command to restore the default By default the interval is 15 seconds for the iBGP peer and 30 seconds for the eBGP peer Examples Spe...

Page 413: ...Specifies the keepalive interval in seconds ranging from 0 to 21845 holdtime Specifies the holdtime in seconds whose value is 0 or in the range of 3 to 65535 Description Use the peer timer command to...

Page 414: ...reference external preference internal preference local preference route policy route policy name undo preference View IPv6 address family view Default Level 2 System level Parameters external prefere...

Page 415: ...reflector is configured it reflects routes between clients If the clients are fully meshed it is recommended to disable route reflection on the route reflector to reduce costs Related commands reflec...

Page 416: ...s ipv6 address all external group group name internal export import View User view Default Level 1 Monitor level Parameters ipv4 address Soft resets the connection with an IPv4 BGP peer ipv6 address S...

Page 417: ...s the connection to the specified IPv6 BGP peer flap info Clears route flap information all Resets all IPv6 BGP connections external Resets all the eBGP connections group group name Resets the connect...

Page 418: ...ess Clears the flap statistics for the specified IPv6 address prefix length Prefix length of the address in the range 1 to 128 as path acl number Clears the flap statistics for routes matching the AS...

Page 419: ...ally configured router ID is removed will the system select another Router ID To improve network reliability it is recommended to configure the IPv4 address of a loopback interface as the router ID Ex...

Page 420: ...o timer command to restore the default By default the keepalive and holdtime intervals are 60s and 180s respectively Note that z The timers configured with the peer timer command are preferred to the...

Page 421: ...and holdtime interval as 0 seconds indicating no peer connection will time out Sysname system view Sysname bgp 100 Sysname bgp timer keepalive 0 hold 0 In BGP VPN instance view configure both the keep...

Page 422: ...o apply the specified AS numbers to BGP routes Use the undo apply as path command to remove the clause configuration No AS_PATH attribute is set by default With the replace keyword included the apply...

Page 423: ...ure node 10 in permit mode of routing policy policy1 remove the community attributes specified in community list 1 from the BGP routing information that matches AS PATH list 1 Sysname system view Sysn...

Page 424: ...community command to set the specified community attribute for BGP routes Use the undo apply community command to remove the apply clause No community attribute is set for BGP routes by default Relate...

Page 425: ...type View Route policy view Default Level 2 System level Parameters external IS IS external route internal IS IS internal route type 1 Type 1 external route of OSPF type 2 Type 2 external route of OSP...

Page 426: ...y command to apply the specified RT extended community attribute to BGP routes Use the undo apply extcommunity command to remove the clause configuration No RT extended community attribute is set for...

Page 427: ...eference Syntax apply local preference preference undo apply local preference View Route policy view Default Level 2 System level Parameters preference BGP local preference in the range 0 to 429496729...

Page 428: ...if match ip next hop if match cost if match tag route policy apply ip address next hop apply local preference apply cost apply tag Examples C Configure node 10 in permit mode of routing policy policy1...

Page 429: ...apply preferred value preferred value undo apply preferred value View Route policy view Default Level 2 System level Parameters preferred value Preferred value in the range of 0 to 65535 Description U...

Page 430: ...in permit mode of routing policy policy1 set a tag of 100 for OSPF external routes Sysname system view Sysname route policy policy1 permit node 10 Sysname route policy if match route type external typ...

Page 431: ...in the range of 100 to 199 Description Use the display ip community list command to display BGP community list information All BGP community list information will be displayed if no basic community li...

Page 432: ...olicy route policy name View Any view Default Level 1 Monitor level Parameters route policy name Route policy name a string of 1 to 19 characters Description Use the display route policy command to di...

Page 433: ...uting information Use the undo if match as path command to remove the match criterion The match criterion is not configured by default Related commands route policy ip as path acl Examples Define AS P...

Page 434: ...owing BGP routing information with community number 100 or 200 to pass Then configure node 10 in permit mode of routing policy test specify community list 1 for matching Sysname system view Sysname ip...

Page 435: ...entered up to 16 times Description Use the if match extcommunity command to specify extended community list s for matching against the extended community attribute of BGP routing information Use the u...

Page 436: ...mode of routing policy policy1 to permit routing information with the outbound interface as VLAN interface 1 Sysname system view Sysname route policy policy1 permit node 10 Sysname route policy if ma...

Page 437: ...do if match tag View Route policy view Default Level 2 System level Parameters value Specifies a tag from 0 to 4294967295 Description Use the if match tag command to match routing information having t...

Page 438: ...guration in the Basic Configuration Guide Description Use the ip as path command to create an AS PATH list Use the undo ip as path command to remove an AS PATH list No AS PATH list is created by defau...

Page 439: ...to other ASs in the confederation no export subconfed Routes with this attribute cannot be advertised out the local AS or to other sub ASs in the confederation Description Use the ip community list t...

Page 440: ...Sysname ip extcommunity list 1 permit rt 200 200 route policy Syntax route policy route policy name deny permit node node number undo route policy route policy name deny permit node node number View S...

Page 441: ...licy1 permit node 10 Sysname route policy IPv4 Route Policy Configuration Commands apply fast reroute Syntax apply fast reroute backup interface interface type interface number backup nexthop ip addre...

Page 442: ...1 8 apply ip address next hop Syntax apply ip address next hop ip address undo apply ip address next hop View Route policy view Default Level 2 System level Parameters ip address IP address of the ne...

Page 443: ...Display the statistics of IPv4 prefix list abc Sysname display ip ip prefix abc Prefix list abc Permitted 0 Denied 0 index 10 permit 1 0 0 0 11 ge 22 le 32 Table 12 3 display ip ip prefix command outp...

Page 444: ...node 10 Sysname route policy if match acl 2000 if match ip Syntax if match ip next hop route source acl acl number ip prefix ip prefix name undo if match ip next hop route source acl ip prefix View R...

Page 445: ...the undo if match ip prefix command to remove the match criterion No IP prefix list based match criterion is configured by default Related commands if match interface if match ip next hop if match co...

Page 446: ...n mask length 32 If only the max mask length is specified the prefix length range is mask length max mask length If both min mask length and max mask length are specified the prefix length range is mi...

Page 447: ...s undo apply ipv6 next hop View Route policy view Default Level 2 System level Parameters ipv6 address Next hop IPv6 address Description Use the apply ipv6 next hop command to set a next hop for IPv6...

Page 448: ...display ip ipv6 prefix Prefix list6 abc Permitted 0 Denied 0 index 10 permit 0 index 20 permit 1 ge 1 le 128 Table 12 4 display ip ipv6 prefix command output description Field Description Prefix list...

Page 449: ...Use the undo if match ipv6 command to remove the match criterion The match criterion is not configured by default Examples Configure node 10 of route policy policy1 to permit routing information whos...

Page 450: ...he min prefix length and max prefix length are specified the prefix length range is min prefix length max prefix length Description Use the ip ipv6 prefix command to configure an IPv6 prefix list or a...

Page 451: ...f 1 to 19 characters Description Use the reset ip ipv6 prefix command to clear the statistics of the specified IPv6 prefix list If no name is specified the statistics of all IPv6 prefix lists will be...

Page 452: ...e S5820X S5800 series switches implement policy routing through QoS policies For details about traffic classification traffic behavior and QoS policy configuration commands see QoS Policy Configuratio...

Page 453: ...ew VPN instance view Default Level 2 System level Parameters text Description for the VPN instance a string of 1 to 80 characters Description Use the description command to configure a description for...

Page 454: ...tween advertisement runs is 30 seconds Optional capabilities ORF advertise capability based on Prefix type 64 Local send receive Peer Preferred Value 99 No routing policy is configured Members Peer AS...

Page 455: ...network View Any view Default Level 1 Monitor level Parameters vpn instance name Name of a VPN instance a string of 1 to 31 characters Description Use the display bgp vpnv4 network command to display...

Page 456: ...information to be displayed Description Use the display bgp vpnv4 paths command to display the BGP VPNv4 AS path information Examples Display the BGP VPNv4 AS path information of VPN instance vpn1 Sys...

Page 457: ...Display information about BGP VPNv4 peers of VPN instance vpn1 Sysname display bgp vpnv4 vpn instance vpn1 peer BGP local router ID 2 2 2 2 Local AS number 100 Total number of peers 1 Peers in establ...

Page 458: ...tive Hold Time 180 sec Peer optional capabilities Peer support bgp multi protocol extended Peer support bgp route refresh capability Address family IPv4 Unicast advertised and received Received Total...

Page 459: ...bgp route refresh capability The peer supports route refresh capability Address family IPv4 Unicast IPv4 unicast family capability Received Total number of received messages and the number of received...

Page 460: ...to 13 times no export subconfed A route with this attribute is neither advertised out of the local AS nor advertised to the other sub ASs in the confederation no advertise A route with this attribute...

Page 461: ...ressed S Stale Origin i IGP e EGP incomplete Network NextHop MED LocPrf PrefVal Path Ogn i 10 0 0 0 1 1 1 1 0 100 0 i 10 1 1 0 24 0 0 0 0 0 0 20 0 0 0 10 1 1 1 0 99 200 i 123 1 1 1 32 1 1 1 1 0 100 0...

Page 462: ...the specified ACL does not exist the command displays all FIB information of the VPN instance ip prefix ip prefix name Displays the FIB information of the VPN instance permitted by the specified IP p...

Page 463: ...ll Invalid 10 2 1 1 32 127 0 0 1 UH InLoop0 Null Invalid Display the FIB information of VPN instance vpn1 that is permitted by the IP prefix abc0 Sysname system view Sysname ip ip prefix abc0 permit 1...

Page 464: ...the mask nor the mask length argument is specified the command displays the FIB information of the specified VPN instance that matches the specified destination IP address and has the longest mask Oth...

Page 465: ...1 InLoop0 127 0 0 1 32 Direct 0 0 127 0 0 1 InLoop0 10 214 20 0 24 Direct 0 0 10 214 20 3 Vlan20 10 214 20 3 32 Direct 0 0 127 0 0 1 InLoop0 192 168 10 0 24 RIP 100 1 10 214 20 2 Vlan20 Table 14 8 Des...

Page 466: ...9 32 45 vpn2 33 3 2003 10 13 09 42 59 Table 14 9 Description on the fields of the display ip vpn instance command Field Description VPN Instance Name Name of the VPN instance RD RD of the VPN instance...

Page 467: ...hold Value Threshold in percentage for the maximum number of routes supported by the VPN instance If this value is reached the VPN instance rejects new routes Interfaces Interface to which the VPN ins...

Page 468: ...VPN instance a string of 1 to 19 characters Description Use the export route policy command to apply an export routing policy to a VPN instance Use the undo export route policy command to remove the a...

Page 469: ...tively Examples Configure the type codes of OSPF extended community attributes Domain ID Router ID and Route Type as 0x8005 0x8001 and 0x8000 respectively for OSPF process 100 Sysname system view Sysn...

Page 470: ...iltering are advertised by BGP Examples Configure BGP to filter the routes to be advertised by using ACL 2555 Sysname system view Sysname bgp 100 Sysname ipv4 family vpn instance vpn1 Sysname bgp vpn1...

Page 471: ...e extended community attributes is not enough An import routing policy may deny routes that are permitted by the import target attributes By default all routes permitted by the import target attribute...

Page 472: ...iew Sysname interface Vlan interface1 Sysname Vlan interface1 ip binding vpn instance vpn1 Associate Tunnel 0 with the VPN instance named vpn2 Sysname system view Sysname interface Tunnel 0 Sysname Tu...

Page 473: ...ent is a string of 1 to 31 characters Description Use the ipv4 family command to enter BGP VPN instance view Use the undo ipv4 family command to remove all the configurations performed in either of th...

Page 474: ...vpn1 peer 1 1 1 1 allow as loop 2 peer group Syntax peer ip address group group name as number as number undo peer ip address group group name View BGP VPN instance view Default Level 2 System level...

Page 475: ...command to perform a soft reset of BGP connections in a VPN instance Examples Perform a soft reset of all BGP connections in VPN instance vpn1 in the inbound direction to make new configurations take...

Page 476: ...s mask Network mask in the format of X X X X mask length Length of the network mask in the range 0 to 32 Description Use the reset bgp vpn instance dampening command to clear the route flap dampening...

Page 477: ...for the VPN instance a string of 3 to 21 characters in either of the following three formats z 16 bit AS number 32 bit user defined number For example 101 3 z 32 bit IP address 16 bit user defined num...

Page 478: ...system still accepts routes and generates only a SYSLOG error message Description Use the routing table limit command to limit the maximum number of routes in a VPN instance preventing too many route...

Page 479: ...n nn or IP address nn 1 8 means that you can specify this argument for up to 8 times A VPN target attribute can be of 3 to 21 characters and in one the following formats z 16 bit AS number 32 bit user...

Page 480: ...instance with VPN targets Sysname system view Sysname ip vpn instance vpn1 Sysname vpn instance vpn1 route distinguisher 100 1 Sysname vpn instance vpn1 vpn target 3 3 export extcommunity EVT Assignme...

Page 481: ...ance IPv6 address family view 11 2 bandwidth reference IS IS view 5 3 bandwidth reference OSPF view 4 4 bandwidth reference 9 2 bestroute as path neglect BGP BGP VPN instance view 6 3 bestroute as pat...

Page 482: ...splay bgp ipv6 routing table flap info 11 22 display bgp ipv6 routing table peer 11 23 display bgp ipv6 routing table regular expression 11 24 display bgp ipv6 routing table statistic 11 25 display bg...

Page 483: ...ospf brief 4 10 display ospf cumulative 4 13 display ospf error 4 15 display ospf interface4 17 display ospf lsdb4 18 display ospf nexthop 4 21 display ospf peer statistics 4 25 display ospf peer 4 22...

Page 484: ...9 31 graceful restart suppress sa 5 31 graceful restart timer restart 6 35 graceful restart timer wait for rib 6 36 group BGP BGP VPN instance view 6 37 group IPv6 address family view 11 27 H host adv...

Page 485: ...log peer change6 39 log peer change9 32 lsa arrival interval 4 42 lsa generation interval 4 42 lsdb overflow limit 4 43 lsp fragments extend5 52 lsp length originate 5 52 lsp length receive 5 53 M ma...

Page 486: ...ndard IPv6 address family view 11 35 peer capability advertise orf non standard 6 47 peer capability advertise orf 11 33 peer capability advertise orf 6 46 peer capability advertise route refresh 11 3...

Page 487: ...ddress family view 11 49 peer substitute as BGP BGP VPN instance view 6 65 peer substitute as IPv6 address family view 11 49 peer timer BGP BGP VPN instance view 6 66 peer timer IPv6 address family vi...

Page 488: ...router id 1 21 router id 11 55 router id 6 72 router id 9 42 routing table limit 14 26 S set overload 5 57 silent interface OSPF view 4 62 silent interface RIP view 3 29 silent interface OSPFv3 view 9...

Reviews: