Dell Force10 C150 Configuration Manual page 1161

Ftos configuration guide ftos 8.4.2.7 e-series terascale, c-series, s-series (s50/s25)
Hide thumbs Also See for Force10 C150:
Table of Contents

Advertisement

Configure a standard ACL
To configure a standard ACL with XML, first enter FTOS XML mode, and then construct a configuration
request, as described above. An example of a complete standard ACL configuration request message is:
<?xml version="1.0" encoding="UTF-8"?>
<request MajorVersion="1" MinorVersion="0">
<cli>
<configuration>
ip access list standard ToOspf
<command>
seq 5 deny any
<command>
seq 10 deny 10.2.0.0 /16
<command>
seq 15 deny 10.3.0.0 /16
<command>
seq 20 deny 10.4.0.0 /16
<command>
seq 25 deny 10.5.0.0 /16
<command>
seq 30 deny 10.6.0.0 /16
<command>
seq 35 deny 10.7.0.0 /16
<command>
seq 40 deny 10.8.0.0 /16
<command>
seq 45 deny 10.9.0.0 /16
<command>
seq 50 deny 10.10.0.0 /16
<command>
</configuration>
</cli>
</request>
Configure an extended ACL
To configure an extended ACL through XML, enter FTOS XML mode and construct an XML
configuration request (see
message is:
<?xml version="1.0" encoding="UTF-8"?>
<request MajorVersion="1" MinorVersion="0">
<cli>
<configuration>
interface GigabitEthernet 0/0
<command>
ip address 10.2.1.100 255.255.255.0
<command>
ip access-group nimule in no shutdown
<command>
</configuration>
</cli>
</request>
Apply an IP ACL
To apply the IP ACL (standard or extended) that you created, above, to a physical or port channel interface,
construct an XML configuration request (see
the appropriate CLI commands, as exemplified here:
<?xml version="1.0" encoding="UTF-8"?>
<request MajorVersion="1" MinorVersion="0">
<cli>
<configuration>
interface GigabitEthernet 0/0
<command>
ip address 10.2.1.100 255.255.255.0
<command>
ip access-group nimule in no shutdown
<command>
</configuration>
</cli>
</request>
</command>
</command>
</command>
</command>
</command>
</command>
</command>
</command>
</command>
</command>
</command>
Run an FTOS XML session on page
</command>
Run an FTOS XML session on page
</command>
1159). An example of a complete request
</command>
</command>
</command>
</command>
1159) that encapsulates
FTOS XML Feature | 1161

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents