H3C S5820V2 series Скачать руководство пользователя страница 17

10 

[Sysname] ip vpn-instance vpn1 

[Sysname-vpn-instance-vpn1] import route-policy poly-1 

# Apply import routing policy 

poly-2

 to the IPv4 VPN of VPN instance 

vpn2

<Sysname> system-view 

[Sysname] ip vpn-instance vpn2 

[Sysname-vpn-instance-vpn2] ipv4-family 

[Sysname-vpn-ipv4-vpn2] import route-policy poly-2 

# Apply import routing policy 

poly-3

 to the IPv6 VPN of VPN instance 

vpn3

<Sysname> system-view 

[Sysname] ip vpn-instance vpn3 

[Sysname-vpn-instance-vpn3] ipv6-family 

[Sysname-vpn-ipv6-vpn3] import route-policy poly-3 

Related commands 

 

export route-policy 

 

route-policy

 (

Layer 3—IP Routing Command Reference

ip binding vpn-instance 

Use 

ip binding vpn-instance

 to associate an interface with a VPN instance. 

Use 

undo ip binding vpn-instance

 to remove the association. 

Syntax 

ip binding vpn-instance 

vpn-instance-name 

undo ip binding vpn-instance

 

Default 

No VPN instance is associated with an interface.  

Views 

Interface view 

Predefined user roles 

network-admin 

Parameters 

vpn-instance-name

: Specifies the name of a VPN instance, a string of 1 to 31 case-sensitive characters. 

Usage guidelines 

This command or its undo form clears the IP address and routing protocol configuration on the interface. 

After executing this command or its undo form, use the 

display this

  command  to  view  the  current 

configuration, and reconfigure the IP address and routing protocol on the interface.  
The specified VPN instance must have been created by using the 

ip vpn-instance

 command in system 

view. 
To associate a new VPN instance with an interface, you must remove the previous association by using 
the 

undo ip binding vpn-instance

 command, and then use the 

ip binding vpn-instance

 command to 

associate the new VPN instance with the interface. 

Содержание S5820V2 series

Страница 1: ...H3C S5830V2 S5820V2 Switch Series MCE Command Reference Hangzhou H3C Technologies Co Ltd http www h3c com Software version Release 22xx Document version 6W100 20131105...

Страница 2: ...re 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 the...

Страница 3: ...set Obtaining documentation Technical support Documentation feedback Audience This documentation is intended for Network planners Field technical support and servicing engineers Network administrator...

Страница 4: ...as shown Italic Italic text represents arguments that you replace with actual values Square brackets enclose syntax choices keywords or arguments that are optional x y Braces enclose a set of required...

Страница 5: ...documentation set The H3C S5830V2 S5820V2 documentation set includes Category Documents Purposes Hardware specifications and installation Compliance and safety manual Provides regulatory information...

Страница 6: ...s Provides hardware installation software upgrading and software feature configuration and maintenance documentation Products Solutions Provides information about products and technologies Technical S...

Страница 7: ...xport route policy 7 ext community type 8 import route policy 9 ip binding vpn instance 10 ip vpn instance 11 ipv4 family 11 route distinguisher 12 route tag 13 routing table limit 14 vpn instance cap...

Страница 8: ...of 1 to 79 case sensitive characters Usage guidelines If you perform this command multiple times the last configuration takes effect Examples Configure a description of This is vpn1 for VPN instance...

Страница 9: ...r group grp2 Remote AS 100 Type internal Members 1 1 1 1 Display information about the BGP VPNv4 peer group grp1 for VPN instance vpn1 Sysname display bgp group ipv4 vpn instance vpn1 grp1 BGP peer gr...

Страница 10: ...fo verbose verbose Views Any view Predefined user roles network admin network operator Parameters vpn instance vpn instance name Specifies the name of a VPN instance a string of 1 to 31 case sensitive...

Страница 11: ...tatus of the peer Display detailed information about BGP peers for VPN instance vpn1 Sysname display bgp peer ipv4 vpn instance vpn1 verbose Peer 10 1 1 1 Local 10 1 1 2 Type EBGP link BGP version 4 r...

Страница 12: ...lays brief information about all VPN instances Examples Display information about all VPN instances Sysname display ip vpn instance Total VPN Instances configured 1 VPN Instance Name RD Create time ab...

Страница 13: ...ported reaches this value the device generates a prompt If no threshold is configured this field is not displayed domain id Use domain id to configure an OSPF domain ID Use undo domain id to restore t...

Страница 14: ...uting policy to filter outgoing routes for the VPN instance Such a routing policy is referred to as an export routing policy Use undo export route policy to remove the application Syntax export route...

Страница 15: ...e vpn3 ipv6 family Sysname vpn ipv6 vpn3 export route policy poly 3 ext community type Use ext community type to configure the type code of an OSPF extended community attribute Use undo ext community...

Страница 16: ...uting policy a case sensitive string of 1 to 63 characters Usage guidelines Use this command to apply a routing policy to a VPN instance for more precise and flexible route reception of the VPN instan...

Страница 17: ...yntax ip binding vpn instance vpn instance name undo ip binding vpn instance Default No VPN instance is associated with an interface Views Interface view Predefined user roles network admin Parameters...

Страница 18: ...tance vpn instance name undo ip vpn instance vpn instance name Default No VPN instance is created Views System view Predefined user roles network admin Parameters vpn instance name Specifies the name...

Страница 19: ...No RD is specified for a VPN instance Views VPN instance view Predefined user roles network admin Parameters route distinguisher Specifies the RD for the VPN instance a string of 3 to 21 characters i...

Страница 20: ...al If the BGP AS number is greater than 65535 the default route tag is 0 Views OSPF view Predefined user roles network admin Parameters tag value Specifies the VPN route tag in the range of 0 to 42949...

Страница 21: ...rning threshold in the range of 1 to 100 in percentages When the percentage of the number of existing routes to the maximum number of routes exceeds the specified threshold the system gives an alarm m...

Страница 22: ...capability simple Use vpn instance capability simple to disable routing loop detection for a VPN OSPF process Use undo vpn instance capability to restore the default Syntax vpn instance capability sim...

Страница 23: ...nto VPN routes advertised a peer The peer compares the export targets in the received VPN routes against the local import targets If a match is found the peer adds the received routes to the VPN routi...

Страница 24: ...17 Sysname vpn ipv4 vpn2 vpn target 3 3 export extcommunity Sysname vpn ipv4 vpn2 vpn target 4 4 import extcommunity Sysname vpn ipv4 vpn2 vpn target 5 5 both...

Страница 25: ...s a BGP IPv6 peer group by its name a case sensitive string of 1 to 47 characters If no group is specified this command displays brief information about all BGP IPv6 peer groups vpn instance vpn insta...

Страница 26: ...routes from the peer to maximum routes allowed to learn from the peer If the percentage is reached the system generates alarm messages Configured hold time value Configured Hold Interval in seconds Ke...

Страница 27: ...its name a case sensitive string of 1 to 47 characters ipv6 address Specifies a peer by its IPv6 address log info Displays log information verbose Displays detailed information Usage guidelines If no...

Страница 28: ...m time between advertisements is 30 seconds Optional capabilities Multi protocol extended capability has been enabled Route refresh capability has been enabled Peer preferred value 0 Table 7 Command o...

Страница 29: ...ation with error 6 4 Cease Administrative Reset 27 Mar 2011 15 34 29 Up Table 8 Command output Field Description Peer IP address of the peer Date Date on which the Notification was sent or received Ti...

Страница 30: ...PN view you can configure IPv6 VPN parameters such as the export routing policy and import routing policy Examples In VPN instance view enter IPv6 VPN view Sysname system view Sysname ip vpn instance...

Страница 31: ...tance 3 display bgp peer ipv6 vpn instance 20 display ip vpn instance 5 domain id 6 E export route policy 7 ext community type 8 I import route policy 9 ip binding vpn instance 10 ip vpn instance 1 1...

Отзывы: